Jump to content

Recommended Posts

 input_main.cpp

CInputMain::AnswerMakeGuild

 

if (ch->GetGold() < 200000)
		return;
Replace
if (ch->GetGold() < 200000)
		ch->ChatPacket(CHAT_TYPE_INFO, "You don't have 200000 yang");
		return;

    if (ch->GetLevel() < 40)
		ch->ChatPacket(CHAT_TYPE_INFO, "You don't have 40lv+ ");
		return;
 

 

  • Love 3
Link to comment
https://metin2.dev/topic/439-guild-exploit-fix/
Share on other sites

 

Through some packet you can create a guild with level 1

 

I do not understand you well. : (

Made in such a character is level 1 and it can be even create a guild?

 

 

 

I have seen a lot of hacks, in wich exist a button to create a guild without the requirement to pay or be a level.

 

This is solved with that source.

  • Love 2
Link to comment
https://metin2.dev/topic/439-guild-exploit-fix/#findComment-3396
Share on other sites

  • Honorable Member

It can't be considered an "exploit" since ymir wanted to write the code like that (shitty as the rest as well).

Indeed, check for yang, siegel (in some locals) and level is done right in that function.

 

Would be a better idea to delete completely the part of "answermakeguild" and create a function that returns valid values in LUA ( 3 lines of code; i've done it month ago, and works without problems).

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/439-guild-exploit-fix/#findComment-3572
Share on other sites

 

 input_main.cpp

CInputMain::AnswerMakeGuild
if (ch->GetGold() < 200000)
		return;
Replace
if (ch->GetGold() < 200000)
		ch->ChatPacket(CHAT_TYPE_INFO, "You don't have 200000 yang");
		return;

    if (ch->GetLevel() < 40)
		ch->ChatPacket(CHAT_TYPE_INFO, "You don't have 40lv+ ");
		return;

 

 

you function create bug.

 

Replace 

// 200k yang //
if (ch->GetGold() < 200000)
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Guild> You don't have 200000 yang."));
		return;
	}
	// 40+ guild //
	if (ch->GetLevel() < 40)
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Guild> You don't have 40lv."));
		return;
	}
  • Love 5
Link to comment
https://metin2.dev/topic/439-guild-exploit-fix/#findComment-3764
Share on other sites

  • 5 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.