Premium Amok 28 Posted March 13, 2014 Premium Share Posted March 13, 2014 (edited) Hi had problem with Belt Window ! now it looks: But it Should look like this In uiinventory.py i found this: wndBeltInventorySlot.SetCoverButton(slotNumber, "d:/ymir work/ui/game/quest/slot_button_01.sub", "d:/ymir work/ui/game/quest/slot_button_01.sub", "d:/ymir work/ui/game/quest/slot_button_01.sub", "d:/ymir work/ui/game/belt_inventory/slot_disabled.tga", FALSE, FALSE) in log.txt: 0313 03:18:23282 :: SYSERR: CResourceManager::GetResourcePointer: File not exist d:/ymir work/ui/game/quest/slot_button_01.sub 0313 03:18:23283 :: SYSERR: CANNOT_FIND_PACK_FILE [d:/ymir work/ui/game/quest/slot_button_01.sub] 0313 03:18:23283 :: CResource::Load file not exist d:ymir workuigamequestslot_button_01.sub But i didnt find this: slot_button_01.sub Someone has this sub or maybe can help how to fixx this ? Edited August 22, 2022 by Metin2 Dev Core X - External 2 Internal ..,- Link to comment Share on other sites More sharing options...
Aveline™ 554 Posted March 13, 2014 Share Posted March 13, 2014 Have you got all offical packs? Regards. Plain logic saves lives. Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 13, 2014 Author Premium Share Posted March 13, 2014 yeah i think yes Here is my pack Folder BGM devilscatacomb effect ETC guild icon indoordeviltower1 indoormonkeydungeon1 indoormonkeydungeon2 indoormonkeydungeon3 indoorspiderdungeon1 item locale_de metin2_patch_5th_armor metin2_patch_costume_soccer metin2_patch_dance metin2_patch_dragon_rock metin2_patch_dragon_rock_mobs metin2_patch_dragon_rock_mobs_texcache metin2_patch_dragon_rock_texcache metin2_patch_ds metin2_patch_dss_box metin2_patch_easter1 metin2_patch_etc metin2_patch_etc_costume1 metin2_patch_eu3 metin2_patch_eu4 metin2_patch_eu5 metin2_patch_flame metin2_patch_flame_dungeon metin2_patch_football metin2_patch_guild metin2_patch_halloween metin2_patch_icon metin2_patch_mineral metin2_patch_models metin2_patch_mundi metin2_patch_newmob metin2_patch_nz metin2_patch_party metin2_patch_pet1 metin2_patch_sd metin2_patch_source metin2_patch_w20_etc metin2_patch_w20_sound metin2_patch_w21_etc metin2_patch_w21_mobs metin2_patch_xmas Monster monster2 new_pack NPC npc2 Outdoor OutdoorA1 OutdoorA2 OutdoorA3 OutdoorB1 OutdoorB3 OutdoorC1 OutdoorC3 outdoordesert1 outdoorduel outdoorempirebattle1 outdoorfielddungeon1 outdoorflame1 outdoorgmguildbuild outdoorguild1 outdoorguild2 outdoorguild3 outdoormilgyo1 OutdoorSnow1 outdoort1 outdoort2 outdoort3 outdoort4 outdoortrent outdoortrent02 outdoorwedding patch1 patch2 patch3 PC pc2 Property root season1 season2 season3_eu Sound sound2 Terrain textureset Tree uiloading uiscript Zone ..,- Link to comment Share on other sites More sharing options...
Tacticus 73 Posted March 13, 2014 Share Posted March 13, 2014 all look correct...where you see problem?? you just use belt for open all slots in belt window Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 13, 2014 Author Premium Share Posted March 13, 2014 na with this belt not all slots schould be activated here you see http://wiki.metin2.co.uk/index.php/Belt_System Depending on the belt and the level of upgrade of it, the inventory slots can be enabled or disabled. 1 ..,- Link to comment Share on other sites More sharing options...
Saddler 680 Posted March 13, 2014 Share Posted March 13, 2014 Which gamefile revision you use? Regards. Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 13, 2014 Author Premium Share Posted March 13, 2014 Novaline self compiled EDIT:: After some experiments i get this: 0313 16:16:26490 :: SYSERR: 'GridSlotWindow' object has no attribute 'SetAlwaysRenderCoverButton' def RefreshSlot(self): getItemVNum=player.GetItemIndex for i in xrange(item.BELT_INVENTORY_SLOT_COUNT): slotNumber = item.BELT_INVENTORY_SLOT_START + i self.wndBeltInventorySlot.SetItemSlot(slotNumber, getItemVNum(slotNumber), player.GetItemCount(slotNumber)) self.wndBeltInventorySlot.SetAlwaysRenderCoverButton(slotNumber, TRUE) #wndMgr.SetAlwaysRenderCoverButton(slotNumber, TRUE) avail = "0" if player.IsAvailableBeltInventoryCell(slotNumber): self.wndBeltInventorySlot.EnableCoverButton(slotNumber) else: self.wndBeltInventorySlot.DisableCoverButton(slotNumber) self.wndBeltInventorySlot.RefreshSlot() Problem is here: self.wndBeltInventorySlot.SetAlwaysRenderCoverButton(slotNumber, TRUE) when i change to wndMgr.SetAlwaysRenderCoverButton(slotNumber, TRUE) Client Starts but it takes no affect ... in src: SetAlwaysRenderCoverButton is in class CSlotWindow but wndBeltInventorySlot is CGridSlotWindow Maybe this is the Problem Someone know how to get it work under CGridSlotWindow class ? ..,- Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted March 13, 2014 Premium Share Posted March 13, 2014 0313 03:18:23283 :: SYSERR: CANNOT_FIND_PACK_FILE [d:/ymir work/ui/game/quest/slot_button_01.sub] 0313 03:18:23283 :: CResource::Load file not exist d:ymir workuigamequestslot_button_01.sub There are the buttons, u can't put anything in the last 4 slots, u just don't see the block-buttons. "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 14, 2014 Author Premium Share Posted March 14, 2014 yeah as i said some has this file ? ..,- Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 15, 2014 Author Premium Share Posted March 15, 2014 Hmm... Its very confused ... When i look: wndBeltInventorySlot.SetCoverButton wndBeltInventorySlot => class CGridSlotWindow SetCoverButton => class CSlotWindow This Works But when i use: wndBeltInventorySlot.SetAlwaysRenderCoverButton wndBeltInventorySlot => class CGridSlotWindow SetAlwaysRenderCoverButton => class CSlotWindow It throw error: 0313 16:16:26490 :: SYSERR: 'GridSlotWindow' object has no attribute 'SetAlwaysRenderCoverButton' Someone has an idea ? ..,- Link to comment Share on other sites More sharing options...
Premium Amok 28 Posted March 16, 2014 Author Premium Share Posted March 16, 2014 Ok nobody has an idea ? Someone Can post his uiinventory ? where the belt system works correct ? ..,- Link to comment Share on other sites More sharing options...
Premium Solution Amok 28 Posted March 17, 2014 Author Premium Solution Share Posted March 17, 2014 ok guys get it fixxed now xD ui.py need to add def SetAlwaysRenderCoverButton(self, slotIndex, bAlwaysRender = TRUE): wndMgr.SetAlwaysRenderCoverButton(self.hWnd, slotIndex, bAlwaysRender) So fixxed plz close ..,- Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1124 Posted March 17, 2014 Former Staff Share Posted March 17, 2014 closed Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now