Jump to content

Remove YMIR License


Recommended Posts

1. Open input.cpp and remove:

extern bool Metin2Server_IsInvalid();

and

if (Metin2Server_IsInvalid())
{
extern bool g_bShutdown;
g_bShutdown = true;
ClearAdminPages();
}

like this:
old:

OqBhnSY.png

New:

d10gNKA.png

 

2. Open Input_auth.cpp

search: 
Metin2Server_IsInvalid();
and remove:

extern bool Metin2Server_IsInvalid();
and
if (Metin2Server_IsInvalid())
{
extern void ClearAdminPages();
ClearAdminPages();
exit(1);
return;
}

Like this:
old
ywcDhbw.png '

new:

UM0bRN2.png 

search again in input_auth.cpp: 

Metin2Server_IsInvalid();

and delete 

extern bool Metin2Server_IsInvalid();

and

if (Metin2Server_IsInvalid())
{
extern void ClearAdminPages();
ClearAdminPages();
exit(1);
return;
}

Like this:
old:
SwEpwDU.png 
new:
9fdJwZ5.png 

 

3. open main.cpp

and search: 

Metin2Server_IsInvalid

delete:

static bool g_isInvalidServer = false;

and

bool Metin2Server_IsInvalid()
{
return g_isInvalidServer;
}

and

all function void Metin2Server_Check()

and search in main.cpp:

Metin2Server_Check();

and delete it.

DONE

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 4
Link to comment
Share on other sites

  • 4 weeks later...

in this case remove

#define ENABLE_LIMIT_TIME

from limit_time.h could have been enough

and the globle limite time 

 #define GLOBAL_LIMIT_TIME 1424903659UL // Wed Feb 25 23:34:19 2015

and this should shut them up

any way thank you

but removing useless function is good too ^^ nice work keep it up

Why not remove the whole "system" if its completely useless? Removing the #define is just leaving the mess there.

Enough is enough

Link to comment
Share on other sites

 

in this case remove

#define ENABLE_LIMIT_TIME

from limit_time.h could have been enough

and the globle limite time 

 #define GLOBAL_LIMIT_TIME 1424903659UL // Wed Feb 25 23:34:19 2015

and this should shut them up

any way thank you

but removing useless function is good too ^^ nice work keep it up

Why not remove the whole "system" if its completely useless? Removing the #define is just leaving the mess there.

 

 

basicly the complier will ignore it sence its not defined + there are some ppl that can use this + i think there is a other function on char.cpp

Link to comment
Share on other sites

 

 

in this case remove

#define ENABLE_LIMIT_TIME

from limit_time.h could have been enough

and the globle limite time 

 #define GLOBAL_LIMIT_TIME 1424903659UL // Wed Feb 25 23:34:19 2015

and this should shut them up

any way thank you

but removing useless function is good too ^^ nice work keep it up

Why not remove the whole "system" if its completely useless? Removing the #define is just leaving the mess there.

 

 

basicly the complier will ignore it sence its not defined + there are some ppl that can use this + i think there is a other function on char.cpp

 

I'm not talking about compiler, but about me as someone who is working with those codes. If you want to leave it there, just do it, I'm just saying my opinion about it, and that's I think it's neccesary to "store" part of unused codes. I already removed many things from there.

Enough is enough

Link to comment
Share on other sites

Announcements



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