Problem with Autoit Inventory update

09/08/2012 01:24 Speederes#1
Hello

I want use 1th 2th 3th 4th 5th inventory slots.
But 4th and 5th not updating..
Please help me:

Code:
InjectPacket($alchemy_packet, "0203030D0E0F1011")
Code:
		If $opcode = $invupdate_packet then

			$iPos = ParseByte() ;->Inventory Position
			$dummy  = ParseByte() ;->kp
			$iCount  = ParseWord() ;->Count

			If $iPos = "0E" Then GUICtrlSetData($elexiere_box, Dec($iCount))
			If $iPos = "0F" Then GUICtrlSetData($powder_box, Dec($iCount))
			If $iPos = "10" Then GUICtrlSetData($stead_box, Dec($iCount))
			If $iPos = "11" Then GUICtrlSetData($luck_box, Dec($iCount))

		EndIf
Thanks.
09/08/2012 12:18 vorosmihaly#2
those slots are the equip slots.
use slots > 11
09/08/2012 12:25 Speederes#3
But then why the EDX Loader wrote the 11th slot?

(Edx Loader szerint a 4. slot a 10es az 5. pedig a 11es számú/kódú)
09/09/2012 11:53 vorosmihaly#4
Quote:
Originally Posted by Speederes View Post
But then why the EDX Loader wrote the 11th slot?

(Edx Loader szerint a 4. slot a 10es az 5. pedig a 11es számú/kódú)
jaaa..sorry :P I thought you were trying to use the nr4 slot. :)

well,then there might be something wrong with your packet,but it looks OK for me at the first look.
09/09/2012 14:45 djtrilogic#5
i got the same problem ... though, it was working few days before
11/05/2012 18:21 HardGroove#6
Hey I know this code, its from Fuse O mat Tool!

Well your injecting packet function looks weird.

The count system it is correct, after every fuse it should get S > C string with result that looks something like this:

[S -> C][3040]
0F
08
1C 00

your string "0203030D0E0F1011" is not correct, because its injecting only packet with elixirs and lucky powders, you cannot inject all stones at the same time. So you should leave it as it is "0203030D0E0F" - 0E means use elixirs from second slot and, 0F use lucky powders from 3rd slot. To use stones, you have to add extra function before you do fuse injection. For example: You set tool to fuse steady stone, when lucky stone and when do "0203030D0E0F" injection! My question, how did you manage to work that tool with original code? I never manage to make it work with that injection code, I had to make my own way to inject packets...

EDIT: never mind, I found out what was wrong, just wrong old code logic's, works now with original injecting function! :)
12/15/2012 21:19 bdeniz#7
the slots between 0 and 13, are equip slots. may won't change.