• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Error while updating?

PokemonPlatnum

nomnomnom.
257
Posts
16
Years
I was updating from Version 10 to Version 11 and during compiling, this error arises:

Code:
---------------------------
Pokémon: Ultramarine Version Alpha 0.125
---------------------------
Exception: RuntimeError

Message: Undefined value Black2 in PBTrainers

File PBS/metadata.txt, section 0, key PlayerA

Black2,Black2,BlackBike,,boy_surf,BlackRun,boy_dive



Compiler:1595:in `checkEnumField'

Compiler:1619:in `csvEnumField!'

Compiler:526:in `pbGetCsvRecord'

Compiler:472:in `each'

Compiler:472:in `pbGetCsvRecord'

Compiler:792:in `pbCompileMetadata'

Compiler:763:in `pbCompilerEachCommentedLine'

Compiler:615:in `each_line'

Compiler:615:in `pbCompilerEachCommentedLine'

Compiler:612:in `open'



This exception was logged in 

C:\Users\Home\Saved Games/Pokémon_ Ultramarine Version Alpha 0_125/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK   
---------------------------

What have I done wrong? Thanks.
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
You don't have a defined trainer type with the internal name "Black2" (note the capitalisation, or rather, lack thereof). Internal names are typically in all caps for convenience. Edit trainertypes.txt and/or the problem line to make sure the internal name of the desired trainer type is being used in all places, and with the correct capitalisation.

Also note that the contents of the player lines is rearranged compared to what you're using.
 
Back
Top