Jump to content

jKing

Member
  • Posts

    29
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by jKing

  1. Hi, when i click RPM on character it happens: Syserr:
  2. How should i change that command in char_item.cpp (section LearnSkillByBook): ITEM_MANAGER::instance().RemoveItem(item) to don't remove all items in stack but only 1 item from stack (for example i have 10 skill instructions in stack, but when i click on it, all of them is removing) i tryed RemoveItem(item, 1) or smth, but still dont work, please help me guys. PS. sry for bad inglisz
  3. Hello guys, i made a new buttons panel in my client like this: some functions works clearly, but im gonna ask you what i did bad in "Polymorph Delete" button. Here is my codes: game.py "Polimorfia" : self.__Polimorfia, def __Polimorfia(self, value): constInfo.Polimorfia = int(value) uiinventory.py self.PolimorfiaButton = self.GetChild2("PolimorfiaButton") # PolimorfiaButton if self.PolimorfiaButton: self.PolimorfiaButton.SetEvent(ui.__mem_func__(self.ClickPolimorfiaButton)) self.PolimorfiaButton = None def ClickPolimorfiaButton(self): qid7 = constInfo.POLIMORFIA event.QuestButtonClick(qid7) def PolimorfiaButton(self): import event import constInfo qid = constInfo.Polimorfia event.QuestButtonClick(qid) constinfo.py POLIMORFIA = 0 Quest quest polimorfia begin state start begin when login begin cmdchat("Polimorfia "..q.getcurrentquestindex()) end when button or info begin pc.remove_polymorph() end end end Can you just tell me how to fix it?
×
×
  • 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.