Jump to content

Recommended Posts

/// Server check ip
bool Metin2Server_IsInvalid()
{
	g_isInvalidServer = false;
	if (g_szPublicIP == "192.x.x.x") {
		g_isInvalidServer = true;
		return g_isInvalidServer;
	} else {
		return g_isInvalidServer;
        //debug
        sys_log(0, "Se if the function works.");
	}
}

Try it :)

 

main.cpp under:

static bool g_isInvalidServer = false;
  • Love 2
Link to comment
Share on other sites

/// Server check ip
bool Metin2Server_IsInvalid()
{
	g_isInvalidServer = false;
	if (g_szPublicIP == "192.x.x.x") {
		g_isInvalidServer = true;
		return g_isInvalidServer;
	} else {
		return g_isInvalidServer;
        //debug
        sys_log(0, "Se if the function works.");
	}
}

Try it :)

 

main.cpp under:

static bool g_isInvalidServer = false;

doesnt work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Activity

    1. 2

      acces root denied

    2. 7

      Acce system

    3. 5

      Transmutation Reversal - bug

    4. 0

      How to compile Metin2 .py script to .pyc

    5. 2

      acces root denied

    6. 2

      VPS Choice

  • 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.