CO Private Server

02/09/2006 04:59 kristian000#76
Quote:
Originally posted by t3hn00bz0r@Jan 26 2006, 19:07
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).
Great job bro, +Karma for you
02/09/2006 13:11 kristian000#77
thank you StarCelli1 for asking all of them things, with you asking all of this it would of helped a lot of people, and plus my self to get this working
02/09/2006 23:32 kristian000#78
i have the database all setup and server running, i just can't work out how to add a user acct to the database, could someone help me out with that ?

thx
02/10/2006 00:47 einhornchen#79
You'll need to put a name into the "Account name" box, and then the conquer-encrypted password in the next column. Login to the server using the account name, and the ASCII form of the password, and you should be good to go.

-einhornchen
02/10/2006 02:00 einhornchen#80
If you're unable to use that method, try to logon using a random account/password. That *should* form an account in the Account table. If it doesnt, you'll have to manually create accounts.

-einhornchen
02/10/2006 02:03 C0nQuEr-S-C00L#81
I really dont understand where the problem is.

So here is a Introduction to set up a "naked" server with that code. What i mean with named you will see when you run and "play" it...

1. Download The Sourcecode
2. In the CO Full Server C# Project is one File named "BackEndDB.cs" open it go to line 200 insert your IP there.
3. Build Both of the Projects
4. Create a Database called "Conquer" in your pgSQL Admin
5. Do a SQL Query with the table defination
6. Add a Account to the DB (leave the Password Field blank)
7. Open the Servers Table and insert your Computer Name and your IP in it
8. Go in your Conquer folder open the Server.dat File add your Server Information there (be sure its the same as in the Server Table)
9. Now run Conquer, enter your Account Name and choose a Password, the Programm will put the right Password in the Account Table for you.
10. HAVE FUN!
02/10/2006 07:07 kristian000#82
Can someone delete this post ?

thx
02/10/2006 07:53 kristian000#83
ok its all working, where would i find a commnad listing ?
02/10/2006 10:03 C0nQuEr-S-C00L#84
StarCelli1 already asked that...

you find the commands in the "World.cs" file...
02/10/2006 10:38 kristian000#85
Quote:
Originally posted by C0nQuEr-S-C00L@Feb 10 2006, 10:03
StarCelli1 already asked that...

you find the commands in the "World.cs" file...
StarCelli1 already asked that...

you find the commands in the "World.cs" file...

i looked in there, but dont realy understand how they are listed, can u list a few so i can go abck an look how they are set out?
02/10/2006 10:44 C0nQuEr-S-C00L#86
this are some "useful" commands:

/gm [MESSAGE] (Sends a GM Message to all users online)
/newchar (Creates a new char for your Account)

more commands are there but not really useful i think..

/join (join a chatroom)
/id (shows the ID from your Char)
/list (list all members in the room)
/leave (leave a room)

Thats all.. more doesnt exist in this version
02/10/2006 10:51 kristian000#87
Quote:
Originally posted by C0nQuEr-S-C00L@Feb 10 2006, 10:44
this are some "useful" commands:

/gm [MESSAGE] (Sends a GM Message to all users online)
/newchar (Creates a new char for your Account)

more commands are there but not really useful i think..

/join (join a chatroom)
/id (shows the ID from your Char)
/list (list all members in the room)
/leave (leave a room)

Thats all.. more doesnt exist in this version
is there any way of getting items ?
02/10/2006 10:52 C0nQuEr-S-C00L#88
no, they are not implemented in this server version.
02/10/2006 14:07 ~Aym~#89
I still don't get what the password is....... can someone help?
02/10/2006 14:22 einhornchen#90
kristian, I'm not really sure if this project is for you. It takes a great deal of work to implement anything into the server.

Aym, IM me on aim: nichtsku, msn: [Only registered and activated users can see links. Click Here To Register...], yahoo: nichts_einhornchen

i'll see about helping you.

-einhornchen