hello guys, you need to source of game and change this:
backup files before you change...
Quote:
Source game input_db.cpp
search
CMapLocation::instance().Insert(pLoc->alMaps[i], pLoc->szHost, pLoc->wPort);
modify with
CMapLocation::instance().Insert(pLoc->alMaps[i], g_szProxyIP, pLoc->wPort);
add in config.h
extern char g_szProxyIP[16];
add in config.cpp after BYTE g_bChannel = 0;
char g_szProxyIP[16] = "0";
after add below
TOKEN("bind_ip")
{
strlcpy(g_szPublicIP, value_string, sizeof(g_szPublicIP));
}
add this
TOKEN("proxy_ip")
{
strlcpy(g_szProxyIP, value_string, sizeof(g_szProxyIP));
}
|
when change this files compile source....
add
PROXY_IP: your external IP on all CONFIG files without db and auth.
careful, with this change is not work on same ip...working on exterior not working intern...you need to hotspot internet on your phone for a working...or another internet provider for server.