-
Valued Member
[CN]Login Server
Was wondering if anyone might be able to help me, tried setting up an HK server again but I'm having problems, I hex edited the login exe to use the public IP, but the login service wont start, I hex edited it back to localhost, and login service started no problem. I disabled the firewall for testing but still no luck. perhaps its my config? The ports are open as well. Do I have to edit my hosts file like odin files?
; DB,Login server ------------------------------------------------------------
SERVER_INFO "PG_Account_DB", 0, 0, 0, 0, "127.0.0.1", 9000, 1, 100
SERVER_INFO "PG_AccountLog_DB", 1, 0, 0, 0, "127.0.0.1", 9005, 1, 100
SERVER_INFO "PG_Login", 4, 0, 0,20, "PublicIP", 9010, 50, 200
SERVER_INFO "PG_Login", 4, 0, 0, 5, "PublicIP", 9015, 1, 50
SERVER_INFO "PG_Login", 4, 0, 0, 8, "127.0.0.1", 9016, 1, 30
; World #0 -------------------------------------------------------------------
SERVER_INFO "PG_Character_00", 2, 0, 0, 0, "127.0.0.1", 9100, 1, 100
SERVER_INFO "PG_GameLog_00", 3, 0, 0, 0, "127.0.0.1", 9101, 1, 100
SERVER_INFO "PG_WorldManager_00", 5, 0, 0,20, "PublicIP", 9110, 200, 2000
SERVER_INFO "PG_WorldManager_00", 5, 0, 0, 6, "PublicIP", 9115, 1, 200
SERVER_INFO "PG_WorldManager_00", 5, 0, 0, 8, "127.0.0.1", 9116, 1, 30
Please note I did not put "PublicIP" in the config, it's simply to hide the actual IP
-
-
Valued Member
Re: [CN]Login Server
I've been trying to fix this for the last 5 days, if anyone has any idea, or maybe willing to help over tv, would be wonderful, I've set up an HK server before, so I really have no idea what's going on... I set up ODBC properly, it appears my config is correct, there are no helpful logs, login doesn't start at all "login started and then stopped" error from services when attempting to start, using hex edited public IP in lowercase MD5. Login will start when using 127.0.0.1 MD5 in login.exe but will not start when using my public IP. Firewall is disabled for the setup process to avoid errors and to rule the firewall out. The login ports are free as well. All other services are starting as they should.
-
Novice
Re: [CN]Login Server
I had to quickly make this account just to answer this question; there is 3 ip's people have inside a network. You have 127.0.0.1 which is LOCALHOST, WAN = Puplic IP and NET - Network ip (usually 192.168.*.*)
Make sure you're using the correct one it might mean you are not on the 127 framework; if for example you have a server in another room that hosts the game and you're trying to connect (this is my setup) you use 192.168.*.* (in my case it was 0.6)
192.168.0 = your INTERNAL IP -> should be put into MD5 into the login service!
127.0.0.1 -> where your optool is
PuplicIP -> external connections.
If in doubt just add dj.jerry3 - i can assist further on skype.
-
Account Upgraded | Title Enabled!
Re: [CN]Login Server
Just MD5 127.0.0.1 and put it in the Login.exe, and put ur public ip in the configs, and make sure ports are opened.
-
Valued Member
Re: [CN]Login Server
Krum everything I said I had already done you listed, gg, anyway TheReal was able to assist me. I'm not sure what it was, bad exe?