3 Days i try to connect via Hamachi to Fliege Files v2 reworked. Im sure, all needed Ports are open and will redirected to my virtual Machine, Firewall has Permissions for this Connection and the Client has correct Serverinfo.py Entry. I have no Idea anymore, what i can do.
The PUBLIC_IP i have set in every CONFIG via BIND_IP: and i can connect to MySQL and SSH/SFTP but after Char Select i will return back to Login Window.
In the Game Soruce i have change:
desc_client.cpp
Cod: Selectaţi tot
case PHASE_DBCLIENT:
{
sys_log(1, "PHASE_DBCLIENT");
if (!g_bAuthServer)
{
static bool bSentBoot = false;
if (!bSentBoot)
{
bSentBoot = true;
TPacketGDBoot p;
p.dwItemIDRange[0] = 0;
p.dwItemIDRange[1] = 0;
memcpy(p.szIP, g_szPublicIP, 16);
DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));
}
}
TEMP_BUFFER buf;
TPacketGDSetup p;
memset(&p, 0, sizeof(p));
strlcpy(p.szPublicIP, g_szPublicIP, sizeof(p.szPublicIP));
and my config.cpp looks so
Cod: Selectaţi tot
bool GetIPInfo()
{
struct ifaddrs* ifaddrp = NULL;
if (0 != getifaddrs(&ifaddrp))
return false;
for( struct ifaddrs* ifap=ifaddrp ; NULL != ifap ; ifap = ifap->ifa_next )
{
struct sockaddr_in * sai = (struct sockaddr_in *) ifap->ifa_addr;
if (!ifap->ifa_netmask || // ignore if no netmask
sai->sin_addr.s_addr == 0 || // ignore if address is 0.0.0.0
sai->sin_addr.s_addr == 16777343) // ignore if address is 127.0.0.1
continue;
char * netip = inet_ntoa(sai->sin_addr);
if (g_szPublicIP[0] == '0')
{
strlcpy(g_szPublicIP, netip, sizeof(g_szPublicIP));
fprintf(stderr, "PUBLIC_IP: %s interface %s\n", netip, ifap->ifa_name);
}
}
freeifaddrs( ifaddrp );
if (g_szPublicIP[0] != '0')
return true;
else
return false;
}
I Have set to Hamachi Interface and give the FreeBSD the classic IP from oldschool Times with .100
The Gateway is my normal Hamachi IP and the Netmask is 255.0.0.0.
With the Daroo 2011 Files i can connect without Problems (because mc.exe & Surahead.exe)
What i can do, to connect to WorldServer without Kick? I dont want choose another Connection, Hamachi is my best und safest VPN and i have 5 Years only good Experience with them. I dont want earn Money with Metin2 Servers, i will hide my Server and play only with Friends and Family. This is the Reason why i choose Hamachi.
I hope someone can help me :/ And sry for my bad english.
with kind regarts, BlackEndless

de