View Single Post
  #324    
Old October 6th, 2012 (10:29 PM).
~JV~'s Avatar
~JV~ ~JV~ is offline
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 21
Nature: Relaxed
Posts: 714
Send a message via Skype™ to ~JV~
Code:
Exception: RuntimeError
Message: Undefined Trainer constant name: CAMPER
Name must consist only of letters, numbers, and
underscores and can't begin with a number.
In addition, the name must be defined
in trainertypes.txt.
File PBS/trainers.txt, line 1
CAMPER

Compiler:928:in `pbGetConst'
Compiler:970:in `parseTrainer'
Compiler:1382:in `pbCompileTrainers'
Compiler:1380:in `loop'
Compiler:1474:in `pbCompileTrainers'
Compiler:4052:in `pbCompileAllData'
Compiler:4170
I get this whenever I try to edit trainers.txt through notepad directly, and yes, I have CAMPER defined, so the solution isn't obious. That is an old essentials bug I guess... For some reason whenever the engine needs to compile the edited .txt it thinks something went wrong, I've searched the entire Compiler script for something but it just doesn't work...
Reply With Quote