EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Running Login from another puter ??? (https://www.eqemulator.org/forums/showthread.php?t=32696)

Huppy 12-16-2010 02:45 AM

Running Login from another puter ???
 
Is there anyway to add lines (or whatever) to this to enable the
EQEmuLoginServer to run on its own machine and still connect to
the sql ? (aside from putting all the login files on the other puter)
This is what I am using now on the same sql box;

[LoginServer]
loginserver=192.168.1.100
loginport=5999
DumpPacketsIn=false
DumpPacketsOut=false
Trace=false
DatabaseServerName=localhost
DatabaseCatalogName=peqlogindb
DatabaseUserName=root
DatabaseUserPassword=xxxxxx
OPCodePathAndFileName=login_opcodes_sod.conf

Capheus 12-17-2010 06:59 AM

You can run the login stuff separate from the sql files. I was able to get it to work on a Win7 32bit machine connecting to a Win7 64bit machine over a LAN.

1.You will still need to setup mysql on both computers making sure you check the "Enable root access from remote machines" box. This is done during the setup of mysql. You can use the instance config wizard to change this setting if you didn't do it on the initial setup.

2.The computer with the Eqemulogin will also need perl installed and all of the regular files such as maps, quests, exe's etc.

3. You will need to modify eqemulogin.ini and eqemu.config files. You will want to replace "localhost" with the ip address of you remote machine with the sql files. Examples below

Code:

Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=192.168.1.105
DatabaseCatalogName=local
DatabaseUserName=root
DatabaseUserPassword=password
OPCodePathAndFileName=login_opcodes.conf

Code:

<?xml version="1.0"?>
<server>
<world>
<shortname>myworld</shortname>
<longname>myworld long name</longname>

<!-- address has to be specified for minilogin to work -->
<address>192.168.1.101</address>
<localaddress>192.168.1.101</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>192.168.1.101</host>
<port>5999</port>
<account>Account</account>
<password>Password</password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>blehblahblehblee</key>

<!-- Enable and set the port for the HTTP service -->
<http port="9080" enable="true" mimefile="mime.types"/>
</world>

<!-- Database configuration, replaces db.ini -->
<database>
<host>192.168.1.105</host>
<port>3306</port>
<username>root</username>
<password>Password</password>
<db>peq1667</db>
</database>
</server>


Huppy 12-17-2010 05:15 PM

Quote:

Originally Posted by Capheus (Post 195285)
You can run the login stuff separate from the sql files. I was able to get it to work on a Win7 32bit machine connecting to a Win7 64bit machine over a LAN.

1.You will still need to setup mysql on both computers making sure you check the "Enable root access from remote machines" box. This is done during the setup of mysql. You can use the instance config wizard to change this setting if you didn't do it on the initial setup.

2.The computer with the Eqemulogin will also need perl installed and all of the regular files such as maps, quests, exe's etc.

3. You will need to modify eqemulogin.ini and eqemu.config files. You will want to replace "localhost" with the ip address of you remote machine with the sql files. Examples below

Code:

Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=192.168.1.105
DatabaseCatalogName=local
DatabaseUserName=root
DatabaseUserPassword=password
OPCodePathAndFileName=login_opcodes.conf

Code:

<?xml version="1.0"?>
<server>
<world>
<shortname>myworld</shortname>
<longname>myworld long name</longname>

<!-- address has to be specified for minilogin to work -->
<address>192.168.1.101</address>
<localaddress>192.168.1.101</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>192.168.1.101</host>
<port>5999</port>
<account>Account</account>
<password>Password</password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>blehblahblehblee</key>

<!-- Enable and set the port for the HTTP service -->
<http port="9080" enable="true" mimefile="mime.types"/>
</world>

<!-- Database configuration, replaces db.ini -->
<database>
<host>192.168.1.105</host>
<port>3306</port>
<username>root</username>
<password>Password</password>
<db>peq1667</db>
</database>
</server>


Thank You Capheus, I had my suspicions that sql had to be installed on
the login computer, but I didn't realize all the others had to, as well :)
I did in fact, enable remote access for the sql when I installed it on the
sql machine. I have that seperate from the world/zone machine, I was
just trying to set up all 3 (peqdb/apps/login) on 3 seperate computers.
So I'll give that try with the login, thanx :)

lerxst2112 12-17-2010 05:26 PM

You probably don't need all of MySQL on all of the machines, but you will need the DLLs for it. If it was a concern you could probably narrow it down using dependency walker to see which ones you need, or if there's a redistributable package for MySQL you could try with just that.


All times are GMT -4. The time now is 08:35 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.