The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script [Essentials v16] 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
  #176    
Old April 7th, 2017 (5:59 AM).
ArchyTheArc ArchyTheArc is offline
     
    Join Date: Apr 2017
    Posts: 24
    Quote:
    Originally Posted by out written View Post
    Mej just meant the part that was underlined is not meant to have a capital P for pb. I assume the correct line would be:

    pbAddPokemonSilent(IKACHU,5)
    pbPokemonFollow(17)

    Simple
    i was sure to leave pb uncapitalised but i cant recheck it... oh my... i am so special xD thanks for showing me that lol i totally thought i uncapitalized it
    Reply With Quote

    Relevant Advertising!

      #177    
    Old April 7th, 2017 (6:05 AM).
    ArchyTheArc ArchyTheArc is offline
       
      Join Date: Apr 2017
      Posts: 24
      Quote:
      Originally Posted by ArchyTheArc View Post
      i was sure to leave pb uncapitalised but i cant recheck it... oh my... i am so special xD thanks for showing me that lol i totally thought i uncapitalized it
      Okay, update, that problem was fixed but now i get a new error

      ---------------------------
      Pokemon Essentials
      ---------------------------
      Exception: RuntimeError

      Message: Script error within event 16, map 3 (AAAAAAA's house):

      Exception: NoMethodError

      Message: Section018:27:in `trigger'undefined method `trigger' for nil:NilClass

      ***Full script:

      pbAddPokemonSilent(IKACHU,5)
      pbPokemonFollow(17)


      Interpreter:243:in `pbExecuteScript'

      Game_CommonEvent:58:in `refresh'

      Game_CommonEventin `initialize'

      PField_DependentEvents:158:in `new'

      PField_DependentEvents:158:in `createEvent'

      PField_DependentEvents:505:in `addEvent'

      PField_DependentEvents:26:in `pbAddDependency2'

      Following_Pokemon:1219:in `pbPokemonFollow'

      (eval)in `pbExecuteScript'

      Interpreter:1606:in `eval'



      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 `follow_update'

      Scene_Map:101:in `loop'

      Scene_Map:114:in `follow_update'

      Following_Pokemon:1550:in `update'

      --------------------------------------------------------
      Reply With Quote
        #178    
      Old April 10th, 2017 (2:45 AM).
      ArchyTheArc ArchyTheArc is offline
         
        Join Date: Apr 2017
        Posts: 24
        So update (same error crash again) but i went back over the install and followed it closely
        - add script above main and below compiler
        - close and save rpgmakerxp
        -get animations.rx- thingy
        -get animations.rar
        -put into data and graphics/animations
        -create event with name "Dependent"
        -create event with "script:pbPokemonFollow(X)" in this case X is 17
        -Run
        -Talked to npc
        -Crash below happened

        I dont get why this is happening even though I followed directly,
        sorry to be a pest and seem like i'm being a stupid 10 year old (i'm not thankfully)
        ---------------------------
        Exception: RuntimeError

        Message: Script error within event 16, map 3 (AAAAAAA's house):

        Exception: NoMethodError

        Message: Section018:27:in `trigger'undefined method `trigger' for nil:NilClass

        ***Full script:

        pbAddPokemonSilent(:PIKACHU,5)
        pbPokemonFollow(17)


        Interpreter:243:in `pbExecuteScript'

        Game_CommonEvent:58:in `refresh'

        Game_CommonEvent:15:in `initialize'

        PField_DependentEvents:158:in `new'

        PField_DependentEvents:158:in `createEvent'

        PField_DependentEvents:505:in `addEvent'

        PField_DependentEvents:26:in `pbAddDependency2'

        Following_Pokemon:1219:in `pbPokemonFollow'

        (eval):2:in `pbExecuteScript'

        Interpreter:1606:in `eval'



        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 `follow_update'

        Scene_Map:101:in `loop'

        Scene_Map:114:in `follow_update'

        Following_Pokemon:1550:in `update'

        ---------------------------
        Reply With Quote
          #179    
        Old April 17th, 2017 (11:28 AM).
        Piccolo990 Piccolo990 is offline
           
          Join Date: Jan 2014
          Gender: Male
          Posts: 8
          Quote:
          Originally Posted by ArchyTheArc View Post
          So update (same error crash again) but i went back over the install and followed it closely
          - add script above main and below compiler
          - close and save rpgmakerxp
          -get animations.rx- thingy
          -get animations.rar
          -put into data and graphics/animations
          -create event with name "Dependent"
          -create event with "script:pbPokemonFollow(X)" in this case X is 17
          -Run
          -Talked to npc
          -Crash below happened

          I dont get why this is happening even though I followed directly,
          sorry to be a pest and seem like i'm being a stupid 10 year old (i'm not thankfully)
          ---------------------------
          Exception: RuntimeError

          Message: Script error within event 16, map 3 (AAAAAAA's house):

          Exception: NoMethodError

          Message: Section018:27:in `trigger'undefined method `trigger' for nil:NilClass

          ***Full script:

          pbAddPokemonSilent(IKACHU,5)
          pbPokemonFollow(17)


          Interpreter:243:in `pbExecuteScript'

          Game_CommonEvent:58:in `refresh'

          Game_CommonEventin `initialize'

          PField_DependentEvents:158:in `new'

          PField_DependentEvents:158:in `createEvent'

          PField_DependentEvents:505:in `addEvent'

          PField_DependentEvents:26:in `pbAddDependency2'

          Following_Pokemon:1219:in `pbPokemonFollow'

          (eval)in `pbExecuteScript'

          Interpreter:1606:in `eval'



          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 `follow_update'

          Scene_Map:101:in `loop'

          Scene_Map:114:in `follow_update'

          Following_Pokemon:1550:in `update'

          ---------------------------
          Is your Dependent Event, Event ID 17 on the Map? If not check this first.

          Or go to Database, open Common Events and change the maximum Number to 50.
          This fixed at least my error message which was similar to yours.
          Reply With Quote
            #180    
          Old 4 Weeks Ago (10:51 PM).
          Jazerules Jazerules is offline
             
            Join Date: Apr 2017
            Posts: 19
            Hello all,

            When i'm testing the script on ice terrain I got a bug which the following pokemon stays same tile as the player when sliding, I don't know if this is already address, other than that it works all fine.

            Also can somebody show me how to change the location path of overworld graphics because when I made new folder in graphics/characters/ and updated it in the BGpath locating file it still won't find the graphics.

            Another issue I have is the animation won't show , like for example I was at "Home" still it won't show any emotion even when interacted.

            Thanks in advance!
            jazerules
            Reply With Quote
              #181    
            Old 4 Weeks Ago (11:34 AM).
            ArchyTheArc ArchyTheArc is offline
               
              Join Date: Apr 2017
              Posts: 24
              Quote:
              Originally Posted by Piccolo990 View Post
              Is your Dependent Event, Event ID 17 on the Map? If not check this first.

              Or go to Database, open Common Events and change the maximum Number to 50.
              This fixed at least my error message which was similar to yours.
              for whatever reason the common event one fixed it xD thats just random lol but thanks for helping me fix this
              Reply With Quote
                #182    
              Old 4 Weeks Ago (5:15 AM).
              Erben Erben is offline
                 
                Join Date: Apr 2017
                Posts: 2
                I've done every thing you said to do, but unluckily my game said;
                Script ' ' line 5: NameError occured.
                unintialised constant Unused_Common_Event

                What does this means?
                Hope for a quicl reply.
                Erben.
                Reply With Quote
                  #183    
                Old 3 Weeks Ago (8:01 PM).
                mej71's Avatar
                mej71 mej71 is offline
                • Moderator
                 
                Join Date: Mar 2014
                Location: Omnipresence
                Gender: Male
                Posts: 1,191
                Quote:
                Originally Posted by Erben View Post
                I've done every thing you said to do, but unluckily my game said;
                Script ' ' line 5: NameError occured.
                unintialised constant Unused_Common_Event

                What does this means?
                Hope for a quicl reply.
                Erben.
                typo, it's fixed now
                Reply With Quote
                  #184    
                Old 3 Weeks Ago (3:56 AM).
                Ianpr Ianpr is offline
                   
                  Join Date: Apr 2017
                  Posts: 1
                  Hi!
                  First of all thanks mej71 for this script
                  Then sorry for my bad english.

                  All runs perfect but when i do surf, my pokemon "surfs" too... i mean it doesnt desappear so... if some charmander "surfs" its a bit extrange... what changes i have to do on the script to fix that?
                  Thank You
                  Reply With Quote
                    #185    
                  Old 3 Weeks Ago (1:04 PM). Edited 3 Weeks Ago by mej71.
                  mej71's Avatar
                  mej71 mej71 is offline
                  • Moderator
                   
                  Join Date: Mar 2014
                  Location: Omnipresence
                  Gender: Male
                  Posts: 1,191
                  Quote:
                  Originally Posted by Ianpr View Post
                  Hi!
                  First of all thanks mej71 for this script
                  Then sorry for my bad english.

                  All runs perfect but when i do surf, my pokemon "surfs" too... i mean it doesnt desappear so... if some charmander "surfs" its a bit extrange... what changes i have to do on the script to fix that?
                  Thank You
                  Try reading the documentation and settings at the top of the script
                  Charmander shouldn't surf unless you made changes to the script
                  Reply With Quote
                    #186    
                  Old 3 Weeks Ago (6:43 AM).
                  DoomKiller13's Avatar
                  DoomKiller13 DoomKiller13 is offline
                     
                    Join Date: Apr 2017
                    Posts: 9
                    How can I fix these problems?
                    I have the newest version of the following script but when I walk over bridges my following Pokémon is doing weird, also when I go from Route 1 to Route 2 my following Pokémon does very weird aswell.
                    Please Help
                    __________________
                    Reply With Quote
                      #187    
                    Old 3 Weeks Ago (12:02 PM).
                    MisterDaniels MisterDaniels is offline
                       
                      Join Date: Apr 2017
                      Posts: 1
                      Hello, I love that mechanic for Pokemon Essentials. I would like to know that there is a way to make the Pokemon animation coming out of the Pokéball not popping up every time I change the map. Thanks!!!!
                      Reply With Quote
                        #188    
                      Old 2 Weeks Ago (8:50 AM).
                      srkapetinha srkapetinha is offline
                         
                        Join Date: May 2017
                        Posts: 3
                        Hey man, i test this script and get that error.

                        Exception : NoMethodError
                        Message : undefined method '>' for nil:NilClass
                        RPG_Sprite:123:in 'effect?'
                        RPG_Sprite:434:in 'effect?'
                        RPG_Sprite:433:in 'each'
                        RPG_Sprite:433:in 'effect?'
                        AnimationSprite:31:in 'update'
                        AnimationSprite:88:in 'follower_update'
                        AnimationSprite:87:in 'each'
                        AnimationSprite:87:in 'follower_update'
                        Follower:1775:in 'update'
                        Scene_Map:51:in 'updateSpritesets'

                        When i press the C button to the Pokemon get that error, and when i press A to change the Pokemon, shows that error too...
                        I dont know what to do :/
                        Reply With Quote
                          #189    
                        Old 2 Weeks Ago (3:29 AM).
                        Venomous_Zero86's Avatar
                        Venomous_Zero86 Venomous_Zero86 is offline
                        Pokemon Chosen Ones (Coming Soon)
                           
                          Join Date: Mar 2016
                          Gender: Male
                          Posts: 32
                          how do i fix this


                          ---------------------------
                          Pokemon Chosen Ones
                          ---------------------------
                          Exception: NoMethodError

                          Message: undefined method `length' for nil:NilClass

                          Following Pokemon:1779:in `update'

                          Scene_Map:51:in `updateSpritesets'

                          Scene_Map:45:in `each'

                          Scene_Map:45:in `updateSpritesets'

                          Scene_Map:115:in `follow_update'

                          Following Pokemon:1551:in `update'

                          Scene_Map:68:in `main'

                          Scene_Map:65:in `loop'

                          Scene_Map:72:in `main'

                          Main:74:in `mainFunctionDebug'



                          This exception was logged in

                          C:\Users\Mike\Saved Games/Pokemon Chosen Ones/errorlog.txt.

                          Press Ctrl+C to copy this message to the clipboard.
                          ---------------------------
                          OK
                          ---------------------------
                          Reply With Quote
                            #190    
                          Old 5 Days Ago (7:47 AM). Edited 5 Days Ago by Damien.aspiring.fandev.
                          Damien.aspiring.fandev's Avatar
                          Damien.aspiring.fandev Damien.aspiring.fandev is offline
                             
                            Join Date: Apr 2017
                            Location: A region I soon realized doesn't exist xP
                            Gender: Male
                            Nature: Jolly
                            Posts: 21
                            Logged in just to put a like on Mej's post!
                            By the way, if someone's having their character stuck and the
                            following Pokémon costantly playing the "out of the ball" animation,
                            I had the same issue and solved it by going to the event containing
                            pbPokemonFollow and after that script line adding "delete event".
                            It did, work in my case.
                            Enjoy the stroll!

                            EDIT: Ah,but whilst going indoors and outdoors the ball animations plays again, and often two or three times...hmm...
                            __________________
                            My name is Ato... Tom Ato!
                            Reply With Quote
                              #191    
                            Old 4 Days Ago (4:45 AM). Edited 4 Days Ago by Damien.aspiring.fandev.
                            Damien.aspiring.fandev's Avatar
                            Damien.aspiring.fandev Damien.aspiring.fandev is offline
                               
                              Join Date: Apr 2017
                              Location: A region I soon realized doesn't exist xP
                              Gender: Male
                              Nature: Jolly
                              Posts: 21
                              I noticed something intresting :
                              The strolling Poké-fellow can get partly cloaked by the map boundaries!
                              Look here :
                              Spoiler:

                              Maybe it has to do with the way the game displays the connected map?
                              Attached Thumbnails
                              pokefollow map boundary weirdness.png‎  
                              __________________
                              My name is Ato... Tom Ato!
                              Reply With Quote
                                #192    
                              Old 2 Days Ago (10:11 AM).
                              Jazerules Jazerules is offline
                                 
                                Join Date: Apr 2017
                                Posts: 19
                                Quote:
                                Originally Posted by Damien.aspiring.fandev View Post
                                I noticed something intresting :
                                The strolling Poké-fellow can get partly cloaked by the map boundaries!
                                Look here :
                                Spoiler:

                                Maybe it has to do with the way the game displays the connected map?
                                It's like that when you choose 0 in your mapviewmode, try putting it to 1 or 2 and see the difference.
                                Reply With Quote
                                Reply
                                Quick Reply

                                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 8:40 AM.