Jump to content

How To Fix Guild Vulnerability


Recommended Posts

  • Premium

Hello devs !

Few days ago somebody which played on my server has used a python script which bypass C++ statemets about guild members verification.

That script can add in hacker guild mobs and NPCs (lol?!?).

I found a solution posted on another forum, I'll post here too.

Open input_main.ccp and find:

Spoiler

if (!ch->IsPC())

Overwrite that statement like this:

Spoiler

if (!newmember->IsPC())
{
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This BUG it's already fixed my sweetie."));
return SubPacketLen;
}

Done !

  • Love 7
Link to comment
Share on other sites

Why Exploit u LC_TEXT and then so do a crap . I would have done so

 

if (!newmember->IsPC()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("bug_is_fixxed")); return SubPacketLen; }

 

Then you go into the locale_string and adds that one .

So for the LC_TEXT is also thought and not for something

mfg Kori

Link to comment
Share on other sites

  • 2 weeks later...
  • Bronze
On 4/30/2016 at 8:44 PM, Kori said:

Why Exploit u LC_TEXT and then so do a crap . I would have done so

 


if (!newmember->IsPC()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("bug_is_fixxed")); return SubPacketLen; }

 


Then you go into the locale_string and adds that one .

So for the LC_TEXT is also thought and not for something

mfg Kori

Because the hunger is dancing in his stomach, my friend! :)

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