Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Here's a very rough Eluna AoE loot script I whipped up the past 2 hours or so. It only shows up to 1

[DiscordArchive] Here's a very rough Eluna AoE loot script I whipped up the past 2 hours or so. It only shows up to 1

[DiscordArchive] Here's a very rough Eluna AoE loot script I whipped up the past 2 hours or so. It only shows up to 1

rektbyfaith
Administrator
0
06-12-2025, 12:27 PM
#1
Archived author: metallinos • Posted: 2025-06-12T12:27:14.105000+00:00
Original source

Here's a very rough Eluna AoE loot script I whipped up the past 2 hours or so. It only shows up to 18 items when the pool of available items on nearby corpses is 23. The rest are available on next loot attempt. Perhaps something similar to what <@1211541485963575399> is after?
World_of_Warcraft_2025-06-12_14-24-14.mp4
rektbyfaith
06-12-2025, 12:27 PM #1

Archived author: metallinos • Posted: 2025-06-12T12:27:14.105000+00:00
Original source

Here's a very rough Eluna AoE loot script I whipped up the past 2 hours or so. It only shows up to 18 items when the pool of available items on nearby corpses is 23. The rest are available on next loot attempt. Perhaps something similar to what <@1211541485963575399> is after?
World_of_Warcraft_2025-06-12_14-24-14.mp4

rektbyfaith
Administrator
0
06-12-2025, 12:31 PM
#2
Archived author: Yuppls • Posted: 2025-06-12T12:31:24.958000+00:00
Original source

you cut it before the payoff, wanted to see the next loot attempt function.
rektbyfaith
06-12-2025, 12:31 PM #2

Archived author: Yuppls • Posted: 2025-06-12T12:31:24.958000+00:00
Original source

you cut it before the payoff, wanted to see the next loot attempt function.

rektbyfaith
Administrator
0
06-12-2025, 12:32 PM
#3
Archived author: Yuppls • Posted: 2025-06-12T12:32:12.412000+00:00
Original source

next loot attempt fills the free spots made from the previous looting? or is it a different window. Not super useful for pvp kills. but usefull no less.
rektbyfaith
06-12-2025, 12:32 PM #3

Archived author: Yuppls • Posted: 2025-06-12T12:32:12.412000+00:00
Original source

next loot attempt fills the free spots made from the previous looting? or is it a different window. Not super useful for pvp kills. but usefull no less.

rektbyfaith
Administrator
0
06-12-2025, 12:58 PM
#4
Archived author: metallinos • Posted: 2025-06-12T12:58:54.158000+00:00
Original source

My 10 mb upload limit is rough But it's possible to re-send client package 0x15D (CMSG_LOOT) and reply with server package 0x160 (SMSG_LOOT_RESPONSE) on every case of 0x108 (CMSG_AUTOSTORE_LOOT_ITEM) to repopulate the loot window on every looted item
rektbyfaith
06-12-2025, 12:58 PM #4

Archived author: metallinos • Posted: 2025-06-12T12:58:54.158000+00:00
Original source

My 10 mb upload limit is rough But it's possible to re-send client package 0x15D (CMSG_LOOT) and reply with server package 0x160 (SMSG_LOOT_RESPONSE) on every case of 0x108 (CMSG_AUTOSTORE_LOOT_ITEM) to repopulate the loot window on every looted item

rektbyfaith
Administrator
0
06-12-2025, 01:01 PM
#5
Archived author: metallinos • Posted: 2025-06-12T13:01:33.674000+00:00
Original source

Unless you use existing core functionality, you will have to simulate slot removal as well using something like
```
local removePacket = CreatePacket(0x162, 0) -- Remove from slot
removePacket:WriteByte(lootSlot)
player:SendPacket(removePacket)
```
and I think you may need to release the loot window before repopulating it, if simulating the loot window interaction
```
local packet = CreatePacket(0x161, 0) -- SMSG_LOOT_RELEASE_RESPONSE
packet:WriteGUID(guid)
packet:WriteByte(1)
player:SendPacket(packet)
```
rektbyfaith
06-12-2025, 01:01 PM #5

Archived author: metallinos • Posted: 2025-06-12T13:01:33.674000+00:00
Original source

Unless you use existing core functionality, you will have to simulate slot removal as well using something like
```
local removePacket = CreatePacket(0x162, 0) -- Remove from slot
removePacket:WriteByte(lootSlot)
player:SendPacket(removePacket)
```
and I think you may need to release the loot window before repopulating it, if simulating the loot window interaction
```
local packet = CreatePacket(0x161, 0) -- SMSG_LOOT_RELEASE_RESPONSE
packet:WriteGUID(guid)
packet:WriteByte(1)
player:SendPacket(packet)
```

rektbyfaith
Administrator
0
06-12-2025, 01:05 PM
#6
Archived author: metallinos • Posted: 2025-06-12T13:05:13.136000+00:00
Original source

Actually, I think I may have misread your question. You can construct the loot window package any way you want, so you can have next loot attempt fill the free slots from previous looting, make a different window, or update to populate in new items on every attempt to take an item out of the loot window
rektbyfaith
06-12-2025, 01:05 PM #6

Archived author: metallinos • Posted: 2025-06-12T13:05:13.136000+00:00
Original source

Actually, I think I may have misread your question. You can construct the loot window package any way you want, so you can have next loot attempt fill the free slots from previous looting, make a different window, or update to populate in new items on every attempt to take an item out of the loot window

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)