Jump to content
Forgot your email address? ×
×
×
  • Create New...

Guild Exploit Fix


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

 

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

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

👑 Premium International Lua Developer 👑

 My service topic: https://bit.ly/2UPly54

 

Ignorant people have the obligation to compensate their ignorance by paying whoever helps them.

Syreldar

Link to comment

 

 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
  • 5 months later...

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 18

      Fix unknown header 100% server: 1k player online francec

    2. 29

      Metin2 Project - How to create à Metin2 private server on virtual machine

    3. 40

      Changelogs

    4. 1

      I'm looking for a partner

    5. 5

      Help in implementing a switch bot

    6. 0

      Error FoxFS source install

    7. 5

      Help in implementing a switch bot

    8. 1

      I'm looking for a partner

    9. 5

      inventory problem

  • Recently Browsing

    • No registered users viewing this page.

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.