Hello,
I am looking for some advice or ideas regarding a current MMORPG I am making. I currently have the packets working find, client works, everything is smooth and such. Quests are in, you can attack, our packet reader/sender is great with a good SendQueue.
My question arises in the sense of the "World". I wanted to see if anyone out there may have some useful tutorials, or ideas on how many MMORPGs (Like Lineage II, that don't have "Instance" or "Spawn" zones), work. Not really asking for code but the idea behind it.
Currently, I have it set up as such. Every person that connects is considered a "GameProxy", Which has lists of the current character, his other characters on that server in that account, his Serial, ect. I then have the "World" which is split up in the 87 by 128 region (Size of the world). The World just controls the aspect of the movement on Entity's, such as Monsters/Items/GameProxys.
Basicially, World > WorldRegions > Regions > KnownList (Monsters / Items / GameProxy).
I have heard so far of only two possible ways to go about this
A ) A world Loop. That goes through and updates each character every x second by going through the knownList. I tried this, found it to very laggy. Plus how can you loop 4,000 online connections in like 1 second?
B) A GameProxy loop. I am currently using this and found it to much better. I don't know the downfalls of this yet as its new, but my goal was to have some where around 3,000 connect.
Does anyone have any advice or suggestions on this? Thank you!