• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

Resource Badgecase 2022-11-12

FoxGuy303

Novice
Member
Joined
Mar 11, 2023
Posts
13
[Pokémon Essentials version 20.1]

Exception: ArgumentError
Message: undefined class/module Badgecase

Backtrace:
<internal:marshal>:34:in `load'
SaveData:28:in `load'
SaveData:28:in `block in get_data_from_file'
SaveData:27:in `open'
SaveData:27:in `get_data_from_file'
SaveData:45:in `read_from_file'
StartGame:23:in `set_up_system'
Main:31:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'

I get this error when trying to load the game, but it happens even after i reinstalled both Essentials and RPG Maker AND made a completly new project. I don't even have Badge Case anymore, just a new, default version of Essentials. Maybe it has nothing to do with this resource, but if someone has a solution, help me.
 

Richard PT

Cooltrainer
Member
Joined
Oct 26, 2018
Posts
127
For thoose who have an error with a "stack error" thing, it's due to the badges size if your game has many as me, for ex: 20 or more. So, in the badges_config rb file, change the badges size to 40, the sizes there are 160,80, remove thoose i put 40. Then your PNG files should also have this size 40x40, don't forget the ? graphic too if you're using it. This fixes the error i've got.
 

ChampChar110

Trainer
Member
Joined
Oct 2, 2022
Posts
78
roei110 updated Badgecase with a new update entry:

Badgecase 2.1

Made the following changes:
  • The badges list is now a PBS file
  • The in-game badges list should always update
  • There are three lists: obtained badges, unobtained badges, and unused badges (badges you want in your game but not right now, use the "addBadge" and "removeBadge" functions)
  • Added removeBadge(badge) function to remove badges from use in-game (If a badge is removed from the PBS file, it should also automatically be removed from the game)

Read the rest of this update entry...
 

A.I.R

From a separated Universe
Member
Joined
Feb 28, 2023
Posts
116

ChampChar110

Trainer
Member
Joined
Oct 2, 2022
Posts
78

blooeysnake

Novice
Member
Joined
Jan 22, 2023
Posts
25
So now after I got the update the old badge give script command and trying to register with the league PC from the New Trainer Card and League PC crashes the game is there a new script command I should know about
 

Attachments

  • league pc register fail.PNG
    league pc register fail.PNG
    171.7 KB · Views: 96
  • pbgetbadge fail.PNG
    pbgetbadge fail.PNG
    144.4 KB · Views: 97

ChampChar110

Trainer
Member
Joined
Oct 2, 2022
Posts
78
🤭I'm afraid thats me.
Oh, oops😂
So now after I got the update the old badge give script command and trying to register with the league PC from the New Trainer Card and League PC crashes the game is there a new script command I should know about
Send the error message.
I can guess the problem is "getAllBadges" script that got deleted (finally) on that update, you can remove it from the script on _League PC.rb
Or maybe the problem is that now it only stores the badges' internal names (ID) instead of all their information, then you should start a new save :(
 

blooeysnake

Novice
Member
Joined
Jan 22, 2023
Posts
25
Oh, oops😂

Send the error message.
I can guess the problem is "getAllBadges" script that got deleted (finally) on that update, you can remove it from the script on _League PC.rb
Or maybe the problem is that now it only stores the badges' internal names (ID) instead of all their information, then you should start a new save :(
These errors are from a new save, yes the duct badge is defined
 

Attachments

  • pbgetbadge fail.PNG
    pbgetbadge fail.PNG
    144.4 KB · Views: 102
  • league pc register fail.PNG
    league pc register fail.PNG
    171.7 KB · Views: 100
Last edited:

ChampChar110

Trainer
Member
Joined
Oct 2, 2022
Posts
78
These errors are from a new save, yes the duct badge is defined
The badge should be a symbol. :DUCTBADGE (with a colon instead of quotation marks).
Manually delete addAllBadge from TrainerCard_League PC.rb (on line 44). This function got removed on the last update.
 

blooeysnake

Novice
Member
Joined
Jan 22, 2023
Posts
25
The badge should be a symbol. :DUCTBADGE (with a colon instead of quotation marks).
Manually delete addAllBadge from TrainerCard_League PC.rb (on line 44). This function got removed on the last update.
Thank you
 

PauloJugoslavia

Novice
Member
Joined
Jul 26, 2019
Posts
40
Is there a way to remove the plugin?
I keep getting this error

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: ArgumentError
Message: undefined class/module Badgecase

Backtrace:
<internal:marshal>:34:in `load'
SaveData:28:in `load'
SaveData:28:in `block in get_data_from_file'
SaveData:27:in `open'
SaveData:27:in `get_data_from_file'
SaveData:45:in `read_from_file'
StartGame:23:in `set_up_system'
Main:31:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
 
