Yeah makes sense, did a similar thing for mining script where it takes the rock location, then repeatedly checks the for the same rock object at that location to determine if it is mined
I imagine this might cause some difficulty if the NPC is moving at time of death
In a separate thread you could:
Update list of area loot within 14 tiles of player repeatedly, with (timeFirstSeen, location, lootID)
Update the location of the NPC repeatedly on loop, as soon as there is no NPC to check, record that as the final death location + 2 tile radius
Filter the correct loot out of the area loot using time and location
Still going to need the ironman check though
The part I don't get is stuff like bones. 2 bones drop ontop of eachother, how do you separate them? Do they have like a groundItemID? or just itemID?
Wow that's for some serious botting! I'm just a casual lol