Silv3rPRO / proshine

A free, open-source and advanced bot for Pokémon Revolution Online.
https://proshine-bot.com/
MIT License
52 stars 69 forks source link

[bug] giveItemToPokemon | exceptions #95

Open M1L4 opened 7 years ago

M1L4 commented 7 years ago

[Problem] giveItemToPokemon() not working for:

[Description] Kaito recently alerted me, about not being able to give his pokemon a coin capsule. I myself verified his statement using escape ropes. Testing script was this:

function onPathAction() giveItemToPokemon("Escape Rope", 1) end

[Test: Behaviour | Comment]

[Ideas]

Silv3rPRO commented 7 years ago

What is the Scope of the escape rope?

The scope is checked in the GameClient class to make sure we do not equip an impossible item: https://github.com/Silv3rPRO/proshine/blob/master/PROProtocol/GameClient.cs#L723

M1L4 commented 7 years ago