strugglegenerator |
10-30-2019 07:41 PM |
I have both a login.ini and an eqemu_config.json. You need both. I had to manually create mine.
Here is how I setup my files. The stuff in red needs to be changed:
eqemu_config.json
Code:
{
"server" : {
"chatserver" : {
"host" : "",
"port" : "7778"
},
"database" : {
"db" : "peq",
"host" : "localhost",
"password" : "insertYourSQLDatabasePasswordHere",
"port" : "3306",
"username" : "root"
},
"mailserver" : {
"host" : "",
"port" : "7778"
},
"qsdatabase" : {
"db" : "peq",
"host" : "localhost",
"password" : "eqemu",
"port" : "3306",
"username" : "insertYourSQLDatabasePasswordHere"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"address" : "insertYourPublicIPAddressHere",
"http" : {
"enabled" : "false",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "thisHasAnAutoGeneratedKeyThatIDidNotCreate",
"localaddress" : "insertYourLocalIPAddressHere",
"loginserver1" : {
"account" : "",
"host" : "insertYourLocalIPAddressHere",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "InsertYourLocalIPAddressHere",
"legacy" : "0",
"password" : "",
"port" : "5998"
},
"longname" : "Your Server Name Here",
"shortname" : "Your Server Name Here",
"tcp" : {
"ip" : "InsertYourLocalIPAddressHere",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}
Then I also have a login.ini file that looks like this:
Code:
[database]
host = localhost
port = 3306
db = peq
user = root
password = InsertYourSQLDatabasePasswordHere
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 = insertPublicIPAddressHere
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
Make sure you run t_start_server_with_login_server and not t_start_server, since you are using the private login server.
|