Hello everyone,
I'll be quite right to the point, this week some of my coworkers told me about your MMORPG engine and some of them even helped on the project and looked very enthusiast about it.
Well I'm running out of personal projects at home and I'm kinda curious so I would surely give a try.
I went on GitHub and download the tarball; I must say it's quite impressive.
There's indeed few things I don't get straight away as for any projects, but this one's driving me insane so I would like to know:
The incoming packets are probably not queued since I suppose sometimes one can take forever to be proceeded and slow everyone else down...
Like every connection must be a new thread... but then... what happen if two threads try to edit the same variable?
As for example, player1's getting hit by a monster and at the same time, player2 is healing... its HP will get messed up because operations arn't atomic and I saw no mutexes at all in the sources.
What's the magic behind?!
I would really like to help actively.
Thanks for your time,
~Alex