Log in

View Full Version : Login Server in private Lan


Soadin
12-29-2019, 04:24 PM
Hi,

I have a problem setting up a local Login Server in my private Lan.

I attached the login.json and eqemu_config.json.

Status with these two files:
I can logon to Login Server but my EQ-Server is not shown on the Server list.
So it seems the Server doesnt Register correctly at the Login Server.
But log files don't show an error.

would the world log file show an error?
It says:

[12-29-2019 :: 20:34:30] [WorldServer] [Info] Connected to Legacy Loginserver: [192.168.0.175:5998]



would the login Server log file show an error? it doesn't atm. But also no success message.


Any tips ?
Many thx in Advance

eqemu_config.json

{
"server" : {
"chatserver" : {
"host" : "",
"port" : "7778"
},
"database" : {
"db" : "peq",
"host" : "localhost",
"password" : "eqemu",
"port" : "3306",
"username" : "root"
},
"mailserver" : {
"host" : "",
"port" : "7778"
},
"qsdatabase" : {
"db" : "peq",
"host" : "localhost",
"password" : "eqemu",
"port" : "3306",
"username" : "root"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"http" : {
"enabled" : "true",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "rmJ0srnNuhFoLV4XtBVUwe2C3sLMZIL",
"loginserver1" : {
"account" : "Admin",
"host" : "192.168.0.175",
"legacy" : "1",
"password" : "Password",
"port" : "5998"
},
"loginserver2" : {
"account" : "Admin",
"host" : "192.168.0.175",
"password" : "Password",
"port" : "5999"
},
"localaddress" : "192.168.0.175",
"longname" : "Soadin",
"shortname" : "soadin",
"tcp" : {
"ip" : "192.168.0.175",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "20",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}





Login.json

{
"account" : {
"auto_create_accounts" : true
},
"client_configuration" : {
"sod_opcodes" : "login_opcodes_sod.conf",
"sod_port" : 5999,
"titanium_opcodes" : "login_opcodes.conf",
"titanium_port" : 5998
},
"database" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "eqemu",
"port" : "3306",
"user" : "root"
},
"logging" : {
"dump_packets_in" : false,
"dump_packets_out" : false,
"trace" : false,
"world_trace" : false,
"local_network" : "192.168.0.0"
},
"security" : {
"allow_password_login" : true,
"allow_token_login" : true,
"mode" : 14
},
"web_api" : {
"enabled" : true,
"port" : 6000
},
"worldservers" : {
"reject_duplicate_servers" : false,
"unregistered_allowed" : true
}
}

Soadin
12-29-2019, 04:49 PM
Some additional info:

I did check the database with
select * from login_world_servers;

and it showed the line with my world server.

I am using the ROF Client btw.

THx again for any tips or tricks :)

Uleat
12-29-2019, 05:43 PM
This assumes that you don't want to connect to the public login server...


"world" : {
"http" : {
"enabled" : "true",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "rmJ0srnNuhFoLV4XtBVUwe2C3sLMZIL",
"loginserver1" : {
"account" : "Admin",
"host" : "192.168.0.175",
"password" : "Password",
"port" : "5998"
},
"localaddress" : "192.168.0.175",
"longname" : "Soadin",
"shortname" : "soadin",
"tcp" : {
"ip" : "192.168.0.175",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},


- Remove 'loginserver2'
- Remove 'legacy' from 'loginserver1'

Note: Don't change the port values to what you think the client is logging into..these are for server-to-server connections and have nothing to do with client login.

Soadin
12-29-2019, 06:25 PM
Many many thx... that solved it.
Uleat you are my hero :)

/bow