To make this work you will need to patch your DBserver.exe. DBserver the one that is broadcasting the correct IP adresses to mapservers. By default this will not work well.
First, In the attachement there is the dbserver.exe patched.
OR here is the magnet for that:
Start This query in SSMS or in navicat:
Overwrite dbserver.exe in your bin folder.
Then in servers.cfg add this line, or replace existing with your own public IP (NOT DOMAIN!!!!):
Second, you will need a patched AuthServer too.
here is a magnet for that:
For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauthPatched authserver
Configuration Example:
First, In the attachement there is the dbserver.exe patched.
OR here is the magnet for that:
magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce
Start This query in SSMS or in navicat:
INSERTINTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1);
Overwrite dbserver.exe in your bin folder.
Then in servers.cfg add this line, or replace existing with your own public IP (NOT DOMAIN!!!!):
RouteIP 127.0.0.1
Second, you will need a patched AuthServer too.
here is a magnet for that:
magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z
For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauthPatched authserver
Configuration Example:
// First RouteIP is External (WAN) IP
RouteIp 123.123.123.123
// Second RouteIP is Internal (LAN) IP
RouteIp 192.168.0.0
// Uncomment the following line to use IPs from cohauth
//AuthDBIP 1
Attachments
You must be registered for see attachments list
Last edited: