PDA

View Full Version : HOWTO: Host a 6.0-DR2 Server! + Minilogin! (WIN32)


Spike
12-10-2004, 04:14 PM
HOST A 6.0-DR2 SERVER! + MINILOGIN! (WIN32)

You have to follow these steps in order, no skipping around!


BEFORE BEGINNING, DOWNLOAD THE SERVER HOSTING FILES! <-- CLICK HERE (http://prdownloads.sourceforge.net/eqemulator/Compiled-Release-Win32.zip?use_mirror=voxel)
(MAKE A FOLDER CALLED EQEMU, AND PUT THESE IN THERE. ALONG WITH ALL THE OTHER FILES YOU DOWNLOAD IN THIS TUTORIAL!) (put this folder wherever you want)

1) MAKE SURE YOU HAVE ALREADY FOLLOWED THE TUTORIAL ON HOW TO PLAY EQEMU BEFORE LEARNING HOW TO HOST ONE!

- ORIGINAL THREAD HERE! (http://www.eqemulator.net/forums/viewtopic.php?p=88303#88303)


2) Download MYSQL! CLICK HERE (http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.22-win.zip/from/pick#mirrors)

- Install MYSQL, then run WinMySQLAdmin.exe , and youll be asked to type in a username and password, write this down or keep it in mind.
http://img153.exs.cx/img153/927/folder0kl.gif

3) To grant priveleges to your database... click START (in left toolbar of your computer), click RUN, click BROWSE..., look for your mysql.exe file, and at the end of the command type in -u root

- EXAMPLE: c:/mysql/bin/mysql.exe -u root (CLICK ENTER)
http://img62.exs.cx/img62/974/uroot7mv.gif


4) Download the following databases: CLICK HERE (http://www.projecteq.net/download.php?file=peq_kunark_release.zip) | DOWNLOAD THIS TOO (http://www.projecteq.net/download.php?file=peq_kunark_keep_accts_release.zi p) | THIS TOO (http://www.linkups.placida.fu8.com/PACKED.zip) | DON'T FORGET THIS! (http://vincentsdomain.250free.com/zonepoints.zip)

- After downloading them, put them into your mysq/bin folder (unzip the .zip file and put the .sql files into your bin folder)

- NOTE: If you wanna play EQEMU single player by urself on ur computer without hosting on the server, download minilogin... HERE (http://www.linkups.placida.fu8.com/MiniLogin6.0.zip)

5) Now lets make a new database. Leave the mysql.exe -u root up, and type in.. create database eq;use eq;source (.sql FILE NAME HERE);

- For source, type in....
---> WARNING: IN THIS ORDER OR ELSE! <---

source PEQ_Kunark_RC1.sql;
source PEQ_Kunark_RC1_keep_accts.sql;
source merchantlist_temp.sql;
source doors_update.sql;
source zonepoints.sql;
source tl.sql;
source tributes.sql;


- Type in this command to make NPC's actually work (in mysql -u root) (I know I was scared to notice the NPC's didnt work just because of this one line of code :shock: )

ALTER TABLE npc_types ADD npc_aggro TINYINT NOT NULL DEFAULT '0';
http://img153.exs.cx/img153/4564/mysql5ah.gif

- If you plan on playing EQEMU single player (minilogin) type this in...

INSERT INTO variables (varname, value, information) VALUES ('LoginType', 'Minilogin', 'Set this to Minilogin to login using a minilogin server :)');

alter table account add minilogin_ip varchar(32) not null;

- If you get error 1017 when trying to use minilogin, make a new account and type this in for the account. Replace USERNAME_HERE for your login username.

insert into account (name,status, minilogin_ip) values('USERNAME_HERE',250,'127.0.0.1');

If you are still getting error 1017, edit the MiniLoginAccounts.ini to say this...
# Max 200 lines total (including comments and blank lines)
# Blank lines may mess up the line # reported in error messages
127.0.0.1 USERNAME_HERE PASSWORD_HERE

NOTE: replace USERNAME_HERE for your account username, and replace PASSWORD HERE for your account password (not your mysql one!)(PUT 1 SPACE AFTER!!!)


