Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2019, 06:39 AM
Michelle-Bishop
Fire Beetle
 
Join Date: Apr 2019
Posts: 22
Default Unable to Connect Offline / LAN currently

Hi folks.

Hmm, well I'm not really sure what is going on now. I of course had EQ running fine with multiple clients on a private server of my own with the help of a few of you here, but ever since I moved, I don't seem to be able to connect.


I rolled back my computer to a time it was functioning after some auto-Windows updates.

I was able to run the server off this very same laptop and connect just fine even after turning my Wifi off.

As of now, when I open CMD prompt and type ipconfig /all - nothing shows up when I am not connected to the internet. When I am however, I am shown an IP address. Anywho, here's what it looks like.


Code:
Windows IP Configuration


Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter Ethernet 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 9:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 10:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::6955:ab1c:820e:d91e%11
   IPv4 Address. . . . . . . . . . . : 192.168.1.68
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
That is when it is connected to the internet here, via my Wifi as you can see. Otherwise, if I am not connected, not even that last part shows up, seems it's off. Though for some reason, I was able to connect just fine previously when turning my Wifi off (I have only ever used Wifi).


Now, the last time people here helped me, here's what my configs looked like and IP addresses used - examples below.

Code:
dump_packets_out = FALSE
listen_port = 5998
local_network = 127.0.0.
auto_create_accounts = TRUE
Code:
     "server" : {
          "chatserver" : {
               "host" : "10.0.0.100",
               "port" : "7778"
          },
          "database" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "eqemu",
               "port" : "3306",
               "username" : "root"

And this is the EQhost file I was using as well.

Code:
[LoginServer]
Host=10.0.0.100:5998
Am I correct in assuming, that if I switch out the old IP address from 10.0.0.100 to my new one on my Wireless LAN address of 192.168.1.1 - I then would be able to connect? If so, wouldn't I run into the same issue once I am no longer connected to the internet?


I'm sure this is just a matter of changing some numbers around, but it's weird it was working before and not now.
Reply With Quote
  #2  
Old 05-22-2019, 07:21 AM
Michelle-Bishop
Fire Beetle
 
Join Date: Apr 2019
Posts: 22
Default

Ok, as I assumed, I changed the 10.0.0.100 addresses to 192.168.1.68 address, and I am now able to log into the client and game like before.

However, I did delete a row (an account) like before that was not allowing me to log into an account before, and deleted my enchanter, which is fine; I can make a new one and edit the character or something. My other 2 accounts, seemed to have been rolled back from the last time I played. Went from lvl 19 back to 16 or so, which is fine. I believe it's because I turned my WIFI OFF after logging in, and closed the clients and it didn't save because otherwise the other times, I had my Wifi ON.

Okay weird. For a while there, I was unable to log in once I turned my WIFI completely off. I was able to see the server up, but kept getting locked out, client would freeze, and eventually say something about not being able to connect (not the 1017 error like before).

But now... everything is back to normal as I type this now, with my WIFI off. I am not connected to the internet right now, but I'm gonna flick it back on so I can post this reply and see what happens... uhg.

(EDIT) Hmm... okay. I don't know what the heck is going on, but it appears as though everything is working fine now. Regardless if I am connected to our internet here, or if I completely turn mine off, even opening CMD prompt to find the IP address and it shows no IP address at all seems I am not connected, I am now able to connect just fine as of now.



Only issue I am now concerned with I guess, is having my toons rolled back again. I bet it had to do with shutting things down improperly before. Now I gotta make a new enchanter and lvl/edit it or something to get her back to my other toons' level.


Anyone care to explain what the heck was going on here?
Reply With Quote
  #3  
Old 05-22-2019, 08:33 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

it's likely a faulty configuration of the 'world' section of eqemu_config.json ('address' and 'localaddress' specifically). if you are playing from the same machine, i believe 127.0.0.1 should work for localaddress. that should also allow you to play locally with your wireless switched off.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #4  
Old 05-30-2019, 11:31 AM
Michelle-Bishop
Fire Beetle
 
Join Date: Apr 2019
Posts: 22
Default

I keep having this issue. Might have found out finally when it happens.


I am unable to connect to the server select screen when my Wifi is Off. Once I turn it on, and connect to our internet, I can then get past the login/password screen and connect. I thought I was able to play without having an active internet connection / Wifi Off.

Here's the config I am using now that is working when I have a connection live.
---

Code:
{
     "server" : {
          "chatserver" : {
               "host" : "192.168.1.68",
               "port" : "7778"
          },
          "database" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "eqemu",
               "port" : "3306",
               "username" : "root"
          },
          "directories" : {
               "logs" : "logs/",
               "lua_modules" : "lua_modules/",
               "maps" : "maps/",
               "patches" : "./",
               "plugins" : "plugins/",
               "quests" : "quests/",
               "shared_memory" : "shared/"
          },
          "mailserver" : {
               "host" : "192.168.1.68",
               "port" : "7778"
          },
          "qsdatabase" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "eqemu",
               "port" : "3306",
               "username" : "root"
          },
          "world" : {
               "http" : {
                    "enabled" : "false",
                    "mimefile" : "mime.types",
                    "port" : "9080"
               },
               "key" : "jSx0rDQnhBlY72zPJEABOErxZI1ZEBz",
               "localaddress" : "192.168.1.68",
               "locked" : "false",
               "loginserver" : {
	"account" : "",
	"host" : "192.168.1.68",
	"legacy" : "0",
	"password" : "",
	"port" : "5998"
 },
               "longname" : "Kera's Server",
               "shortname" : "keraserver",
               "tcp" : {
                    "ip" : "127.0.0.1",
                    "port" : "9000",
                    "telnet" : "disable"
               }
          },
          "zones" : {
               "defaultstatus" : "0",
               "ports" : {
                    "high" : "7400",
                    "low" : "7000"
               }
          }
     }
}


