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
  #26    
Old January 13th, 2016 (5:22 PM).
Florio's Avatar
Florio Florio is offline
Pokemon Crimson Skies Owner
     
    Join Date: Nov 2008
    Location: Canada
    Gender: Male
    Nature: Lax
    Posts: 392
    Hey, I get this error when I'm trying to use the Reveal Glass on any of the Forces of Nature (Tornadus, Thundurus, Landorus).
    Spoiler:
    Quote:
    ---------------------------
    Pokemon Crimson Skies
    ---------------------------
    Exception: TypeError

    Message: cannot convert Fixnum into String

    FollowingPokemon:271:in `+'

    FollowingPokemon:271:in `change_sprite'

    FollowingPokemon:267:in `each'

    FollowingPokemon:267:in `change_sprite'

    FollowingPokemon:250:in `refresh_sprite'

    FollowingPokemon:186:in `pbToggleFollowingPokemon'

    FollowingPokemon:1404:in `update'

    Scene_Map:68:in `main'

    Scene_Map:65:in `loop'

    Scene_Map:72:in `main'



    This exception was logged in

    C:\Users\User\Saved Games/Pokemon Crimson Skies/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    __________________
    Reply With Quote
      #27    
    Old January 13th, 2016 (6:45 PM).
    mej71's Avatar
    mej71 mej71 is offline
       
      Join Date: Mar 2014
      Location: Omnipresence
      Gender: Male
      Posts: 1,222
      Quote:
      Originally Posted by Florio View Post
      Hey, I get this error when I'm trying to use the Reveal Glass on any of the Forces of Nature (Tornadus, Thundurus, Landorus).
      Fixed, redownload scripts
      Reply With Quote
        #28    
      Old January 14th, 2016 (11:28 AM).
      crispybacon1234's Avatar
      crispybacon1234 crispybacon1234 is offline
      Pokémon Infernal Red / Natural Green Developer
         
        Join Date: Nov 2014
        Location: United Kingdom
        Gender: Male
        Nature: Hasty
        Posts: 99
        There seems to be an issue when switching Pokémon while surfing where non-water types can become followers.
        __________________


        Developing Pokémon Infernal Red and Natural Green! (links below)
        Demo 1.2.0 Trailer!: https://www.youtube.com/watch?v=vjyre_UmMGg
        Pokécommunity: http://www.pokecommunity.com/showthread.php?t=350900
        Reply With Quote
          #29    
        Old January 14th, 2016 (6:47 PM).
        Anova's Avatar
        Anova Anova is offline
           
          Join Date: Jan 2016
          Location: Las Vegas
          Gender: Female
          Nature: Impish
          Posts: 31
          Thanks working great now.
          __________________
          I believe in Jesus Christ my Savior.
          God the Son, Yeshua Hamashiach
          {<3}
          Reply With Quote
            #30    
          Old January 15th, 2016 (1:27 AM).
          mej71's Avatar
          mej71 mej71 is offline
             
            Join Date: Mar 2014
            Location: Omnipresence
            Gender: Male
            Posts: 1,222
            Quote:
            Originally Posted by crispybacon1234 View Post
            There seems to be an issue when switching Pokémon while surfing where non-water types can become followers.
            No there isn't. You can cycle through the followers, yes, this is intentional, but the Sprite does not show. You may be able to talk to the follower still, I can't remember if I checked that or not. However, if that is your concern, you did not say so. If you're going to report things, please be specific.
            Reply With Quote
              #31    
            Old January 15th, 2016 (8:36 AM).
            crispybacon1234's Avatar
            crispybacon1234 crispybacon1234 is offline
            Pokémon Infernal Red / Natural Green Developer
               
              Join Date: Nov 2014
              Location: United Kingdom
              Gender: Male
              Nature: Hasty
              Posts: 99
              Just recreated the problem to confirm if it is still happening, and it is. To be specific, I'm using Kleinstudio's Essentials BW v3.1.1 (which is essentially v15.1), and when I switch Pokémon while surfing, the sprite will appear behind me, even if it is not a water-type Pokémon.

              I tested this twice, once with a water-type Pokémon at the front of my party and once with a non water-type Pokémon at the front of my party. When I switched Pokémon while surfing in both scenarios, the switched Pokémon would appear behind my character (regardless of it's type).

              I hope this is specific enough, and apologies for being vague earlier.

              EDIT: Though when the problem occurs you can't talk to the non-water-type follower.
              __________________


              Developing Pokémon Infernal Red and Natural Green! (links below)
              Demo 1.2.0 Trailer!: https://www.youtube.com/watch?v=vjyre_UmMGg
              Pokécommunity: http://www.pokecommunity.com/showthread.php?t=350900
              Reply With Quote
                #32    
              Old January 15th, 2016 (7:00 PM).
              mej71's Avatar
              mej71 mej71 is offline
                 
                Join Date: Mar 2014
                Location: Omnipresence
                Gender: Male
                Posts: 1,222
                Quote:
                Originally Posted by crispybacon1234 View Post
                Just recreated the problem to confirm if it is still happening, and it is. To be specific, I'm using Kleinstudio's Essentials BW v3.1.1 (which is essentially v15.1), and when I switch Pokémon while surfing, the sprite will appear behind me, even if it is not a water-type Pokémon.

                I tested this twice, once with a water-type Pokémon at the front of my party and once with a non water-type Pokémon at the front of my party. When I switched Pokémon while surfing in both scenarios, the switched Pokémon would appear behind my character (regardless of it's type).

                I hope this is specific enough, and apologies for being vague earlier.

                EDIT: Though when the problem occurs you can't talk to the non-water-type follower.
                Oh, switching from the party screen. This script provides the functionality to rotate your party while in the OW, I assumed that was what you meant. Its fixed now
                Reply With Quote
                  #33    
                Old January 16th, 2016 (4:46 AM).
                crispybacon1234's Avatar
                crispybacon1234 crispybacon1234 is offline
                Pokémon Infernal Red / Natural Green Developer
                   
                  Join Date: Nov 2014
                  Location: United Kingdom
                  Gender: Male
                  Nature: Hasty
                  Posts: 99
                  Thanks for the fix, but I noticed that even if WATERPOKEMONCANSURF is false, switching a water-type Pokémon to the front of your party (while surfing) will still cause it to appear behind you and you can still talk to it.

                  Apart from that, the fix works perfectly.
                  __________________


                  Developing Pokémon Infernal Red and Natural Green! (links below)
                  Demo 1.2.0 Trailer!: https://www.youtube.com/watch?v=vjyre_UmMGg
                  Pokécommunity: http://www.pokecommunity.com/showthread.php?t=350900
                  Reply With Quote
                    #34    
                  Old January 16th, 2016 (7:01 AM).
                  rizakh rizakh is offline
                     
                    Join Date: Jul 2015
                    Posts: 35
                    Exception: NoMethodError
                    Message: undefined method `>' for nil:NilClass
                    RPG__Sprite:124:in `effect?'
                    RPG__Sprite:435:in `effect?'
                    RPG__Sprite:434:in `each'
                    RPG__Sprite:434:in `effect?'
                    AnimationSprite:31:in `update'
                    AnimationSprite:88:in `pheno_old_update'
                    AnimationSprite:87:in `each'
                    AnimationSprite:87:in `pheno_old_update'
                    BW_Phenomenos:362:in `water_old_update'
                    KleinWaterBubbles:169:in `old_update'

                    how to solve? this happens when i talk to pokemon. Using v15.1(bw essentials 3.1)
                    Reply With Quote
                      #35    
                    Old January 16th, 2016 (11:33 AM).
                    Florio's Avatar
                    Florio Florio is offline
                    Pokemon Crimson Skies Owner
                       
                      Join Date: Nov 2008
                      Location: Canada
                      Gender: Male
                      Nature: Lax
                      Posts: 392
                      I get this error when I black out and get sent to he Pokemon Center. The pokemon follower sprite doesn't reappear and when you press CTRL it still doesn't reappear but you get forces to talk to your "Follower" when you press Enter and it isn't even there. You get this game crashing error:

                      Spoiler:
                      Quote:
                      ---------------------------
                      Pokemon Crimson Skies
                      ---------------------------
                      Exception: NoMethodError

                      Message: undefined method `-' for nil:NilClass

                      FollowingPokemon:585:in `talk_to_pokemon'

                      FollowingPokemon:1386:in `update'

                      Scene_Map:68:in `main'

                      Scene_Map:65:in `loop'

                      Scene_Map:72: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\User\Saved Games/Pokemon Crimson Skies/errorlog.txt.

                      Press Ctrl+C to copy this message to the clipboard.
                      ---------------------------
                      OK
                      ---------------------------
                      __________________
                      Reply With Quote
                        #36    
                      Old January 17th, 2016 (8:50 AM).
                      Richard PT's Avatar
                      Richard PT Richard PT is online now
                         
                        Join Date: Aug 2014
                        Location: Portugal
                        Gender: Male
                        Nature: Calm
                        Posts: 115
                        I've got this error but i don't change any line.
                        __________________
                        Reply With Quote
                          #37    
                        Old January 19th, 2016 (10:34 AM).
                        mej71's Avatar
                        mej71 mej71 is offline
                           
                          Join Date: Mar 2014
                          Location: Omnipresence
                          Gender: Male
                          Posts: 1,222
                          Quote:
                          Originally Posted by Florio View Post
                          I get this error when I black out and get sent to he Pokemon Center. The pokemon follower sprite doesn't reappear and when you press CTRL it still doesn't reappear but you get forces to talk to your "Follower" when you press Enter and it isn't even there. You get this game crashing error:
                          This is fixed now. For some reason the starting over method removes dependencies.
                          Reply With Quote
                            #38    
                          Old January 20th, 2016 (1:49 PM).
                          Florio's Avatar
                          Florio Florio is offline
                          Pokemon Crimson Skies Owner
                             
                            Join Date: Nov 2008
                            Location: Canada
                            Gender: Male
                            Nature: Lax
                            Posts: 392
                            Got this error when using Dig and game crashed. If it matters, the Pokemon I tried to use it with was fainted (I think).
                            Spoiler:
                            Quote:
                            ---------------------------
                            Pokemon Crimson Skies
                            ---------------------------
                            Script 'FollowingPokemon' line 946: NameError occurred.

                            uninitialized constant MetadataEscapePoint
                            ---------------------------
                            OK
                            ---------------------------
                            __________________
                            Reply With Quote
                              #39    
                            Old January 20th, 2016 (2:48 PM).
                            mej71's Avatar
                            mej71 mej71 is offline
                               
                              Join Date: Mar 2014
                              Location: Omnipresence
                              Gender: Male
                              Posts: 1,222
                              Quote:
                              Originally Posted by Florio View Post
                              Got this error when using Dig and game crashed. If it matters, the Pokemon I tried to use it with was fainted (I think).
                              This is fixed, and I fixed Escape Rope not working with a follower as well
                              Reply With Quote
                                #40    
                              Old January 21st, 2016 (4:53 AM).
                              mewlover22's Avatar
                              mewlover22 mewlover22 is offline
                              Pokemon Creator
                                 
                                Join Date: Oct 2008
                                Location: South Carolina
                                Gender: Male
                                Nature: Quiet
                                Posts: 346
                                so do we just re download the script because i have the pokemon center issue to?
                                __________________
                                This signature has been disabled.
                                Signature exceeds 600px width limit.
                                Please review and fix the issues by reading the signature rules.

                                You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                                Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                                Reply With Quote
                                  #41    
                                Old January 21st, 2016 (12:40 PM).
                                EdR_Almeida EdR_Almeida is offline
                                   
                                  Join Date: Dec 2015
                                  Gender: Male
                                  Posts: 19
                                  The script is great and I can use it without any problens even, but, the Pokémon does not seem to be moving on the map, seems to be dragged, would that be a mistake?
                                  Reply With Quote
                                    #42    
                                  Old January 23rd, 2016 (8:42 AM).
                                  Richard PT's Avatar
                                  Richard PT Richard PT is online now
                                     
                                    Join Date: Aug 2014
                                    Location: Portugal
                                    Gender: Male
                                    Nature: Calm
                                    Posts: 115
                                    I'm having this error when i open my game. What i must do to fix this?
                                    __________________
                                    Reply With Quote
                                      #43    
                                    Old January 23rd, 2016 (2:40 PM).
                                    rizakh rizakh is offline
                                       
                                      Join Date: Jul 2015
                                      Posts: 35
                                      Quote:
                                      Originally Posted by EdR_Almeida View Post
                                      The script is great and I can use it without any problens even, but, the Pokémon does not seem to be moving on the map, seems to be dragged, would that be a mistake?
                                      You downloaded the sprites? I think it occurs because you dont have the sprites
                                      Reply With Quote
                                        #44    
                                      Old January 24th, 2016 (6:48 PM).
                                      EdR_Almeida EdR_Almeida is offline
                                         
                                        Join Date: Dec 2015
                                        Gender: Male
                                        Posts: 19
                                        Quote:
                                        Originally Posted by rizakh View Post
                                        You downloaded the sprites? I think it occurs because you dont have the sprites
                                        Yes, I have all the sprites, but the Pokémon not appear to be moving, wanted to know if this is normal because I thought he should move as the character, but does not seem be walking, and yes, sliding on the map.
                                        Reply With Quote
                                          #45    
                                        Old January 26th, 2016 (1:36 PM). Edited January 27th, 2016 by Pokébook.
                                        Pokébook's Avatar
                                        Pokébook Pokébook is offline
                                        Marene
                                           
                                          Join Date: Oct 2015
                                          Location: who knows?
                                          Posts: 117
                                          I got this Error, I put everything as you mentioned in the right places. :

                                          Spoiler:

                                          ---------------------------
                                          Pokemon Deluxe
                                          ---------------------------
                                          Script 'Interpreter' line 276: RuntimeError occurred.

                                          Script error within event 39, map 48 (Your house):

                                          Exception: NoMethodError

                                          Message: Section189:166:in `refresh_sprite'undefined method `egg?' for #<PokeBattle_Pokemon:0x9be6a98>

                                          ***Full script:

                                          pbPokemonFollow(39)


                                          Interpreter:243:in `pbExecuteScript'

                                          Following Pokemon:983:in `pbPokemonFollow'

                                          (eval):1:in `pbExecuteScript'

                                          Interpreter:1607:in `eval'

                                          Interpreter:243:in `pbExecuteScript'

                                          Interpreter:1607:in `command_355'

                                          Interpreter:494:in `execute_command'

                                          Interpreter:193:in `update'

                                          Interpreter:106:in `loop'

                                          Interpreter:198:in `update'


                                          ---------------------------
                                          Aceptar
                                          ---------------------------



                                          Now I deleted all Scripts from PokémonFollowing and I can't open the Pause Menu and I got this Error every time I go outside:
                                          Spoiler:

                                          ---------------------------
                                          Pokemon Deluxe
                                          ---------------------------
                                          Script 'Game_Character' line 206: NoMethodError occurred.

                                          undefined method `*' for nil:NilClass
                                          ---------------------------
                                          Aceptar
                                          ---------------------------
                                          __________________
                                          Infinite last forever. Be loyal, be together.
                                          Reply With Quote
                                            #46    
                                          Old January 30th, 2016 (9:28 PM).
                                          Ryz's Avatar
                                          Ryz Ryz is offline
                                             
                                            Join Date: Oct 2015
                                            Location: North Carolina
                                            Gender: Male
                                            Posts: 66
                                            Has anyone gotten this bug with calling the follower update scripts?

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

                                            Message: Script error within event 26, map 48 (Bedroom):

                                            Exception: NoMethodError

                                            Message: Section003:123:in `effect?'undefined method `>' for nil:NilClass

                                            ***Full script:

                                            $PokemonTemp.dependentEvents.refresh_sprite


                                            Interpreter:243:in `pbExecuteScript'

                                            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 Pokemon:1669:in `update'

                                            Scene_Map:51:in `updateSpritesets'



                                            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'

                                            Follower Pokemon:1517:in `update'



                                            This exception was logged in

                                            C:\Users\Ryan\Saved Games/Pokemon Essentials/errorlog.txt.

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

                                            If I replace the animations datafile it fixes it with the one you provided. Once. I try again then it does it again.

                                            Also: I having the same problem as another guy, the Pokemon being dragged. Only happens after I transfer.
                                            Which I'm assume could be fixed by calling one of those scripts. Both crash the game with the same error message.
                                            __________________

                                            Gotta love Link. To all the people who call Link Zelda. I hate you.
                                            Reply With Quote
                                              #47    
                                            Old February 2nd, 2016 (10:55 PM).
                                            msun641 msun641 is offline
                                               
                                              Join Date: Jan 2016
                                              Gender: Male
                                              Posts: 2
                                              Hello! I'm having trouble with follower sprites not being animated in the circumstance of a bridge passing over water tiles underneath. The sprites seem to teleport onto the game_player for every bridge tile over water.
                                              Reply With Quote
                                                #48    
                                              Old February 4th, 2016 (6:28 PM). Edited February 6th, 2016 by Maruno.
                                              Anova's Avatar
                                              Anova Anova is offline
                                                 
                                                Join Date: Jan 2016
                                                Location: Las Vegas
                                                Gender: Female
                                                Nature: Impish
                                                Posts: 31
                                                I am also waiting for a fix for walking over bridges from right to left and over puddles, but that doesn't bother me as much as the footprints script... I would love to figure out how to make it so the invisible following pokemon doesn't have footprints.

                                                I also had a SystemStackError when trying to enter the Cycling Road, but I did find a work around. All I did was make the $game_switches[Toggle_Following_Switch]=false before going on the Road and true when going back.
                                                __________________
                                                I believe in Jesus Christ my Savior.
                                                God the Son, Yeshua Hamashiach
                                                {<3}
                                                Reply With Quote
                                                  #49    
                                                Old February 14th, 2016 (5:20 AM).
                                                Anova's Avatar
                                                Anova Anova is offline
                                                   
                                                  Join Date: Jan 2016
                                                  Location: Las Vegas
                                                  Gender: Female
                                                  Nature: Impish
                                                  Posts: 31
                                                  Well I think I have a fix for walking over bridges.... But not Puddles yet...
                                                  Just place it under the code for Fix for followers having animations (grass, etc) when toggled off in Script
                                                  Code:
                                                  def pbGetTerrainTag(event=nil,countWater=false)
                                                    ret=follow_pbGetTerrainTag(event,countWater)
                                                    if event && event!=$game_player
                                                      for devent in $PokemonGlobal.dependentEvents
                                                        if event.id==devent[1] && !$game_switches[Toggle_Following_Switch]
                                                          ret = PBTerrain.isWater?(tag) 
                                                          break
                                                        end
                                                      end
                                                    end
                                                    return ret
                                                  end
                                                  __________________
                                                  I believe in Jesus Christ my Savior.
                                                  God the Son, Yeshua Hamashiach
                                                  {<3}
                                                  Reply With Quote
                                                    #50    
                                                  Old February 14th, 2016 (11:27 AM).
                                                  Joltik's Avatar
                                                  Joltik Joltik is offline
                                                     
                                                    Join Date: Jan 2010
                                                    Gender: Male
                                                    Nature: Modest
                                                    Posts: 126
                                                    Hi!

                                                    I tried to change the files directory to be a subfolder inside of Graphics/Characters. However, I realized that there is a comment in the scripts explicitly saying not to do so (and indeed it doesn't work if one tries). Why not? It would make the Characters folder much tidier if there weren't 1400 OW images on it.
                                                    Is it possible to toggle the script a little bit to get the files in, say, Graphics/Characters/OWs ?
                                                    Thank you very much!

                                                    J
                                                    __________________

                                                    Check out my DeviantArt account! My game project is called Pokemon Subrosia.
                                                    My DeviantArt | Old DeviantArt
                                                    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
                                                    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 2:12 AM.