• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Party Plus (v17,v18, & v19)

3
Posts
2
Years
    • Seen Feb 2, 2023
    Oh, I haven´t added anything else. I used a clean copy of essentials just to try your script. I put it right before main as you said and used it as I mentioned before.
     

    Pokeminer20

    PDM20, Coder of Chaos!
    412
    Posts
    10
    Years
  • V4.0.0 of Party Plus has been released.
    -Party limits are between 1-20, with 3,5,7,11,13,17 and 19 being invalid party values
    -Simple script calls to set benching limits and party limits (see code for use)
    -Native Support of EMBS v2.0.0+
     
    429
    Posts
    4
    Years
  • Error crashes game, did I do something wrong?
    The debug NPC I made who gives me 12 pikachus silently (because talking to the "give you a celebi" guy over and over would take a while) didn't crash the game before I installed the code. I used the number in Settings " MAX_PARTY_SIZE = 12" to raise my party size to 12, though not all the Pikachus in my Pokemon screen party were onscreen. Most were below the screen. I thought installing this mod would fix the graphical issue there and make all 12 mons visible in my party screen but instead a crash happens whenever I get any pokemon.

    I have no scripts or plugins installed besides the "V19.1 Hotfixes" plugin

    [Pokémon Essentials version 19.1]
    [v19.1 Hotfixes 1.0.7]

    Exception: RuntimeError
    Message: Script error in event 5 (coords 28,6), map 3 (Red's house):
    Exception: ArgumentError
    Message: comparison of Integer with nil failed

    ***Full script:
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)


    Backtrace:
    370:Party Plus by Pokeminer:473:in `>='
    370:Party Plus by Pokeminer:473:in `party_full?'
    337:Utilities_Pokemon:5:in `pbBoxesFull?'
    337:Utilities_Pokemon:81:in `pbAddPokemonSilent'
    (eval):1:in `execute_script'
    033:Interpreter:137:in `eval'
    033:Interpreter:137:in `execute_script'
    034:Interpreter_Commands:1024:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'


    Backtrace:
    033:Interpreter:189:in `rescue in execute_script'
    033:Interpreter:135:in `execute_script'
    034:Interpreter_Commands:1024:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'
    033:Interpreter:87:in `loop'
    033:Interpreter:87:in `update'
    032:Scene_Map:157:in `block in update'
    032:Scene_Map:155:in `loop'
    032:Scene_Map:155:in `update'

    UPDATE:

    Installing the Gen 8 Project didn't fix things. I didn't think it would, I just remembered I'm working with a fresh install of essentials and hadn't installed Gen 8 yet.

    edit: i disabled smilies in text.
     
    Last edited:

    Pokeminer20

    PDM20, Coder of Chaos!
    412
    Posts
    10
    Years
  • Error crashes game, did I do something wrong?
    The debug NPC I made who gives me 12 pikachus silently (because talking to the "give you a celebi" guy over and over would take a while) didn't crash the game before I installed the code. I used the number in Settings " MAX_PARTY_SIZE = 12" to raise my party size to 12, though not all the Pikachus in my Pokemon screen party were onscreen. Most were below the screen. I thought installing this mod would fix the graphical issue there and make all 12 mons visible in my party screen but instead a crash happens whenever I get any pokemon.

    I have no scripts or plugins installed besides the "V19.1 Hotfixes" plugin

    [Pokémon Essentials version 19.1]
    [v19.1 Hotfixes 1.0.7]

    Exception: RuntimeError
    Message: Script error in event 5 (coords 28,6), map 3 (Red's house):
    Exception: ArgumentError
    Message: comparison of Integer with nil failed

    ***Full script:
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)
    pbAddPokemonSilent(:PIKACHU,90)


    Backtrace:
    370:Party Plus by Pokeminer:473:in `>='
    370:Party Plus by Pokeminer:473:in `party_full?'
    337:Utilities_Pokemon:5:in `pbBoxesFull?'
    337:Utilities_Pokemon:81:in `pbAddPokemonSilent'
    (eval):1:in `execute_script'
    033:Interpreter:137:in `eval'
    033:Interpreter:137:in `execute_script'
    034:Interpreter_Commands:1024:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'


    Backtrace:
    033:Interpreter:189:in `rescue in execute_script'
    033:Interpreter:135:in `execute_script'
    034:Interpreter_Commands:1024:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'
    033:Interpreter:87:in `loop'
    033:Interpreter:87:in `update'
    032:Scene_Map:157:in `block in update'
    032:Scene_Map:155:in `loop'
    032:Scene_Map:155:in `update'

    UPDATE:

    Installing the Gen 8 Project didn't fix things. I didn't think it would, I just remembered I'm working with a fresh install of essentials and hadn't installed Gen 8 yet.

    edit: i disabled smilies in text.

    MAX_PARTY_SIZE is a default essentials Constant and should NOT be modified. to actually change the limit, change it back to it's previous number and run the command "ppSetLimit(12)" before giving yourself the Pikachus.

    Thank you for coming to my Ted Talk
     
    429
    Posts
    4
    Years
  • Okay. If I wanted to fix it myself, where would I find the X and Y coordinates for the placement of the misaligned UI elements? In my game I'll have 12 Pokemon as the constant maximum party size. I thought about starting it at 4, then raising it by 2 for every important Gym Leader or plot-significant event, but... Nah. A consistent 12 seems better for balance.
     

    Pokeminer20

    PDM20, Coder of Chaos!
    412
    Posts
    10
    Years
  • Within the script, there is "class PokemonPartyPanel"
    In it are 4 defs. Inside "def refresh" you'll find a bunch of arrays. modifying them is the key to changing the positioning. I recommend adding this above the arrays you find to help better know which one you should modify:
    # [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
    modify each number aligned with "12"
    I'll add these to the base script for ease of use to those who want to modify them in the future
     

    Pokeminer20

    PDM20, Coder of Chaos!
    412
    Posts
    10
    Years
  • Patch 4.0.2 Aligned with purpose

    Changelog:
    Properly aligned Party text and disabled some data for the higher party limits
     
    1
    Posts
    2
    Years
    • Seen Dec 5, 2021
    Hey there, I'm having an issue where I can't set the player's party size to 3 using the script pbSetLimit(3,3). When I use the limit (4,4) or (2,2) it works fine though. I've been having a hard time finding the issue.
     

    Pokeminer20

    PDM20, Coder of Chaos!
    412
    Posts
    10
    Years
  • Hey there, I'm having an issue where I can't set the player's party size to 3 using the script pbSetLimit(3,3). When I use the limit (4,4) or (2,2) it works fine though. I've been having a hard time finding the issue.

    V4.0.0 of Party Plus has been released.
    -Party limits are between 1-20, with 3,5,7,11,13,17 and 19 being invalid party values
    -Simple script calls to set benching limits and party limits (see code for use)
    -Native Support of EMBS v2.0.0+
     
    Back
    Top