EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Private login issues (https://www.eqemulator.org/forums/showthread.php?t=39915)

Nightrider84 08-07-2015 08:32 PM

Private login issues
 
So I haven't changed anything as far as my private login goes, im able to login on my local network but anybody else trying to login gets to my server on the list clicks login and after about 45 seconds of black screen it kicks them back to login. I thought it might have been my ports but they are forwarded correctly and people are able to login to the server through the normal eqemulator.net address. Im just not sure if its something I missed with an update. Heres what my eqemu config looks like.

<address>192.168.1.110</address> -->
<localaddress>gamegenie.servebeer.com</localaddress> -->

<!-- Loginserver information. add Admin and Password for private login to show up --->
<loginserver1>
<host>192.168.1.110</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver1>
<loginserver2>
<host>login.eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver2>

Uleat 08-07-2015 08:41 PM

Did your WAN address change?

Nightrider84 08-07-2015 08:49 PM

I use NoIP so even if it changes im covered, On a side note if I remove the info in these
lines

<address>192.168.1.110</address> -->
<localaddress>gamegenie.servebeer.com</localaddress> -->

then Im able to login from local and over the regular but not private from another location

Noport 08-07-2015 09:23 PM

need to swap address with localaddress
Code:

<address>gamegenie.servebeer.com</address>
<localaddress>192.168.1.110</localaddress>

EQemu Config:
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>GSB</shortname>
                <longname>Gamegenie Serverbeer</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>gamegenie.servebeer.com</address>
                <localaddress>192.168.1.110</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>login.eqemulator.net</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver>

                <!-- Server status.  Default is unlocked -->

                <!-- <unlocked/> -->

                <!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
                <tcp ip="localhost" port="9000" telnet="disable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</key>
               
                <!-- Enable and set the port for the HTTP service.  Defaults are shown -->
                <http port="9080" enabled="false" mimefile="mime.types" />
        </world>

        <!-- Chatserver (channels) information.  Defaults shown -->
        <chatserver>
                <host>192.168.1.110</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>192.168.1.110</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.  Defaults shown -->
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>xxxxxxxx</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>

http://www.eqemulator.org/forums/showthread.php?t=35057

Uleat 08-07-2015 09:23 PM

I'm assuming this was working before..

There may be something that applies..but, I'll have to see if I can find the thread for it.

(If you can login locally and other can through the public server, then it's likely not settings..like you said.)


EDIT: You're not a comcast customer, are you? ;)

Nightrider84 08-07-2015 09:28 PM

Yeah its really confusing to me, ill hafto comb through it. Its possible I put an extra character or something in a spot it doesnt belong

Uleat 08-07-2015 09:38 PM

I thought there was an issue with ipv6->ipv4 conversions..or something like that...

But, I also thought it had been fixed.

AdrianD 08-07-2015 09:40 PM

I've been searching for this thread for hours.

I'm interested in having the same capability. I can log in from the LAN, others can login through eqemu login, I can login on a solo server but, I'm having a hard time figuring out logging in from a private server on the internet.

I haven't completely read through the post, as I will momentarily, but I wanted to thank you guys for posting this! Saves me from starting a new thread.

Nightrider84 08-07-2015 09:42 PM

Yeah just to note that I did have people logging in from over the web through my private login, It must be something that im missing that changed.

AdrianD 08-07-2015 09:57 PM

Could you either PM me or state what is different from a LAN or eqemu login? I've been trying to figure out all the associations but with no real notes in the files it's...SMH.

Like, this points to this, etc, it's tough for a noob to figure out.

Uleat 08-07-2015 09:59 PM

This may have been what I was thinking of: https://github.com/EQEmu/Server/comm...de7284aba90f5e

I hear and see things from several sources and it's real easy to get overlapping thoughts...

Nightrider84 08-07-2015 10:07 PM

ah k If I cant get anything else to work ill try that and recompile

Uleat 08-07-2015 10:15 PM

AdrianD, from a user's perspective, nothing other than the ip address of the login server itself.

Running a 'personal' login server just removes the mediation between you and your clients involving the public login server.

You would be responsible for running the login server and maintaining its accounts.


Now, you can configure your world server to connect to many login servers..even beyond the eqemu public login and your personal one.

PEQ, for instance, runs its own login server as well as connecting to the eqemu public one.

Nightrider84 08-07-2015 10:30 PM

Yeah I run a dual login setup myself aswell, its convientient incase the public login is down for some reason. Until this issue came up i had both of them running together flawlessly

AdrianD 08-07-2015 10:52 PM

Alright.

Here's my issue:

I stated above how I can connect private-solo and private-LAN. Myself and others can connect using the login.eqemulator.net login.

I'd like the option to have a private-internet server.

I've tinkered around for several hours today and many more on other days trying to figure out how to do this. I fuckin' hate wasting my time when my questions could be answered in a tiny fraction of the time I've spent searching for them. If you don't like my tone or brief language outburst, too fucking bad, go watch sesame street or something.

.......................

I have three DDNS names I can insert where needed.

I'll mention my results with UCS in each example.

private LAN eqemu_config
Code:

<?xml version="1.0"?>
<server>
        <world>
                <shortname>Jeryds</shortname>
                <longname>Jeryd's</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't)-->
                <address>192.168.15.181</address>
                <localaddress>192.168.15.181</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>192.168.15.181</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver>

                <!-- Server status.  Default is unlocked -->
                <!--<locked/>-->
                <!-- <unlocked/> -->

                <!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
                <tcp ip="127.0.0.1" port="9000" telnet="disable"/>

                <!-- 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.  Defaults are shown -->
                <http port="9080" enabled="false" mimefile="mime.types" />
        </world>

        <!-- Chatserver (channels) information.  Defaults shown -->
        <chatserver>
                <host>192.168.15.181</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>192.168.15.181</host>
                <port>7778</port>
        </mailserver>

        <zones>
                <defaultstatus>0</defaultstatus>

                <!-- Sets port range for world to use to auto configure zones -->
                <ports low="7000" high="7100"/>
        </zones>

        <!-- Database configuration, replaces db.ini.  Defaults shown -->
        <database>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>root</username>
                <password>`mypw`</password>
                <db>jeryds</db>
        </database>

        <qsdatabase>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>root</username>
                <password>`mypw`</password>
                <db>jeryds</db>
        </qsdatabase>

        <!-- 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 local_network = 127.0.0.1
Client eqhost is 192.168.181:5998
UCS works, not that it matters.

Loginserver log:
Code:

SNIP
[Network] [08.07.15 - 20:23:04] New world server connection from 192.168.15.181:53671
[World] [08.07.15 - 20:23:04] Server Jeryd's(Jeryds) did not attempt to log in but unregistered servers are allowed.
[Network] [08.07.15 - 20:23:44] New Titanium client connection from 192.168.15.126:64630
SNIP
/* the message below is after I quit from character select */
[Network] [08.07.15 - 20:25:08] New Titanium client connection from 192.168.15.126:64632
[Network] [08.07.15 - 20:25:08] Application packet received from client (size 14)
[Network] [08.07.15 - 20:25:08] Session ready received from client.
[Network] [08.07.15 - 20:25:08] Application packet received from client (size 12)
[Network Error] [08.07.15 - 20:25:08] Recieved unhandled application packet from the client: [OpCode OP_Unknown (0x0012) Size=10].
[Network] [08.07.15 - 20:25:08] Application packet received from client (size 36)
[Network] [08.07.15 - 20:25:08] Login received from client.
SNIP

When I get back to server select, my server isn't listed. I don't consider this a big deal unless it is somehow effecting other things.

login.eqemulator.net eqemu_config
Code:

<?xml version="1.0"?>
<server>
        <world>
                <shortname>Jeryds</shortname>
                <longname>Jeryd's</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <!-- <address>50.12.254.115</address> -->
                <!-- <localaddress>192.168.15.181</localaddress> -->

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>login.eqemulator.net</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver>

                <!-- Server status.  Default is unlocked -->
                <!--<locked/>-->
                <!-- <unlocked/> -->

                <!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
                <tcp ip="127.0.0.1" port="9000" telnet="disable"/>

                <!-- 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.  Defaults are shown -->
                <http port="9080" enabled="false" mimefile="mime.types" />
        </world>

        <!-- Chatserver (channels) information.  Defaults shown -->
                       
        <chatserver>
        <!-- 192.168.15.181 works only within local network -->
                <host>192.168.15.181</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>192.168.15.181</host>
                <port>7778</port>
        </mailserver>

        <zones>
                <defaultstatus>0</defaultstatus>

                <!-- Sets port range for world to use to auto configure zones -->
                <ports low="7000" high="7100"/>
        </zones>

        <!-- Database configuration, replaces db.ini.  Defaults shown -->
        <database>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>root</username>
                <password>blah</password>
                <db>jeryds</db>
        </database>

        <qsdatabase>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>root</username>
                <password>hurd</password>
                <db>jeryds</db>
        </qsdatabase>

        <!-- 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>

UCS works in my local network but not outside of it.

...............

My brain is fried on this. I've spent too much time on it to get just a little knowledge. I've changed things around in a hundred ways, taken notes acquired eqjeryds.dynu.com, logineqjeryds.dynu.com and maileqjeryd.dynu.com.

* Thanks fellas, I'll make sense of this later when I can think straight.
* Edited eqemu_config to point out the DDNS works within but unsure about other people outside.
* reedited to point out the above is incorrect ffs

Out.

AdrianD 08-07-2015 11:20 PM

I'm unable to make the associations because I am uncertain what role the login server plays to point the client to the world server, or if it does.

For example: login.eqemulator.net is linked to me how? I only see my localhost settings in my config files. I can't ping it. Does it grab my internet IP?

I also don't know if I can log in through the internet rather than my LAN. With eqemu it seems clear but...

I'm on the cusp of things here; everything is on the cusp. I want to be able to give back and being unable is frustrating.

Uleat 08-08-2015 06:30 PM

AdrianD,

Make sure that you have ports 7778 & 7779 forwarded properly or they will only be visible to the LAN.

Your login.ini:local_network setting should be "192.168.15." in this case..otherwise, the login server will only look for connections from localhost.

Quote:

Client eqhost is 192.168.181:5998
is missing the sub-address id (typo?)

Can't remember if the <tcp ip> setting must be the same as the world setting..but, it wouldn't hurt to change that.

Uleat 08-08-2015 06:31 PM

Nightrider84,

How did your recompile go?

Nightrider84 08-09-2015 12:24 AM

Haven't had the chance to recompile it yet got called into work so I was pretty busy. Just got home so tommorow after work I'll recompile and post the results here

AdrianD 08-09-2015 12:33 PM

Nightrider84, I am sorry for distracting from your issue. Upon some reflection, I may or may not have done that. I was caught up in the moment with my own issue. This was not my intention but, I realize it wasn't in the best form.

Thanks

Nightrider84 08-11-2015 11:30 AM

I just checked the string uleat and the change was already commited in my current compile. Im just at a loss at this point, If I removed the text all together for my address and local. People can login through the normal login and I can login through normal and on my network. But they can't access the server at all if I add my addresses in.

AdrianD 08-11-2015 12:34 PM

I think were at similar points in this. I'll be watching any progress here intently.

Uleat 08-11-2015 08:41 PM

https://github.com/EQEmu/Server/blob...ient.cpp#L1237

Looks like some logging operations were added when the code changed.

You might take a look at that value in the db to see if it is logging at level 3 for that particular channel (or any of the world-based ones.)

It might lead to what's causing the issue?

Nightrider84 08-13-2015 03:05 PM

So it looks like I may have resolved the issue and ill post my theory on how it worked out.
So instead of adding in both the address and local I only added the address in.

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>gamegenie.servebeer.com</address> -->
<localaddress></localaddress> -->

If I had to guess There must be some kind of conflict with adding in your local address along with where you would put it for the private login.

I also updated my login_opcodes to the newest ones.

So im unsure which one did the trick but its one of the two. Ill try adding in the localaddress and see if it stops working again, if It does than I know thats where the issue lies

Edit: Also if you don't add an address in under <address> (for your public ip) then there is a registration error with the private login and it defaults to your local IP. So that may be why it doesn't accept outside connections


All times are GMT -4. The time now is 10:49 AM.

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