PDA

View Full Version : Server Setup 44DR1 - As of June 9th


IADrako
06-09-2003, 10:22 AM
Follow these steps CAREFULLY! Don't skim, read it all!

1. Download http://bellsouthpwp.net/s/m/smit4973/eqemuu.zip and extract it into C:\eqemu. I'll refer to the directory it was installed into as C:\eqemu.

2. Write down your external ip.
-External ip can be found by going to www.whatismyip.com

3. Download and install mySQL to C:\mysql --- http://www.mysql.com/downloads/download.php?file=Downloads%2FMySQL-4.0%2Fmysql-4.0.12-win.zip&pick=mirror

4. Copy and paste the file spell_en.txt from your Everquest directory to C:\eqemu.

5. Copy and paste the file db.sql from C:\eqemu to C:\mysql\bin.

6. Copy and paste the file update44dr1.sql from C:\eqemu to C:\mysql\bin.

7. Download and extract the following files, then take all the txt files from each folder and paste them into C:\mysql\bin (
- http://edwardpinniger.bctalk.net/eq/worlddata1.1.zip
- http://edwardpinniger.bctalk.net/eq/itemsbooks.zip

8. Open the program winmysqladmin from C:\mysql\bin. You will be prompted to enter a Username and password. Write them down with your external ip. If you lose it and need it for future reference it can be located in the file my.ini. Send the program to the Taskbar by pressing "Hide Me"

9. Verify the Green light is ON.

10. Open C:\mysql\bin\mysql.exe

11. Type the following lines in. After each line hit enter and go on to the next. Do not type lines that begin with ### as this is commentary on what you just typed by me. Lets begin...

create database eq;

### This creates a database that holds all info for your eq server.

use eq

### This tells mysql this is where we want to source the files to.

source db.sql;

### Lines will scroll by indiciating info being sourced into the database.

source update44dr1.sql;

###More lines will scroll by and some will say "could not overwrite." Thats fine.

source reloaddb.sql;

### This is where we find out if your databases are compatible, which they should be provided you used the db.sql from the zip I listed at top. If you are spammed with errors about npcspells, missing columns of MR or other things like this. There is a conflict difference between the two databses. I suggest posting the error and the steps you followed or going to the irc chat room.

source books.sql;

source items.sql;

### Sourcing in book and items databases.

exit

12. Now open C:\eqemu

13. Open db.cfg (NOT .sql)

14. Add in the username / password you used when starting mySQL. You should have it written down along with your external ip address. Save and close the file.

15. Now open loginserver.cfg and goto the line
servername=
and enter your servername. Do not add "Server" to the end as it is added automatically.

16. Goto the line
worldserver=
and enter your external ip. Save and close the file.

17. Right click boot5zones.bat and select Edit. It will read in middle:

start zone . hosthere 7995 hosthere
start zone . hosthere 7996 hosthere
start zone . hosthere 7997 hosthere
start zone . hosthere 7998 hosthere
start zone . hosthere 7999 hosthere

Enter your external ip in the first host here.

Open mySQL from the taskbar and on the left side of the window will be a greyed out box with an ip address in it. If it is different that your external ip you are behind a router. We will work around this the best we can, but openeing the ports will be your responsibility.

Enter your ip (internal if applicable) in the 2nd host here section.

Notice that the ports continue to go up by 1. You can launch more than 5 zones by adding in the same lines again, just be sure to keep increasing 1 port number.

Save and close.

18. Now open world.exe. Then open boot5zones.bat.
Your done! You shouldn't have recieved any errors.

Troubleshooting

1. world.exe opens with several errors accessing database files.

- Check to make sure login in db.cfg matches up to login for mysql. Verify username for mysql in my.ini (Start->Search it)

2. I get errors when I:

source reloaddb.sql;

- Your datatbase files aren't matching up correctly. Try a different version of the db.sql and make sure your running all included versions of this post.

3. I can't login to my server but I have no errors and everything seems fine!

- This can be caused by you being behind a router. This situation can vary so much I can't help. Your goal is to open ports 9000, and 7995-7999 or however high you listed boot5zone.bat up to.

Good luck!

06-09-2003, 01:35 PM
Thank you for posting that, it didn't help me because I already used ways to get around it, but, it is a more descriptive way, this should replace that section of the readme, imo.

Veragoan
06-17-2003, 02:49 AM
Cant get it to work and i ahve probly used 8 walkthroughs on how to do it...
i downloaded mysql and the 44dr1 file's

put spells_en into the eqemu folder from the everquest directory

put the db.sql file into the bin folder of mysql along with the 44drupdate one.

ran winmysqladmin and did the user password and stuff. mad sure it was turned on then ran mysql

create database eq;
use eq;
source db.sql;
source update44dr1.sql;
source reloaddb.sql;

and then i get the errors.. and it seems to happen at this point everytime.

krich
06-17-2003, 09:37 AM
Cant get it to work and i ahve probly used 8 walkthroughs on how to do it...
i downloaded mysql and the 44dr1 file's

put spells_en into the eqemu folder from the everquest directory

put the db.sql file into the bin folder of mysql along with the 44drupdate one.

ran winmysqladmin and did the user password and stuff. mad sure it was turned on then ran mysql

create database eq;
use eq;
source db.sql;
source update44dr1.sql;
source reloaddb.sql;

and then i get the errors.. and it seems to happen at this point everytime.

Veragoan,

You problem might be that, since you've tried before, you've already got a messed up database called eq. If you are sure you want to start from scratch, you might want to:
drop database eq;
first before you do the commands you listed above. This will completely erase your eq database and let you start from scratch.

For the ubertards out there: This will completely erase your database. You WILL lose everything. Don't blame me if you screw yourself doing this. :roll:

Regards,

krich

cannonalldex
06-19-2003, 08:26 AM
I followed this step by step and get errors when running the world.exe. Also I don't see anywhere in the post about the emupatcher? Do I need this to make a server?

Failed to connect to database: Error: #2003: Can't connect to MySQL server on 'localhost' (10061)
[Status] CURRENT_WORLD_VERSION:EQEMu 0.4.4-DR1
Lost Connection Server has gone away
block not found in loginserver.ini
ect.

any ideas on this would be much appreciated.

Shtocoh
06-19-2003, 12:12 PM
Ok I did everything that was said step by step. I have rechecked the username and password and still get a long error so I will list it here.

Failed to connect to database: Error: #1045: Access denied for user: 'Shtocoh@12
7.0.0.1' (Using password: YES)
[Status] CURRENT_WORLD_VERSION:EQEMu 0.4.4-DR1
[Error] CURRENT_WORLD_VERSION:EQEMu 0.4.4-DR1
Loading Variables, zone names & items...
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in LoadVariables query 'SELECT varname, value, unix_timestamp() FROM varia
bles where unix_timestamp(ts) >= 0' #2006: MySQL server has gone away
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in LoadZoneNames query 'SELECT MAX(zoneidnumber) FROM zone' #2006: MySQL s
erver has gone away
EMuShareMem.dll loaded.
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in GetItemsCount query 'SELECT MAX(id), count(*) FROM items' #2006: MySQL
server has gone away
Error: Database::LoadItems() (sharemem): GetItemsCount() returned -1
Error: Could not load item data. But ignoring
...done.
[LoginServer] block not found in 'LoginServer.ini'.
Loading guild ranks...Database Error: Lost connection, attempting to recover....

DB Query Error #2006: MySQL server has gone away
Error in LoadGuilds query 'SELECT id, eqid, name, leader, minstatus, rank0title,
rank1, rank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, ran
k5, rank5title from guilds' #2006: MySQL server has gone away
done.
Loading EQ time of day..."./eqtime.cfg" is NOT a vaild EQTime file. File version
is 0; EQTime version is 1000 - failed.
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Deleted -1 stale player corpses from database.
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Deleted -1 stale player backups from database.
Formatting drive C:
TCP listening on: port 9000
World server listening on: port 9000
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error: DBAsyncCB_LoadVariables failed: !GetAnswer: '#2006: MySQL server has gone
away'
Database Error: Lost connection, attempting to recover....

Trumpcard
06-19-2003, 12:42 PM
Error: #1045: Access denied for user

Shtocoh
06-19-2003, 01:04 PM
I understand what it means but for somereason I can not fix it I have fixed the my.ini file and the username and password are correct with the one in the db file. It there something I am doing wrong?

cannonalldex
06-20-2003, 05:22 AM
I get the same thing, am I even close to getting a server up?
thanks

Trumpcard
06-20-2003, 08:09 AM
Have you performed the GRANT commands?

Thats why you're getting the errors...