PlaneShift
Development => Development Deliberation => Topic started by: virajithj on November 30, 2010, 03:50:55 am
-
Hi,
I was trying to figure out how exactly does the network and database communication work in Planeshift.
1. For the network, are the messages sent between client and server just those given at http://planeshift.ezpcusa.com/pswiki/index.php?title=Network_messages?
2. For the database communication, in which file can I find the code using which the server communicates with the sql server? Is everything in /planeshift/src/server/database/mysql/dal.cpp ?
Also what exactly is the database used for? I have seen that it is used for client authentication and for storing info about things that the player picks up etc. Is it used for anything else? I guess if you could let me know the details of the former question, I can figure out that of the latter looking at the code.
Thanks
Virajith
-
messages.cpp
it's used to store everything which can be saved somehow
-
note that those are 2 answers ;)