• 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.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Level Caps Ex 2.3

I've been getting this error when I go to switch Pokemon at the end of a turn
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 1..2)

Backtrace:
[Level Caps EX] 001_Main.rb:187:in `pbSwitchInBetween'
Battle_ActionSwitching:173:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
[Generation 9 Pack] [001] Battle.rb:157:in `pbEndOfRoundPhase'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:459:in `pbEndOfRoundPhase'
The plugin also seems to be causing this error when my Pokemon faint and force a switch in even though it doesn't show.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: TypeError
Message: no implicit conversion from nil to integer

Backtrace:
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:329:in `pbMessagesOnReplace'
Battle_ActionSwitching:224:in `pbRecallAndReplace'
[[DBK] Dynamax] [011] Battle.rb:207:in `pbRecallAndReplace'
Battle_ActionSwitching:185:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
I went back to 1.0.2 from the latest version and stopped getting those errors.
EDIT: nevermind I did a poor job of making sure the latest version was installed properly.
 
Last edited:
Now I have an actual bug to report. In fact, I have 2 bugs. The first one was that the exp gains were not displaying properly, which I have attempted to fix myself. The other is that changes to level cap or level cap mode are not being logged despite being set to true. Also it's possible to overlevel Pokemon using Exp candies even with Hard Cap.
 
NoNoNever updated Level Caps Ex with a new update entry:

Plugin rework

# Level Caps EX Plugin - v1.1 Update

## Update Announcement

Excited to announce the release of Level Caps EX v1.1, addressing several important issues and improving overall functionality. This update focuses on stability and ensuring the level cap system works as intended in all gameplay scenarios.

### What's Fixed

- PBS Compilation Error Fixed: The plugin no longer interferes with wild encounter data compilation, allowing you to set encounters with levels higher than the...

Read the rest of this update entry...
 
Hi! Just a bug to report.

When I updated my Level Caps plugin to this one, I had encountered an error. (or a bug.) when I KO a pokemon, it doesnt prompt me to switch my pokemon. This goes for all switching events. It seems to kind of skip over the entire text box.
 
Hi! Just a bug to report.

When I updated my Level Caps plugin to this one, I had encountered an error. (or a bug.) when I KO a pokemon, it doesnt prompt me to switch my pokemon. This goes for all switching events. It seems to kind of skip over the entire text box.
thx patch is up
 
Hello there, idk if I'm doing something wrong, level cap mode 3 for disobedience doesn't seem to be working, it just defaults to level 2 when i try to set it to level 3. I can provide more information if needed.
 
Last edited:
Hello there, idk if I'm doing something wrong, level cap mode 3 for disobedience doesn't seem to be working, it just defaults to level 2 when i try to set it to level 3. I can provide more information if needed.
Should be fixed now
 
It works kinda well but there is an issue I encountered: When you give a Pokemon multiple EXP Candies at once it can ignore the Level cap. When I give a Pokemon every EXP Candy one at a time the Level Cap works fine. Any way this could be fixed?
 
idk if i did something wrong but i can overlevel my pokemon by feeding them more than 1 candies, like they dont eat the candies when they are at a cap but when they are not, you can feed them as much candies as you have, making them above the level cap
 
It works kinda well but there is an issue I encountered: When you give a Pokemon multiple EXP Candies at once it can ignore the Level cap. When I give a Pokemon every EXP Candy one at a time the Level Cap works fine. Any way this could be fixed?
idk if i did something wrong but i can overlevel my pokemon by feeding them more than 1 candies, like they dont eat the candies when they are at a cap but when they are not, you can feed them as much candies as you have, making them above the level cap
Yes, it's coming soon. I'm just waiting for my other plugin to be approved here. I wrote my own multiple-use plugin (compatible with bag screen, etc.) that also works with Level Caps EX.



Level Caps EX will also get a small update.
 
Back
Top