Jump to content
metin2dev

Hik

Members
  • Content count

    106
  • Joined

  • Last visited

Community Reputation

6 Neutral

About Hik

  • Rank
    Friendly

Profile Information

  • Gender
    Male
  • Location
    Italia

Recent Profile Visitors

411 profile views
  1. open an integer is required

    Same error xD
  2. open an integer is required

    https://imgur.com/a/pCkjm Yes, is imported.
  3. open an integer is required

    No, there are no #ifdef. I can not really understand what the problem is ...
  4. open Txt

    For insert a new weapon serving various steps. First, you have to pack the new information into the item_proto client + server (.txt or sql). Next, add a string such as "locale_xxx \ item_list.txt": 91 WEAPON icon / item / 00090.tga d: / ymir work / item / weapon / 00090.gr2 Where the first is the value of the weapon (equal to that of the proto), the second is the typology, the third is the path of the icon, and the fourth is the .gr2 of the sword. I hope I have not forgotten anything.
  5. open an integer is required

    PyModule_AddIntConstant (poModule, "INVENTORY_PAGE_SIZE", c_Inventory_Page_Size); const DWORD c_Inventory_Page_Size = 45
  6. open an integer is required

    Yes: for i in xrange(player.INVENTORY_PAGE_SIZE): <---- 557
  7. Hi guys, I have a problem I can not solve: 1003 20:27:28537 :: SYSERR: File "networkModule.py", line 231, in SetGamePhase 1003 20:27:28538 :: SYSERR: File "game.py", line 91, in __init__ 1003 20:27:28539 :: SYSERR: File "interfaceModule.py", line 341, in MakeInterface 1003 20:27:28540 :: SYSERR: File "interfaceModule.py", line 198, in __MakeWindows 1003 20:27:28540 :: SYSERR: File "uiInventory.py", line 274, in __init__ 1003 20:27:28540 :: SYSERR: File "uiInventory.py", line 417, in __LoadWindow 1003 20:27:28541 :: SYSERR: File "uiInventory.py", line 486, in SetInventoryPage 1003 20:27:28541 :: SYSERR: File "uiInventory.py", line 557, in RefreshBagSlotWindow 1003 20:27:28541 :: SYSERR: TypeError 1003 20:27:28542 :: SYSERR: : 1003 20:27:28542 :: SYSERR: an integer is required def RefreshBagSlotWindow(self): is_activated = 0 getItemVNum=player.GetItemIndex getItemCount=player.GetItemCount setItemVNum=self.wndItem.SetItemSlot for i in xrange(player.INVENTORY_PAGE_SIZE): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) itemCount = getItemCount(slotNumber) if 0 == itemCount: self.wndItem.ClearSlot(i) continue elif 1 == itemCount: itemCount = 0 itemVnum = getItemVNum(slotNumber) setItemVNum(i, itemVnum, itemCount) if itemVnum == 0 and slotNumber in self.liHighlightedItems: self.liHightlightedItems.remove(slotNumber) if constInfo.IS_AUTO_POTION(itemVnum): metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] isActivated = 0 != metinSocket[0] if isActivated: self.wndItem.ActivateSlot(i) potionType = 0; if constInfo.IS_AUTO_POTION_HP(itemVnum): potionType = player.AUTO_POTION_TYPE_HP elif constInfo.IS_AUTO_POTION_SP(itemVnum): potionType = player.AUTO_POTION_TYPE_SP usedAmount = int(metinSocket[1]) totalAmount = int(metinSocket[2]) player.SetAutoPotionInfo(potionType, isActivated, (totalAmount - usedAmount), totalAmount, self.__InventoryLocalSlotPosToGlobalSlotPos(i)) else: self.wndItem.DeactivateSlot(i) else: self.wndItem.DeactivateSlot(i) self.__RefreshHighlights() if app.ENABLE_SASH_SYSTEM: slotNumberChecked = 0 for j in xrange(sash.WINDOW_MAX_MATERIALS): (isHere, iCell) = sash.GetAttachedItem(j) if isHere: if iCell == slotNumber: self.wndItem.ActivateSlot(i, (36.00 / 255.0), (222.00 / 255.0), (3.00 / 255.0), 1.0) if not slotNumber in self.listAttachedSashs: self.listAttachedSashs.append(slotNumber) slotNumberChecked = 1 else: if slotNumber in self.listAttachedSashs and not slotNumberChecked: self.wndItem.DeactivateSlot(i) self.listAttachedSashs.remove(slotNumber) self.wndItem.RefreshSlot() if self.wndBelt: self.wndBelt.RefreshSlot() How can I fix it? Thanks in advance
  8. open Wolfman horse skill bug

    Write the solution for those who have the same problem
  9. open Wolfman horse skill bug

    Hello, I'm sorry if what I tell you will not be useful to you but I try: Search in UserInterface\PythonSkill.cpp : CItemData::WEAPON_MOUNT_SPEAR Below, if it is not present, enter: m_SkillWeaponTypeIndexMap.insert (make_pair (std::string("CLAW"), CItemData::WEAPON_CLAW));
  10. open Item with an expiration date

    If I insert this value it gives me an error. I have put the time successfully, but I can not make "rest time" appear.
  11. Hi guys, do you know how to give a timer to a item? 39006 "mantle of courage" "ITEM_USE" "USE_SPECIAL" 1 "ANTI_DROP | ANTI_SELL | ANTI_STACK | ANTI_MYSHOP" "NONE" "NONE" "NONE" 0 0 0 0 0 "REAL_TIME_FIRST_USE" 3600 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0[/CODE] In this way I think I gave him a 30m time, and it seems to work but... How do I view the remaining time?
  12. c++ [C++]Reload map regens ingame

    Do you have a feature to reload the item\mob proto? With "/reload p" nothing happens.
×