Pharetra
zzzz
- 451
- Posts
- 13
- Years
- Seen Apr 22, 2024
Hey everyone.
I recently got this error:
My guess is that it's related to some wrong data in one of the PBS files but I have no idea what to look for. I don't think it is related to the script itself as the parts I deleted from it didn't include the term "mappos".
What can cause this error? It only happens when viewing the NestMap of Pokémon that can be caught in the region and not when viewing it of Pokémon that are unavailable.
Thanks in advance.
EDIT: Nevermind. "mapppos" wasn't defined because "mappos" is defined. It's a typo and I don't know if it is in the unmodified version of Essentials as well. Just search for "mapppos" and change it to "mappos" if you've got the same error.
Wow I feel stupid.
I recently got this error:
Spoiler:
Exception: NameError
Message: undefined local variable or method `mapppos' for #<PokemonNestMapScene:0x960ab68>
PokemonNestAndForm:58:in `pbStartScene'
PokemonNestAndForm:57:in `each'
PokemonNestAndForm:57:in `pbStartScene'
PokemonNestAndForm:51:in `each'
PokemonNestAndForm:51:in `pbStartScene'
PokemonNestAndForm:136:in `pbStartScreen'
PokemonPokedex:821:in `pbDexEntry'
PokemonPokedex:756:in `loop'
PokemonPokedex:824:in `pbDexEntry'
PokemonPokedex:755:in `pbActivateWindow'
Message: undefined local variable or method `mapppos' for #<PokemonNestMapScene:0x960ab68>
PokemonNestAndForm:58:in `pbStartScene'
PokemonNestAndForm:57:in `each'
PokemonNestAndForm:57:in `pbStartScene'
PokemonNestAndForm:51:in `each'
PokemonNestAndForm:51:in `pbStartScene'
PokemonNestAndForm:136:in `pbStartScreen'
PokemonPokedex:821:in `pbDexEntry'
PokemonPokedex:756:in `loop'
PokemonPokedex:824:in `pbDexEntry'
PokemonPokedex:755:in `pbActivateWindow'
My guess is that it's related to some wrong data in one of the PBS files but I have no idea what to look for. I don't think it is related to the script itself as the parts I deleted from it didn't include the term "mappos".
What can cause this error? It only happens when viewing the NestMap of Pokémon that can be caught in the region and not when viewing it of Pokémon that are unavailable.
Thanks in advance.
EDIT: Nevermind. "mapppos" wasn't defined because "mappos" is defined. It's a typo and I don't know if it is in the unmodified version of Essentials as well. Just search for "mapppos" and change it to "mappos" if you've got the same error.
Wow I feel stupid.
Last edited: