Advertiser Content

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 2 Hours Ago
Posted 13 Hours Ago
619 posts
328 Days
Olá pessoal.

Estou utilizando a versão 17.2 e quando eu saio da casa do protagonista me da os seguintes erros:
Scripts que implementei no projeto.
Gostaria de orientações sobre o que fazer quando é NoMethodError, RuntimeError etc. Haveria um tutorial?

ENGLISH:
Hi everyone! Im usin v17.2 and when i leave house, open that notepad.
Scripts than im usin:
Have a tutorial teachin how to fix when NoMethodError, RuntimeError etc?

BW custom
BW party
BW summary
Custom locations
BW2 options scene
Receive item scene
BW LoadScript
BW ModeGame
BW Menu
BW2 Pokedex
BW2 SAVE
BWTRAINER CARD
BW REGISTERITEM
BW TRANSITIONS
MOUSEINGAME
Replace Party Pokemon
Wild Item Drops
Mousestorage


[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'
SpriteWindow:497:in `pbDisposeSprite'
SpriteWindow:486:in `pbDisposeSpriteHash'
SpriteWindow:485:in `each'
SpriteWindow:485:in `pbDisposeSpriteHash'
PokemonBag:174:in `pbEndScene'
PokemonBag:610:in `pbStartScreen'
PScreen_PauseMenu:189:in `pbStartPokemonMenu'
PScreen_PauseMenu:186:in `pbFadeOutIn'
PScreen_PauseMenu:186:in `pbStartPokemonMenu'
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'
SpriteWindow:497:in `pbDisposeSprite'
SpriteWindow:486:in `pbDisposeSpriteHash'
SpriteWindow:485:in `each'
SpriteWindow:485:in `pbDisposeSpriteHash'
PokemonBag:174:in `pbEndScene'
PokemonBag:610:in `pbStartScreen'
PScreen_PauseMenu:189:in `pbStartPokemonMenu'
PScreen_PauseMenu:186:in `pbFadeOutIn'
PScreen_PauseMenu:186:in `pbStartPokemonMenu'

[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'
SpriteWindow:497:in `pbDisposeSprite'
SpriteWindow:486:in `pbDisposeSpriteHash'
SpriteWindow:485:in `each'
SpriteWindow:485:in `pbDisposeSpriteHash'
PokemonBag:174:in `pbEndScene'
PokemonBag:610:in `pbStartScreen'
PScreen_PauseMenu:189:in `pbStartPokemonMenu'
PScreen_PauseMenu:186:in `pbFadeOutIn'
PScreen_PauseMenu:186:in `pbStartPokemonMenu'
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'
SpriteWindow:497:in `pbDisposeSprite'
SpriteWindow:486:in `pbDisposeSpriteHash'
SpriteWindow:485:in `each'
SpriteWindow:485:in `pbDisposeSpriteHash'
PokemonBag:174:in `pbEndScene'
PokemonBag:610:in `pbStartScreen'
PScreen_PauseMenu:189:in `pbStartPokemonMenu'
PScreen_PauseMenu:186:in `pbFadeOutIn'
PScreen_PauseMenu:186:in `pbStartPokemonMenu'
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'
SpriteWindow:497:in `pbDisposeSprite'
SpriteWindow:486:in `pbDisposeSpriteHash'
SpriteWindow:485:in `each'
SpriteWindow:485:in `pbDisposeSpriteHash'
PokemonBag:174:in `pbEndScene'
PokemonBag:610:in `pbStartScreen'
PScreen_PauseMenu:189:in `pbStartPokemonMenu'
PScreen_PauseMenu:186:in `pbFadeOutIn'
PScreen_PauseMenu:186:in `pbStartPokemonMenu'

[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 6 (coords 10,4), map 4 (Pokémon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:918:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:NOIBAT,1)

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:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 17 (coords 25,8), map 3 (MARIANA's house):
Exception: NoMethodError
Message: (eval):1:in `pbExecuteScript'undefined method `pbPokemonFollow' for #<Interpreter:0x999d8f8>
***Full script:
pbPokemonFollow(016)

Interpreter:243: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:163:in `update'
Scene_Map:161:in `loop'

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:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
Exception: NoMethodError
Message: undefined method `>' for nil:NilClass
Game_Map:272:in `playerPassable?'
Game_Map:252:in `each'
Game_Map:252:in `playerPassable?'
Game_Map:188:in `passable?'
Game_Character:108:in `passableEx?'
Game_Character:127:in `passable?'
Game_Player:248:in `passable?'
Walk_Run:49:in `character_name'
Sprite_Character:81:in `update_or'
Tilemap_Perspective:429:in `shadow_update'
Exception: NoMethodError
Message: undefined method `>' for nil:NilClass
Game_Map:272:in `playerPassable?'
Game_Map:252:in `each'
Game_Map:252:in `playerPassable?'
Game_Map:188:in `passable?'
Game_Character:108:in `passableEx?'
Game_Character:127:in `passable?'
Game_Player:248:in `passable?'
Walk_Run:49:in `character_name'
Sprite_Character:81:in `update_or'
Tilemap_Perspective:429:in `shadow_update'
Exception: NoMethodError
Message: undefined method `>' for nil:NilClass
Game_Map:272:in `playerPassable?'
Game_Map:252:in `each'
Game_Map:252:in `playerPassable?'
Game_Map:188:in `passable?'
Game_Character:108:in `passableEx?'
Game_Character:127:in `passable?'
Game_Player:248:in `passable?'
Walk_Run:49:in `character_name'
Sprite_Character:81:in `update_or'
Tilemap_Perspective:429:in `shadow_update'
Exception: TypeError
Message: cannot convert Range into Integer
Intl_Messages:740:in `sprintf'
Intl_Messages:740:in `_ISPRINTF'
Intl_Messages:739:in `gsub!'
Intl_Messages:739:in `_ISPRINTF'
Intl_Messages:738:in `each'
Intl_Messages:738:in `_ISPRINTF'
PScreen_TrainerCard:60:in `pbDrawTrainerCardFront'
PScreen_TrainerCard:30:in `pbStartScene'
PScreen_TrainerCard:105:in `pbStartScreen'
PokemonMenu_Scene:549:in `trainerCard'
Exception: TypeError
Message: cannot convert Range into Integer
Intl_Messages:740:in `sprintf'
Intl_Messages:740:in `_ISPRINTF'
Intl_Messages:739:in `gsub!'
Intl_Messages:739:in `_ISPRINTF'
Intl_Messages:738:in `each'
Intl_Messages:738:in `_ISPRINTF'
PScreen_TrainerCard:60:in `pbDrawTrainerCardFront'
PScreen_TrainerCard:30:in `pbStartScene'
PScreen_TrainerCard:105:in `pbStartScreen'
PokemonMenu_Scene:549:in `trainerCard'
Exception: TypeError
Message: cannot convert Range into Integer
Intl_Messages:740:in `sprintf'
Intl_Messages:740:in `_ISPRINTF'
Intl_Messages:739:in `gsub!'
Intl_Messages:739:in `_ISPRINTF'
Intl_Messages:738:in `each'
Intl_Messages:738:in `_ISPRINTF'
PScreen_TrainerCard:60:in `pbDrawTrainerCardFront'
PScreen_TrainerCard:30:in `pbStartScene'
PScreen_TrainerCard:105:in `pbStartScreen'
PokemonMenu_Scene:549:in `trainerCard'
Exception: TypeError
Message: cannot convert Range into Integer
Intl_Messages:740:in `sprintf'
Intl_Messages:740:in `_ISPRINTF'
Intl_Messages:739:in `gsub!'
Intl_Messages:739:in `_ISPRINTF'
Intl_Messages:738:in `each'
Intl_Messages:738:in `_ISPRINTF'
PScreen_TrainerCard:60:in `pbDrawTrainerCardFront'
PScreen_TrainerCard:30:in `pbStartScene'
PScreen_TrainerCard:105:in `pbStartScreen'
PokemonMenu_Scene:549:in `trainerCard'
Exception: TypeError
Message: cannot convert Range into Integer
Intl_Messages:740:in `sprintf'
Intl_Messages:740:in `_ISPRINTF'
Intl_Messages:739:in `gsub!'
Intl_Messages:739:in `_ISPRINTF'
Intl_Messages:738:in `each'
Intl_Messages:738:in `_ISPRINTF'
PScreen_TrainerCard:60:in `pbDrawTrainerCardFront'
PScreen_TrainerCard:30:in `pbStartScene'
PScreen_TrainerCard:105:in `pbStartScreen'
PokemonMenu_Scene:549:in `trainerCard'
Exception: RuntimeError
Message: Script error within event 2, map 25 (Lerucean Town Mart):
Exception: TypeError
Message: Section162:854:in `[]'cannot convert String into Integer
***Full script:
pbPokemonMart([
:POKEBALL,
:POTION
])

Interpreter:243:in `pbExecuteScript'
PSystem_Utilities:854:in `pbStoreItem'
PSystem_Utilities:848:in `each'
PSystem_Utilities:848:in `pbStoreItem'
BagCustom:1292:in `pbStoreItem'
CustomPOKEMART:60:in `addItem'
CustomPOKEMART:712:in `pbBuyScreen'
CustomPOKEMART:711:in `times'
CustomPOKEMART:711:in `pbBuyScreen'
CustomPOKEMART:678:in `loop'

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: NoMethodError
Message: undefined method `pbShowAnimation' for #<MainPokedex:0x9a94298>
BW2Pokedex:852:in `update'
BW2Pokedex:351:in `initialize'
BW2Pokedex:293:in `new'
BW2Pokedex:293:in `startMainPokedex'
BW2Pokedex:271:in `update'
BW2Pokedex:256:in `initialize'
BW2Menu:522:in `new'
BW2Menu:522:in `pokeDex'
BW2Menu:482:in `pbMenuInput'
BW2Menu:174:in `pbMenuLoop'
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
BWESTACOES:122:in `pbChangeSeason'
BWESTACOES:273:in `initialize'
LoadScript:467:in `new'
LoadScript:467:in `pbStartLoadScreen'
LoadScript:392:in `loop'
LoadScript:528:in `pbStartLoadScreen'
Main:6:in `main'
Main:49:in `mainFunctionDebug'
Main:27:in `mainFunction'
Main:27:in `pbCriticalCode'
Exception: NoMethodError
Message: undefined method `pbShowAnimation' for #<MainPokedex:0x9ea52c8>
BW2Pokedex:866:in `update'
BW2Pokedex:351:in `initialize'
BW2Pokedex:293:in `new'
BW2Pokedex:293:in `startMainPokedex'
BW2Pokedex:271:in `update'
BW2Pokedex:256:in `initialize'
BW2Menu:522:in `new'
BW2Menu:522:in `pokeDex'
BW2Menu:448:in `pbMenuInput'
BW2Menu:441:in `each'
Exception: NoMethodError
Message: undefined method `spriteset' for #<Scene_Debug:0x90a0c88>
Following Pokemon:169:in `refresh_sprite'
Following Pokemon:168:in `each'
Following Pokemon:168:in `refresh_sprite'
Following Pokemon:931:in `access'
PScreen_Storage:3027:in `callCommand'
PScreen_Storage:3024:in `each'
PScreen_Storage:3024:in `callCommand'
Following Pokemon:943:in `pbPokeCenterPC'
Following Pokemon:939:in `loop'
Following Pokemon:946:in `pbPokeCenterPC'
Exception: NameError
Message: undefined local variable or method `retTimeFormatOne' for nil:NilClass
BW2SAVE:71:in `pbEmergencySave'
Main:53:in `mainFunctionDebug'
Main:27:in `mainFunction'
Main:27:in `pbCriticalCode'
Main:27:in `mainFunction'
Main:59
Main:58:in `loop'
Main:67
Exception: NameError
Message: undefined local variable or method `retTimeFormatOne' for nil:NilClass
BW2SAVE:71:in `pbEmergencySave'
Main:53:in `mainFunctionDebug'
Main:27:in `mainFunction'
Main:27:in `pbCriticalCode'
Main:27:in `mainFunction'
Main:59
Main:58:in `loop'
Main:67
Alguem poderia me ajudar como posso consertar? Digo, tutoriais de como resolver quando o script dá "X" advertência etc.

Obrigado!

Diverscope

Pardon me

Male
Germany
Seen 10 Hours Ago
Posted 2 Weeks Ago
139 posts
6.3 Years
Oh my...

You have many scripts, some of them aren't even made for v17. Also, the namy only doesn't help much. For instance there are multiple Scripts that add a gamemode to your game. So we don't know which script you're using. At this rate nobody can and will help you, beaucse noone will be digging through all this code and fix your problems.

So here's my suggestion: Add one script at the time and look if it's compatible with your essentials version. If so, you can add the next script. If a error appears, try to locate it und see what could be possibly wrong with it. Then repeat.

If you get stuck, maybe someone here can help you. But no one will download all the scripts, look at their copy and tell you what could be wrong with your game.

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 2 Hours Ago
Posted 13 Hours Ago
619 posts
328 Days
Oh my...

You have many scripts, some of them aren't even made for v17. Also, the namy only doesn't help much. For instance there are multiple Scripts that add a gamemode to your game. So we don't know which script you're using. At this rate nobody can and will help you, beaucse noone will be digging through all this code and fix your problems.

So here's my suggestion: Add one script at the time and look if it's compatible with your essentials version. If so, you can add the next script. If a error appears, try to locate it und see what could be possibly wrong with it. Then repeat.

If you get stuck, maybe someone here can help you. But no one will download all the scripts, look at their copy and tell you what could be wrong with your game.
I got it. I will do that! (Its what i do now uhahuahuahu...)

Ty ty <3

Also, please use English. No other languages are allowed in normal threads.
Ok Marin! :D

So, when i find the issue, i will edit the post. Im deletin every script and i will make one by one.

See ya!

Scopulus

Male
Bay Saint Louis
Seen August 29th, 2018
Posted August 29th, 2018
9 posts
323 Days
Olá pessoal.

[code]
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `dispose' for nil:NilClass
PScreen_Bag:18:in `dispose'

[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 6 (coords 10,4), map 4 (Pokémon Lab):
Exception: ArgumentError
Message: PokeBattle_Pokemon:918:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
***Full script:
pbAddPokemon(:NOIBAT,1)
Hello WolfPP,

You have a lot of different errors in there - far too many to provide help - try fixing one at a time or as 'Diverscope' previously stated - start fresh and add small (error-checking as you proceed) - The errors will point you to the problems (always try to tackle them yourself first) and people are more willing to help fix the little things.

Many of your erros are in PScreen_Bag on line 18 - dispose is being called but apparently undefined.

You also have a script error "within event 6 (coords 10,4), map 4 (Pokémon Lab)" - the species is not recognized as valid. (This is likely a simple fix & a good place to start.)
Male
Brazil
Seen 1 Week Ago
Posted 1 Week Ago
14 posts
240 Days
Hello WolfPP,

You have a lot of different errors in there - far too many to provide help - try fixing one at a time or as 'Diverscope' previously stated - start fresh and add small (error-checking as you proceed) - The errors will point you to the problems (always try to tackle them yourself first) and people are more willing to help fix the little things.

Many of your erros are in PScreen_Bag on line 18 - dispose is being called but apparently undefined.

You also have a script error "within event 6 (coords 10,4), map 4 (Pokémon Lab)" - the species is not recognized as valid. (This is likely a simple fix & a good place to start.)
I have the same problem with PScreen_Bag. Do you have any idea how to solve it?

I do not understand anything about Ruby.

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 2 Hours Ago
Posted 13 Hours Ago
619 posts
328 Days
I understand your desperation for wanting this script to work in your game, however there is no reason for you to flood. Have patience until someone answers or wait 3 days to reiterate if no one answers.
Also, if you used more google search instead of asking for a solution in the face, you would probably find:

https://www.pokecommunity.com/showthread.php?t=416860
Male
Brazil
Seen 1 Week Ago
Posted 1 Week Ago
14 posts
240 Days
I understand your desperation for wanting this script to work in your game, however there is no reason for you to flood. Have patience until someone answers or wait 3 days to reiterate if no one answers.
Also, if you used more google search instead of asking for a solution in the face, you would probably find:

https://www.pokecommunity.com/showthread.php?t=416860
I'm sorry. I just put the error in google, which gave in your post. Thank for the link.
Advertiser Content