• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Animated Pokemon System [DBK Add-On] [v21.1]

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

WehAxolotl

Novice
Member
Joined
Nov 17, 2024
Posts
13
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,265
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

Novice
Member
Joined
Nov 17, 2024
Posts
13
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,265

CJ3929

Rookie
Member
Joined
Dec 21, 2024
Posts
3
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,265
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
3
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:

NachoSama_

Rookie
Member
Joined
Mar 5, 2021
Posts
5
Hi! Sorry for the inconvenience.
I've been wondering if there's a way to add only the "search" section when editing the pokémon metrics, the option to search for them with the Z key.
Is that possible?
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,265
Hi! Sorry for the inconvenience.
I've been wondering if there's a way to add only the "search" section when editing the pokémon metrics, the option to search for them with the Z key.
Is that possible?
Just look at the sprite positioner code in the plugin to see how it's done and reverse engineer that functionality yourself.
 

Vizra

Rookie
Member
Joined
May 2, 2024
Posts
3
Thanks Lucidious89 for your hard work here! You have saved me a ton of work in my project through fixing and creating gifs. I am having an issue that I'm am unsure what is causing it. Have added custom forms for a couple pokemon and a custom pokemon and these spritesheets when added to this plugin still animate the pokemon normally, but their sprites are "scrolling" left or right while animated. Do you know what could cause this when making a spritesheet for this plugin?

 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,265
Thanks Lucidious89 for your hard work here! You have saved me a ton of work in my project through fixing and creating gifs. I am having an issue that I'm am unsure what is causing it. Have added custom forms for a couple pokemon and a custom pokemon and these spritesheets when added to this plugin still animate the pokemon normally, but their sprites are "scrolling" left or right while animated. Do you know what could cause this when making a spritesheet for this plugin?

Each frame has to be a perfect square. Refer to the guide for a more thorough explanation of sprite sheets.
 
Back
Top