The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script [Essentials v17] Following Pokemon v 1.4.1

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Reply
 
Thread Tools
  #226    
Old November 21st, 2017 (6:01 PM).
MiikeYang MiikeYang is offline
     
    Join Date: Aug 2017
    Posts: 9
    Ah, thanks for updading to version 17 *-*
    It's all going well, except for one thing, it's not exactly something serious, but I'd like to know if you can fix it out.

    When the player changes map (for a connected map, not teleport to another map), the following pokemon jumps (I do not know exactly how to explain it), but the pokemon practically jumps to the other map, instead of keep walking.

    My game has several map connections, so this is very noticeable.
    Reply With Quote

    Relevant Advertising!

      #227    
    Old December 1st, 2017 (9:40 PM).
    monkeyboy6's Avatar
    monkeyboy6 monkeyboy6 is offline
       
      Join Date: Feb 2013
      Gender: Male
      Posts: 19
      Hey love the script. Just wanted to let you know that it glitches a bit when you slide on ice.
      Reply With Quote
        #228    
      Old December 19th, 2017 (9:25 AM).
      Rinkoou's Avatar
      Rinkoou Rinkoou is offline
      Awful-Pun Master
         
        Join Date: Sep 2016
        Location: the Internet
        Gender: Male
        Nature: Naughty
        Posts: 54
        Whenever the player blacks out, the Pokémon will disappear for the rest of the game. If you try to talk where the Pokémon should be, sometimes it'll have regular dialogue and sometimes it'll crash the game with no error messages.
        __________________
        I ask stupid questions because my brain is nonexistant.
        Reply With Quote
          #229    
        Old December 28th, 2017 (12:32 AM). Edited December 28th, 2017 by mej71.
        Ddman's Avatar
        Ddman Ddman is offline
           
          Join Date: Sep 2017
          Posts: 20
          Can anyone give me solution for this problem
          [Spoiler]---------------------------
          Pokemon Mono
          ---------------------------
          Exception: RuntimeError

          Message: Script error within event 8, map 3 (USER's house):

          Exception: NoMethodError

          Message: (eval):2:in `pbExecuteScript'undefined method `pbPokemonFollow' for #<Interpreter:0x9304ab8>

          ***Full script:

          pbAddPokemonSilent(:BULBASAUR,50)
          pbPokemonFollow(4)


          Interpreter:243:in `pbExecuteScript'

          Interpreter:1606:in `eval'

          Interpreter:243:in `pbExecuteScript'

          Interpreter:1606:in `command_355'

          Interpreter:494:in `execute_command'

          Interpreter:193:in `update'

          Interpreter:106:in `loop'

          Interpreter:198:in `update'

          Scene_Map:103:in `update'

          Scene_Map:101:in `loop'



          Interpreter:276:in `pbExecuteScript'

          Interpreter:1606:in `command_355'

          Interpreter:494:in `execute_command'

          Interpreter:193:in `update'

          Interpreter:106:in `loop'

          Interpreter:198:in `update'

          Scene_Map:103:in `update'

          Scene_Map:101:in `loop'

          Scene_Map:114:in `update'

          Scene_Map:68:in `main'



          This exception was logged in

          C:\Users\USER\Saved Games/Pokemon --------/errorlog.txt.

          Press Ctrl+C to copy this message to the clipboard.
          ---------------------------
          OK
          ---------------------------
          [Spoiler]
          Reply With Quote
            #230    
          Old January 2nd, 2018 (1:15 AM).
          LucarioTheGreat's Avatar
          LucarioTheGreat LucarioTheGreat is offline
             
            Join Date: Jan 2018
            Posts: 5
            Hello,
            Mej71, this script is very nice! I saw this a few days back, but now I have a confusion-will this work with Essentials BW, because it seems like a lot of other scripts don't...
            __________________
            I am still learning!
            Reply With Quote
              #231    
            Old January 2nd, 2018 (5:44 AM).
            uax uax is offline
               
              Join Date: Jan 2018
              Posts: 1
              Hello!

              I'm having the same problem as many others.

              When I black out the follower doesn't show itself and when i click the game glitches.

              Does anyone have the solution?
              Reply With Quote
                #232    
              Old January 2nd, 2018 (10:02 AM).
              Charizard_4000 Charizard_4000 is offline
                 
                Join Date: Jan 2018
                Posts: 1
                So, I don't know if I doing the commands wrong, but everytime I black out the game crashes, this shows up:
                ---------------------------
                Pokemon Essentials
                ---------------------------
                [Pokémon Essentials version 17.2]

                [Pokétch v1.1]

                Exception: NoMethodError

                Message: undefined method `>' for nil:NilClass

                RPG__Sprite:124:in `effect?'

                RPG__Sprite:440:in `effect?'

                RPG__Sprite:439:in `each'

                RPG__Sprite:439:in `effect?'

                Sprite_AnimationSprite:31:in `update'

                Sprite_AnimationSprite:86:in `update'

                Sprite_AnimationSprite:85:in `each'

                Sprite_AnimationSprite:85:in `update'

                Scene_Map:43:in `updateSpritesets'

                Scene_Map:37:in `each'

                I believe Poketch has nothing to do since I went in a vanilla essentials only with Follow Pokemon and still crashes the game, help me please
                Reply With Quote
                  #233    
                Old January 13th, 2018 (9:50 AM).
                Phoenixio's Avatar
                Phoenixio Phoenixio is offline
                Pokémon Master
                   
                  Join Date: Jun 2017
                  Location: Lindle Village
                  Gender: Male
                  Nature: Naughty
                  Posts: 7
                  Whenever I start my game, I get this error.

                  "Script 'Following Pokemon' like 1431: NameError occurred.

                  undefined method 'pbSwitch' for class 'PokemonPartyScreen' "

                  Any idea how to fix?
                  __________________
                  Reply With Quote
                    #234    
                  Old January 24th, 2018 (1:46 PM).
                  Pipsqueak737 Pipsqueak737 is offline
                     
                    Join Date: Jul 2014
                    Gender: Male
                    Posts: 9
                    Is it possible to make only a single Pokémon follow you? Kind of like Pikachu in Pokémon Yellow?
                    Reply With Quote
                      #235    
                    Old January 25th, 2018 (8:00 AM).
                    komaoto's Avatar
                    komaoto komaoto is offline
                       
                      Join Date: Mar 2014
                      Location: Brazil
                      Gender: Male
                      Posts: 114
                      Quote:
                      Originally Posted by Pipsqueak737 View Post
                      Is it possible to make only a single Pokémon follow you? Kind of like Pikachu in Pokémon Yellow?
                      Use the Brendan event in route 3 in essentials. Just don't setup the pikachu as a trainer.
                      Reply With Quote
                        #236    
                      Old January 29th, 2018 (9:37 AM).
                      raki07 raki07 is offline
                         
                        Join Date: Apr 2016
                        Posts: 18
                        I have same error as Charizard_4000, when I talk with Pokemon.

                        Quote:
                        Originally Posted by Charizard_4000 View Post
                        So, I don't know if I doing the commands wrong, but everytime I black out the game crashes, this shows up:
                        ---------------------------
                        Pokemon Essentials
                        ---------------------------
                        [Pokémon Essentials version 17.2]

                        [Pokétch v1.1]

                        Exception: NoMethodError

                        Message: undefined method `>' for nil:NilClass

                        RPG__Sprite:124:in `effect?'

                        RPG__Sprite:440:in `effect?'

                        RPG__Sprite:439:in `each'

                        RPG__Sprite:439:in `effect?'

                        Sprite_AnimationSprite:31:in `update'

                        Sprite_AnimationSprite:86:in `update'

                        Sprite_AnimationSprite:85:in `each'

                        Sprite_AnimationSprite:85:in `update'

                        Scene_Map:43:in `updateSpritesets'

                        Scene_Map:37:in `each'

                        I believe Poketch has nothing to do since I went in a vanilla essentials only with Follow Pokemon and still crashes the game, help me please
                        Reply With Quote
                          #237    
                        Old February 4th, 2018 (6:12 AM).
                        Rinkoou's Avatar
                        Rinkoou Rinkoou is offline
                        Awful-Pun Master
                           
                          Join Date: Sep 2016
                          Location: the Internet
                          Gender: Male
                          Nature: Naughty
                          Posts: 54
                          Can anybody help with the Blacking Out situation? Here's the error message I get when I talk to the invisible Pokemon following me:
                          Code:
                          ---------------------------
                          Pokemon Essentials
                          ---------------------------
                          [Pokémon Essentials version 17.2]
                          
                          Exception: NoMethodError
                          
                          Message: undefined method `-' for nil:NilClass
                          
                          Following Pokemon by Mej71:638:in `talk_to_pokemon'
                          
                          Following Pokemon by Mej71:1559:in `update'
                          
                          Scene_Map:234:in `main'
                          
                          Scene_Map:231:in `loop'
                          
                          Scene_Map:236:in `main'
                          
                          Main:49:in `mainFunctionDebug'
                          
                          Main:27:in `mainFunction'
                          
                          Main:27:in `pbCriticalCode'
                          
                          Main:27:in `mainFunction'
                          
                          Main:59
                          
                          
                          
                          This exception was logged in 
                          
                          C:\Users\Rinkoou\Saved Games\Pokemon Essentials\errorlog.txt.
                          
                          Press Ctrl+C to copy this message to the clipboard.
                          ---------------------------
                          OK   
                          ---------------------------
                          __________________
                          I ask stupid questions because my brain is nonexistant.
                          Reply With Quote
                            #238    
                          Old February 12th, 2018 (11:57 AM).
                          paulomarques paulomarques is offline
                             
                            Join Date: Aug 2016
                            Gender: Male
                            Posts: 1
                            please correct the script link
                            Reply With Quote
                              #239    
                            Old February 22nd, 2018 (2:05 PM).
                            Terriermon1704 Terriermon1704 is offline
                               
                              Join Date: Feb 2018
                              Posts: 1
                              Hello! i make everything the instructions but when i try to open the game
                              gives to me this error

                              Script 'Pokemon Follower' line 1431: NameError occurred.

                              undefined method `pbSwitch' for class `PokemonPartyScreen'

                              (i speak spanish, sorry if I'm wrong)
                              Reply With Quote
                                #240    
                              Old February 27th, 2018 (6:44 AM).
                              Jhonjhonny Jhonjhonny is offline
                                 
                                Join Date: Feb 2018
                                Posts: 7
                                Quote:
                                Originally Posted by Terriermon1704 View Post
                                Hello! i make everything the instructions but when i try to open the game
                                gives to me this error

                                Script 'Pokemon Follower' line 1431: NameError occurred.

                                undefined method `pbSwitch' for class `PokemonPartyScreen'

                                (i speak spanish, sorry if I'm wrong)
                                Same problem.. Did you manage to solve it?
                                Reply With Quote
                                  #241    
                                Old March 15th, 2018 (10:29 AM).
                                Maltodextrina Maltodextrina is offline
                                   
                                  Join Date: Feb 2018
                                  Posts: 3
                                  Congratulations on the work, but I wanted to know how I do pro script recognize the pokemon of the VI generation, where can I edit it?
                                  Reply With Quote
                                    #242    
                                  Old March 15th, 2018 (4:32 PM).
                                  MudKrab MudKrab is offline
                                     
                                    Join Date: Mar 2018
                                    Posts: 1
                                    This is amazing.

                                    Does it work with v17.2 Essentials? Been using it with no problems until now. Blacking out results in the sprite disappearing. Then the next time you press the select key it prompts the "Talk to Pokémon" feature and results in a crash.

                                    Attempted to fix by healing at a center; and also prompting "Starting over" and healing them there.

                                    I also tried adding:
                                    "$PokemonTemp.dependentEvents.refresh_sprite"
                                    in the command list for the nurse. This causes the game to crash as well.

                                    I followed the installation instructions, and even attempted to reinstall twice in case I had made a blunder on the first go around.

                                    Line 149 in the script states V15.1 compatibility, so just wondering if that's the latest it has been updated, or if I'm making some sort of mistake. I would really love to use this script, and will revert to V15.1 if need be. Thanks for any and all responses.

                                    ___________________________________________________________________________________________
                                    (pokémon talk crash)
                                    ---------------------------
                                    Pokemon Essentials
                                    ---------------------------
                                    [Pokémon Essentials version 17.2]

                                    Exception: NoMethodError

                                    Message: undefined method `-' for nil:NilClass

                                    Following Pokemon:702:in `talk_to_pokemon'

                                    Following Pokemon:1533:in `update'

                                    Scene_Map:234:in `main'

                                    Scene_Map:231:in `loop'

                                    Scene_Map:236:in `main'

                                    Main:49:in `mainFunctionDebug'

                                    Main:27:in `mainFunction'

                                    Main:27:in `pbCriticalCode'

                                    Main:27:in `mainFunction'

                                    Main:59

                                    _____________________________________________________________________________________________
                                    (refresh_sprite crash)
                                    ---------------------------
                                    Pokemon Essentials
                                    ---------------------------
                                    [Pokémon Essentials version 17.2]

                                    Exception: NoMethodError

                                    Message: undefined method `-' for nil:NilClass

                                    Following Pokemon:702:in `talk_to_pokemon'

                                    Following Pokemon:1533:in `update'

                                    Scene_Map:234:in `main'

                                    Scene_Map:231:in `loop'

                                    Scene_Map:236:in `main'

                                    Main:49:in `mainFunctionDebug'

                                    Main:27:in `mainFunction'

                                    Main:27:in `pbCriticalCode'

                                    Main:27:in `mainFunction'

                                    Main:59
                                    Reply With Quote
                                      #243    
                                    Old March 16th, 2018 (10:30 AM).
                                    Maltodextrina Maltodextrina is offline
                                       
                                      Join Date: Feb 2018
                                      Posts: 3
                                      Quote:
                                      Originally Posted by Maltodextrina View Post
                                      Congratulations on the work, but I wanted to know how I do pro script recognize the pokemon of the VI generation, where can I edit it?
                                      Can someone help me?
                                      Reply With Quote
                                        #244    
                                      Old March 16th, 2018 (12:54 PM).
                                      Rinkoou's Avatar
                                      Rinkoou Rinkoou is offline
                                      Awful-Pun Master
                                         
                                        Join Date: Sep 2016
                                        Location: the Internet
                                        Gender: Male
                                        Nature: Naughty
                                        Posts: 54
                                        Maltodextrina, just add a sprite for the Pokemon with their internal ID to give them a sprite.
                                        __________________
                                        I ask stupid questions because my brain is nonexistant.
                                        Reply With Quote
                                          #245    
                                        Old March 18th, 2018 (11:27 AM).
                                        Maltodextrina Maltodextrina is offline
                                           
                                          Join Date: Feb 2018
                                          Posts: 3
                                          Quote:
                                          Originally Posted by Rinkoou View Post
                                          Maltodextrina, just add a sprite for the Pokemon with their internal ID to give them a sprite.

                                          Thanks for your answers, but please tell me in which part of the script do I add this? because the sprites in the graphics / characters folder, I already added them, even added them to the PBS files. Pokemon, I want to know in which part of the script I add the numbers of the Pokémon, thank you very much and I await your response.
                                          Reply With Quote
                                            #246    
                                          Old April 16th, 2018 (5:17 AM).
                                          LachM's Avatar
                                          LachM LachM is offline
                                             
                                            Join Date: Apr 2016
                                            Posts: 12
                                            Would you happen to still have a v16 version? I can't update to v17 without breaking some of my other scripts. I'd really appreciate it.
                                            Reply With Quote
                                              #247    
                                            Old May 14th, 2018 (5:32 AM).
                                            FrostToZaki's Avatar
                                            FrostToZaki FrostToZaki is offline
                                            The Great Icicle
                                               
                                              Join Date: Mar 2018
                                              Location: Somewhere
                                              Gender: Male
                                              Nature: Quiet
                                              Posts: 7
                                              I have a problem, it says Undefined method 'pbSwitch' for Class something
                                              __________________
                                              I LUV U ALL! MWAH!

                                              [Desperately needs a spriter for game]
                                              Reply With Quote
                                                #248    
                                              Old May 22nd, 2018 (1:06 PM). Edited May 22nd, 2018 by ImAbidoof.
                                              ImAbidoof ImAbidoof is offline
                                                 
                                                Join Date: May 2018
                                                Posts: 1
                                                Hello, When I talk to the NPC who have "pbPokemonFollow(5)" in him, my game crash.
                                                Here is the event : https://imgur.com/zKOtABT
                                                And here is the crash report : https://imgur.com/rvNQKrh
                                                Reply With Quote
                                                  #249    
                                                Old May 24th, 2018 (10:04 AM).
                                                kas110 kas110 is offline
                                                   
                                                  Join Date: Sep 2016
                                                  Posts: 2
                                                  For those having issues with 'pbswitch' I removed replaced 'class PokemonPartyScreen' with 'class PokemonScreen' at line 1429, and the same at line 1866, and this seemed to fix the issue (I have no idea why)
                                                  Reply With Quote
                                                    #250    
                                                  Old May 24th, 2018 (10:07 AM).
                                                  kas110 kas110 is offline
                                                     
                                                    Join Date: Sep 2016
                                                    Posts: 2
                                                    I am having a major issue, as some have already mentioned with followers on map transfer, they jump and reset their position to the player, which looks awful, and clearly highlights when one map connects to another. Anyone know of a fix for this?
                                                    Reply With Quote
                                                    Reply

                                                    Quick Reply

                                                    Join the conversation!

                                                    Create an account to post a reply in this thread, participate in other discussions, and more!

                                                    Create a PokéCommunity Account

                                                    Sponsored Links
                                                    Thread Tools

                                                    Posting Rules
                                                    You may not post new threads
                                                    You may not post replies
                                                    You may not post attachments
                                                    You may not edit your posts

                                                    BB code is On
                                                    Smilies are On
                                                    [IMG] code is On
                                                    HTML code is Off

                                                    Forum Jump


                                                    All times are GMT -8. The time now is 12:14 PM.