View Single Post
  #10  
Old 06-27-2019, 10:17 PM
whiteknight33
Sarnak
 
Join Date: Aug 2016
Location: Ohio
Posts: 69
Default

Quote:
Originally Posted by Huppy View Post
Sorry whiteknight, I jump to conclusions and thought you would know what I meant, that world address entry has to go into your server config file. (eqemu_config.json)
Oh yeah, I figured that out. I ran the code from Akkadius though, thinking my login server hadn't automatically installed on Linux. (Turns out it did though..) And that code wiped out my database settings in login.ini... Weird though, once I plugged the database info back in, it's not saying Loginserver: UP anymore... It's just Loginserver: and blank.

I added your code to the eqemu_config.json and now I just need to test it out and see if I can connect now.

eqemu_config.json looks like this now...

Code:
{
   "server" : {
      "chatserver" : {
         "host" : "192.168.1.167",
         "port" : "7778"
      },
      "database" : {
         "db" : "peq",
         "host" : "localhost",
         "password" : "password",
         "port" : "3306",
         "username" : "eqemu"
      },
      "mailserver" : {
         "host" : "192.168.1.167",
         "port" : "7778"
      },
      "qsdatabase" : {
         "db" : "peq",
         "host" : "localhost",
         "password" : "password",
         "port" : "3306",
         "username" : "eqemu"
      },
      "webinterface" : {
         "port" : "9081"
      },
      "world" : {
         "address" : "external IP address",
	 "localaddress" : "192.168.1.167",
         "http" : {
            "enabled" : "true",
            "mimefile" : "mime.types",
            "port" : "9080"
         },
         "key" : "long string",
         "loginserver1" : {
            "account" : "",
            "host" : "external IP address",
            "legacy" : "1",
            "password" : "",
            "port" : "5998"
         },
         "loginserver2" : {
            "account" : "",
            "host" : "external IP address",
            "password" : "",
            "port" : "5998"
         },
         "longname" : "Server Name",
         "shortname" : "server",
         "tcp" : {
            "ip" : "external IP address",
            "port" : "9001"
         },
         "telnet" : {
            "enabled" : "true",
            "ip" : "external IP address",
            "port" : "9000"
         }
      },
      "zones" : {
         "defaultstatus" : "0",
         "host" : "external IP address",
         "ports" : {
            "high" : "7400",
            "low" : "7000"
         }
      }
   }
}
and login.ini looks like this...

Code:
[database]
host = localhost
port = 3306
db = peq
user = eqemu
password = password
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 = 192.168.1.
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
Does this all look right to allow an outside connection?
Reply With Quote