View Full Version : Setting up a private server
skywalker646
10-06-2018, 05:40 PM
Hi all,
I am hoping someone can help and I apologize if this has been addressed countless times. I am trying to set up a private, completely independent server for my friends and family with a private login. I thought I had done this correctly, but when I log into the game, there are no servers showing up. Is there any comprehensive (and possible easy to understand) tutorial for this?
Thanks for any and all help
skywalker646
10-06-2018, 08:11 PM
Some additional info....
When I log in with the client, I see the server acknowledge the login and I see the user account added to the login list for the database yet no server shows up. I changed the name in the json file but should I be adding the server anywhere else?
Uleat
10-06-2018, 11:49 PM
Make sure that your world server is exposed to the internet..can't be on a lan address.
EDIT: ..unless all players will be logging in from the lan.
skywalker646
10-07-2018, 08:33 AM
How would I do that? when I check the json file, this is what I see
"world" : {
"http" : {
"enabled" : "true",
"mimefile" : "mime.types",
"port" : "9080"
skywalker646
10-07-2018, 08:40 AM
disregard that.... I got it working. thanks!
skywalker646
10-07-2018, 09:34 AM
ok so I was able to log in to char creation, and it does save the characters being created (all through the private login), but then I disconnect when trying to enter the world. I am running off the LAN address of the server computer. is that the correct way to do it, or should I be doing it through WAN?
loglos
10-07-2018, 04:27 PM
We had the same issue at one point. For us, we were trying to create a race/class combo that the client did not support. Don't remember exactly what but see if you can create a halfling druid or some other early combo.
skywalker646
10-07-2018, 04:38 PM
Hey Ioglos,
Thanks for the suggestion. Unfortunately, a basic combo produced the same result :(
skywalker646
10-08-2018, 07:21 PM
I have been looking into it more and it seems that i log in successfully (as shown below) and then when i click on the server to enter, it disconnects then. Oddly enough it still goes to the char select screen with the proper characters but then you can't enter the world.
[Login Server] Application packet received from client (size 14)
[Login Server] Session ready received from client.
[Login Server] Application packet received from client (size 36)
[Login Server] Login received from client.
[Login Server] Application packet received from client (size 12)
[Login Server] Server list request received from client.
[Login Server] Application packet received from client (size 16)
[Login Server] Play received from client, server number 1 sequence 5.
[Login Server] Application packet received from client (size 12)
[Login Server] Client disconnected from the server, removing client.
Nightrider84
10-09-2018, 12:20 AM
Usually when you connect to the character screen and it disconnects when you try and enter its something in your eqemu_config file thats pointing the lan to the wrong location. That or the game thinks your trying to enter from outside your network and you dont have port forwarding setup. Post your eqemu file and take out any sensitive info
skywalker646
10-09-2018, 08:14 PM
Below is the info i am using. I am trying to go with my WAN IP so friends can join my family when they want, using a private login in. At least i think its a private login.
The red text is stuff i edited for sake of posting
{
"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" : "00000000000",
"loginserver1" : {
"account" : "",
"host" : "0.0.0.0",
"password" : "",
"port" : "5999"
},
"longname" : "Server Name",
"shortname" : "Server Name",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}
[database]
host = localhost
port = 3306
db = peq
user = root
password = eqemu
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 = 5999
host = 0.0.0.0
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
skywalker646
10-10-2018, 08:36 AM
Btw my initial tests were done with LAN settings. Since going to WAN I cant even log in.
GlassDeviant
10-10-2018, 08:57 AM
Are you talking about family in your home, or family across the internet?
Anyone who is within your house should be using the internal address of the server. If they are coming in from the internet, they need the external address and you have to use port forwarding on your router. You can use both, as long as each person is using the correct IP address. This applies to any server you are running from your home, people inside the home need to use the internal address of the server, people coming in via the internet need the external address.
I know that was redundantly redundant, but as a 30+ year IT veteran, you learn to be like that to make sure people get it...and even then they often don't. :)
skywalker646
10-10-2018, 09:02 AM
Would be for both. Could I just go with WAN for all for simplicity? The only problem is with WAN I cant even log in
Nightrider84
10-10-2018, 12:00 PM
So if you wanted to do both a private login and eqemu's login server you would hafto change a few settings, But if your doing just your private login. You would just need to make sure that your host is set to your internal IP on your network. Also is that eqemu_config file from the windows setup or the linux setup? It's a newer version that I haven't seen before.
skywalker646
10-10-2018, 12:17 PM
It's the new windows install. As for the login, it would strictly be private. Would the internal ip work for a private login with WAN users?
skywalker646
10-10-2018, 10:47 PM
New update...
I've managed to work it out so that i can successfully log into the game via LAN. Unfortunately I can't log in when i try to enter the game through the WAN settings from a different network.
GlassDeviant
10-11-2018, 01:30 AM
ok, here's a scenario.
Bob makes a server, puts it on his LAN. Bob, Lois and Clark share a flat, so they all use the internal IP. Bert and Ernie have a flat upstairs and access Bob's wireless router directly, so they use the internal IP. Thelma and Louise live across town so they have to come in via the internet, so they have to use the external IP. Assuming default ports on the EQ clients and server, port 5999 has to be opened up or forwarded on the router and/or any dsl/cable "modem" that sits between the EQ server and the internet. I forget whether the remote clients need their router ports forwarded too, as it's 2am and I have barely started n my first cup of wake-up juice.
skywalker646
10-11-2018, 07:46 AM
I have the ports forwarded on the router and included both the wan and lan ips for the loginservers in the json file. I'll try to fiddle with it more tonight. The good news is that a lan login can connect so that a victory. Thanks for all the input btw
GlassDeviant
10-11-2018, 08:33 AM
I do what I can, which ain't much, I am lost here just trying to change the name of my server when logging into the game. And SQL...by Tunare, I haven't used SQL in over 20 years! There was no such thing as MySQL, let alone Heidi, when I last programmed in Oracle SQL+Forms.
skywalker646
10-11-2018, 11:32 PM
Sadly no further luck on the WAN front. LAN is working fine though. Does anyone know what settings I should have in the login and config file for both wan and lan users to play with a private login? I cant figure out what I'm missing
GlassDeviant
10-12-2018, 04:35 AM
I honestly can't see why that wouldn't work, unless the server is doing some sort of IP tracking and you need to set something in its config file.
skywalker646
10-13-2018, 11:54 PM
I have been fiddling around more and it seems that even though the install adds in port rules and I've added port forwarding to the router, some ports still seem closed. Does anyone know why that might be or what can be done?
GlassDeviant
10-14-2018, 12:35 AM
The only thing I can think of is very old school, put up a port monitoring utility that tracks every port that an executable tries to communicate on, and run it both during a local attempt at playing to see what works and a remote attempt to see what doesn't.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.