Jump to content

SamuraiHUN

Member
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by SamuraiHUN

  1. @Update001: teen_packet added. @Update002: check_server (libserverkey) added.
  2. Error: NO module named livaria2appmodul This module cannot be found. Userinterface.cpp,stdafx.h or python file is not in place.
  3. open game/cmd_gm.cpp Search this function: ACMD(do_dragon_soul) extend with this: case 'r': { if (ch->DragonSoul_IsQualified()) ch->DragonSoul_RefineWindow_Open(ch); } break; open locale_interface.txt add this: DRAGONSOUL_REFINE_BUTTON Refine open root/dragonsoulwindow.py Search this: { "name" : "activate", "type" : "toggle_button", "x" : 217, "y" : 492, "text" : uiScriptLocale.DRAGONSOUL_ACTIVATE, "default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga", "over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga", "down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga", }, add under this: { "name" : "refine_button", "type" : "button", "x" : 150, "y" : 492, "text" : uiScriptLocale.DRAGONSOUL_REFINE_BUTTON, "default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga", "over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga", "down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga", }, open root/uidragonsoul.py search this: self.activateButton = self.GetChild("activate") add under this: self.refineButton = self.GetChild("refine_button") search this: self.activateButton.SetToggleUpEvent(ui.__mem_func__(self.ActivateButtonClick)) add under this: self.refineButton.SetEvent(ui.__mem_func__(self.RefineButtonClick)) search this: def ActivateButtonClick(self): self.isActivated = self.isActivated ^ True if self.isActivated: if self.__CanActivateDeck(): net.SendChatPacket("/dragon_soul activate " + str(self.deckPageIndex)) else: self.isActivated = False self.activateButton.SetUp() else: net.SendChatPacket("/dragon_soul deactivate") add under this: def RefineButtonClick(self): net.SendChatPacket("/dragon_soul refinewindow")
  4. @tutorial fixed <- in db.cpp + db.h. In client i didn't see definition of bill/billing.
  5. common/tables. SPlayerTable add the function. example: long long free_shinsoo_kills, free_chunjo_kills, free_jinno_kills, free_pvp_deads, duels_win, duels_lost, kills_monster, kill bosses, kills_stones;
  6. @ r00t3r thank you the anwser, i now fixed the tutorial. #Update001: Added matrix_card remove #Update002: Added sms | mobile remove
  7. In github added new removed functions ( Billing ) today toDo: mobile | sms, matrixcard)
  8. Yes I removed too, but I think it's a good initiative for people who haven't removed it but want to.
  9. Yes i make tutorial, but i upload to github. I need 2 day to write tutorial. [Hidden Content] #Included passpod + openid
  10. Hi guys, I created this topic to have a collection topic about removing unnecessary code. blocked_country_ip Limit_time More removed code:
  11. you extend this function in cube.cpp? void Cube_add_item (LPCHARACTER ch, int cube_index, int inven_index) in my code: #ifdef __SPECIAL_INVENTORY_SYSTEM__ if (inven_index < 0 || INVENTORY_MAX_NUM + SKILL_BOOK_INVENTORY_MAX_NUM + UPGRADE_ITEMS_INVENTORY_MAX_NUM + STONE_INVENTORY_MAX_NUM + GIFT_BOX_INVENTORY_MAX_NUM + CHANGERS_INVENTORY_MAX_NUM <= inven_index) return; #else if (inven_index < 0 || INVENTORY_MAX_NUM <= inven_index) return; #endif
  12. Yeah i forgeted, thank you the anwser, dear @ Helia01
  13. uimessenger.py search this: def OnScroll(self): scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20) startLine = int(scrollLineCount * self.scrollBar.GetPos()) if startLine != self.startLine: self.startLine = startLine self.__LocateMember() add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown() uiwhisper.py search this: def OnScroll(self): chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos()) add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown() uiselectmusic.py search this: def __OnRefresh(self): self.__RefreshFileList() add under this: def OnRunMouseWheel(self, nLen): self.fileListBox.RunMouseWheel(nLen)
  14. uicharacterdetails.py search this.: def OnScroll(self): self.RefreshLabel() add under this: def OnRunMouseWheel(self, nLen): if nLen > 0: self.ScrollBar.OnUp() else: self.ScrollBar.OnDown()
  15. Download Metin2 Download Hi, this is about how you can add multiple status points at the same time. [Hidden Content]
×
×
  • 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.