- 3
- Posts
- 3
- Years
- Seen Sep 10, 2024
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.
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.
Thank you for the advice, the game no longer crashes.
https://www.youtube.com/watch?v=4QLanm_E9fE
There's this weird UI problem where the text and health bars are offset, names on the right are partly offscreen. Did I install this incorrectly?
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+