Register for your free account! | Forgot your password?

You last visited: Today at 17:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AutoIt inventory.

Discussion on AutoIt inventory. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 91
Received Thanks: 16
AutoIt inventory.

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!
Speederes is offline  
Old 08/07/2012, 14:03   #2
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
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.
kevin_owner is offline  
Old 08/07/2012, 14:10   #3
 
elite*gold: 0
Join Date: Jan 2009
Posts: 91
Received Thanks: 16
Then I use another inventory slot? If so which one?
Speederes is offline  
Old 08/07/2012, 16:20   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 73
Received Thanks: 17
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
pergian is offline  
Old 08/07/2012, 16:52   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 91
Received Thanks: 16
But it is not good for 0G?
Speederes is offline  
Old 08/07/2012, 17:11   #6
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
0x0G does not exist
0x10 = 16
qkuh is offline  
Old 08/07/2012, 17:16   #7
 
elite*gold: 0
Join Date: Jan 2009
Posts: 91
Received Thanks: 16
I rewrote the 0G to 10 But it does not work. I still can not see how many have it.
Speederes is offline  
Reply




All times are GMT +2. The time now is 17:17.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.