Scripts, Tutorials & Tools 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
  #76    
Old April 30th, 2016 (5:42 AM).
pauloalex4091 pauloalex4091 is offline
     
    Join Date: Mar 2016
    Gender: Male
    Posts: 87
    Quote:
    Originally Posted by mej71 View Post
    That's normal. If you want to stop that, find where the transferring occurs, and add the red part to this line
    Code:
    $PokemonTemp.dependentEvents.refresh_sprite(false)
    NO worries then.....If it is normal It will stay like that. Ty very much.
    Reply With Quote
      #77    
    Old May 2nd, 2016 (2:34 PM). Edited May 2nd, 2016 by Phasma.
    Phasma's Avatar
    Phasma Phasma is offline
       
      Join Date: May 2016
      Gender: Male
      Posts: 20
      when i talk to the pokemon or just go through a door i get this error... (i'm using pokemon essentials v16.1 with gen 6 added)
      Spoiler:

      ---------------------------
      Pokemon Essentials v16.1
      ---------------------------
      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 `klein_shadow_update'

      AnimationSprite:87:in `each'

      AnimationSprite:87:in `klein_shadow_update'

      OverworldShadows:123:in `follower_update'

      Following Pokemon:1733:in `update'

      ============================================

      i've tried to remove the overworld shadows but the error remains

      ---------------------------
      Pokemon Essentials v16.1
      ---------------------------
      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'

      Following Pokemon:1733:in `update'

      Scene_Map:51:in `updateSpritesets'

      How can i fix it?
      Reply With Quote
        #78    
      Old May 2nd, 2016 (5:35 PM).
      mej71's Avatar
      mej71 mej71 is offline
         
        Join Date: Mar 2014
        Location: Omnipresence
        Gender: Male
        Posts: 1,219
        Quote:
        Originally Posted by Phasma View Post
        when i talk to the pokemon or just go through a door i get this error... (i'm using pokemon essentials v16.1 with gen 6 added)
        Spoiler:

        ---------------------------
        Pokemon Essentials v16.1
        ---------------------------
        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 `klein_shadow_update'

        AnimationSprite:87:in `each'

        AnimationSprite:87:in `klein_shadow_update'

        OverworldShadows:123:in `follower_update'

        Following Pokemon:1733:in `update'

        ============================================

        i've tried to remove the overworld shadows but the error remains

        ---------------------------
        Pokemon Essentials v16.1
        ---------------------------
        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'

        Following Pokemon:1733:in `update'

        Scene_Map:51:in `updateSpritesets'

        How can i fix it?
        You have to close rmxp before replacing Animations.rxdata
        You did not.
        Reply With Quote
          #79    
        Old May 3rd, 2016 (2:33 AM).
        Phasma's Avatar
        Phasma Phasma is offline
           
          Join Date: May 2016
          Gender: Male
          Posts: 20
          Now it works, thank you!
          Reply With Quote
            #80    
          Old May 3rd, 2016 (10:26 AM).
          pauloalex4091 pauloalex4091 is offline
             
            Join Date: Mar 2016
            Gender: Male
            Posts: 87
            https:// gyazo. com/a71040141afb1f934ed62a294002e796 - I cannot post links yet.
            I was using your follower script and I noticed that this happen when I try to cross connected maps. I was in my game testing route 2 and Doyle city and this happened.
            Tell me is this a bug or not ...or a known bug that is not fixed yet. Thank you very much once again
            Reply With Quote
              #81    
            Old May 4th, 2016 (1:48 PM).
            mej71's Avatar
            mej71 mej71 is offline
               
              Join Date: Mar 2014
              Location: Omnipresence
              Gender: Male
              Posts: 1,219
              Quote:
              Originally Posted by pauloalex4091 View Post
              https:// gyazo. com/a71040141afb1f934ed62a294002e796 - I cannot post links yet.
              I was using your follower script and I noticed that this happen when I try to cross connected maps. I was in my game testing route 2 and Doyle city and this happened.
              Tell me is this a bug or not ...or a known bug that is not fixed yet. Thank you very much once again
              Not a bug I'll be fixing. That's not caused by dependent events, that's caused by how map connections are handled. KleinStudio's map connection fix script helps it a bit though.

              I've added support for Lucidious89's Pokemon Birthsign's script, to incorporate his new birthday feature without your need to modify scripts. You still need the graphics he's provided, which can be found here.
              Reply With Quote
                #82    
              Old May 4th, 2016 (2:14 PM).
              Mutant Yoshi Mutant Yoshi is offline
                 
                Join Date: May 2014
                Gender: Male
                Nature: Timid
                Posts: 150
                The only downside to using KleinStudio's map connection fix script is that the map names don't really show up anymore. I tried using it and decided to stop once I realized the map names no longer showed. Though that's not really Mej's place to fix it.
                Reply With Quote
                  #83    
                Old May 5th, 2016 (7:04 AM).
                pauloalex4091 pauloalex4091 is offline
                   
                  Join Date: Mar 2016
                  Gender: Male
                  Posts: 87
                  Quote:
                  Originally Posted by mej71 View Post
                  Not a bug I'll be fixing. That's not caused by dependent events, that's caused by how map connections are handled. KleinStudio's map connection fix script helps it a bit though.

                  I've added support for Lucidious89's Pokemon Birthsign's script, to incorporate his new birthday feature without your need to modify scripts. You still need the graphics he's provided, which can be found here.
                  Ty man I´ll use it like this...I just wanted to know if I was doing something wrong...This bug does not bother me at all
                  Reply With Quote
                    #84    
                  Old May 9th, 2016 (8:00 AM).
                  Phasma's Avatar
                  Phasma Phasma is offline
                     
                    Join Date: May 2016
                    Gender: Male
                    Posts: 20
                    Another question! When the forms of my pokemon changes the sprites doesn't. I've tried to give to my giratina a griseous orb and the sprite remains the same! (i've all the sprites in characters folder) How can i fix it?
                    Reply With Quote
                      #85    
                    Old May 9th, 2016 (10:48 AM).
                    mej71's Avatar
                    mej71 mej71 is offline
                       
                      Join Date: Mar 2014
                      Location: Omnipresence
                      Gender: Male
                      Posts: 1,219
                      Quote:
                      Originally Posted by Phasma View Post
                      Another question! When the forms of my pokemon changes the sprites doesn't. I've tried to give to my giratina a griseous orb and the sprite remains the same! (i've all the sprites in characters folder) How can i fix it?
                      Fixed
                      Reply With Quote
                        #86    
                      Old May 9th, 2016 (4:17 PM).
                      Phasma's Avatar
                      Phasma Phasma is offline
                         
                        Join Date: May 2016
                        Gender: Male
                        Posts: 20
                        if i do Menu\Pokemon\Giratina\Item\Give everythings work, but if i give the item by Bag i got this error

                        Exception: NoMethodError

                        Message: undefined method `>' for true:TrueClass

                        Following Pokemon:1932:in `pbPokemonGiveScreen'

                        PScreen_Bag:590:in `pbStartScreen'

                        PScreen_Bag:587:in `pbFadeOutIn'

                        PScreen_Bag:587:in `pbStartScreen'

                        PScreen_Bag:542:in `loop'

                        PScreen_Bag:610:in `pbStartScreen'

                        PScreen_PauseMenu:190:in `pbStartPokemonMenu'

                        PScreen_PauseMenu:189:in `pbFadeOutIn'

                        PScreen_PauseMenu:189:in `pbStartPokemonMenu'

                        PScreen_PauseMenu:143:in `loop'
                        Reply With Quote
                          #87    
                        Old May 9th, 2016 (4:31 PM).
                        mej71's Avatar
                        mej71 mej71 is offline
                           
                          Join Date: Mar 2014
                          Location: Omnipresence
                          Gender: Male
                          Posts: 1,219
                          Quote:
                          Originally Posted by Phasma View Post
                          if i do Menu\Pokemon\Giratina\Item\Give everythings work, but if i give the item by Bag i got this error

                          Exception: NoMethodError

                          Message: undefined method `>' for true:TrueClass

                          Following Pokemon:1932:in `pbPokemonGiveScreen'

                          PScreen_Bag:590:in `pbStartScreen'

                          PScreen_Bag:587:in `pbFadeOutIn'

                          PScreen_Bag:587:in `pbStartScreen'

                          PScreen_Bag:542:in `loop'

                          PScreen_Bag:610:in `pbStartScreen'

                          PScreen_PauseMenu:190:in `pbStartPokemonMenu'

                          PScreen_PauseMenu:189:in `pbFadeOutIn'

                          PScreen_PauseMenu:189:in `pbStartPokemonMenu'

                          PScreen_PauseMenu:143:in `loop'
                          That line says
                          Code:
                          if ret>0
                          remove >0
                          Reply With Quote
                            #88    
                          Old May 12th, 2016 (5:25 AM).
                          pauloalex4091 pauloalex4091 is offline
                             
                            Join Date: Mar 2016
                            Gender: Male
                            Posts: 87
                            Hey Mej im using your follower system. When I add another dependy, even with my pokemon not following me at all this happens:
                            https:// gyazo. com/f64507439cb28b3644ef2f42f797d070
                            As you can see there is space between me and that (wooper in this case) depent event. Feels like someone invisible is behind me.
                            Anyways, to conclude is this a bug or normal or can I something about it?
                            Ty anyways and good day.
                            Note: sorry horrible english..again
                            Reply With Quote
                              #89    
                            Old May 12th, 2016 (9:13 AM).
                            mej71's Avatar
                            mej71 mej71 is offline
                               
                              Join Date: Mar 2014
                              Location: Omnipresence
                              Gender: Male
                              Posts: 1,219
                              Quote:
                              Originally Posted by pauloalex4091 View Post
                              Hey Mej im using your follower system. When I add another dependy, even with my pokemon not following me at all this happens:
                              https:// gyazo. com/f64507439cb28b3644ef2f42f797d070
                              As you can see there is space between me and that (wooper in this case) depent event. Feels like someone invisible is behind me.
                              Anyways, to conclude is this a bug or normal or can I something about it?
                              Ty anyways and good day.
                              Note: sorry horrible english..again
                              "even with my pokemon not following me"
                              Just because you toggle a switch doesn't mean your pokemon isn't following you anymore. The graphic and any noticeable effects are removed, but the event still exists so that when you turn the switch back on it's still there. You actually have to completely remove the event, and then add it back later.
                              Reply With Quote
                                #90    
                              Old May 12th, 2016 (9:49 AM).
                              pauloalex4091 pauloalex4091 is offline
                                 
                                Join Date: Mar 2016
                                Gender: Male
                                Posts: 87
                                Quote:
                                Originally Posted by mej71 View Post
                                "even with my pokemon not following me"
                                Just because you toggle a switch doesn't mean your pokemon isn't following you anymore. The graphic and any noticeable effects are removed, but the event still exists so that when you turn the switch back on it's still there. You actually have to completely remove the event, and then add it back later.
                                Sorry I´ve explained myself in a bad way. My english sucks..How can I remove the event completely?
                                Reply With Quote
                                  #91    
                                Old May 12th, 2016 (10:02 AM).
                                mej71's Avatar
                                mej71 mej71 is offline
                                   
                                  Join Date: Mar 2014
                                  Location: Omnipresence
                                  Gender: Male
                                  Posts: 1,219
                                  Quote:
                                  Originally Posted by pauloalex4091 View Post
                                  Sorry I´ve explained myself in a bad way. My english sucks..How can I remove the event completely?
                                  Code:
                                  pbRemoveDependencies
                                  Then add your new dependent event.
                                  Reply With Quote
                                    #92    
                                  Old May 13th, 2016 (1:07 PM). Edited May 13th, 2016 by NinjaSlayer461.
                                  NinjaSlayer461 NinjaSlayer461 is offline
                                     
                                    Join Date: Jul 2015
                                    Gender: Male
                                    Posts: 10
                                    i got this error code when i talk to my pokemon or try to enter a new area
                                    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'
                                    PokemonFollowingScript:1768:in `update'
                                    Scene_Map:51:in `updateSpritesets'
                                    Reply With Quote
                                      #93    
                                    Old May 20th, 2016 (10:38 PM).
                                    Chris313 Chris313 is offline
                                       
                                      Join Date: Mar 2016
                                      Gender: Male
                                      Posts: 28
                                      Hi a small question do i need to keep overworlds in a separtae folder or do i even need an overworld?
                                      I know u need but how do i define where the overworlds are kept in the script any help is appreciated

                                      Thanks in advance
                                      Reply With Quote
                                        #94    
                                      Old May 20th, 2016 (11:40 PM).
                                      mej71's Avatar
                                      mej71 mej71 is offline
                                         
                                        Join Date: Mar 2014
                                        Location: Omnipresence
                                        Gender: Male
                                        Posts: 1,219
                                        Quote:
                                        Originally Posted by Chris313 View Post
                                        Hi a small question do i need to keep overworlds in a separtae folder or do i even need an overworld?
                                        I know u need but how do i define where the overworlds are kept in the script any help is appreciated

                                        Thanks in advance
                                        They go in your Graphics/Characters folder.
                                        Reply With Quote
                                          #95    
                                        Old May 21st, 2016 (8:32 AM).
                                        Neeb Neeb is offline
                                           
                                          Join Date: May 2010
                                          Posts: 25
                                          Hey guys I got a question Im an amateur scripting and I want just 1 pokemon to follow my character like pikachu in yellow version how do I modify the main script?
                                          Reply With Quote
                                            #96    
                                          Old May 22nd, 2016 (9:55 PM).
                                          Vendily's Avatar
                                          Vendily Vendily is offline
                                             
                                            Join Date: Aug 2015
                                            Gender: Female
                                            Nature: Calm
                                            Posts: 777
                                            Quote:
                                            Originally Posted by NinjaSlayer461 View Post
                                            i got this error code when i talk to my pokemon or try to enter a new area
                                            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'
                                            PokemonFollowingScript:1768:in `update'
                                            Scene_Map:51:in `updateSpritesets'
                                            I fixed it by changing:
                                            def talk_to_pokemon
                                            Code:
                                            	    if e!=0	
                                                  if e.hp>0 && !$Trainer.party[0].isEgg?
                                            to
                                            Code:
                                                if e != 0
                                                  if e.hp > 0 && !$Trainer.party[0].isEgg?
                                            And def update
                                            Code:
                                                if $PokemonTemp.dependentEvents.lastUpdate!=@lastUpdate
                                            to
                                            Code:
                                                if $PokemonTemp.dependentEvents.lastUpdate != @lastUpdate
                                            But, I'm using Klein's BW kit. so I don't know.
                                            __________________
                                            Resources for ROM hackers has moved.

                                            Reply With Quote
                                              #97    
                                            Old May 22nd, 2016 (10:54 PM).
                                            mej71's Avatar
                                            mej71 mej71 is offline
                                               
                                              Join Date: Mar 2014
                                              Location: Omnipresence
                                              Gender: Male
                                              Posts: 1,219
                                              Quote:
                                              Originally Posted by Vendily View Post
                                              I fixed it by changing:
                                              def talk_to_pokemon
                                              Code:
                                              	    if e!=0	
                                                    if e.hp>0 && !$Trainer.party[0].isEgg?
                                              to
                                              Code:
                                                  if e != 0
                                                    if e.hp > 0 && !$Trainer.party[0].isEgg?
                                              And def update
                                              Code:
                                                  if $PokemonTemp.dependentEvents.lastUpdate!=@lastUpdate
                                              to
                                              Code:
                                                  if $PokemonTemp.dependentEvents.lastUpdate != @lastUpdate
                                              But, I'm using Klein's BW kit. so I don't know.
                                              This problem is caused by you not closing RMXP before replacing the Animations file, not any sort of script issue.

                                              Also, your "fixes" there don't even change the code at all, you just changed some spacing. It will be interpreted the same way.
                                              Reply With Quote
                                                #98    
                                              Old May 23rd, 2016 (5:34 AM).
                                              Vendily's Avatar
                                              Vendily Vendily is offline
                                                 
                                                Join Date: Aug 2015
                                                Gender: Female
                                                Nature: Calm
                                                Posts: 777
                                                Quote:
                                                Originally Posted by mej71 View Post
                                                This problem is caused by you not closing RMXP before replacing the Animations file, not any sort of script issue.

                                                Also, your "fixes" there don't even change the code at all, you just changed some spacing. It will be interpreted the same way.
                                                But I did close RMXP. Multiple times as I thought I screwed up and didn't close it, since your thread says close it and any problems are probably your fault.
                                                And I didn't know that the spacing doesn't matter. I was just looking for the synax highlighting, which didn't highlight the ! in the !=.
                                                I'm just happy I have the following pokemon now. And I'm grateful for this being plug and play.
                                                __________________
                                                Resources for ROM hackers has moved.

                                                Reply With Quote
                                                  #99    
                                                Old May 23rd, 2016 (7:19 AM).
                                                Chris313 Chris313 is offline
                                                   
                                                  Join Date: Mar 2016
                                                  Gender: Male
                                                  Posts: 28
                                                  Quote:
                                                  Originally Posted by mej71 View Post
                                                  They go in your Graphics/Characters folder.
                                                  I have trainers images named 001.png
                                                  so do I have to make them into trainers001.png and what do I do after making a modification like that nothing or like editing scripts?
                                                  Reply With Quote
                                                    #100    
                                                  Old May 23rd, 2016 (9:58 AM). Edited May 23rd, 2016 by pauloalex4091.
                                                  pauloalex4091 pauloalex4091 is offline
                                                     
                                                    Join Date: Mar 2016
                                                    Gender: Male
                                                    Posts: 87
                                                    Can u help me mej71?
                                                    https://www. youtube. com/watch?v=tkFEhcxQljk&feature=youtu.be
                                                    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 8:56 AM.