PDA

View Full Version : World_Client Using Internal IP Not External


kofac
03-31-2010, 02:50 PM
I wonder if anyone can please help me, I have a fully running Server that uses this login PrivateLogin v1.04 http://eqemu.devnoob.com/. Its a Private/Public one that me & a few freinds use.

I wanted to change to this login EQEmuLoginServer http://code.google.com/p/projecteqemu/downloads/list as it seems to be the perfered one.

Everything went fine its set up but my friends can not log in from the Internet side of things. Internally for me it works fine with no issues.

My friends can log into the server and create characters but when they go to log in game EQ just goes black for them. I can see from server side it creates there character and even boots the zone they want to go in. But it just does not let them in there end.

After searching my log files I found the problem.
[03.31. - 12:27:30] [WORLD__CLIENT] Mel: Sending client to zone poknowledge (202:0) at 192.168.0.4:7004

Which is if you look above its using 192.168.0.4:7004 to send the data back to the EQ Client. So any external people trying to use it will simply never get the info sent back.

On my existing login server that info always comes up with my externalIP:7004 which is what I want this to do.

Anyone know where it gets that info from please. Also just incase its any use here is my config files:

EQEmu Config:

<?xml version="1.0">
<server>
<world>
<shortname>UTG</shortname>
<longname>Untamed Griffins</longname>
<tcp ip="127.0.0.1" port="1000" telnet="disable"/>

<!-- Only specify these two if you really think you need to. -->
<address>ExternalIP</address>

<!-- Loginserver information. -->
<loginserver>
<host>ExternalIP</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>MyPassword</password>
<db>peq</db>
</database>
</server>

EQEmuLogin.ini

Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=localhost
DatabaseCatalogName=peqlogindb
DatabaseUserName=root
DatabaseUserPassword=DBPassword
OPCodePathAndFileName=login_opcodes.conf

kofac
04-01-2010, 05:07 AM
I have managed to narrow the problem a bit more this is what comes up when the LS Server is started.

ServerOP_LSInfo: Name: Untamed Griffins Short: UTG RAddr: ExternalIP LAddr: 192.168.0.4 Acc: Accountname Pwd: Password Prot: 0.3.10 SU: 0.8.0 Type: 0

So I am guessing its using the LAddr when it opens any zones. I can not see where this option is set or changed in the LS Database.

Anyone know if its possible to change where LAddr points or is it hard coded and the EQEmuLoginServer would then be a LAN only LS ?

Jerry L Lewis
04-07-2010, 02:00 PM
I've been watching this thread because I've run into the same issues with my server using the EQEmuLoginServer myself. It does appear that it sends the local address to the client instead of the ExternalIP. If anyone has a suggestion, please share.

Shiny151
04-07-2010, 02:10 PM
I had the same problem; no external connections for many weeks until I made the changes I posted in this thread.

http://www.eqemulator.org/forums/showthread.php?p=181138#post181138

if this doesn't help you I can post my config file.

kofac
04-08-2010, 01:32 PM
Thank you very much Shiny 151 your suggestion of changing both:

<address>externalip</address>
<localaddress>externalip</localaddress>

in the Emu Config file. Worked like a charm it finally connects to external ip. Thanks again.

Jerry L Lewis
04-08-2010, 06:40 PM
That worked for me as well, thank you!