• 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!
Bag Screen with interactable Party

Resource Bag Screen with interactable Party 2.5.0

DerxwnaKapsyla

Overseer of the Abyss
Member
Joined
Apr 24, 2017
Posts
151
Minor error in the script; crashes when you try to open the bag.
[2022-06-14 09:45:20 -0700]
[Pokémon Essentials version 20]
[v20 Hotfixes 1.0.5]

Exception: NoMethodError
Message: undefined method `lastpocket' for #<PokemonBag>

Backtrace:
[Bag Screen w/int. Party] Script.rb:553:in `pbPocketColor'
[Bag Screen w/int. Party] Script.rb:498:in `pbStartScene'
[Bag Screen w/int. Party] Script.rb:1263:in `pbStartScreen'
[Voltseon's Pause Menu] 005_VoltseonMenu_Entries.rb:71:in `block in selected'
002_MessageConfig.rb:570:in `pbFadeOutIn'
[Voltseon's Pause Menu] 005_VoltseonMenu_Entries.rb:68:in `selected'
[Voltseon's Pause Menu] 003_VoltseonMenu_Menu.rb:58:in `update'
[Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:219:in `block in update'
[Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:215:in `loop'
[Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:215:in `update'

Fixed by changing lastpocket to last_viewed_pocket.
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
Minor error in the script; crashes when you try to open the bag.


Fixed by changing lastpocket to last_viewed_pocket.
Thanks for the report 😅 I may have forgotten to test properly the Settings. I'll be posting a hotfix soon.
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75

lan vuhoang

Novice
Member
Joined
Mar 2, 2021
Posts
42
So, the script itself works fine in v20.1, but compiling it show an error message that might be concerning to other people:
1656119387068.png

You could just change the version in the meta.txt file, but I recommend that you iron out some bugs first.
 

PauloJugoslavia

Novice
Member
Joined
Jul 26, 2019
Posts
40
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.2]

Script error in event 8 (coords 4,2), map 42 (adsds)
Exception: ArgumentError
Message: wrong number of arguments (given 1, expected 2..5)

***Full script:
pbPokemonMart([
:POTION,
:ANTIDOTE,
:PARALYZEHEAL,
:REPEL
])

Backtrace:
[Bag Screen w/int. Party] Script.rb:429:in `pbStartScene'
298:UI_PokeMart:300:in `pbStartSellScene2'
298:UI_PokeMart:281:in `pbStartSellScene'
298:UI_PokeMart:661:in `pbSellScreen'
298:UI_PokeMart:723:in `block in pbPokemonMart'
298:UI_PokeMart:715:in `loop'
298:UI_PokeMart:715:in `pbPokemonMart'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'

I get this error when trying to sell items in the Mart, anybody else get something like this?
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.2]

Script error in event 8 (coords 4,2), map 42 (adsds)
Exception: ArgumentError
Message: wrong number of arguments (given 1, expected 2..5)

***Full script:
pbPokemonMart([
:POTION,
:ANTIDOTE,
:PARALYZEHEAL,
:REPEL
])

Backtrace:
[Bag Screen w/int. Party] Script.rb:429:in `pbStartScene'
298:UI_PokeMart:300:in `pbStartSellScene2'
298:UI_PokeMart:281:in `pbStartSellScene'
298:UI_PokeMart:661:in `pbSellScreen'
298:UI_PokeMart:723:in `block in pbPokemonMart'
298:UI_PokeMart:715:in `loop'
298:UI_PokeMart:715:in `pbPokemonMart'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'

I get this error when trying to sell items in the Mart, anybody else get something like this?
You didn't follow Installation's Step 2 properly
 
There's a small bug in 2.2.0 with a pretty easy fix. When using pbChooseItemScreen, the last_pocket_selections gets messed up, so I added this line to the function which fixed it:
Ruby:
$bag.reset_last_selection if proc

Take a look at the pbChooseItemScreen in default v20.1 UI_Bag. That's the only line the script is missing.
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
There's a small bug in 2.2.0 with a pretty easy fix. When using pbChooseItemScreen, the last_pocket_selections gets messed up, so I added this line to the function which fixed it:
Ruby:
$bag.reset_last_selection if proc

Take a look at the pbChooseItemScreen in default v20.1 UI_Bag. That's the only line the script is missing.
Thanks for the report, I'll see about releasing a new update soon
 

Thunderbird games

Novice
Member
Joined
Jan 1, 2022
Posts
47
i keap on getting the same error over and over again when trying to open the item withdraw, the deposit works but the withdraw corses the crash.

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

Script error in event 4 (coords 20,1), map 3 (Red's house)
Exception: ArgumentError
Message: wrong number of arguments (given 2, expected 1)

***Full script:
pbTrainerPC

Backtrace:
[BW Storage System] BW ItemStorage.rb:74:in `pbStartScene'
[Bag Screen w/int. Party] Script.rb:1404:in `pbWithdrawItemScreen'
297:UI_PC:27:in `block (2 levels) in pbPCItemStorage'
082:MessageConfig:570:in `pbFadeOutIn'
297:UI_PC:24:in `block in pbPCItemStorage'
297:UI_PC:6:in `loop'
297:UI_PC:6:in `pbPCItemStorage'
297:UI_PC:124:in `block in pbTrainerPCMenu'
297:UI_PC:118:in `loop'
297:UI_PC:118:in `pbTrainerPCMenu'
 
Last edited:

Fobby

local weirdo
Member
Joined
Oct 21, 2020
Posts
61
If I were to add new pockets, is there a way to show them?
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
If I were to add new pockets, is there a way to show them?
I still haven't prepared the script for this sort of thing, so you would have to modify it yourself, but you would need a good understanding of RGSS for that. There are some comments in there that may help you a bit.
 

Richard PT

Cooltrainer
Member
Joined
Oct 26, 2018
Posts
127
I think that i've encountered an issue with your plugin. When we access a PC at the beginning of a game, which it only permits the player to access the items "PC storage" thing, if i withdraw an item this error appears. So, do you know how to fix this? By the way the script calls is this: pbTrainerPC.

error.png
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
I think that i've encountered an issue with your plugin. When we access a PC at the beginning of a game, which it only permits the player to access the items "PC storage" thing, if i withdraw an item this error appears. So, do you know how to fix this? By the way the script calls is this: pbTrainerPC.
Follow the installation's step 2
 

SirWeibrot

Novice
Member
Joined
Jan 30, 2021
Posts
21
I am having an issue.

I was editing the pocket icon pictures, but when I looked at it ingame, the highlighted icon that shows the pocket I am currently in shows the edited icon, but the grayed out icons for all the other pockets use their default icons. Here is an example:

Example.png


As you can see the forth pocket (second in the top row) shows up with the default TM icon when it is not selected (left), but when I select the forth pocket, it shows the edited icon (right). I looked everywhere and I could not find any picture that has the grayed out icons on it, so I am not sure what is happening here.
 
Back
Top