- Joined
- Mar 6, 2023
- Posts
- 58
I actually started a new save then created an event to place this custom mon. Which is odd because without Tasks, the event ran fine.Have you each started a new save file after installing this plugin? Or maybe your custom Pokemon isn't defined in the tasks pbs for this plugin? At least Zephyrias's crash looks to occur because
$player.pokedex.tasks[<pokemonID>] isn't defined
Doing further testing with other pokemon added via debug doesn't get this crash.
I'm also using Modular Pokedex UI, I added the tasks. I guess the other expansions to that plugin as well. >_> they all seem to be playing not nicely...
Code:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `thresholds' for nil:NilClass
Backtrace:
[Pokedex Tasks] [001] Pokedex Tasks.rb:98:in `block in num_tasks_completed'
[Pokedex Tasks] [001] Pokedex Tasks.rb:95:in `each'
[Pokedex Tasks] [001] Pokedex Tasks.rb:95:in `num_tasks_completed'
[Pokedex Tasks] [001] Pokedex Tasks.rb:23:in `drawPageTasks'
[Modular UI Scenes] [001] Pokedex Handlers.rb:48:in `block in <main>'
[Modular UI Scenes] UI Module.rb:51:in `call'
[Modular UI Scenes] [002] Pokedex Rewrites.rb:75:in `drawPage'
[[MUI] Pokedex Data Page] [001] Page Setup.rb:127:in `drawPage'
[Pokedex Tasks] [001] Pokedex Tasks.rb:191:in `block in pbScene'
[Pokedex Tasks] [001] Pokedex Tasks.rb:113:in `loop'
I did an event to add regular mon via PB add pkmn
Code:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Script error in event 9 (coords 18,17), map 32 (Professor's Lab)
Exception: NoMethodError
Message: undefined method `last' for nil:NilClass
***Full script:
pbAddPokemon(:SABLEYE, 20)
Backtrace:
[Pokedex Tasks] [003] Pokedex.rb:40:in `increment_task_progress'
[Pokedex Tasks] [004] Utilities.rb:24:in `pbAddPokemon'
(eval):1:in `execute_script'
Interpreter:138:in `eval'
Interpreter:138:in `execute_script'
Interpreter_Commands:1177:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:130:in `block in update'
Interpreter:86:in `loop'
Interpreter:86:in `update'
Using modular UI to toggle the tabs on a pokedex screen...
Code:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
[Pokedex Tasks] [001] Pokedex Tasks.rb:216:in `block in pbCursorGoToNext'
[Pokedex Tasks] [001] Pokedex Tasks.rb:215:in `loop'
[Pokedex Tasks] [001] Pokedex Tasks.rb:215:in `pbCursorGoToNext'
[Pokedex Tasks] [001] Pokedex Tasks.rb:158:in `block in pbScene'
[Pokedex Tasks] [001] Pokedex Tasks.rb:113:in `loop'
[Pokedex Tasks] [001] Pokedex Tasks.rb:113:in `pbScene'
UI_Pokedex_Entry:584:in `pbStartScreen'
UI_Pokedex_Main:879:in `pbDexEntry'
UI_Pokedex_Main:1281:in `block (2 levels) in pbPokedex'
UI_Pokedex_Main:1257:in `loop'
Last edited: