I had issues getting my server to show up when using the LoginServer bundled in the (svn/binaries) rev2098 build release and the current EQLoginServer.sln(9) is broken. If everything is correct in the settings, try using the rev1765 LoginServer at:
http://code.google.com/p/projecteqem...r.rar&can=2&q=
(try the settings below first since I know there were a few errors in it)
Be sure to copy the following to your EQEmu directory:
EQEmuLoginServer.exe
EQEmuAuthCrypto.dll
login.ini
login_opcodes.conf
login_opcodes_sod.conf
Make sure you copy all of the files from the same revision source since different builds are not likely to be compatible with each other.
Also, eqemulogin.ini isn't used any longer. The login.ini replaced it.
(Since you're on the same computer for all programs, you don't need to use 192.168.xxx.xxx. If you decide to setup a network later for additional computers, just change the 127.0.0.1 to 198.162.xxx.xxx (whatever your LAN IP address is) for everything but the database settings, including your eqhost file. Just be sure to setup a static address in your router for the server computer or you will have headaches with roaming IP addresses.)
As for your setup, copy the following to each file below:
|eqemu_config.xml|
<?xml version="1.0"?>
<server>
<world>
<shortname>Matts</shortname>
<longname>Matts Place</longname>
<!-- Type in physical address, 'localhost' doesn't always seem to work -->
<address>127.0.0.1</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>127.0.0.1</host>
<!-- Use port 5998 for titanium or SoF clients, 5999 for SoD or higher -->
<port>5998</port>
<!-- account/password must match registered id in the database -->
<account>Admin</account>
<password>Password</password>
</loginserver>
<!-- Sets the shared key used by zone launcher to connect to world -->
<!-- <key>make up some random string of characters here</key> -->
<!-- Default zonekey is 12345. If you change this, change the db value also -->
<key>12345</key>
<!-- Enable and set the port for the HTTP service -->
<!-- Use
http://127.0.0.1:9080/ to access this webpage -->
<http port="9080" enable="true" mimefile="mime.types"/>
</world>
<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>127.0.0.1</host>
<port>7778</port>
</chatserver>
<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>127.0.0.1</host>
<port>7779</port>
</mailserver>
<zones>
<defaultstatus>20</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>
<!-- Database configuration, replaces db.ini -->
<database>
<host>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>everquest</password>
<db>PEQ</db>
</database>
<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>
<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>
|login.ini|
[database]
host = 127.0.0.1
port = 3306
db = PEQ
user = root
password = everquest
subsystem = MySQL
[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 127.0.0.
[security]
plugin = EQEmuAuthCrypto
mode = 5
[Titanium]
port = 5998
opcodes = login_opcodes.conf
[SoD]
port = 5999
opcodes = login_opcodes_sod.conf
[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType
|eqhost.txt|
[LoginServer]
Host=127.0.0.1:5998
If you are using an SoD or higher client, change the following:
|eqemu_config.xml|
<port>5999</port>
|login.ini|
listen_port = 5999
|eqhost.txt|
Host=127.0.0.1:5999
That should straighten up your configuration. Let's take a look at your 'Server' and 'Account' settings.
Open up your database program (I use HeidiSQL, but navicat should work fine)
Under PEQ, find 'tblserveradminregistration'. There is a default admin here that you can use, but you can create a new one if you want. Regardless, you will need the 'ServerAdminID', 'AccountName' and 'AccountPassword' from this table. If you do create a new one, you will need to change the <account> and <password> setttings in <eqemu_config.xml> to the new values. (Use the default until you are comfortable navigating and using sql commands.)
Next, find 'tblworldserverregistration'. Make sure the 'ServerListTypeID' for your server is '2', 'ServerLastIPAddr' is '127.0.0.1' and that 'ServerAdminID' is the value you got from the previous table.
As long as you created a Login Server account during setup, you should be able to start your server at this point.
If you want to access the server http page and/or have GM priviledges, you'll have to do a few more things.
For GM priviledges, find the 'account' table in the database. In that table, change your 'Status' value to a higher number. There is a list somewhere that shows you what each value range will let you do, but setting it to '250' will let you do more than you would ever need to.
To gain access to the http page, you will have to set a password in the 'password' field under the same table. The password should be unencrypted or it won't work. You can manually enter this or use the mysql command line tool. if you use the mysql command line, copy the following statement and make the appropriate changes before pressing enter. (Make sure to type 'use PEQ' if you use the mysql command line.)
UPDATE account SET account.password = 'password' WHERE account.name = 'eqaccountname';
Make sure to change eqaccountname to your eqgame login id and password to what you want to use. I use the same password as my eqgame login so it's easy to remember.
If the 'account' table is empty when you click on it, login your EQ game client, create a character and then come back to this step.
I'm pretty sure this will get you up and going, but post back here if you are still having problems. (If anyone else sees anything wrong with this, please say so.)
Don't forget to use the proper syntax (
http://127.0.0.1:9080/) for accessing the server web page or you won't get there.