6) Copy and paste this GRANT ALL PRIVILEGES ON *.* TO Username@localhost IDENTIFIED BY 'Password' WITH GRANT OPTION;
REPLACE...
Username = your mysql username
Password = your mysql username
GRANT ALL PRIVILEGES ON *.* TO MYMYSQLUSERNAME@localhost IDENTIFIED BY 'MYMYSQLPASSWORD' WITH GRANT OPTION;
WARNING: If using minilogin on LAN, "single player", then you may use *.* in the above command, however if hosting a server for public use, correct to... EQDATASEHERE.*
GRANT ALL PRIVILEGES ON EQDATABASEHERE.* TO MYMYSQLUSERNAME@localhost IDENTIFIED BY 'MYMYSQLPASSWORD' WITH GRANT OPTION;
NOTE- If you followed my tutorial perfectly, change EQDATABASEHERE.* to eq.*EQDATABASEHERE.* should be replaced for eq.*



7) Change these files...

LoginServer.ini
db.ini
Boot5zones.bat


(NOTE: If your running minilogin and playing by urself, replace IP_ADDRESS_HERE for 127.0.0.1)
LOGINPORT
change to 5994 = host server for eqemu
change to 5999 = minilogin, eqemu single player by yourself
If your not running minilogin, delete
[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999

LoginServer.ini
[LoginServer]
loginserver=IP_ADDRESS_HERE
loginport=5999
worldname=SERVER_NAME_HERE
worldaddress=IP_ADDRESS_HERE
locked=false
account=
password=


[WorldServer]
Defaultstatus=20
Unavailzone=

[ChatChannelServer]
worldshortname= Jakeees
chataddress=
chatport=

[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999

NOTE: IF YOU DONT WANT TO USE MINILOGIN, AND YOU WANNA HOST A PUBLIC SERVER DO THE FOLLOWING...

DELETE:
[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999

REPLACE:
loginport=5999 -----> loginport=5994

REPLACE:
loginserver=IP_ADDRESS_HERE ----> loginserver=newlogin1.eqemulator.net


NOTE: If hosting on minilogin (eqemu single player) change YOUR_IP_ADDRESS_HERE to 127.0.0.1
NOTE: You gotta right click on boot5zones.bat and click EDIT.

Boot5zones.bat
start zone . YOUR_IP_ADDRESS_HERE 8780 YOUR_IP_ADDRESS_HERE
start zone . YOUR_IP_ADDRESS_HERE 8781 YOUR_IP_ADDRESS_HERE
exit
cls



NOTE: If you followed the tutorial perfectly, then database=eq

db.ini
[Database]
host=localhost
user=YOUR_MYSQL_USERNAME_HERE
password=YOUR_MYSQL_PASSWORD_HERE
database=YOUR_EQ_DATABASE_HERE


8) Go into your Everquest directory, and copy your spells_en.txt and spells_us.txt files and put them into your EQEMU folder.

9) (ONLY DO THIS IF YOU HAVE TROUBLE ZONING)
Download the .map files! CLICK HERE (http://www.rogean.com/maps/)

- Create a new folder inside your EQEMU folder called maps, put the maps into that folder.

10) RUNNING THE PROGRAM!

- Click on MiniLogin.exe (ONLY DO THIS IF YOU PLAN ON PLAYING EQEMU SINGLE PLAYER BY YOURSELF AND WITH NO ONE ELSE EXCEPT PEOPLE ON AN LAN WITH YOU!)

- Click on World.exe

- Click on Boot5zones.bat

(leave all these programs up, DON'T CLOSE ANY OF THEM FOR ANY REASON OR ELSE BYE BYE SERVER!)

POOF YOUR SERVER IS UP!

IMPORTANT NOTE: IF YOUR USING MINILOGIN CHANGE YOUR EQHOST TO THIS! CLICK HERE! (http://www.linkups.placida.fu8.com/eqhost_minilogin.zip)

REMEMBER TO MAKE THE EQHOST.TXT FILE READ ONLY!!!!
(right click on eqhost.txt, click properties, click the READ-ONLY check box)

Spike
12-13-2004, 02:10 PM
FINISHING PRODUCT!

http://img97.exs.cx/img97/5807/desktop3ln.gif

Spike
01-02-2005, 02:11 PM
SUPPORT

-----------------------------------------------------------------------------

Q~ When I try and install mysql, it gives me the following error...
not suitable for running MS-Dos and Windows applications
A~ Check out this website... CLICK HERE (http://support.microsoft.com/default.aspx?scid=kb;en-us;324767)

-----------------------------------------------------------------------------

Q~ I want to edit a database on another computer.

A~ Click START > RUN > BROWSE... (find mysql.exe in the bin folder of the mysql folder.) > after the prompt type in...
-h IPADDRESS -u USERNAME -p DBNAME
EXAMPLE: c:/mysql/bin/mysql.exe -h 192.168.1.4 -u THISISMYUSERNAME -p THISISMYPASSWORD (CLICK ENTER)

-----------------------------------------------------------------------------

Q~ Priest of Discord doesn't look very EQLIVE like...

A~ CLICK HERE (http://www.eqemulator.net/forums/viewtopic.php?t=18621) -All credit goes to DVINN

-----------------------------------------------------------------------------

Q~ What do I set my eqhost.txt file to?

A~ CLICK HERE (http://www.eqemulator.net/forums/viewtopic.php?p=88303#88303)

-----------------------------------------------------------------------------

Q~ I followed your tutorial, and I cannot get spells_en.txt without patching, what do I do?

A~ If it says you can't patch, then you can't patch, wait till next time it's ok to patch.
NEW INSTALLS WILL NOT WORK!

-----------------------------------------------------------------------------
At the request of spike he has had me edit this to say he quits emu and support is not his problom anymore
-Xabob
Any problems please...
IN THIS THREAD.[/url][/b][/u]

Belfedia
01-09-2005, 07:00 AM
One error in your tutorial...

[LoginConfig]
ServerMode=StandAlone and NOT ServerMode=MiniLogin
ServerPort=5999

i search the problem since more than 3 days...
now that work.

MeurtreMortTuer
01-11-2005, 02:44 PM
now when i go to type in the follwing sources
source PEQ_Kunark_RC1.sql;
source PEQ_Kunark_RC1_keep_accts.sql;
source merchantlist_temp.sql;
source doors_update.sql;
source zonepoints.sql;
source tl.sql;
source tributes.sql;

i type in the first source line and i get a never ending spam...

what did i do wrong.

Lord Xar
01-11-2005, 05:19 PM
MeurtreMortTuer, I had the same problem as you

I found some help from the irc guys, Z3r0k00l and FatherNitwit. They suggested using an older version of mysql. I went and installed 4.0.23, and everything sourced in fine after that. Hope this helps everyone else.

Lord Xar

MeurtreMortTuer
01-11-2005, 07:28 PM
MeurtreMortTuer, I had the same problem as you

I found some help from the irc guys, Z3r0k00l and FatherNitwit. They suggested using an older version of mysql. I went and installed 4.0.23, and everything sourced in fine after that. Hope this helps everyone else.

Lord Xar

Where do i get it becuase this is driving me bonkers
and do i enter in each source line individually or do i do it like this

Source blahblahblah.sql; source blahblah_blah.sql;

and so on and so forth..?

not only that but, im using 4.0.22

Belfedia
01-11-2005, 09:46 PM
i type in the first source line and i get a never ending spam...


Howmuch have you wait?

first commands take 3 minuts on my P4 , 3.5 gigahertz !!!

MeurtreMortTuer
01-11-2005, 11:44 PM
Howmuch have you wait?

first commands take 3 minuts on my P4 , 3.5 gigahertz !!!

Not long enough, but i was told by 2 people on mirc that 4.0.23 works better than 4.0.22

but ill give it another go and see what happens.
heh, not like i can play any way i downloaded recent live patch, but hell i might as well learn.

Nepreth
01-12-2005, 08:55 AM
Well because EQEMU couldn't reset my password by email after clicking on the I forgot my password link (even though I obviously didn't), I decided to make a second one just to say something...

PEOPLE WHO POSTED HERE, YOUR IDIOTS GO TO THE DAMN SUPPORT THREAD THAT SAYS SUPPORT FOR THIS POST!!!!!!!!


SECONDLY... I do not support for my tutorial anymore, if it didn't work for you, then your an idiot or looking up the wrong guide. It says VERY clearly SERVER HOSTING + MINILOGIN, which means (for all you illiterate poeple out there) it works for single player and the post after all mine at the top clearly states out the 1 mistake that was made in my server hosting guide.

DO NOT PM, MSN, AIM, XFIRE, or IRC chat to me! I WILL NOT SUPPORT YOU!





I quit the EQEmu community!!!!! PERIOD END OF STORY DONT BOTHER POSTING HERE ANYMORE!