This RuntimeError i dont how to solve

FunnySpriter

Novice
Member
Joined
May 27, 2018
Posts
14
Exception: RuntimeError
Message: Script error within event 22, map 111 (Viridian City Mart):
Exception: ArgumentError
Message: Section135:787:in `pbStoreItem'The item number is invalid.
***Full script:
$PokemonBag.pbStoreItem(:PARCEL,1)
Interpreter:243:in `pbExecuteScript'
(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:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103: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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Exception: RuntimeError
Message: Script error within event 1, map 80 (Pokémon Lab):
Exception: ArgumentError
Message: Section135:721:in `pbQuantity'The item number is invalid.
***Full script:
$PokemonBag.pbHasItem?(:PARCEL)
Interpreter:243:in `pbExecuteScript'
PScreen_Bag:731:in `pbHasItem?'
(eval):1:in `pbExecuteScript'
Interpreter:794:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Exception: FmodEx::Error
Message: Section048:186:in `initialize'FMOD error! (25) Unsupported file or audio format.
EliteBattle_7:68:in `pbAnimation'
RGSS Linker FmodEx:186:in `se_play'
RGSS Linker FmodEx:186:in `se_play'
Game_System:257:in `se_play'
AudioPlay:207:in `pbSEPlay'
EliteBattle_7:5647:in `pbMoveAnimationSpecific525'
EliteBattle_7:5644:in `each'
EliteBattle_7:5644:in `pbMoveAnimationSpecific525'
(eval):1:in `pbAnimation'
PokeBattle_Battle:2385:in `eval'
Exception: RuntimeError
Message: Script error within event 2, map 426 (Route 11 gate upstairs):
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
(:ITEMFINDER,1)
^
***Line '(:ITEMFINDER,1)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
$PokemonBag.pbStoreItem
(:ITEMFINDER,1)

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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Exception: RuntimeError
Message: filename is nil
SpriteWindow:218:in `initialize'
Pokemon_Sprites:188:in `new'
Pokemon_Sprites:188:in `pokemon='
Pokemon_Sprites:174:in `initialize'
PScreen_Party:247:in `new'
PScreen_Party:247:in `initialize'
PScreen_Party:517:in `new'
PScreen_Party:517:in `pbStartScene_ebs'
PScreen_Party:515:in `each'
PScreen_Party:515:in `pbStartScene_ebs'
Exception: Errno::ENOENT
Message: File Graphics/Icons/frlg_male not found.
DrawText:704:in `initialize'
DrawText:704:in `new'
DrawText:704:in `getFormattedText'
SpriteWindow:3588:in `setText'
SpriteWindow:3531:in `text='
Messages:1415:in `pbMessageDisplay'
Messages:1005:in `pbMessage'
Messages:649:in `command_101'
Interpreter:304:in `execute_command'
Interpreter:193:in `update'
Exception: NoMethodError
Message: undefined method `[]=' for nil:NilClass
PScreen_Storage:93:in `[]='
Debug:414:in `pbDebugMenu'
Debug:406:in `each'
Debug:406:in `pbDebugMenu'
Debug:296:in `loop'
Debug:826:in `pbDebugMenu'
Debug:960:in `main'
Main:557:in `mainFunctionDebug'
Main:535:in `mainFunction'
Main:535:in `pbCriticalCode'
Exception: NoMethodError
Message: undefined method `[]=' for nil:NilClass
PScreen_Storage:93:in `[]='
Debug:414:in `pbDebugMenu'
Debug:406:in `each'
Debug:406:in `pbDebugMenu'
Debug:296:in `loop'
Debug:826:in `pbDebugMenu'
Debug:960:in `main'
Main:557:in `mainFunctionDebug'
Main:535:in `mainFunction'
Main:535:in `pbCriticalCode'
 

leilou

A wild Minun appeared!
Member
Joined
May 17, 2017
Posts
223
Exception: RuntimeError
Message: Script error within event 22, map 111 (Viridian City Mart):
Exception: ArgumentError
Message: Section135:787:in `pbStoreItem'The item number is invalid.
***Full script:
$PokemonBag.pbStoreItem(:PARCEL,1)
Interpreter:243:in `pbExecuteScript'
(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:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103: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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'

Exception: RuntimeError
Message: Script error within event 1, map 80 (Pokémon Lab):
Exception: ArgumentError
Message: Section135:721:in `pbQuantity'The item number is invalid.
***Full script:
$PokemonBag.pbHasItem?(:PARCEL)
Interpreter:243:in `pbExecuteScript'
PScreen_Bag:731:in `pbHasItem?'
(eval):1:in `pbExecuteScript'
Interpreter:794:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
these 2 errors seem to be happening because the game doesn't know the item PARCEL. Is it properly defined in the items.txt file?


Exception: RuntimeError
Message: Script error within event 2, map 426 (Route 11 gate upstairs):
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
(:ITEMFINDER,1)
^
***Line '(:ITEMFINDER,1)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
$PokemonBag.pbStoreItem
(:ITEMFINDER,1)

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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
in the event you seem to have wrote:
Code:
$PokemonBag.pbStoreItem
(:ITEMFINDER,1)
what you need to do is:
Code:
$PokemonBag.pbStoreItem(
:ITEMFINDER,1)


Exception: Errno::ENOENT
Message: File Graphics/Icons/frlg_male not found.
DrawText:704:in `initialize'
DrawText:704:in `new'
DrawText:704:in `getFormattedText'
SpriteWindow:3588:in `setText'
SpriteWindow:3531:in `text='
Messages:1415:in `pbMessageDisplay'
Messages:1005:in `pbMessage'
Messages:649:in `command_101'
Interpreter:304:in `execute_command'
Interpreter:193:in `update'
does the picture frlg_male in the Graphice/Icons folder exist?


For the other errors some more info of when they are happening or what you altered for them to happen might help. Maybe even have multiple threads for your multiple problems.
 
Top