• 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!
ZUD Plugin [v20.1]

Resource ZUD Plugin [v20.1] v1.2.5

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Hello, I was trying to sync this new updated plugin, and I got the following issue:

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

Exception: RuntimeError
Message: Undefined value MAXSTRIKE in GameData::Move
File PBS/Plugins/ZUD/power_moves.txt, line 7
MaxMove = MAXSTRIKE



Backtrace:
381:Compiler:345:in `checkEnumField'
381:Compiler:320:in `csvEnumField!'
381:Compiler:523:in `block (2 levels) in pbGetCsvRecord'
381:Compiler:415:in `each'
381:Compiler:415:in `block in pbGetCsvRecord'
381:Compiler:413:in `loop'
381:Compiler:413:in `pbGetCsvRecord'
[ZUD Mechanics] Compiler.rb:337:in `block in compile_power_moves'
381:Compiler:242:in `block (2 levels) in pbCompilerEachPreppedLine'
381:Compiler:234:in `each_line'

I am not sure how to best read this error - is this saying that the moves are not defined in the file path? Or that I need to define this somewhere else?
For whatever reason, your moves.txt PBS file doesnt have any of the ZMoves/Max Moves defined. You either didnt install the plugin correctly, or somehow replaced your moves.txt file.
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Lucidious89 updated ZUD Plugin [v20.1] with a new update entry:

v1.1.1 Update

  • Simplified a lot of redundant code related to changing the move type of Z-Moves/Max Moves when certain effects are in play.
  • Raid Pokemon will no longer continuously attack multiple times in a turn if the number of remaining Pokemon on your side of the field is less than the number of moves the Raid Pokemon would normally use on that turn. This should help prevent Raid Pokemon from snowballing you when you're already losing.
  • Added a missing bag icon sprite for the Z-Crystal...

Read the rest of this update entry...
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Lucidious89 updated ZUD Plugin [v20.1] with a new update entry:

v1.1.2 Update

  • Added missing placeholder data for female Oinkologne form that was overlooked in the previous update.
  • Fixed a bug with Max Guard that was accidentally introduced in the previous update. This would call a different Max Move when the base move was a type other than Normal.
  • Capturing new species in a Dynamax Adventure no longer records that species in the Pokedex unless you decide to keep that species upon completing the adventure.
  • Moved the Dynamax debug tools implemented by...

Read the rest of this update entry...
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Hello! I was wondering if there is a way to choose which Pokemon appear in a Dynamax Adventure?
Not really. Which species appear are randomly decided based on the species found within the raid_ranks.txt PBS file. So i suppose if you only wanted specific species to appear, you would delete everything except for the ones you want. But then every Dynamax Adventure would only ever have those species, which seems a bit boring.

Other than that, you'd have to manually dig into the code and insert the list of species you want somehow.
 

RegalSword

Pokemon Itinerant Developer
Member
Joined
Feb 13, 2021
Posts
521
Not really. Which species appear are randomly decided based on the species found within the raid_ranks.txt PBS file. So i suppose if you only wanted specific species to appear, you would delete everything except for the ones you want. But then every Dynamax Adventure would only ever have those species, which seems a bit boring.

Other than that, you'd have to manually dig into the code and insert the list of species you want somehow.
Okay. Thank you!
 

Shadow56bomb

Cooltrainer
Member
Joined
Oct 15, 2022
Posts
216
How do I fix this?
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 5 (coords 36,14), map 297 (Dynamax Field)
Exception: NoMethodError
Message: undefined method `[]=' for true:TrueClass

***Full script:
pbMaxRaidDen([:WatersEdge], {:loot =>
[:SHARPBEAK]}, {:gmaxfactor => true,
:obtaintext => "a Max Raid Den"})

Backtrace:
[Essentials Deluxe] Pokedex.rb:328:in `register'
[ZUD Mechanics] Battle_Overrides.rb:58:in `pbSetSeen'
151:Battle_ActionSwitching:293:in `block in pbSendOut'
151:Battle_ActionSwitching:291:in `each'
151:Battle_ActionSwitching:291:in `pbSendOut'
[ZUD Mechanics] Raid_Battle.rb:42:in `pbStartBattleSendOut'
148:Battle_StartAndEnd:284:in `pbStartBattleCore'
148:Battle_StartAndEnd:270:in `pbStartBattle'
[ZUD Mechanics] Raid_Setup.rb:66:in `block (2 levels) in start_core'
243:Overworld_BattleIntroAnim:55:in `pbSceneStandby'
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
How do I fix this?
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 5 (coords 36,14), map 297 (Dynamax Field)
Exception: NoMethodError
Message: undefined method `[]=' for true:TrueClass

***Full script:
pbMaxRaidDen([:WatersEdge], {:loot =>
[:SHARPBEAK]}, {:gmaxfactor => true,
:obtaintext => "a Max Raid Den"})

