Hello I'm trying to make NCP for Tread but when I try to tread I got this error please help me to solve.......
thanks in advance.....
error log in spoiler.
[2021-11-03 19:59:29 +0530]
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.0]
[v19.1 Hotfixes 1.0.7]
[EBDX v1.2.5]
Exception: RuntimeError
Message: Script error in event 10 (coords 2,2), map 111 (House 2):
Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 0)
***Full script:
p=Pokemon.new(:JYNX,
pbGetPokemon(1).level,$Trainer)
p.item=:FABMAIL
p.mail=PokemonMail.new(:FABMAIL,"THAT'S A\nHEALTHY JYNX\n! BE\nKIND TO\nIT","From DONTAE")
p.setGender(1) # Female
p.setAbility(0) # Oblivious
p.setNature(:MILD)
p.iv=[18,17,18,22,25,21]
p.trainerID=36728
p.calcStats
pbStartTrade(pbGet(1),p,"ZYNX","DONTAE",1)
Backtrace:
(eval):4:in `initialize'
(eval):4:in `new'
(eval):4:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
thanks in advance.....
error log in spoiler.
Spoiler:
[2021-11-03 19:59:29 +0530]
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.0]
[v19.1 Hotfixes 1.0.7]
[EBDX v1.2.5]
Exception: RuntimeError
Message: Script error in event 10 (coords 2,2), map 111 (House 2):
Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 0)
***Full script:
p=Pokemon.new(:JYNX,
pbGetPokemon(1).level,$Trainer)
p.item=:FABMAIL
p.mail=PokemonMail.new(:FABMAIL,"THAT'S A\nHEALTHY JYNX\n! BE\nKIND TO\nIT","From DONTAE")
p.setGender(1) # Female
p.setAbility(0) # Oblivious
p.setNature(:MILD)
p.iv=[18,17,18,22,25,21]
p.trainerID=36728
p.calcStats
pbStartTrade(pbGet(1),p,"ZYNX","DONTAE",1)
Backtrace:
(eval):4:in `initialize'
(eval):4:in `new'
(eval):4:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
Last edited: