Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Trying to loot items from someone else's corpse?

Post Reply
sibble
Neophyte
Neophyte
Posts: 48
Joined: 21.03.2015 18:12

Trying to loot items from someone else's corpse?

Post by sibble »

Two scripts running, separate computers.

Both looting same corpse, players in separate parties.

They have separate loot.

Script running loots corpses, same loot rules.

Character A gets an item, Character A loots item. Character B tries to loot the same item and gets "You cannot pickup that item."

What I don't understand is, these are separate loot. Each character gets 15 items, when corpse is public it has 30 items.

How/Why is Character B trying to loot Character A's item?
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Trying to loot items from someone else's corpse?

Post by Vizit0r »

how they separate 15 items for each players? list of this items coordinates between two scripts?
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Post Reply