I am planning on a turn base mmorpg indie game and the reason is I don't know how to get the peer to peer network hierarchy right so I have to put everything on server. for example, when two players meet in game, how is the interactive data communicate? the most effective way should be peer to peer but some data like position and players ip address has to be on the server right?
I observed games like wow, and I found that besides position, every other data can done by peer to peer. So I guess the algorithm for the client side should be something like:
register this player's position to the server every seconds(or 30ms, whatever);
check other register players in the visible world area from server;
query these players' IP adress, then establish connections with them;
get other players appearance/level data and movement/action data peer to peer;
when other players leaves visible world area, disconect the peer to peer connection.
This is just my guess but I really want to know the EXACT network model for mmo games like wow. Anyone in EE here has the experience and knowledge with these things?
Start Free Trial