• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Pokemon Essentials v18 Pokedex not woking

I've done so, but I still receive the error. Weirdly, it only happens when I open the regional dex; the national dex works perfectly fine.
My code is completely different now, I need to see your code.
Can you post the code of the script PScreen_PokedexMain (or, if you're using a Github release, the script 017_UI/003_PScreen_PokedexMain.rb)?
And also, can you post a screenshot of the error?
 
My code is completely different now, I need to see your code.
Can you post the code of the script PScreen_PokedexMain (or, if you're using a Github release, the script 017_UI/003_PScreen_PokedexMain.rb)?
And also, can you post a screenshot of the error?
Sorry for the delay.

Here is the code:

Here is the error:
[PokeCommunity.com] Pokemon Essentials v18 Pokedex not woking
 
Sorry for the delay.

Here is the code:

Here is the error:
View attachment 175642
For some reason, you have a Pokémon that is not correctly added to your database.
At line 278, replace:
Code:
        color  = speciesData[fspecies][SpeciesColor] || 0
with:
Code:
        begin 
        color  = speciesData[fspecies][SpeciesColor] || 0
        except 
        raise _INTL("Missing Pokémon: form {1} of species {2}, ID is {3}", 
        form, nationalSpecies, fspecies)
        end
This should generate an error with more information.
 
For some reason, you have a Pokémon that is not correctly added to your database.
At line 278, replace:
Code:
        color  = speciesData[fspecies][SpeciesColor] || 0
with:
Code:
        begin
        color  = speciesData[fspecies][SpeciesColor] || 0
        except
        raise _INTL("Missing Pokémon: form {1} of species {2}, ID is {3}",
        form, nationalSpecies, fspecies)
        end
This should generate an error with more information.
It seems like I'm getting a different error with the added code.
[PokeCommunity.com] Pokemon Essentials v18 Pokedex not woking

Here is the added code to the pokemon.txt file:

 
For some reason, you have a Pokémon that is not correctly added to your database.
At line 278, replace:
Code:
        color  = speciesData[fspecies][SpeciesColor] || 0
with:
Code:
        begin
        color  = speciesData[fspecies][SpeciesColor] || 0
        except
        raise _INTL("Missing Pokémon: form {1} of species {2}, ID is {3}",
        form, nationalSpecies, fspecies)
        end
This should generate an error with more information.
So I did a little more testing. I've replaced all of the Pokemon data with the default files, started a new game and replaced "except" with "rescue." I still receive the same error as before without the added code, and this is what I get with the added code:

[PokeCommunity.com] Pokemon Essentials v18 Pokedex not woking

Not really too sure what could be causing this with the default files on a new game.
 
So I did a little more testing. I've replaced all of the Pokemon data with the default files, started a new game and replaced "except" with "rescue." I still receive the same error as before without the added code, and this is what I get with the added code:
Yeah sorry, I'm sometimes confused between Ruby for Pokémon and Python for my job lol.

Not really too sure what could be causing this with the default files on a new game.
I think I have an idea. Find the line:
Code:
    speciesData = pbLoadSpeciesData
Under this line, paste:
Code:
    raise _INTL("speciesData.length = {1}", speciesData.length)
And tell me what this new error says.
 
Back
Top