- 2
- Posts
- 6
- Years
- Seen Dec 29, 2018
Hello! I'm getting an error whenever I'm using the following command to give the player Litten, which I have attempted to add in manually.
Command I'm trying to use :
https://imgur.com/a/LDgMW5L
Error I'm getting :
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
Compiler:1688:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
Compiler:1679:in `pbCompilePokemonData'
Compiler:1664:in `pbEachFileSection'
Compiler:197:in `pbEachFileSectionEx'
Compiler:165:in `each_line'
Compiler:165:in `pbEachFileSectionEx'
Compiler:197:in `pbEachFileSection'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
Compiler:1688:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
Compiler:1679:in `pbCompilePokemonData'
Compiler:1664:in `pbEachFileSection'
Compiler:197:in `pbEachFileSectionEx'
Compiler:165:in `each_line'
Compiler:165:in `pbEachFileSectionEx'
Compiler:197:in `pbEachFileSection'
[Pok?mon Essentials version 17]
Exception: NoMethodError
Message: undefined method `name' for nil:NilClass
PField_Field:408
PField_Field:402:in `call'
EventHandlers:54:in `trigger'
EventHandlers:49:in `each'
EventHandlers:49:in `trigger'
MapFactory:254:in `setMapChanging'
MapFactory:124:in `setup'
PScreen_Load:360:in `pbStartLoadScreen'
PScreen_Load:331:in `open'
PScreen_Load:331:in `pbStartLoadScreen'
Exception: NoMethodError
Message: undefined method `width' for nil:NilClass
PokemonLoad:165:in `pbSetParty'
PokemonLoad:334:in `pbStartLoadScreen'
Main:8:in `main'
Main:53:in `mainFunctionDebug'
Main:31:in `mainFunction'
Main:31:in `pbCriticalCode'
Main:31:in `mainFunction'
Main:63
Main:62:in `loop'
Main:71
Exception: RuntimeError
Message: Field Repels is not a positive integer
File PBS/items.txt, line 1
1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,
Compiler:219:in `csvPosInt!'
Compiler:476:in `pbGetCsvRecord'
Compiler:472:in `each'
Compiler:472:in `pbGetCsvRecord'
Compiler:817:in `pbCompileItems'
Compiler:816:in `pbCompilerEachCommentedLine'
Compiler:615:in `each_line'
Compiler:615:in `pbCompilerEachCommentedLine'
Compiler:612:in `open'
Compiler:612:in `pbCompilerEachCommentedLine'
Exception: RuntimeError
Message: Field Repels is not a positive integer
File PBS/items.txt, line 1
1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,
Compiler:219:in `csvPosInt!'
Compiler:476:in `pbGetCsvRecord'
Compiler:472:in `each'
Compiler:472:in `pbGetCsvRecord'
Compiler:817:in `pbCompileItems'
Compiler:816:in `pbCompilerEachCommentedLine'
Compiler:615:in `each_line'
Compiler:615:in `pbCompilerEachCommentedLine'
Compiler:612:in `open'
Compiler:612:in `pbCompilerEachCommentedLine'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:LITTEN,5)
Interpreter:243:in `pbExecuteScript'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'
PSystem_PokemonUtilities:79:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:161:in `update'
Scene_Map:159:in `loop'
Scene_Map:168:in `update'
Scene_Map:232:in `main'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:LITTEN,5)
Interpreter:243:in `pbExecuteScript'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'
PSystem_PokemonUtilities:79:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:161:in `update'
Scene_Map:159:in `loop'
Scene_Map:168:in `update'
Scene_Map:232:in `main'
I do have the shape added for Litten in my PBS files under Color= set to Shape=0, so I'm not sure why i'm still getting the original error message. Any info on what I should do? Thanks.
Command I'm trying to use :
https://imgur.com/a/LDgMW5L
Error I'm getting :
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
Compiler:1688:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
Compiler:1679:in `pbCompilePokemonData'
Compiler:1664:in `pbEachFileSection'
Compiler:197:in `pbEachFileSectionEx'
Compiler:165:in `each_line'
Compiler:165:in `pbEachFileSectionEx'
Compiler:197:in `pbEachFileSection'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
Compiler:1688:in `pbCompilePokemonData'
Compiler:1680:in `each'
Compiler:1680:in `pbCompilePokemonData'
Compiler:1679:in `each'
Compiler:1679:in `pbCompilePokemonData'
Compiler:1664:in `pbEachFileSection'
Compiler:197:in `pbEachFileSectionEx'
Compiler:165:in `each_line'
Compiler:165:in `pbEachFileSectionEx'
Compiler:197:in `pbEachFileSection'
[Pok?mon Essentials version 17]
Exception: NoMethodError
Message: undefined method `name' for nil:NilClass
PField_Field:408
PField_Field:402:in `call'
EventHandlers:54:in `trigger'
EventHandlers:49:in `each'
EventHandlers:49:in `trigger'
MapFactory:254:in `setMapChanging'
MapFactory:124:in `setup'
PScreen_Load:360:in `pbStartLoadScreen'
PScreen_Load:331:in `open'
PScreen_Load:331:in `pbStartLoadScreen'
Exception: NoMethodError
Message: undefined method `width' for nil:NilClass
PokemonLoad:165:in `pbSetParty'
PokemonLoad:334:in `pbStartLoadScreen'
Main:8:in `main'
Main:53:in `mainFunctionDebug'
Main:31:in `mainFunction'
Main:31:in `pbCriticalCode'
Main:31:in `mainFunction'
Main:63
Main:62:in `loop'
Main:71
Exception: RuntimeError
Message: Field Repels is not a positive integer
File PBS/items.txt, line 1
1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,
Compiler:219:in `csvPosInt!'
Compiler:476:in `pbGetCsvRecord'
Compiler:472:in `each'
Compiler:472:in `pbGetCsvRecord'
Compiler:817:in `pbCompileItems'
Compiler:816:in `pbCompilerEachCommentedLine'
Compiler:615:in `each_line'
Compiler:615:in `pbCompilerEachCommentedLine'
Compiler:612:in `open'
Compiler:612:in `pbCompilerEachCommentedLine'
Exception: RuntimeError
Message: Field Repels is not a positive integer
File PBS/items.txt, line 1
1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,
Compiler:219:in `csvPosInt!'
Compiler:476:in `pbGetCsvRecord'
Compiler:472:in `each'
Compiler:472:in `pbGetCsvRecord'
Compiler:817:in `pbCompileItems'
Compiler:816:in `pbCompilerEachCommentedLine'
Compiler:615:in `each_line'
Compiler:615:in `pbCompilerEachCommentedLine'
Compiler:612:in `open'
Compiler:612:in `pbCompilerEachCommentedLine'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:LITTEN,5)
Interpreter:243:in `pbExecuteScript'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'
PSystem_PokemonUtilities:79:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:161:in `update'
Scene_Map:159:in `loop'
Scene_Map:168:in `update'
Scene_Map:232:in `main'
[Pok?mon Essentials version 17]
Exception: RuntimeError
Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:LITTEN,5)
Interpreter:243:in `pbExecuteScript'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'
PSystem_PokemonUtilities:79:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:161:in `update'
Scene_Map:159:in `loop'
Scene_Map:168:in `update'
Scene_Map:232:in `main'
I do have the shape added for Litten in my PBS files under Color= set to Shape=0, so I'm not sure why i'm still getting the original error message. Any info on what I should do? Thanks.