A "Black Box" - cache of physics

I'm tossing around an idea of implementing phyics in a MMORPG, however, there is no chance in hell that the server would be able to handle such a continuous load, and I don't trust the client to return real simulations! They may do a little packet sniffing, and return their own data that suits them better. 😕

Basically, players are allowed to make "inventions". One good example is the vacuum pump I asked about a while back (viewtopic.php?f=8&t=4136)

It would be quite simple to calculate a cache of what the physics of the invention does and store that in a database, however, it might take up quite a bit of space, and you couldn't cache an invention that runs for hours. I want to be able to create a "black box" of the invention, where box2d does not remember what each individual component inside does, but instead remembers everything that happened outside the box (air goes in, air comes out with higher preassure) in order to save processing power.

I could look through inventions, determine what they are supposed to do, and generate a separate "black box" of the invention based on any patterns or regularity I see, however, I would rather have the process be automatic. I know it is a lot to ask of box2d to detect patterns, but I wonder if ANYONE has ever attempted this, or at least have any ideas of how I can work around this problem?



This is one of those topics which is likely to go unanswered, but I would really appreciate ANY help at all. I am no beginner to ActionScript (and I do have some C#/++ experience) so just throw anything at me. I can take it.
Didn't you get little enough response to the vacuum pump thing? No, I don't have any suggestins on how to do this. Stop dreaming up unfeasabilty difficult programming problems and focus on your gameplay. Designing gadgets is complex enough to be a core gameplay mechanic, but you want this to be just a small aspect of an MMO?

Original thread: https://box2d.org/forum/viewtopic.php?t=4632