- 0
-
Activity
-
8
Inventory Bug
syserr is empty.. refreshbagslot I have it like this def SetInventoryPage(self, page): self.inventoryTab[self.inventoryPageIndex].SetUp() self.inventoryPageIndex = page self.inventoryTab[self.inventoryPageIndex].Down() self.RefreshBagSlotWindow() and def RefreshBagSlotWindow(self): getItemVNum=player.GetItemIndex getItemCount=player.GetItemCount setItemVNum=self.wndItem.SetItemSlot for i in xrange(self.wndItem.GetSlotCount()): self.wndItem.DeactivateSlot(i) for i in xrange(player.INVENTORY_PAGE_SIZE): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) itemCount = getItemCount(slotNumber) # itemCount == 0이면 소켓을 비운다. if 0 == itemCount: self.wndItem.ClearSlot(i) continue elif 1 == itemCount: itemCount = 0 itemVnum = getItemVNum(slotNumber) setItemVNum(i, itemVnum, itemCount) ## 자동물약 (HP: #72723 ~ #72726, SP: #72727 ~ #72730) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo] if constInfo.IS_AUTO_POTION(itemVnum): # metinSocket - [0] : 활성화 여부, [1] : 사용한 양, [2] : 최대 용량 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) if app.WJ_ENABLE_TRADABLE_ICON: self.RefreshMarkSlots(i) self.__HighlightSlot_Refresh() self.wndItem.RefreshSlot() if self.wndBelt: self.wndBelt.RefreshSlot() if app.WJ_ENABLE_TRADABLE_ICON: map(lambda wnd:wnd.RefreshLockedSlot(), self.bindWnds) def RefreshEquipSlotWindow(self): getItemVNum=player.GetItemIndex getItemCount=player.GetItemCount setItemVNum=self.wndEquip.SetItemSlot for i in xrange(player.EQUIPMENT_PAGE_COUNT): slotNumber = player.EQUIPMENT_SLOT_START + i itemCount = getItemCount(slotNumber) if itemCount <= 1: itemCount = 0 setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount) if app.ENABLE_NEW_EQUIPMENT_SYSTEM: for i in xrange(player.NEW_EQUIPMENT_SLOT_COUNT): slotNumber = player.NEW_EQUIPMENT_SLOT_START + i itemCount = getItemCount(slotNumber) if itemCount <= 1: itemCount = 0 setItemVNum(slotNumber, getItemVNum(slotNumber), itemCount) print "ENABLE_NEW_EQUIPMENT_SYSTEM", slotNumber, itemCount, getItemVNum(slotNumber) self.wndEquip.RefreshSlot() if self.wndCostume: self.wndCostume.RefreshCostumeSlot() def RefreshItemSlot(self): self.RefreshBagSlotWindow() self.RefreshEquipSlotWindow() -
63
Metin2 Dev - Changelogs
Duplicate posts (warns, topics, PM's...) are resolved 2FA re-enabled- 1
-
-
9
-
0
[BUG] Can't select my own character (Select Target)
Hello metin2dev, I've been facing a bug since quite some time and I can't get my head around it. The bug is mainly happening only for the main character, for every other instance you can select them properly, however for the main chararacter, neither the select circle effect won't appear when you point the click on the character neither right clicking on it will have an effect. Here's a gif with the problem: [Hidden Content] The weird part is that I don't have any error in syserr related to it or to anything, as a matter of fact. -
8
Inventory Bug
Syserr is empty in client? Did you changed something related to refreshbagslot in uiinventory? -
4
-
8
-
7
Packet header problem...
It's a very personal error. May depend on many things. Be technical and find what's awry. -
7
Packet header problem...
Originally, header 93 is noted. The original client source code should, in theory, not give an error. HEADER_CG_GIVE_ITEM = 83, //HEADER_BLANK84 = 84, //HEADER_BLANK85 = 85, //HEADER_BLANK86 = 86, //HEADER_BLANK87 = 87, //HEADER_BLANK88 = 88, //HEADER_BLANK89 = 89, HEADER_CG_EMPIRE = 90, //HEADER_BLANK91 = 91, //HEADER_BLANK92 = 92, //HEADER_BLANK93 = 93, //HEADER_BLANK94 = 94, //HEADER_BLANK95 = 95, HEADER_CG_REFINE = 96, //HEADER_BLANK97 = 97, //HEADER_BLANK98 = 98, //HEADER_BLANK99 = 99,
-
-
Recently Browsing
- No registered users viewing this page.
Question
Invictus 22
Hey, I've implemented Imer's game lib to allow for several extra functions which i required for a new system that I developed within my server which is on 34k, cores from the untouched 34k released here.

Unfortunately it has just come to my attention that whilst the lib is implemented i can't change any bonus on any non-GM character :/
i believe its due to the configure file as over on his post it states it gets changed into seconds. i removed everything in the configure besides what i actually needed but that didn't work so here's the original configure. i ran a test where i stopped it loading in and in that instance it fixed the problem but it's the lib is critical to one of my systems, unless i can find another way in which to decrease peoples levels via a quest.
Thanks guys!
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Nov 11
1
May 6
1
Top Posters For This Question
Invictus 1 post
Destiny 1 post
Popular Days
Nov 11 2014
1 post
May 6 2014
1 post
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now