g0ldPRO / Questing.lua

A Lua script for PROShine that plays Pokemon Revolution Online for you from the very Start to as far as possible.
http://g0ldpro.github.io/Questing.lua/
Do What The F*ck You Want To Public License
5 stars 7 forks source link

Update Quest: SoulBadgeQuest #31

Closed Rympex closed 7 years ago

Rympex commented 7 years ago
Rympex commented 7 years ago

?? what line? i tested it 3 times and no problems. are u sure?

ghost commented 7 years ago

Ermmm I'm still testing, I'm not quite sure, I meant the line at the end of my note, it gets stuck sometimes after very specific conditions, can't identify them yet, sometimes bot run in and out of pokecenter, other time it keeps healing and healing at nurse joey.

Rympex commented 7 years ago

maybe u have pokemon without atk move and the condition is pokemonusable is false. and it try again heal moves like magnitude are without power

ghost commented 7 years ago

Oh I see, I did introduced an Abra with only teleport move, I thought there was not going to be an issue cause Training function swaps to another pokemon when opponent level is higher than yours. But I guess thats why it kept healing, I changed PokecenterFuchsia() function to return moveToMap("Fuchsia City") and it got out the pokecenter but inmediately came back to it, I guess that was all, no issues to report now. Still maybe need a fix for this case? like also having a Magikarp only with Splash?

ghost commented 7 years ago

Finally tested, and worked :+1:

c0pper commented 7 years ago

Error during the script execution: Quests/Quest.lua:(213,7-96): Sould Badge quest has no method for map: Pokecenter Lavender

From what i can tell looks like it didn't set the pokecenter in fuchsia so on blackout it goes all the way back to lavender and doesn't know what to do. If i restart it manually it works again though.

Rympex commented 7 years ago

it is not a Error, I can not put every possible situation, just restart the script, and it will pick the right quest :)

c0pper commented 7 years ago

I'm currently using the script you uploaded on megafileupload today, with all your pulls included. I'm at fuchsia with only 79$ and the bot is looping between route 18 and fuchsia city. I suppose it's trying to raise money to enter the safari zone but without success.