Jump to content

Problem with localhost server-char kick after select


Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Active Member

1) OPEN

db source in  ClientMananger.cpp 

game source in Config.cpp

OPEN: ClientMananger.cpp (DB)
Search: 
	if (!CConfig::instance().GetValue("BIND_IP", szBindIP, 128))
		strlcpy(szBindIP, "0", sizeof(szBindIP));

      
change:
	if (!CConfig::instance().GetValue("BIND_IP", szBindIP, 128))
		strlcpy(szBindIP, "127.0.0.1", sizeof(szBindIP));

OPEN: Config.cpp  (GAME)
  
  Search: 
	if (!strncmp(netip, "192.1", 7))

      
change:
	if (!strncmp(netip, "999.999", 7))
      
      
      search:
if (g_szPublicIP[0] != '0')
  
  change:
	if (g_szPublicIP[0] != '0')
		return true;
	else
	{
		if (g_szInternalIP[0] == '0')
			return false;
		else
			strlcpy(g_szPublicIP, g_szInternalIP, sizeof(g_szPublicIP));
			return true;
	}
      
      
      
      

 

Edited by Draveniou1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 13

      Metin2 Closed Beta Content (2003-2004)

    2. 0

      PRESENTATION PAGE [OLDGODSMT2 RELEASE]

    3. 25

      [SRC] Metin2 on LINUX - The Old Metin2 Project

    4. 2

      United/Club/Midgard serverfiles?

    5. 13

      Metin2 Closed Beta Content (2003-2004)

    6. 13

      Metin2 Closed Beta Content (2003-2004)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.