Heathcliff™

Member
  • Content Count

    31
  • Joined

  • Last visited

Community Reputation

19 Good

About Heathcliff™

  • Rank
    Neutral

Profile Information

  • Gender
    Male
  • Location
    Hungary

Recent Profile Visitors

352 profile views
  1. Heathcliff™

    open Allow armor change only every 5 seconds

    Sorry, my first post was buggy. I've corrected so, it works fine for me. do the char.h part again, then go to char_item.cpp and search this: if (iWearCell < 0) return false; Paste this under: int equipTime = 5; int iPulse = thecore_pulse(); if (iWearCell == WEAR_BODY) { if (iPulse - GetArmorUseTime() < PASSES_PER_SEC(equipTime)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't equip armor so fast")); return false; } else SetArmorUseTime(); } Regards
  2. Heathcliff™

    solved Sash Combine and Absorb Window "Position Problem"

    Hi! Try this way window = { "name" : "Sash_AbsorbtionWindow", "x" : SCREEN_WIDTH - 176 - 200 - 80, "y" : SCREEN_HEIGHT - 37 - 563, "style" : ("movable", "float",), "width" : 205, "height" : 270, "children" : Regards
  3. Heathcliff™

    open Allow armor change only every 5 seconds

    Hi! Try this: char.h search: //PREVENT_REFINE_HACK int GetRefineTime() const { return m_iRefineTime; } void SetRefineTime() { m_iRefineTime = thecore_pulse(); } int m_iRefineTime; //END_PREVENT_REFINE_HACK Add this under: //PREVENT_ARMOR_WALLHACK int GetArmorUseTime() const { return m_iArmorUseTime; } void SetArmorUseTime() { m_iArmorUseTime = thecore_pulse(); } int m_iArmorUseTime; //END_PREVENT_ARMOR_WALLHACK Then open char_item.cpp and search this in "CHARACTER::EquipItem" function: if (iWearCell < 0) return false; Add this under: int equipTime = 5; int iPulse = thecore_pulse(); if (iWearCell == WEAR_BODY) SetArmorUseTime(); if (iWearCell == WEAR_BODY && iPulse - GetArmorUseTime() < PASSES_PER_SEC(equipTime)) { ChatPacket(CHAT_TYPE_INFO, "You can't equip armor so fast"); return false; } Not tested so I'm not sure it works! Regards
  4. Heathcliff™

    solved Slotactive Effect Problem

    You're welcome!
  5. Heathcliff™

    solved Slotactive Effect Problem

    Then try this: def RefreshBagSlotWindow(self): 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) # itemCount == 0AI¸é 1OÄIA» onî´U. if 0 == itemCount: self.wndItem.ClearSlot(i) continue elif 1 == itemCount: itemCount = 0 itemVnum = getItemVNum(slotNumber) setItemVNum(i, itemVnum, itemCount) ## AÚµ1°3a (HP: #72723 ~ #72726, SP: #72727 ~ #72730) A—1öA3¸® - 3AAIAUAεYµµ 11·Ô! E°1oE­/onE°1oE­ ÇY1A¸¦ A§ÇN AU3÷AÓ - [hyo] if constInfo.IS_AUTO_POTION(itemVnum): # metinSocket - [0] : E°1oE­ ©oÎ, [1] : »çëÇN 3ç, [2] : AÖ´ë ë·® metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)] if slotNumber >= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex: slotNumber -= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex isActivated = 0 != metinSocket[0] if isActivated: self.wndItem.ActivateSlot(slotNumber) 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(slotNumber) else: self.wndItem.DeactivateSlot(i) self.wndItem.RefreshSlot() Careful with tabs!
  6. Heathcliff™

    solved Slotactive Effect Problem

    Try to replace this: if slotNumber >= player.INVENTORY_PAGE_SIZE: slotNumber -= player.INVENTORY_PAGE_SIZE to this: if slotNumber >= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex: slotNumber -= player.INVENTORY_PAGE_SIZE*self.inventoryPageIndex
  7. Heathcliff™

    solved Slotactive Effect Problem

    Show us your: def RefreshBagSlotWindow(self): from uiinventory.py
  8. Heathcliff™

    open How is that system called?

  9. Heathcliff™

    open Permanent red/blue potions

    char_item.cpp in: case USE_POTION: comment or delete: item->SetCount(item->GetCount() - 1);
  10. Heathcliff™

    open Sash and Mount costume

    Do you have backup from GameType.h? upload it
  11. Heathcliff™

    open Equipment Ores Question

    item.cpp: search and extend: const static JewelAccessoryInfo infos[] = { Not tested!
  12. Heathcliff™

    open DS System Not Added Server Files And Source Pls!

    You can use any server files with source. You just need to remove DS quests, button and belt button.
  13. Heathcliff™

    [How-To] Colored quest scrolls v2 (revised)

    Thanks for this
  14. Heathcliff™

    open Party group button disappear

    Hi! In uiTarget.py: search and change: EXCHANGE_LIMIT_RANGE to 1000 Then search: self.__HideButton(localeInfo.TARGET_BUTTON_EXCHANGE) add under: self.__HideButton(localeInfo.TARGET_BUTTON_INVITE_PARTY) Not tested Best Regards!
  15. Heathcliff™

    open Big-sized monster models not properly updating on kill

    Then I was wrong sorry