Closed c0pper closed 8 years ago
also, after being forcefully disconnected from the server, this message came up when reconnected: Error during the execution of 'onSystemMessage': Riferimento a un oggetto non impostato su un'istanza di oggetto. after pressing run it continued normally
here's the full log [21:09:25] You found 1 Pokedollar(s). [21:09:25] You have won the battle. [21:09:36] Disconnected from the server: Connessione in corso interrotta forzatamente dall'host remoto [21:09:36] Bot stopped [21:09:36] Reconnecting in 272 seconds. [21:14:08] Reconnecting... [21:14:08] Connected, authenticating... [21:14:51] Bot started [21:14:51] Authenticated successfully! [21:14:51] Error during the execution of 'onSystemMessage': Riferimento a un oggetto non impostato su un'istanza di oggetto. [21:14:51] Bot stopped [21:14:51] System: Welcome to Pokemon Revolution Online. (Blue Server) [21:15:52] System: You are now AFK! [21:22:52] Disconnected from the server. [21:22:52] Reconnecting in 301 seconds. [21:27:53] Reconnecting... [21:27:53] Connected, authenticating... [21:27:53] Bot started [21:27:53] Authenticated successfully! [21:27:53] Error during the execution of 'onSystemMessage': Riferimento a un oggetto non impostato su un'istanza di oggetto. [21:27:53] Bot stopped [21:27:53] System: Welcome to Pokemon Revolution Online. (Blue Server) [21:28:54] System: You are now AFK! [21:35:35] Bot started [21:35:35] Starting new quest: Mt. Moon Fossil: from Route 3 to Cerulean City [21:35:35] System: You are no longer AFK!
The nurse bug is a bug from PROShine calling onPathAction()
before it received the NPC. I could check if the nurse exists, return false otherwise then call a random action then wait for the next call but I will simply wait for PROShine to fix it.
onSystemMessage()
was fixed in #6
The function was called before the game info were there. QuestManager now checks if the map is an empty string before doing anything else and only onPathAction and onBattleAction can trigger a new quest.
Just started the quest, first visit at pokecenter and the log says this:
[19:53:56] I will be seeing you again. [19:53:56] Farewell! [19:55:02] Boulder Badge is over [19:55:02] Starting new quest: Mt. Moon Fossil: from Route 3 to Cerulean City [19:55:02] error: usePokecenter: could not find the Nurse Joy. [19:55:02] Bot stopped
after clicking play again it continued without problems https://gyazo.com/004bcd2153c4595fc4ef06b5d3c2454c