Kayot
04-01-2007, 11:38 AM
Setting up EQEmu-0.7.0-845 Minilogin with MySQL 5.0.24
Why use MySQL 5, you might be asking. Well simple. You use it because it's newer and sleeker. Not to mention that it has a nice group of tools for it that come from the same people who made MySQL 5. So lets get down to business.
What you need:
ActivePerl - 5.8.7 Build 8138
EQEmu-0.7.0-8458
MySQL 5.0.x8
MySQL Tools8
Everquest Titanium (Install this now, don't patch)
MSVCP71.dll8 and MSVCR71.dll8 (Do a Google Search if the links fail.)
- From the same site-
Minilogin 6.28
EQEmulator Map Pack8
- Database -
PEQ's Luclin (Pickup Quest files too)8
- Extra Items -
Some SQL Knowledge (Not required, but helpful)
Notepad
Wordpad (For SQL files, Trust me)
Ok, now for program setup.
Install ActivePerl, after setup open cmd (Command Prompt) and type ppm. Then type the following.
Install DBI
Install DBD-mysql
Install IO-stringy
After that type exit. Reboot your system. (This is so the DLL's will work) After reboot install MySQL 5. Skip sign-up. Configure the server, turn off strict mode. For the love of god add bin to the path. Now you can set things up anyway you want (besides what I mentioned). After install you need to install the MySQL tools. These are nice tools that do most of what you might want to do at a faster pace. The SQL statements you have to do later on in this install guide can be done in the Query Browser.
BTW, your user name is root. Your password is whatever you set it as.
Ok, extract the Project EQ sql files to c:\ (I use root or C:\ because it's less typing later on)
Lets begin detailed Database stuff
Open cmd. Type cd\ (So your at c:\ or whatever root) and then type "mysql" and enter your password what ever it might be. Once in you have to make the basic Database were PEQ goes.
create database peq;
\u peq
\. C:\load_empty_users.sql
(Wait till it's done)
\. C:\load_system.sql
(Wait till it's done)
Exit;
Now, the very basic database is setup.
EQEmu Setup
Extract EQEmu-0.7.0-845.zip to C:\EQEmu
Extract EQEmulator Map Pack to C:\EQEmu\Maps
Extract peq-luclin-rc1-quests.zip to C:\EQEmu\Quests
Extract Minilogin.zip to C:\EQEmu (Don't overwrite opcodes.conf)
Copy C:\Program Files\Sony\Everquest\spells_en.txt to C:\EQEmu
Copy C:\Program Files\Sony\Everquest\spells_us.txt to C:\EQEmu
copy MSVCP71.dll and MSVCR71.dll to C:\Windows\System32
File Setups
Open loginserver.ini and delete all lines starting with #. This is more for cleanleness. Of course please do read it before deleting it. If you want to add notes make sure you use a # in front of them as this turns it into a comment.
[LoginServer]
loginserver=127.0.0.1 <- Put your EQEmu serving machines IP here (I.E. 192.168.1.1)
loginserver2=newlogin1.eqemulator.net <- Delete this
loginport=5999
loginport2=5999 <- And this
worldname=Name of server here <- change this to My Minilogin (Not nessisary)
worldaddress=Your IP Address here <- Put your EQEmu serving machines IP here
locked=false
account=
password=
[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
[LoginConfig]
ServerMode=StandAlone <- change to Minilogin
ServerPort=5999
Save, turn off the Notepad. Now open eqemu_config.xml.
<?xml version="1.0">
<server>
<world>
<shortname>setme</shortname>
<longname>I Forgot To Edit My Config</longname>
</world>
</server>
Now the above just won't do. Lets replace it with the following.
<?xml version="1.0">
<server>
<world>
<shortname>whatever</shortname>
<longname>This Shows Up In Server Select</longname>
<!-- Only specify these two if you really think you need to. -->
<address>Serving Machines IP</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host> Serving Machines IP </host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>
<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>Your Password</password>
<db>peq</db>
</database>
</server>
And now replace "Serving Machines IP" with the serving machines IP. And "Your Password" with your databases password. Also;
<shortname>whatever</shortname>
<longname>This Shows Up In Server Select</longname>
These two are flexable. So name them as you will. And now with the above done. Let's dive into the SQL Statements. We'll do the most nessisary first.
Why use MySQL 5, you might be asking. Well simple. You use it because it's newer and sleeker. Not to mention that it has a nice group of tools for it that come from the same people who made MySQL 5. So lets get down to business.
What you need:
ActivePerl - 5.8.7 Build 8138
EQEmu-0.7.0-8458
MySQL 5.0.x8
MySQL Tools8
Everquest Titanium (Install this now, don't patch)
MSVCP71.dll8 and MSVCR71.dll8 (Do a Google Search if the links fail.)
- From the same site-
Minilogin 6.28
EQEmulator Map Pack8
- Database -
PEQ's Luclin (Pickup Quest files too)8
- Extra Items -
Some SQL Knowledge (Not required, but helpful)
Notepad
Wordpad (For SQL files, Trust me)
Ok, now for program setup.
Install ActivePerl, after setup open cmd (Command Prompt) and type ppm. Then type the following.
Install DBI
Install DBD-mysql
Install IO-stringy
After that type exit. Reboot your system. (This is so the DLL's will work) After reboot install MySQL 5. Skip sign-up. Configure the server, turn off strict mode. For the love of god add bin to the path. Now you can set things up anyway you want (besides what I mentioned). After install you need to install the MySQL tools. These are nice tools that do most of what you might want to do at a faster pace. The SQL statements you have to do later on in this install guide can be done in the Query Browser.
BTW, your user name is root. Your password is whatever you set it as.
Ok, extract the Project EQ sql files to c:\ (I use root or C:\ because it's less typing later on)
Lets begin detailed Database stuff
Open cmd. Type cd\ (So your at c:\ or whatever root) and then type "mysql" and enter your password what ever it might be. Once in you have to make the basic Database were PEQ goes.
create database peq;
\u peq
\. C:\load_empty_users.sql
(Wait till it's done)
\. C:\load_system.sql
(Wait till it's done)
Exit;
Now, the very basic database is setup.
EQEmu Setup
Extract EQEmu-0.7.0-845.zip to C:\EQEmu
Extract EQEmulator Map Pack to C:\EQEmu\Maps
Extract peq-luclin-rc1-quests.zip to C:\EQEmu\Quests
Extract Minilogin.zip to C:\EQEmu (Don't overwrite opcodes.conf)
Copy C:\Program Files\Sony\Everquest\spells_en.txt to C:\EQEmu
Copy C:\Program Files\Sony\Everquest\spells_us.txt to C:\EQEmu
copy MSVCP71.dll and MSVCR71.dll to C:\Windows\System32
File Setups
Open loginserver.ini and delete all lines starting with #. This is more for cleanleness. Of course please do read it before deleting it. If you want to add notes make sure you use a # in front of them as this turns it into a comment.
[LoginServer]
loginserver=127.0.0.1 <- Put your EQEmu serving machines IP here (I.E. 192.168.1.1)
loginserver2=newlogin1.eqemulator.net <- Delete this
loginport=5999
loginport2=5999 <- And this
worldname=Name of server here <- change this to My Minilogin (Not nessisary)
worldaddress=Your IP Address here <- Put your EQEmu serving machines IP here
locked=false
account=
password=
[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
[LoginConfig]
ServerMode=StandAlone <- change to Minilogin
ServerPort=5999
Save, turn off the Notepad. Now open eqemu_config.xml.
<?xml version="1.0">
<server>
<world>
<shortname>setme</shortname>
<longname>I Forgot To Edit My Config</longname>
</world>
</server>
Now the above just won't do. Lets replace it with the following.
<?xml version="1.0">
<server>
<world>
<shortname>whatever</shortname>
<longname>This Shows Up In Server Select</longname>
<!-- Only specify these two if you really think you need to. -->
<address>Serving Machines IP</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host> Serving Machines IP </host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>
<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>Your Password</password>
<db>peq</db>
</database>
</server>
And now replace "Serving Machines IP" with the serving machines IP. And "Your Password" with your databases password. Also;
<shortname>whatever</shortname>
<longname>This Shows Up In Server Select</longname>
These two are flexable. So name them as you will. And now with the above done. Let's dive into the SQL Statements. We'll do the most nessisary first.