Is there a way to remove the plugin?
I keep getting this error

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: ArgumentError
Message: undefined class/module Badgecase

Backtrace:
<internal:marshal>:34:in `load'
SaveData:28:in `load'
SaveData:28:in `block in get_data_from_file'
SaveData:27:in `open'
SaveData:27:in `get_data_from_file'
SaveData:45:in `read_from_file'
StartGame:23:in `set_up_system'
Main:31:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
See the bottom issue listed here.

 

Amallah

Horror Maze Enthusiast
Member
Joined
Apr 3, 2023
Posts
42
The badge should be a symbol. :DUCTBADGE (with a colon instead of quotation marks).
Manually delete addAllBadge from TrainerCard_League PC.rb (on line 44). This function got removed on the last update.

Thanks, the colon suggestion solved an issue I had as well. Now I get the picture that comes up when a badge is awarded 🙂 Could you update that in the instructions please? The instructions say to use pbGetBadge("badge") with the quotations, so I think that's the part that confused us. Or me at least, as I thought I had to use quotations.

Great badge case btw! I love the UI for it 😁
 

RyssyRys

Rookie
Member
Joined
Apr 9, 2020
Posts
7
Hey, I'm getting two errors. One for giving a badge and one for when I open up my badge case.
=================

[2023-06-07 19:15:30 -0300]
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 18 (coords 21,5), map 17 (Zose)
Exception: NoMethodError
Message: undefined method `id' for :DJBADGE:Symbol

***Full script:
pbLeaguePC

Backtrace:
[New Trainer Card & League PC] TrainerCard_League PC.rb:93:in `block in <main>'
[New Trainer Card & League PC] TrainerCard_League PC.rb:25:in `block in pbLeaguePC'
[New Trainer Card & League PC] TrainerCard_League PC.rb:19:in `loop'
[New Trainer Card & League PC] TrainerCard_League PC.rb:19:in `pbLeaguePC'
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'

=================

[2023-06-07 19:16:37 -0300]
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: SystemStackError
Message: stack level too deep

Backtrace:
[BadgeCase] Badgecase_UI.rb:21:in `block in getBadgePositions'
[BadgeCase] Badgecase_UI.rb:18:in `each'
[BadgeCase] Badgecase_UI.rb:18:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
663
The first error is related to the Trainer Card & League PC plugin, so I suggest posting it in that plugin's thread.
As for the second, I think it's an error related to the AGREED_SIZES value in the configuration. Try changing the value to a lower one because it could be that the value you put doesn't work with the size of the badge images you have.
I, for example, have the images with a size of 80x80 and an AGREED_SIZES value of 60 so there are 8 badges for row.
 

Thunderbird games

Novice
Member
Joined
Jan 1, 2022
Posts
47
i keep getting this error when i try to enter the menu, my guess is something ive messed up with voltseon's pause menu

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
[EBDX v1.3.3]

Exception: SystemStackError
Message: stack level too deep

Backtrace:
[BadgeCase] Badgecase_UI.rb:24:in `block (2 levels) in getBadgePositions'
[BadgeCase] Badgecase_UI.rb:23:in `each'
[BadgeCase] Badgecase_UI.rb:23:in `block in getBadgePositions'
[BadgeCase] Badgecase_UI.rb:18:in `each'
[BadgeCase] Badgecase_UI.rb:18:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
[BadgeCase] Badgecase_UI.rb:51:in `getBadgePositions'
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
663
The fact that Voltseon's pause menu isn't mentioned in the error log means that the problem is not in that plugin.
I think the error "stack level too deep" is related to having the AGREED_SIZES in the badge case configuration too high for your badges sizes. Try putting on lower numbers.
 

Thunderbird games

Novice
Member
Joined
Jan 1, 2022
Posts
47
The fact that Voltseon's pause menu isn't mentioned in the error log means that the problem is not in that plugin.
I think the error "stack level too deep" is related to having the AGREED_SIZES in the badge case configuration too high for your badges sizes. Try putting on lower numbers.
you were right it worked, thanks
 
Back
Top