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

Fix Loop Mt. Moon 1F - Route 3 #10

Closed ghost closed 8 years ago

ghost commented 8 years ago

Fixes issue #4.

Hope it helps ;)

g0ldPRO commented 8 years ago

If I recall correctly, I made that quest before implementing a generic Quest:needPokecenter() that would do all the necessary checks.

ghost commented 8 years ago

Yes, when the training is done in Mt. Moon 1F and it goes back to pc, the bot moves back to Route 3, I guess the boolean self.healPokemonOnceTrainingIsOver returns "true" so it sends it back to Route 3, and function MoonFossilQuest:Route3() sends it back to Mt. Moon 1F creating a loop so I fixed it in the MoonFossilQuest code.

But I get what you mean, Iguess the boolean self.healPokemonOnceTrainingIsOver in Quest:needPokecenter() should return "false" after using PC when training is done; so the fix should be done there.

g0ldPRO commented 8 years ago

Fixed with 78781e2