The Naid 121 Posted March 11, 2014 Share Posted March 11, 2014 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; 3 Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1138 Posted March 11, 2014 Former Staff Share Posted March 11, 2014 Normaly thats made by quest^^ 1 Link to comment Share on other sites More sharing options...
The Naid 121 Posted March 11, 2014 Author Share Posted March 11, 2014 Normaly thats made by quest^^ Yes but source is better for me. Link to comment Share on other sites More sharing options...
Originale 134 Posted March 11, 2014 Share Posted March 11, 2014 You could explain the exploit? Link to comment Share on other sites More sharing options...
Alpha 484 Posted March 11, 2014 Share Posted March 11, 2014 Through some packet you can create a guild with level 1 1 Link to comment Share on other sites More sharing options...
Originale 134 Posted March 11, 2014 Share Posted March 11, 2014 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? Link to comment Share on other sites More sharing options...
Pepineitor 70 Posted March 11, 2014 Share Posted March 11, 2014 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. 2 Link to comment Share on other sites More sharing options...
Premium Syreldar 1892 Posted March 14, 2014 Premium Share Posted March 14, 2014 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 Share on other sites More sharing options...
Kroneees 34 Posted March 16, 2014 Share Posted March 16, 2014 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; } 5 Link to comment Share on other sites More sharing options...
Lehel 14 Posted August 31, 2014 Share Posted August 31, 2014 Kroneees , your function is working ? Link to comment Share on other sites More sharing options...
Kroneees 34 Posted August 31, 2014 Share Posted August 31, 2014 Kroneees , your function is working ? yes, i test it!. Link to comment Share on other sites More sharing options...
tmoitoi 26 Posted September 5, 2014 Share Posted September 5, 2014 Normaly thats made by quest^^ Yes but source is better for me. There's some things like that who need to be remaked by source Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts