I ran into a few issues myself, using the script earlier this month. I think I also had an issue where I couldn't connect, but I found out that some of my issues were stuff I either changed to something that didn't technically make sense, or that I didn't yet understand how this server interacts with the clients.
I'm running Ubuntu Server 16.04.5 LTS on KVM QEMU. My server is on a separate private subnet/network from my clients. I'm using pfsense for my firewall/routing. I just wanted to setup a server so that my local clients aka, my kids and I could have our own server to do whatever we wanted.
What does your eqemu_config.json look like? In the info below, my local IP is the one referring to "x.x.x.x".
Code:
{
"server" : {
"chatserver" : {
"host" : "",
"port" : "7778"
},
"database" : {
"db" : "eqemu",
"host" : "localhost",
"password" : "xxxxxxxx",
"port" : "3306",
"username" : "eqemu"
},
"mailserver" : {
"host" : "",
"port" : "7778"
},
"qsdatabase" : {
"db" : "eqemu",
"host" : "localhost",
"password" : "xxxxxxxxx",
"port" : "3306",
"username" : "eqemu"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"http" : {
"enabled" : "true",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "x.x.x.x",
"password" : "",
"port" : "5998"
},
"longname" : "Akkas Linux PEQ Installer (xxxxxxx)",
"shortname" : "Akkas PEQ Installer",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
What does your login.ini look like?
Code:
[database]
host = localhost
port = 3306
db = eqemu
user = eqemu
password = xxxxxxxxxxx
subsystem = MySQL
[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = x.x.x.
auto_create_accounts = TRUE
[security]
plugin = EQEmuAuthCrypto
mode = 5
[Titanium]
port = 5998
opcodes = login_opcodes.conf
[SoD]
port = 5999
opcodes = login_opcodes_sod.conf
[schema]
account_table = loginserver_server_accounts
world_registration_table = loginserver_world_server_registration
world_admin_registration_table = loginserver_server_admin_registration
world_server_type_table = loginserver_server_list_type
What does your eqhost.txt look like? I use port 5999 due to using ROF2 client.
Code:
[LoginServer]
#Host=login.eqemulator.net:5999
Host=x.x.x.x:5999
Also, after doing a lot of extensive troubleshooting on my own issues, I see there's a lot of residual older information that doesn't seem to be 100% relevant to the newer setups. I have a feeling that some people are probably not very familiar with the newer one yet.
Aside from this, I tried to do only a local login, but I had issues where it was trying to pass a blank IP with port when I entered the world. I was able to create characters, but it wouldn't pass my local IP to do the zone stuff, and disconnected me.
Maybe this won't happen to you, maybe it's specific to how I have my network setup, but if you end up seeing that, I had to setup a NAT redirect on my internal traffic to that server, through my public interface's address, so it would actually pass an IP to do the zoning. Everything else seemed to work fine. The error showed up in my dbg.txt.