Backtrace:
[Essentials Deluxe] Pokedex.rb:328:in `register'
[ZUD Mechanics] Battle_Overrides.rb:58:in `pbSetSeen'
151:Battle_ActionSwitching:293:in `block in pbSendOut'
151:Battle_ActionSwitching:291:in `each'
151:Battle_ActionSwitching:291:in `pbSendOut'
[ZUD Mechanics] Raid_Battle.rb:42:in `pbStartBattleSendOut'
148:Battle_StartAndEnd:284:in `pbStartBattleCore'
148:Battle_StartAndEnd:270:in `pbStartBattle'
[ZUD Mechanics] Raid_Setup.rb:66:in `block (2 levels) in start_core'
243:Overworld_BattleIntroAnim:55:in `pbSceneStandby'
By following the instructions for the Essentials Deluxe installation and starting a new game like it says to do.
 

Shadow56bomb

Cooltrainer
Member
Joined
Oct 15, 2022
Posts
216
When I complete a Max Raid Battle it says this error
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 8 (coords 16,25), map 297 (Dynamax Field)
Exception: NoMethodError
Message: undefined method `<' for nil:NilClass

***Full script:
pbMaxRaidDen([nil, :Urban], {:loot =>
[:POISONBARB]}, {:gmaxfactor => true,
:obtaintext => "a Max Raid Den"})

Backtrace:
256:PokemonBag:297:in `add'
256:PokemonBag:93:in `add'
[ZUD Mechanics] Data_Item.rb:88:in `add'
[ZUD Mechanics] Raid_Den_Scene.rb:437:in `block in pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `each'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:306:in `block in pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `loop'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:254:in `pbStartScene'
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
When I complete a Max Raid Battle it says this error
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 8 (coords 16,25), map 297 (Dynamax Field)
Exception: NoMethodError
Message: undefined method `<' for nil:NilClass

***Full script:
pbMaxRaidDen([nil, :Urban], {:loot =>
[:POISONBARB]}, {:gmaxfactor => true,
:obtaintext => "a Max Raid Den"})

Backtrace:
256:PokemonBag:297:in `add'
256:PokemonBag:93:in `add'
[ZUD Mechanics] Data_Item.rb:88:in `add'
[ZUD Mechanics] Raid_Den_Scene.rb:437:in `block in pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `each'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:306:in `block in pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `loop'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:254:in `pbStartScene'
Did you not start a new game as stated? It sounds like your bag is from a previous state from before the Z-Crystal slot was added...
You need to either start a new game, or just manually reset your bag by emptying it with the debug tools.
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Oh, it doesn't work if you use the fill bag debug tool? Well that's definitely the problem then.
It works fine, you just need to reset the bag after first installing the plugin, because the plugin expects there to be a ninth bag slot for Z-Crystals, which doesn't exist by default (since the default bag only goes up to slot 8). As I said, you can achieve this by either starting a new game, or manually resetting the bag in debug mode.
 

Shadow56bomb

Cooltrainer
Member
Joined
Oct 15, 2022
Posts
216
I can't, there's a different error upon loading the game. I think it has something to do with my new type's max move so I will show you.
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NameError
Message: undefined local variable or method `line' for Compiler:Module

Backtrace:
381:Compiler_CompilePBS:411:in `compile_moves'
380:Compiler:763:in `compile_pbs_files'
[Essentials Deluxe] Compiler.rb:636:in `compile_all'
[Fame Checker] init.rb:408:in `compile_all'
[Essentials Deluxe] Compiler.rb:781:in `main'
389:Main:29:in `mainFunctionDebug'
389:Main:18:in `block in mainFunction'
014:Errors:80:in `pbCriticalCode'
389:Main:18:in `mainFunction'
389:Main:45:in `block in <main>'
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
I can't, there's a different error upon loading the game. I think it has something to do with my new type's max move so I will show you.
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NameError
Message: undefined local variable or method `line' for Compiler:Module

Backtrace:
381:Compiler_CompilePBS:411:in `compile_moves'
380:Compiler:763:in `compile_pbs_files'
[Essentials Deluxe] Compiler.rb:636:in `compile_all'
[Fame Checker] init.rb:408:in `compile_all'
[Essentials Deluxe] Compiler.rb:781:in `main'
389:Main:29:in `mainFunctionDebug'
389:Main:18:in `block in mainFunction'
014:Errors:80:in `pbCriticalCode'
389:Main:18:in `mainFunction'
389:Main:45:in `block in <main>'
No idea why this error would be occurring. What did you change?
 

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,185
Nothing that I know of, besides adding the new move so I also have no idea.
Ok, show/tell me exactly what you did then. "Adding a new move" is extremely vague.
 

Shadow56bomb

Cooltrainer
Member
Joined
Oct 15, 2022
Posts
216
I put this in the moves pbs file:
#-------------------------------
[MAXSNOR]
Name = Max Snor
Type = SNORLAX
Catergory = Physical
Power = 1
Accuracy = 0
TotalPP = 1
Target = NearFoe
Flags = MaxMove, CannotMetronome
Description = A Snorlax-type attack Dynamax Pokémon use.
 
Back
Top