- 20
- Posts
- 4
- Years
- Seen Jan 30, 2024
Sometimes when i edit, it's appear this error:
Exception: RuntimeError
Message: Undefined value SNOWBALL in PBItems
File PBS/pokemon.txt, section 810, key WildItemUncommon
SNOWBALL
Compiler:418:in `checkEnumField'
Compiler:403:in `csvEnumField!'
Compiler:1709:in `pbCompilePokemonData'
Compiler:1698:in `each'
Compiler:1698:in `pbCompilePokemonData'
Compiler:1695:in `loop'
Compiler:1775:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
In theory, i have the item value in PBItem, and there is no SNOWBALL value in pokemon.txt:
594,MARANGABERRY,Maranga Berry,Maranga Berries,5,20,"If held by a Pokémon, this Berry will increase the Pokémon's Special Defense stat when hit by a special attack",0,0,5,
595,SNOWBAL,Snowball,Snowballs,1,200,An item to be held by a Pokémon. It boosts Attack if hit with a Ice-type attack. It can only be used once.,0,0,0
596,REVERSECANDY,Reverse Candy,Reverse Candies,2,4800,A candy that is packed with a lack of energy. It lowers the level of a single Pokémon by one.,1,0,0,
Even when i delete everything (including the rows in scripts) the error still appear. I use v17 of essentials.
Exception: RuntimeError
Message: Undefined value SNOWBALL in PBItems
File PBS/pokemon.txt, section 810, key WildItemUncommon
SNOWBALL
Compiler:418:in `checkEnumField'
Compiler:403:in `csvEnumField!'
Compiler:1709:in `pbCompilePokemonData'
Compiler:1698:in `each'
Compiler:1698:in `pbCompilePokemonData'
Compiler:1695:in `loop'
Compiler:1775:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
In theory, i have the item value in PBItem, and there is no SNOWBALL value in pokemon.txt:
594,MARANGABERRY,Maranga Berry,Maranga Berries,5,20,"If held by a Pokémon, this Berry will increase the Pokémon's Special Defense stat when hit by a special attack",0,0,5,
595,SNOWBAL,Snowball,Snowballs,1,200,An item to be held by a Pokémon. It boosts Attack if hit with a Ice-type attack. It can only be used once.,0,0,0
596,REVERSECANDY,Reverse Candy,Reverse Candies,2,4800,A candy that is packed with a lack of energy. It lowers the level of a single Pokémon by one.,1,0,0,
Even when i delete everything (including the rows in scripts) the error still appear. I use v17 of essentials.