Jump to content

Problem with Belt Window !


Go to solution Solved by Amok,

Recommended Posts

  • Premium

Hi had problem with Belt Window !

 

now it looks:

qNhNf.png

 

 

But it Should look like this :)

Erweitertes_Inventar.png

 

 

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 by Metin2 Dev
Core X - External 2 Internal

..,-

Link to comment
Share on other sites

  • Premium

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

  • Premium

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

  • Premium
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

  • Premium

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 11

      Multi Language System

    2. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    3. 4

      Feeding game source to LLM

    4. 0

      Quest 6/7 Problem

    5. 5

      Effect weapons

    6. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    7. 3

      Crystal Metinstone

    8. 4

      Feeding game source to LLM

    9. 113

      Ulthar SF V2 (TMP4 Base)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.