View Full Version : Big server problems

10-04-2007, 11:27 AM
Hi There. I've been working on my MMORPG for almost 9 months now. A big problem I've been having with it is Server Reliability. Im using Indy 10 and until recently was using the Supercore components, until I thought they were the problem and got rid of them. The problem I'm having is when I'm stress testing the server, it runs fine for a few minutes and then will just stop responding, no errors or anything. Is this a problem other people have had?

I've uploaded my code for anyone who feels like helping me out of this big hole at:


and the program to stress test the server at:


Although the server may not actually work, it may eventually be an example that people who are learning Delphi networking could look at. If when its fixed, people want to use the code, then please feel free! Also I'll be giving the code away for my games Client, Login Server and Creature Controller as soon as its finished.

Just a quick note on what the game is like - A MMORPG thats a platform version of Pokemon with Creatures that adapt to the players that visit each area of the map..

Many thanks in advance for any help that i recieve

10-04-2007, 04:59 PM
I took a very quick look at your server code, and i saw you use a multithreaded architecture.
So the first thing that comes to my mind is that you could have syncronization problems. I don't digged any far in the code, but i couldn't see any use of critical sections or other syncronization mechanisms.

So it could be from deadlock or race conditions and the like.