• 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.

[v18] SOS Battles

YashPokeFan123

#PokeFan
283
Posts
3
Years
    • Seen Apr 28, 2023
    I can not read minds. What issue are you getting, as I definitely fixed the issue that was reported to me, the crash when you try and catch a mon that was added to battle via SOS.

    See Again at when you gonna throw pokeball pbfadeout error came
     
    See Again at when you gonna throw pokeball pbfadeout error came

    Do paste the entire error here so that it becomes easy for others to assist you. Whenever the error screen pops, press Ctrl+C, which will allow the message to be copied to clipboard. Then, paste the entire error message here. This will allow others to clearly see what error(s) you are getting and they can come with a fast solution.
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Do paste the entire error here so that it becomes easy for others to assist you. Whenever the error screen pops, press Ctrl+C, which will allow the message to be copied to clipboard. Then, paste the entire error message here. This will allow others to clearly see what error(s) you are getting and they can come with a fast solution.

    Ok
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Do paste the entire error here so that it becomes easy for others to assist you. Whenever the error screen pops, press Ctrl+C, which will allow the message to be copied to clipboard. Then, paste the entire error message here. This will allow others to clearly see what error(s) you are getting and they can come with a fast solution.

    This error

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1.dev]

    Exception: NoMethodError

    Message: undefined method `pbFadeOutScene' for #<PokemonBag_Scene:0xc682e00>



    Backtrace:

    Scene_Commands:293:in `pbItemMenu'

    Scene_Commands:208:in `loop'

    Scene_Commands:310:in `pbItemMenu'

    Battle_Phase_Command:106:in `pbItemMenu'

    Battle_Phase_Command:217:in `pbCommandPhaseLoop'

    Battle_Phase_Command:206:in `loop'

    Battle_Phase_Command:246:in `pbCommandPhaseLoop'

    Battle_Phase_Command:191:in `loop'

    Battle_Phase_Command:248:in `pbCommandPhaseLoop'

    Dynamx Compability:426:in `pbCommandPhase'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen today
    This error
    That's a weird looking f****** error!
    Paste the whole code of the class PokemonBagScene, from PScreen_Bag please?
    Post it inside
    Spoiler:
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Spoiler:
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Add this in the class PokemonBag_Scene:
    Code:
      def pbFadeOutScene
        pbFadeOutAndHide(@sprites)
      end
    It's a quick fix but it should work...

    getting this error
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1.dev]

    Exception: NoMethodError

    Message: undefined method `pbFadeInScene' for #<PokemonBag_Scene:0xca909c0>



    Backtrace:

    Scene_Commands:305:in `pbItemMenu'

    Scene_Commands:208:in `loop'

    Scene_Commands:310:in `pbItemMenu'

    Battle_Phase_Command:106:in `pbItemMenu'

    Battle_Phase_Command:217:in `pbCommandPhaseLoop'

    Battle_Phase_Command:206:in `loop'

    Battle_Phase_Command:246:in `pbCommandPhaseLoop'

    Battle_Phase_Command:191:in `loop'

    Battle_Phase_Command:248:in `pbCommandPhaseLoop'

    Dynamx Compability:426:in `pbCommandPhase'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen today
    i pasted it but still the upper error
    should I post code wrong place?

    Well. Basically we want to make a compatibility patch, or update your old script to the new version of Essentials. Plus, this is totally unrelated to SOS Battles. I'll PM you the new script tonight.
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Well. Basically we want to make a compatibility patch, or update your old script to the new version of Essentials. Plus, this is totally unrelated to SOS Battles. I'll PM you the new script tonight.

    hey I also get this error due to my old bag script

    ---------------------------
    Error
    ---------------------------
    Script '[PScreen_Bag]' line 601: NameError occurred.

    uninitialized constant PokemonBag_Scene::POCKETAUTOSORT

    from 'PScreen_Bag' line 601 in `pbChooseItem'
    from 'PScreen_Bag' line 396 in `loop'
    from 'PScreen_Bag' line 616 in `pbChooseItem'
    from 'PScreen_Bag' line 395 in `pbActivateWindow'
    from 'PScreen_Bag' line 395 in `pbChooseItem'
    from 'PScreen_Bag' line 633 in `follow_bagScene'
    from 'PScreen_Bag' line 632 in `loop'
    from 'PScreen_Bag' line 741 in `follow_bagScene'
    from 'Follower_Main' line 533 in `pbStartScreen'
    from 'Quests' line 1228 in `pbStartPokemonMenu'
    from 'Quests' line 1225 in `pbFadeOutIn'
    from 'Quests' line 1230 in `pbStartPokemonMenu'
    ---------------------------
    OK
    ---------------------------
     
    hey I also get this error due to my old bag script

    ---------------------------
    Error
    ---------------------------
    Script '[PScreen_Bag]' line 601: NameError occurred.

    uninitialized constant PokemonBag_Scene::POCKETAUTOSORT

    from 'PScreen_Bag' line 601 in `pbChooseItem'
    from 'PScreen_Bag' line 396 in `loop'
    from 'PScreen_Bag' line 616 in `pbChooseItem'
    from 'PScreen_Bag' line 395 in `pbActivateWindow'
    from 'PScreen_Bag' line 395 in `pbChooseItem'
    from 'PScreen_Bag' line 633 in `follow_bagScene'
    from 'PScreen_Bag' line 632 in `loop'
    from 'PScreen_Bag' line 741 in `follow_bagScene'
    from 'Follower_Main' line 533 in `pbStartScreen'
    from 'Quests' line 1228 in `pbStartPokemonMenu'
    from 'Quests' line 1225 in `pbFadeOutIn'
    from 'Quests' line 1230 in `pbStartPokemonMenu'
    ---------------------------
    OK
    ---------------------------

    This bug is not related to this script. You might be using a v17 compatible bag script with v18 essentials. POCKETAUTOSORT is a constant in pokemon essentials v17 and outdated versions.
     
    1,682
    Posts
    8
    Years
    • Seen today
    <snipped>

    Yeah, these errors are unrelated to my script. You should make a new thread in the Pokemon Essentials forum if you want to keep debugging these errors though.
    They do seem to stem from outdated scripts though, v17 scripts are not always compatible with v18.
     
    73
    Posts
    4
    Years
    • Seen today
    It seems the scrip doesn't work at all for me. No Pkmn calls for help, and I can't use the adrenaline orb in battle. Any ideas why this happens?
     
    2
    Posts
    4
    Years
    • Seen May 31, 2022
    Hi, It would be possible to call an ally at the end of the attack round?
    I was tying to use the method ".pbEndOfRoundPhase"
     
    Back
    Top