Hi there,
I try to explain my problem very briefly. We'll try to make a browser/flash based real time mmorpg.
My extension holds various information about the game state, world, entities (players, npcs) and so on.
Because it's not round based and action-heavy, there are many many things happening like buffs expiring, spells get finished casting, npc events are triggered and so on.
At the moment (we're testing with like ~5-10 real players) there are like three scheduled tasks like in the example (http://docs2x.smartfoxserver.com/Advanc ... extensions) which are acting like server "ticks" with an interval ~1 to 10ms, they do exactly what we need (iterating over ALL registered entities on the server and checking for buffs expiring, if a casts are finished etc.).
With 10 Players, this just works. But i have a bad feeling about the performance if we're getting more and more players (hopefully). Are there other concepts to manage this massive amount of time based events?
Any help and tipps would be so appreciated.
Thanks,
jonas
Iterating over hundreds of users for time based events?
Who is online
Users browsing this forum: Google [Bot] and 43 guests