Jump to content

xP3NG3Rx

Honorable Member
  • Posts

    855
  • Joined

  • Days Won

    402
  • Feedback

    100%

Everything posted by xP3NG3Rx

  1. v16.5.1 [Hidden Content] ps.: metin2_patch_monster_card and metin2_patch_flame_dragonlair patches are not included yet.
  2. locale_string.txt? Whaaat? It has nothing to do with it. In my opinion the locale.cancel(locale.lua or translate.lua) is overrided somewhere.
  3. ox-event and uriel hmmm it was an accident.
  4. Where did you midify the values? In the database or in the txt proto?
  5. Because he isn't bought this system. It has been released on -EDIT- yesterday. Nobody will help w/ this.
  6. Those voices omg! MNML<3
  7. There is a public anticheat on this forum, just use the searchbox.
  8. Learn Lua pls. Esay to lern, just read the whole manual by once.
  9. There is a file request thread. DutchProtoDmp.7z
  10. Change your HideAllQuestWindow function to this: def HideAllQuestWindow(self): [obj.OnCancel() for obj in self.wndQuestWindow] This is need in that case if your self.wndQuestWindow variable is a list( [] ) what hasn't attribute "iteritems" as the errorlog said also. That one-line command will iterate each items in the list, and that will call the "OnClose" method on every object in the list. Same as this: def HideAllQuestWindow(self): for obj in self.wndQuestWindow: obj.OnClose() or this: def HideAllQuestWindow(self): for i in xrange(len(self.wndQuestWindow)): self.wndQuestWindow[i].OnClose() or... def HideAllQuestWindow(self): map(lambda x:x.OnClose(), self.wndQuestWindow) and many more opportunities...
  11. Learn c/c++ and you will know it. Small but smart quest :3 [1]
  12. It doesn't exist function for it. Tim and DaRealFreak were made a bot(via dynamic lib) which could separate the items to pickup but they never released it.
  13. You have to add a button which set the new distibution mode(2) for party and extend the switch with a new case. party.h enum EPartyExpDistributionModes { PARTY_EXP_DISTRIBUTION_NON_PARITY, PARTY_EXP_DISTRIBUTION_PARITY, PARTY_EXP_DISTRIBUTION_EQUAL, PARTY_EXP_DISTRIBUTION_MAX_NUM }; char_battle.cpp struct FPartyDistributor { int total; LPCHARACTER c; int x, y; DWORD _iExp; int m_iMode; int m_iMemberCount; FPartyDistributor(LPCHARACTER center, int member_count, int total, DWORD iExp, int iMode) : total(total), c(center), x(center->GetX()), y(center->GetY()), _iExp(iExp), m_iMode(iMode), m_iMemberCount(member_count) { if (m_iMemberCount == 0) m_iMemberCount = 1; }; void operator () (LPCHARACTER ch) { if (DISTANCE_APPROX(ch->GetX() - x, ch->GetY() - y) <= PARTY_DEFAULT_RANGE) { DWORD iExp2 = 0; switch (m_iMode) { case PARTY_EXP_DISTRIBUTION_NON_PARITY: iExp2 = (DWORD) (_iExp * (float) __GetPartyExpNP(ch->GetLevel()) / total); break; case PARTY_EXP_DISTRIBUTION_PARITY: iExp2 = _iExp / m_iMemberCount; break; case PARTY_EXP_DISTRIBUTION_EQUAL: iExp2 = _iExp; break; default: sys_err("Unknown party exp distribution mode %d", m_iMode); return; } GiveExp(c, ch, iExp2); } } };
  14. The newest version of the official game client (v16.4.2). A new affect ico(wolfhead) [undiscovered yet] New pet(s) New mount(s) New costumes New models and huds for custome private-shop Many model fixes and corrections, repacks Huds, effects, map for pvp system .UPDATES/m2_16.4.2_21077/
  15. If you can't understand the code please stay in quiet.
  16. Are you meaning of the real equal exp distribution?
  17. do local isFast = true local __say = say function _G.say(str, ...) if table.getn(arg) > 0 then if isFast then raw_script("[DELAY value;1]"..string.format(str, unpack(arg)).."[/DELAY][ENTER]") else __say(string.format(str, unpack(arg))) end else if isFast then raw_script("[DELAY value;1]"..str.."[/DELAY][ENTER]") else __say(str) end end end -- string.tolower function fix for hungarian keyboard os.setlocale("fr_FR.ISO8859-1","ctype") end
  18. My friend, Void tried to say that, the prior operationg systems are out of date to use in this decade, and don't need solution to work on those systems, I think. ofc yr code isn't bad, but nowaday who want to use XP or S: vista :S damn oh god pls
  19. True, but I not prefer switchbot, or something to use the flashing by other states, this is the reason why I did like this way.
×
×
  • 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.