In my struggle to learn more about the game and automation I have tried to find out if there is a way to detect if drops like coins and so on from a recently killed mob is locked to the party from where the player that killed the mob belongs.
This to not try to pickup loot that can't be picked up yet. Loot that recently dropped have some sparkeling around it, and can't be picked up by other players (not in my party).
There must not be information about this on the client side though. Maybe the control is only server side when the client tries to pickup it just doesn't get a message back from the server that it has succeeded, or a msg about failed pick up? If it's this way, I could perhaps try to pick it up but keep a list of item ids that has been tried to be picked up and avoid to try to pick them up again.
The drop can sometimes delay to show up after a mobs death so I let it wait 2 seconds before moving on. If loot drops within this time I try to pick it up, and when done I check again if there is new items within a few meters radius from the position the mob was at when it died. This could be an infintive loop if someone generates loot next to my char efter it has killed a mob, but who would generate loot there? Maybe an evil GM would, so I maybe should limit the pickup to say 10 or so items.
Anyone have a few cents to throw in about this? :)
This to not try to pickup loot that can't be picked up yet. Loot that recently dropped have some sparkeling around it, and can't be picked up by other players (not in my party).
There must not be information about this on the client side though. Maybe the control is only server side when the client tries to pickup it just doesn't get a message back from the server that it has succeeded, or a msg about failed pick up? If it's this way, I could perhaps try to pick it up but keep a list of item ids that has been tried to be picked up and avoid to try to pick them up again.
The drop can sometimes delay to show up after a mobs death so I let it wait 2 seconds before moving on. If loot drops within this time I try to pick it up, and when done I check again if there is new items within a few meters radius from the position the mob was at when it died. This could be an infintive loop if someone generates loot next to my char efter it has killed a mob, but who would generate loot there? Maybe an evil GM would, so I maybe should limit the pickup to say 10 or so items.
Anyone have a few cents to throw in about this? :)