- Joined
- Sep 29, 2020
- Posts
- 173
I already compile and place plugins in right placeI think that error would only show if you haven't installed the plugin correctly/compiled your plugins.
and insert the command like on example
still got error like this :
Code:
[2022-10-19 19:19:28 +0700]
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.5]
Script error in event 13 (coords 7,5), map 15 (Home)
Exception: NoMethodError
Message: undefined method `each_with_index' for "suggested":String
***Full script:
pkmn = pbChooseRandomPokemon(
blackList="suggested",
base_only=true,
use_gen=nil)
pbAddPokemon(pkmn, 20)
Backtrace:
[Random Pokemon Selector] 001_Random_Pokemon_Selector.rb:31:in `pbChooseRandomPokemon'
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'
Interpreter:90:in `loop'
Interpreter:90:in `update'
[Following Pokemon EX] Refresh.rb:255:in `update'
Edit : Nvm solved
I just insert the command like this :
Code:
pkmn = pbChooseRandomPokemon
blackList = "suggested",
base_only = true
Code:
pbAddPokemon(pkmn, 20)
Maybe in v20.1 need to update for the command, I'm just remove the
Code:
()
Code:
=
Last edited: