1.1.0d
Code:if not STEAM: BP0 = 0x0027FEE9 + 0x00400000 BP1 = 0x0027FEE1 + 0x00400000 BP2 = 0x0027FF2B + 0x00400000 else: BP0 = 0x00282B99 + 0x00400000 BP1 = 0x00282B91 + 0x00400000 BP2 = 0x00282BDB + 0x00400000
1.1.0d
Code:if not STEAM: BP0 = 0x0027FEE9 + 0x00400000 BP1 = 0x0027FEE1 + 0x00400000 BP2 = 0x0027FF2B + 0x00400000 else: BP0 = 0x00282B99 + 0x00400000 BP1 = 0x00282B91 + 0x00400000 BP2 = 0x00282BDB + 0x00400000
Until the item offsets are changed, don't even bother with this. It is currently useless.
Anyone want to update it to get it fully working again. It does not show item drops or sockets anymore. Only dings on currency.
I don't even get the dings.. and I updated the offsets from Daxxs post from 2 days ago.
I'll take a look at it later today and see if its something I can fix. I'm not very experienced in either Python or Packets. So I won't make any promises, but I will take a shot at fixing it.
--Update--
Courtesy of the debug log, I've managed to narrow down the itemData struct changes. Now I just need to modify the parser to skip the stuff, and hopefully it'll bring it back in line with what we're used to.
It parses the loot packet identifier & the ItemID fine. It fails however when it reaches the iLVL entry. Since its only 8bytes, we just need to align the parser by skipping some bytes. Barring any other problems, once thats done it should return to normal.
Below, the 0x30 unk [0x8] segment is the bad guy for us.
Code:// size is 0xAE (174) 3-9-2014 typedef struct _LootPacketStruct { /*0x00*/ BYTE unknown0x00[0x2C]; // First 5 bytes signify if its a loot packet /*0x2C*/ DWORD ItemID; /*0x30*/ BYTE unknown0x30[0x8]; /*0x38*/ DWORD ItemLevel; /*0x3C*/ DWORD ReqLevel; /*0x40*/ BYTE unknown0x40[0x24]; /*0x64*/ DWORD Sockets; // Probably. Unsure /*0x68*/ BYTE unknown0x068[0x42]; /*0xAE*/ } LootPacketStruct;
Last edited by DaxxTrias; 03-09-2014 at 09:40 AM.
Okay this deserves a new post for bump sake. I have fixed it, at least basic functionality. Now lets get some more testing done and find any more problems.
Around line 490 find this section of code in ItemAlertPoE.py
We need to add another byte skip.Code:actual = buffer.nextByte() actual = buffer.nextByte() actual = buffer.nextByte() actual = buffer.nextDword() itemlevel = buffer.nextDword()
This:
So make it look like this instead (1 more byte skip)actual = buffer.nextByte()
I only had the time to do a basic test on my mule. I doubt this 1 line fix will solve all our problems, but it showed the proper quality, rarity, ilvl, on some of the rares i kept on hand.Code:actual = buffer.nextByte() actual = buffer.nextByte() actual = buffer.nextByte() actual = buffer.nextByte() actual = buffer.nextDword() itemlevel = buffer.nextDword()
Last edited by DaxxTrias; 03-09-2014 at 10:06 AM.
It works great now. Thanks for fixing it DaxxTrias!
Seems like that line worked. Every thing is working now as intended.
Tried my hand at adding vaal orb to the alerter.
Here is how I did it.
In ItemAlertPoE.py
Line; 80
Right above the line "SOUND_chaos = True"
add
SOUND_vaal = True
Line: 441
You will see
Right above it addif itemId == 0x7353DDF9 and SOUND_chaos == True: # Chaos Orb
crafting_drop = PlaySoundCraftingItem()
crafting_drop.start()
Save it.if itemId == 0x716F588 and SOUND_vaal == True: # Vaal Orb
crafting_drop = PlaySoundCraftingItem()
crafting_drop.start()
Then open ItemList.py
at the bottom just add this line
_items[0x716F588] = (0x716F588, "Vaal Orb", "Metadata/Items/Currency/CurrencyCorrupt")
Save it and that;s all you need to do.
I added the line on ItemAlertPoE.py as described, but CMD closes out after I click on it to open it. if i remove the extra line it works but only for currency and a few other items.
There must be some other change you guys did to get it to work. other then adding the extra skip line.
Thanks for any help.
if you could paste your ItemAlertPoE.py it would help us out in case we are missing a line of code in another line, Thanks!
Heres my additions to the itemlist, I just simply added them at the bottom of the list. Thanks Nipper for your contribution
--update--Code:#My added stuff _items[0x716F588] = (0x716F588, "Vaal Orb", "Metadata/Items/Currency/CurrencyCorrupt") _items[0xF57CD127] = (0xF57CD127, "Broadhead Quiver", "Metadata/Items/Quivers/QuiverBroadhead") _items[0x7C17543E] = (0x7C17543E, "Serrated Quiver", "Metadata/Items/Quivers/QuiverSerrated") _items[0xEFB433AE] = (0xEFB433AE, "Fire Arrow Quiver", "Metadata/Items/Quivers/QuiverFireArrow") _items[0xE7706DF6] = (0xE7706DF6, "Piercing Arrow Quiver", "Metadata/Items/Quivers/QuiverPenetrating") _items[0xB64B8169] = (0xB64B8169, "Blunt Arrow Quiver", "Metadata/Items/Quivers/QuiverBlunt") _items[0x7AC489A6] = (0x7AC489A6, "Golden Page 1", "Metadata/Items/QuestItems/Page1") _items[0x92D9B767] = (0x92D9B767, "Golden Page 2", "Metadata/Items/QuestItems/Page2") _items[0x9640DDC5] = (0x9640DDC5, "Golden Page 3", "Metadata/Items/QuestItems/Page3") _items[0xAA33638] = (0xAA33638, "Golden Page 4", "Metadata/Items/QuestItems/Page4")
Fixed a syntax error. Oops
Last edited by DaxxTrias; 03-09-2014 at 07:58 PM.
you guys are awesome!