- 2
- Posts
- 6
- Years
- Seen Jun 30, 2024
I wanted to add a new trainer to Pokémon Xenoverse. However, whenever I start the event, I get an error saying the trainer type isn't valid. If you can figure out what's wrong, I would appreciate it. I will post the error, as well as the trainers.txt and trainertypes.txt. The new trainer Lovrina, is at the very bottom of both text files.
---------------------------
Xenoverse
---------------------------
Exception: RuntimeError
Message: Script error within event 16, map 36 (Nova Ranch):
Exception: NameError
Message: (eval):3200:in `const_get'The trainer type 'LOVRINA' is not valid. Please add the trainer
to the list of trainer types in the Editor. See the wiki for
more information.
***Full script:
pbTrainerIntro(:LOVRINA)
Kernel.pbNoticePlayer(get_character(0))
fbNewMugshot("Lovrina","allenatori/lovrina","default",:left)
fbEnable(true)
fbText("Well, what a coincidence.
Imagine seeing you here. This time
I'm not losing though.")
fbEnable(false)
fbDispose
(eval):243:in `pbExecuteScript'
(eval):3200:in `pbTrainerIntro'
(eval):1:in `pbExecuteScript'
(eval):1606:in `eval'
(eval):243:in `pbExecuteScript'
(eval):1606:in `command_355'
(eval):494:in `execute_command'
(eval):193:in `update'
(eval):106:in `loop'
(eval):198:in `update'
(eval):276:in `pbExecuteScript'
(eval):1606:in `command_355'
(eval):494:in `execute_command'
(eval):193:in `update'
(eval):106:in `loop'
(eval):198:in `update'
(eval):107:in `zer0_choice_window_upd'
(eval):105:in `loop'
(eval):118:in `zer0_choice_window_upd'
(eval):35:in `update'
---------------------------
Xenoverse
---------------------------
Exception: RuntimeError
Message: Script error within event 16, map 36 (Nova Ranch):
Exception: NameError
Message: (eval):3200:in `const_get'The trainer type 'LOVRINA' is not valid. Please add the trainer
to the list of trainer types in the Editor. See the wiki for
more information.
***Full script:
pbTrainerIntro(:LOVRINA)
Kernel.pbNoticePlayer(get_character(0))
fbNewMugshot("Lovrina","allenatori/lovrina","default",:left)
fbEnable(true)
fbText("Well, what a coincidence.
Imagine seeing you here. This time
I'm not losing though.")
fbEnable(false)
fbDispose
(eval):243:in `pbExecuteScript'
(eval):3200:in `pbTrainerIntro'
(eval):1:in `pbExecuteScript'
(eval):1606:in `eval'
(eval):243:in `pbExecuteScript'
(eval):1606:in `command_355'
(eval):494:in `execute_command'
(eval):193:in `update'
(eval):106:in `loop'
(eval):198:in `update'
(eval):276:in `pbExecuteScript'
(eval):1606:in `command_355'
(eval):494:in `execute_command'
(eval):193:in `update'
(eval):106:in `loop'
(eval):198:in `update'
(eval):107:in `zer0_choice_window_upd'
(eval):105:in `loop'
(eval):118:in `zer0_choice_window_upd'
(eval):35:in `update'