- Joined
- Aug 12, 2024
- Posts
- 1
Hi , i have some problems with new moves AI, to be precise Ceaseless Edge and infernal parade:
Pokémon Essentials v21.1
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NameError
Message: undefined local variable or method `b' for main:Object
Backtrace:
[Generation 9 Pack] [002] AI New Move Rankings.rb:159:in `block in <main>' Event_Handlers:139:in `trigger'
Battle Al:111:in `apply_move_effect_against_target_score'
Al_ChooseMove:305:in `pbGetMoveScoreAgainstTarget'
Al_ChooseMove:245:in `block in pbGetMoveScore'
Al_ChooseMove:242:in `each'
Al_ChooseMove:242:in `pbGetMoveScore'
Al_ChooseMove:67:in `block (3 levels) in pbGetMoveScores'
PBDebug:6:in `logonerr
Al_ChooseMove:67:in `block (2 levels) in pbGetMoveScores'
I tried this on the vanilla version just with gen 9 plugin installed, it happens when hitting a pokemon that knows any of those moves , for "fixing" Ceaseless edge you can just remove the 'b' that causes the problem (i know its not a fix but my coding knowlwdge is not that great) however for infernal parade since the code for the AI is much longer i cant do the same
the game doesnt crash it just triggers a warning is there anyway i can fix this or disable the warning?
thanks in advance
EDIT:(deleting entirely the script for AI new moves kinda works but i think that just will cause more trouble in the future)
Pokémon Essentials v21.1
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NameError
Message: undefined local variable or method `b' for main:Object
Backtrace:
[Generation 9 Pack] [002] AI New Move Rankings.rb:159:in `block in <main>' Event_Handlers:139:in `trigger'
Battle Al:111:in `apply_move_effect_against_target_score'
Al_ChooseMove:305:in `pbGetMoveScoreAgainstTarget'
Al_ChooseMove:245:in `block in pbGetMoveScore'
Al_ChooseMove:242:in `each'
Al_ChooseMove:242:in `pbGetMoveScore'
Al_ChooseMove:67:in `block (3 levels) in pbGetMoveScores'
PBDebug:6:in `logonerr
Al_ChooseMove:67:in `block (2 levels) in pbGetMoveScores'
I tried this on the vanilla version just with gen 9 plugin installed, it happens when hitting a pokemon that knows any of those moves , for "fixing" Ceaseless edge you can just remove the 'b' that causes the problem (i know its not a fix but my coding knowlwdge is not that great) however for infernal parade since the code for the AI is much longer i cant do the same
the game doesnt crash it just triggers a warning is there anyway i can fix this or disable the warning?
thanks in advance
EDIT:(deleting entirely the script for AI new moves kinda works but i think that just will cause more trouble in the future)
Last edited: