AutoIt inventory.

08/07/2012 13:56 Speederes#1
Hi,

I would like to apologize in advance for my language skills.

I programming in AutoIt. I have problem with a slots. I want to use the fourth inventory slots.

I made the GUI:
Code:
GUICtrlCreateLabel("Steady: ",20,140)
$stead_box = GUICtrlCreateInput("n/a",150,140,30,20,$ES_ReadOnly)
I made steady out:
Code:
If $iPos = "0G" Then
					$fusen = false
					$fertig = true
					GUICtrlSetData($stead_box, "0")
					GUICtrlCreateListViewItem(@HOUR&":"&@MIN&":"&@SEC&" - Steady is out!",$liste)
					_GUICtrlListView_Scroll($liste,0,20)

				EndIf
I made inventory pos:
Code:
If $opcode = $invupdate_packet then

			$iPos = ParseByte() ;->Inv. Pos.
			$dummy  = ParseByte() ;->kp
			$iCount  = ParseWord() ;->Anzahl

	
			If $iPos = "0G" Then GUICtrlSetData($stead_box, Dec($iCount))

		EndIf
But i start this program.... it's n/a.

Please help me!
08/07/2012 14:03 kevin_owner#2
Let me start off by saying I have no idea how auto it works. But the 4th inventory slot is the place where you can store the equipment you're wearing. If you want to pick the actual 4th slot of the inventory you have to pick 20 or something.
08/07/2012 14:10 Speederes#3
Then I use another inventory slot? If so which one?
08/07/2012 16:20 pergian#4
slot 0-12 are the slots of the stuff you wearing and 13 and higher the actual inventory, so 4th slot would then be 16
08/07/2012 16:52 Speederes#5
But it is not good for 0G?
08/07/2012 17:11 qkuh#6
0x0G does not exist
0x10 = 16
08/07/2012 17:16 Speederes#7
I rewrote the 0G to 10 But it does not work. I still can not see how many have it.