This is the server that I have developed for the UnderCover Conquer project. Due to some design flaws, this code will be re-written. For those of you interested in how a private server works, take a look. Note: this is NOT an executable. This is the Visual Studio 2005 solution for building the server. If you have visual studio 2005, you can download this and build it and it will work. Many things are not implemented in it and there will be no further development. I am releasing all rights to this code into the public domain. What this means is that you can take it and modify it as much as you want. Perhaps you could even fix the instabilities and turn it into an operational private server. You can take the code and post it to other boards. What you cannot do is claim that you wrote the code (unless you make modifications and claim those, obviously). Please give credit where it is due. Enjoy.
NOTE: This server REQUIRES the PostgreSQL SQL server to be installed on the local machine. You will need to install the server and build the appropriate tables in order for this to work. I will post database specifics when I have some more free time.
EDIT: XYThreadPool project has been added to the file. My apologies that it was not there before. XYThreadPool was not written by me. I found this code as a tutorial on a website. The same can be said for XYNetSockets, however XYNetSockets has been so heavily modified that I should've written it from scratch (which is one of the reasons for the server re-write).
Oh, heh, sorry about the certificate. NO, YOU CANNOT HAVE MY CERTIFICATE! ( ; Seriously, though, you can go to the "Signing" tab of the project properties and turn off code signing. This makes it so that you dont need the certificate to build it. BTW, n00bs would have a VERY difficult time getting this to work properly (with the SQL setup and actually building the project). Also, as I stated before: this program has some very serious stability issues. Namely, there is a really nasty threadlock condition that I cant figure out. Hell, I dont even know where it's happening, let alone what is causing it. Good luck,
t3hn00bz0r
Originally posted by ultimatehaker@Jan 27 2006, 13:57 i dont think this was the best idea to release this public, now all the work i have put into my server has gone down the drain
Its his work he also worked as much as you on his code so its his right to make with it what he wants
and i think its great for people to study it there are not so many public gameserver codes
and there are not so many people who can do something with that code cause you need alot knowlege about co and its packets and alot more