06-26-2018, 02:58 PM
I don't know whether this is the right place to post it or elsewhere, but I got to share this: I've been trapped in some battle errors, needing to close the game and load the last saved file when they occur. They started to appear in the 1.2.2 (current) version, I think, and hopefully they only happened to me. They are represented by these images:
1. The first seems to be a "missing trainer" error, as this log says:
However, I reinstalled the game — in order to "recuperate that missing character" — and the same error occurs whenever I try to battle Ayumi. Furthermore, I searched for any missing character in the folders, but everything was ok to me.
Solution: don't battle Ayumi *shrug*
2. The last two errors occurred in another file (Nuzlocke+Randomizer, not the main one). I think it is related to the fact of both of them being double battles, but it can't be (only) it, because I had won several double battles before them in the same file. These are their respective logs:
Although I can simply avoid the first and second battles, the third is necessary for the game to progress. Is there a way to solve those problems?
1. The first seems to be a "missing trainer" error, as this log says:
Exception: RuntimeError
Message: Script error within event 54, map 174 (75uk1nam1 V1ll4g3):
Exception: RuntimeError
Message: Section112:220:in `pbMissingTrainer'Can'7 find tr4in3r (NINJATUTOR, 4yum1, 1D 0)
***Full script:
pbTrainerBattle(PBTrainers::NINJATUTOR,pbGet(6),_I("Good job!"),false,0,false,0)
pbCallBub(2)
Interpreter:243:in `pbExecuteScript'
PTrainer_NPCTrainers:390:in `pbTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:1600:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'
Message: Script error within event 54, map 174 (75uk1nam1 V1ll4g3):
Exception: RuntimeError
Message: Section112:220:in `pbMissingTrainer'Can'7 find tr4in3r (NINJATUTOR, 4yum1, 1D 0)
***Full script:
pbTrainerBattle(PBTrainers::NINJATUTOR,pbGet(6),_I("Good job!"),false,0,false,0)
pbCallBub(2)
Interpreter:243:in `pbExecuteScript'
PTrainer_NPCTrainers:390:in `pbTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:1600:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'
Solution: don't battle Ayumi *shrug*
2. The last two errors occurred in another file (Nuzlocke+Randomizer, not the main one). I think it is related to the fact of both of them being double battles, but it can't be (only) it, because I had won several double battles before them in the same file. These are their respective logs:
Exception: RuntimeError
Message: Script error within event 3, map 99 (R0u73 14):
Exception: NoMethodError
Message: Section084:409:in `initialize'undefined method `trainertype' for #<Array:0x91342c0>
***Full script:
pbDoubleTrainerBattle(PBTrainers::SWIMMERmA,"Chris",0,_I("Aaah!"),PBTrainers::SWIMMERfE,"Caroline",0,_I("Waaaaah!"),false)
Interpreter:243:in `pbExecuteScript'
* PokeBattle_Battle:407:in `each'
* PokeBattle_Battle:407:in `initialize'
PTrainer_NPCTrainers:289:in `new'
PTrainer_NPCTrainers:289:in `pbDoubleTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:788:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:276:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'
Message: Script error within event 3, map 99 (R0u73 14):
Exception: NoMethodError
Message: Section084:409:in `initialize'undefined method `trainertype' for #<Array:0x91342c0>
***Full script:
pbDoubleTrainerBattle(PBTrainers::SWIMMERmA,"Chris",0,_I("Aaah!"),PBTrainers::SWIMMERfE,"Caroline",0,_I("Waaaaah!"),false)
Interpreter:243:in `pbExecuteScript'
* PokeBattle_Battle:407:in `each'
* PokeBattle_Battle:407:in `initialize'
PTrainer_NPCTrainers:289:in `new'
PTrainer_NPCTrainers:289:in `pbDoubleTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:788:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:276:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'
Exception: RuntimeError
Message: Script error within event 17, map 99 (R0u73 14):
Exception: NoMethodError
Message: Section084:409:in `initialize'undefined method `trainertype' for #<Array:0x9aaf008>
***Full script:
pbDoubleTrainerBattle(PBTrainers::PIRATE_JACK,"Jack",1,_I("Arrrrrghhh!"),PBTrainers::PIRATE_SILVA,"Silva",1,_I("Arrrrrghhh!"),canlose=false,variable=nil)
Interpreter:243:in `pbExecuteScript'
* PokeBattle_Battle:407:in `each'
* PokeBattle_Battle:407:in `initialize'
PTrainer_NPCTrainers:289:in `new'
PTrainer_NPCTrainers:289:in `pbDoubleTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:788:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:276:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'
Message: Script error within event 17, map 99 (R0u73 14):
Exception: NoMethodError
Message: Section084:409:in `initialize'undefined method `trainertype' for #<Array:0x9aaf008>
***Full script:
pbDoubleTrainerBattle(PBTrainers::PIRATE_JACK,"Jack",1,_I("Arrrrrghhh!"),PBTrainers::PIRATE_SILVA,"Silva",1,_I("Arrrrrghhh!"),canlose=false,variable=nil)
Interpreter:243:in `pbExecuteScript'
* PokeBattle_Battle:407:in `each'
* PokeBattle_Battle:407:in `initialize'
PTrainer_NPCTrainers:289:in `new'
PTrainer_NPCTrainers:289:in `pbDoubleTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:788:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:276:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'
* Scene_Map:102:in `loop'
* Scene_Map:132:in `update'
Debug Passability:275:in `main'