And again, now I can log in after I turned my wifi off like I thought I was doing before. I also shut my PC down and didn't touch my wifi and I was able to log in just fine. I don't understand why this is happening, or how to fix that. Once I am stuck with not being able to log in, I cannot log back into the game unless I connect back to our WIFI for some odd reason.
Reply With Quote
  #5  
Old 05-30-2019, 05:48 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

To have a "LAN" (local area network) server and connect to that lan server from another puter (client or whatever), you need some way of connecting to it. Common choices: wifi or ethernet cable. Otherwise, all clients would have to be on the same puter as the server. (localhost).
__________________
Hanging out at Antonica.World
Reply With Quote
  #6  
Old 05-30-2019, 08:27 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

It's simple. If you turn off your WiFi, you are disabling the interface that has the IP address you are attempting to connect to, according to the configurations you have posted in this thread.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #7  
Old 06-01-2019, 08:21 AM
Michelle-Bishop
Fire Beetle
 
Join Date: Apr 2019
Posts: 22
Default

I don't know why I cannot connect still given the help here. I am running the client and server on this machine, my laptop. All 3 accounts I log in with this same machine.

The only way I can connect, is if I have an active connection, Start the server, then I can log in as normal, and I can even flick my wifi off and I am still able to connect until say, my laptop gets shutdown or it goes into sleep mode. Otherwise, my computer Wireless Lan card no longer registers an IP address with ipconfig /all.

I also notice, every time I am able to connect, I get an error in one of the consoles from the server:

[Login Server] New world server connection from 192.168.1.68:64519
[Error] Handle_NewLSInfo error, remote address was null, defaulting to stream address 192.168.1.68.
[World Server] Server Kera's Server(keraserver) did not attempt to log in but unregistered servers are allowed.
[Login Server] New Titanium client connection from 192.168.1.68:55213


Here's the config now:

Code:
{
     "server" : {
          "chatserver" : {
               "host" : "192.168.1.68",
               "port" : "7778"
          },
          "database" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "eqemu",
               "port" : "3306",
               "username" : "root"
          },
          "directories" : {
               "logs" : "logs/",
               "lua_modules" : "lua_modules/",
               "maps" : "maps/",
               "patches" : "./",
               "plugins" : "plugins/",
               "quests" : "quests/",
               "shared_memory" : "shared/"
          },
          "mailserver" : {
               "host" : "192.168.1.68",
               "port" : "7778"
          },
          "qsdatabase" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "eqemu",
               "port" : "3306",
               "username" : "root"
          },
          "world" : {
               "http" : {
                    "enabled" : "false",
                    "mimefile" : "mime.types",
                    "port" : "9080"
               },
               "key" : "jSx0rDQnhBlY72zPJEABOErxZI1ZEBz",
               "localaddress" : "127.0.0.1",
               "locked" : "false",
               "loginserver" : {
	"account" : "",
	"host" : "192.168.1.68",
	"legacy" : "0",
	"password" : "",
	"port" : "5998"
 },
               "longname" : "Kera's Server",
               "shortname" : "keraserver",
               "tcp" : {
                    "ip" : "127.0.0.1",
                    "port" : "9000",
                    "telnet" : "disable"
               }
          },
          "zones" : {
               "defaultstatus" : "0",
               "ports" : {
                    "high" : "7400",
                    "low" : "7000"
               }
          }
     }
}
Reply With Quote
  #8  
Old 06-01-2019, 11:03 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

if all clients are connecting from the machine running the server, change all of your IP addresses in your config to 127.0.0.1 and you should have no further issues.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #9  
Old 06-01-2019, 05:27 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Link to a post where I shared my 'localhost' configs: http://www.eqemulator.org/forums/sho...30&postcount=3

One is for the login server..the other, main server configurations.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:24 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3