Login problem back to login screen

01/01/2014 12:39 DeskordGRs#1
Hey guys i have a problem with my server (its dns) when i login i select my char and i login normaly but when my friend try to login he login normaly he select the char and then he go back to login screen and the problem is i dont know is on client or in server.
if anyone know pls help me i have done alot of work on those server files.

sorry for my bad english

and HAPPY NEW YEAR :D
01/07/2014 12:08 shahem#2
UP

me too have the same prb
05/30/2020 20:34 jimmycardoso#3
up

me too have same prb!!!!!!!
05/30/2020 22:19 d1ncaz0r#4
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.
06/15/2020 20:17 Lauling#5
Or if you use some game2089 serverfiles, u can use the surakopf.exe instead of metin2client.exe, with this your friends can connect