Log in

View Full Version : Connecting to Server after Update to. Json


ionhsmith
02-09-2018, 11:49 AM
I just updated my server that I was able to login to and other people could as well to the json config and now my server doesn't even show up as an option in the server list. All of my ports and stuff are still the same. Do i have to edit anything in the json config to make my server available again? If so what edits do I need to make?

Kingly_Krab
02-09-2018, 07:15 PM
Post your .JSON with your passwords and sensitive information removed.

ionhsmith
02-09-2018, 07:40 PM
Everywhere it said removed was a password and username that was input


{
"server" : {
"chatserver" : {
"host" : "",
"port" : "7500"
},
"database" : {
"db" : "peq",
"host" : "localhost",
"password" : "removed",
"port" : "3306",
"username" : "removed"
},
"mailserver" : {
"host" : "",
"port" : "7500"
},
"qsdatabase" : {
"db" : "peq",
"host" : "localhost",
"password" : "removed",
"port" : "3306",
"username" : "removed"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"http" : {
"enabled" : "true",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "z0mb8f2ByUdq23ul2oHRRRiZvYmAZhk",
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "127.0.0.1",
"password" : "",
"port" : "5998"
},
"longname" : "Vengeance",
"shortname" : "Vengeance",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9000",
"telnet" : "enable"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}

Uleat
02-09-2018, 08:17 PM
Public login still needs the 'legacy' flag, right?

ionhsmith
02-09-2018, 08:37 PM
I have no idea what that is... I can't connect via lan either cause the server doesn't show up in the server select list

Uleat
02-09-2018, 09:03 PM
Check in the \backups folder of your server directory.

The old xml version of your config should be there and you can do a setting-by-setting comparison.

ionhsmith
02-09-2018, 09:43 PM
I did that already... it looks the same. Do I have to have a world server log in account or something like that now?

Uleat
02-09-2018, 10:37 PM
Someone else posted a post-json issue that had to do with their login.ini `local_network` setting.


EDIT: I am just tossing things atm...

Kingly_Krab
02-10-2018, 12:35 AM
Your .JSON has this:
"host" : "localhost"

This is mine:
"host" : "127.0.0.1"

Uleat
02-10-2018, 01:25 AM
Hmm...

Wonder if it's translating to the IPv6 address instead of the IPv4 one?

ionhsmith
02-10-2018, 08:06 AM
I've tried to change all localhost to 127.0.0.1 and still have the same result

ionhsmith
02-10-2018, 08:44 AM
Is there a way to revert back to my old server before the updates so that the players can still play on it until we figure this out?

Akkadius
02-10-2018, 04:02 PM
Under "loginserver1" which is your eqemulator loginserver entry, you need to make sure you specify the legacy flag, this is documented here:

https://github.com/EQEmu/Server/wiki/eqemu_config#loginserver

This was in the changelog and you can see an example of this in a config here:

https://github.com/Akkadius/EQEmuInstall/blob/master/eqemu_config.json#L32

This legacy flag depicts a connection via the old netcode

Once you add that you should be good to go

ionhsmith
02-10-2018, 07:41 PM
That was it ... thanks guys it works now

ionhsmith
02-10-2018, 07:47 PM
well I opened my mouth too soon. I can get to the character scree but the only one that can log in is my GM ... my other toons on another account goes to to disconnected screen

Uleat
02-10-2018, 08:46 PM
Do you have a "locked" flag in your config?

ionhsmith
02-11-2018, 07:15 PM
nope don't think so but it just started working all of a sudden. Haven't had any more issues so far