• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Animated Pokemon System [DBK Add-On] [v21.1]

Resource Animated Pokemon System [DBK Add-On] [v21.1] v1.0.8

WehAxolotl

Rookie
Member
Joined
Nov 17, 2024
Posts
3
Hello, sorry for bothering you- Every time i try to compile the game with this plugin added, I receive this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Undefined value WYRDEER in GameData::Species
File PBS/pokemon_metrics_Gen_9_Pack.txt, section WYRDEER,1, key SectionName
Backtrace:
Compiler:454:in `checkEnumField'
[v21.1 Hotfixes] Compiler bug fixes.rb:53:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:34:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'


And this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Unknown exception when compiling.

Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'


Is there something I did wrong to cause these two errors and how can I fix it? Sorry again for bothering you-
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,232
Hello, sorry for bothering you- Every time i try to compile the game with this plugin added, I receive this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Undefined value WYRDEER in GameData::Species
File PBS/pokemon_metrics_Gen_9_Pack.txt, section WYRDEER,1, key SectionName
Backtrace:
Compiler:454:in `checkEnumField'
[v21.1 Hotfixes] Compiler bug fixes.rb:53:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:34:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'


And this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Unknown exception when compiling.

Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'


Is there something I did wrong to cause these two errors and how can I fix it? Sorry again for bothering you-
The issue is that you added the files for Gen 9 species when your game doesnt have Gen 9 species installed. This plugin assumes by default you already have all the Gen 9 Pack content installed. If you don't, then just remove those files.
 

WehAxolotl

Rookie
Member
Joined
Nov 17, 2024
Posts
3
The issue is that you added the files for Gen 9 species when your game doesnt have Gen 9 species installed. This plugin assumes by default you already have all the Gen 9 Pack content installed. If you don't, then just remove those files.
Ah, thank you! A wonder how i didnt think of that, sorry again!
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,232

CJ3929

Rookie
Member
Joined
Dec 21, 2024
Posts
2
Hello, sorry to bother. But when I try to do anything that would load a sprite, it throws this error and crashes.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[[DBK] Animated Pokémon System] [004] Game Data.rb:138:in `front_sprite_speed'
[[DBK] Animated Pokémon System] [008] Deluxe Bitmap.rb:30:in `initialize'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `new'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `front_sprite_bitmap'
Species_files:89:in `sprite_bitmap'
Pokemon_Sprites:66:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [005] Pokemon Sprites.rb:54:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [003] Pokemon UI.rb:79:in `setIconBitmap'
UI_Pokedex_Main:448:in `pbRefresh'
UI_Pokedex_Main:1264:in `block (2 levels) in pbPokedex'



For extra info, the things I've added are
v21.1 Hotfixes
[DBK_000] Deluxe Battle Kit
[DBK_009] Animated Pokemon System
Generation 9 Pack v3.2.9
 
Last edited:

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,232
Hello, sorry to bother. But when I try to do anything that would load a sprite, it throws this error and crashes.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[[DBK] Animated Pokémon System] [004] Game Data.rb:138:in `front_sprite_speed'
[[DBK] Animated Pokémon System] [008] Deluxe Bitmap.rb:30:in `initialize'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `new'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `front_sprite_bitmap'
Species_files:89:in `sprite_bitmap'
Pokemon_Sprites:66:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [005] Pokemon Sprites.rb:54:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [003] Pokemon UI.rb:79:in `setIconBitmap'
UI_Pokedex_Main:448:in `pbRefresh'
UI_Pokedex_Main:1264:in `block (2 levels) in pbPokedex'



For extra info, the things I've added are
v21.1 Hotfixes
[DBK_000] Deluxe Battle Kit
[DBK_009] Animated Pokemon System
Generation 9 Pack v3.2.9
Did you recompile?
 

CJ3929

Rookie
Member
Joined
Dec 21, 2024
Posts
2
Did you recompile?
Sorry for the super late reply, but yes. I recompiled after each added plugin. The game loads fine, and I can walk around and do stuff, but whenever I try to load the pokedex, enter a battle, etc that would load an animated sprite, it throws that error and crashes. I can load the game fine without the animated sprites add on though.

EDIT: I just wiped everything and reinstalled a clean essentials and all plugins and it worked. There was probably something missing or corrupted.
 
Last edited:
Back
Top