Resources Everything you need to help make your game can be found in here. You can also post your own resources. Remember to give credit!
The thread revival limit does not apply here.

TrollandToad.com
Reply
 
Thread Tools
  #26    
Old January 28th, 2017 (10:44 AM). Edited January 28th, 2017 by Marin.
Marin's Avatar
Marin Marin is offline
Not Bored
  • Moderator
 
Join Date: Nov 2016
Location: The Netherlands
Gender: Male
Nature: Bashful
Posts: 595
Quote:
Originally Posted by Gemini_air View Post
I Submitted both icons and sprites ... the error is as follows (the number is the last line of the pokèbattle_battler)
Such errors typically occur whenever you're missing an "end". From what I can see in the code I provided, there aren't any "end"s missing. Have you followed the steps correctly and pasted where things should be pasted?

Perhaps you could try changing
Code:
          @effects[PBEffects::BattleBond]=1
to
Code:
          user.effects[PBEffects::BattleBond]=1
__________________
Reply With Quote

Relevant Advertising!

  #27    
Old January 28th, 2017 (2:54 PM).
Gemini_air's Avatar
Gemini_air Gemini_air is offline
     
    Join Date: Oct 2014
    Posts: 39
    yes, i paste and change correctly, but nothing :(
    Reply With Quote
      #28    
    Old January 29th, 2017 (1:47 AM).
    Marin's Avatar
    Marin Marin is offline
    Not Bored
    • Moderator
     
    Join Date: Nov 2016
    Location: The Netherlands
    Gender: Male
    Nature: Bashful
    Posts: 595
    Quote:
    Originally Posted by Gemini_air View Post
    yes, i paste and change correctly, but nothing
    I really don't know what else could be wrong. Could you send me screenshots of what Battle Bond looks like in your script? Private message, so we don't spam this thread. This is what Battle Bond should look like:
    Code:
        # Arceus
        if isConst?(self.ability,PBAbilities,:MULTITYPE) &&
           isConst?(self.species,PBSpecies,:ARCEUS)
          if [email protected]
            [email protected]
            transformed=true
          end
        end
        # Zen Mode
        if isConst?(self.species,PBSpecies,:DARMANITAN)
          if self.hasWorkingAbility(:ZENMODE) && @hp<=((@totalhp/2).floor)
            if self.form!=1
              self.form=1; transformed=true
            end
          else
            if self.form!=0
              self.form=0; transformed=true
            end
          end
        end
        # Greninja
        if isConst?(self.species,PBSpecies,:GRENINJA) && self.hasWorkingAbility(:BATTLEBOND)
          user=self
          if user.effects[PBEffects::BattleBond]==1 && self.form==0
            self.form=1; transformed=true
          end
        end
    Code:
        # Moxie
        if user.hasWorkingAbility(:MOXIE) && target.isFainted?
          if user.pbIncreaseStatWithCause(PBStats::ATTACK,1,user,PBAbilities.getName(user.ability))
            PBDebug.log("[Ability triggered] #{user.pbThis}'s Moxie")
          end
        end
        # Battle Bond
        if isConst?(user.species,PBSpecies,:GRENINJA) && user.hasWorkingAbility(:BATTLEBOND)
          if target.isFainted? && !user.isFainted? && user.form==0
            [email protected](target.index)
            if party.length>1
              PBDebug.log("[Ability triggered] #{user.pbThis}'s Battle Bond")
              @effects[PBEffects::BattleBond]=1
            end
          end
        end
    Besides that, make sure you've defined the BattleBond effect appropriately.
    __________________
    Reply With Quote
      #29    
    Old January 29th, 2017 (9:55 AM).
    onepiece01 onepiece01 is offline
       
      Join Date: Aug 2015
      Posts: 8
      I was adding Laser Focus, but my game doesn't find def pbEffectsOnMoveEnd
      I am using Essentials 16.2. How can I resolve?
      Reply With Quote
        #30    
      Old January 29th, 2017 (10:22 AM).
      Marin's Avatar
      Marin Marin is offline
      Not Bored
      • Moderator
       
      Join Date: Nov 2016
      Location: The Netherlands
      Gender: Male
      Nature: Bashful
      Posts: 595
      Quote:
      Originally Posted by onepiece01 View Post
      I was adding Laser Focus, but my game doesn't find def pbEffectsOnMoveEnd
      I am using Essentials 16.2. How can I resolve?
      I noticed this earlier today with something else, here is a quick tutorial that explains how to add it (I'll put it in the main pack and updates as well):

      Spoiler:
      Code:
      # In PokeBattle_Battler, add this above "def pbObedienceCheck?":
      
      ################################################################################
      # Effects end of turn
      ################################################################################
        def pbEffectsOnMoveEnd(move,user,target,damage)
          user.effects[PBEffects::LaserFocus]-=1
        end
      
      
      # Lower down PokeBattle_Battler, find the following lines:
      
            target.pbFaint if target.isFainted? # no return
            user.pbFaint if user.isFainted? # no return
            break if user.isFainted? || target.isFainted?
            # Berry check (maybe just called by ability effect, since only necessary Berries are checked)
            for j in 0...4
              @battle.battlers[j].pbBerryCureCheck
            end
      # PASTE LINE BELOW HERE
            break if user.isFainted? || target.isFainted?
            target.pbUpdateTargetedMove(thismove,user)
            break if target.damagestate.calcdamage<=0
          end
          turneffects[PBEffects::TotalDamage]+=totaldamage if totaldamage>0
      
      
      # Paste this line where indicated:
      
            pbEffectsOnMoveEnd(thismove,user,target,damage)

      This function is something Rot8er_ConeX made for two of his abilities, Emergency Exit and Wimpout, but I thought it came with essentials since I've had it for a very long time. My bad and credit for the creation of this function goes to him.
      __________________
      Reply With Quote
        #31    
      Old February 1st, 2017 (10:37 AM).
      EdR_Almeida EdR_Almeida is offline
         
        Join Date: Dec 2015
        Gender: Male
        Posts: 19
        Hello, I'm editing all the scripts and I'm having a problem with this part of RKS-System:

        # Find this line:
        if isConst?(opponent.ability,PBAbilities,:MULTITYPE)
        # And replace it with this:
        if isConst?(opponent.ability,PBAbilities,:MULTITYPE) || isConst?(opponent.ability,PBAbilities,:RKSSYSTEM

        Where I can not find the line above, could you tell me which script it is in?
        Reply With Quote
          #32    
        Old February 1st, 2017 (12:13 PM).
        Marin's Avatar
        Marin Marin is offline
        Not Bored
        • Moderator
         
        Join Date: Nov 2016
        Location: The Netherlands
        Gender: Male
        Nature: Bashful
        Posts: 595
        Quote:
        Originally Posted by EdR_Almeida View Post
        Hello, I'm editing all the scripts and I'm having a problem with this part of RKS-System:

        # Find this line:
        if isConst?(opponent.ability,PBAbilities,:MULTITYPE)
        # And replace it with this:
        if isConst?(opponent.ability,PBAbilities,:MULTITYPE) || isConst?(opponent.ability,PBAbilities,:RKSSYSTEM

        Where I can not find the line above, could you tell me which script it is in?
        That's most likely located in PokeBattle_MoveEffects, under "Soak". Ctrl + F for "Target becomes Water type. (Soak)".

        I just realized how many instances I probably missed for adding in RKS-System under other moves, but you could always add those in yourself.
        __________________
        Reply With Quote
          #33    
        Old February 8th, 2017 (12:03 PM).
        Gemini_air's Avatar
        Gemini_air Gemini_air is offline
           
          Join Date: Oct 2014
          Posts: 39
          I resolved all problems...thanks man!!!!!!
          Reply With Quote
            #34    
          Old February 9th, 2017 (12:55 PM).
          JoaoXDgames's Avatar
          JoaoXDgames JoaoXDgames is offline
             
            Join Date: May 2016
            Gender: Male
            Posts: 1
            Hello, I really wanted this package for my project, but when I click to download, the download simply does not recognize the file size and then it looks like it gave error.

            If it is possible, could you send it on another site like mediafire or mega?
            Reply With Quote
              #35    
            Old February 10th, 2017 (8:39 AM).
            Marin's Avatar
            Marin Marin is offline
            Not Bored
            • Moderator
             
            Join Date: Nov 2016
            Location: The Netherlands
            Gender: Male
            Nature: Bashful
            Posts: 595
            Quote:
            Originally Posted by JoaoXDgames View Post
            Hello, I really wanted this package for my project, but when I click to download, the download simply does not recognize the file size and then it looks like it gave error.

            If it is possible, could you send it on another site like mediafire or mega?
            Could you please specify which one? And did you only press the link, nothing more or less?
            Because for me, it's working perfectly fine.

            I tried uploading it to Mediafire, but it's being a huge asshole so that's not going to work. It wants me to upload every single file individually.
            __________________
            Reply With Quote
              #36    
            Old February 16th, 2017 (6:55 AM).
            Bonslyfan's Avatar
            Bonslyfan Bonslyfan is offline
               
              Join Date: Jun 2010
              Location: Australia
              Gender: Male
              Nature: Relaxed
              Posts: 27
              If I may make a small suggestion...it may be best to make the download smaller. You could upload each folder separately, such as placing music in one folder, and graphics in another. The file is pretty big. You don't have to, but a lot of people might appreciate it, if they can choose what they want to download, instead of having a huge chunk of stuff to download. I myself cannot download this pack.
              __________________
              Professor: You may pick a Pokémon.
              Trainer: Hmm...Can I borrow all of them to see which is better?
              Professor: Sure!
              *Several weeks later*
              Professor: He isn't coming back is he...

              http://i1268.photobucket.com/albums/jj579/Rayquaza-Dot/Pokemon-Skyblaze-Supporter.gif
              Reply With Quote
                #37    
              Old February 16th, 2017 (1:26 PM).
              Marin's Avatar
              Marin Marin is offline
              Not Bored
              • Moderator
               
              Join Date: Nov 2016
              Location: The Netherlands
              Gender: Male
              Nature: Bashful
              Posts: 595
              Quote:
              Originally Posted by Bonslyfan View Post
              If I may make a small suggestion...it may be best to make the download smaller. You could upload each folder separately, such as placing music in one folder, and graphics in another. The file is pretty big. You don't have to, but a lot of people might appreciate it, if they can choose what they want to download, instead of having a huge chunk of stuff to download. I myself cannot download this pack.
              Thanks for your suggestion! I'll chop the download tomorrow, the audio files are probably especially big. I'm also going to include some new audio, as in properly looped versions with .ogg.
              __________________
              Reply With Quote
                #38    
              Old February 16th, 2017 (1:42 PM).
              pedro ique's Avatar
              pedro ique pedro ique is offline
                 
                Join Date: Feb 2017
                Gender: Male
                Posts: 61
                erroClick image for larger version

Name:	Sem título.png
Views:	64
Size:	33.6 KB
ID:	81346
                Reply With Quote
                  #39    
                Old February 17th, 2017 (6:08 AM).
                Marin's Avatar
                Marin Marin is offline
                Not Bored
                • Moderator
                 
                Join Date: Nov 2016
                Location: The Netherlands
                Gender: Male
                Nature: Bashful
                Posts: 595
                Quote:
                Originally Posted by pedro ique View Post
                Have you not imported/compiled the abilities? Because pokemon.txt has gen 7 abilities included that will give such errors if you don't have the gen 7 abilities. Same goes for moves.
                __________________
                Reply With Quote
                  #40    
                Old February 17th, 2017 (11:36 AM).
                pedro ique's Avatar
                pedro ique pedro ique is offline
                   
                  Join Date: Feb 2017
                  Gender: Male
                  Posts: 61
                  Where do I get the 7 gene abilities?
                  Reply With Quote
                    #41    
                  Old February 17th, 2017 (12:37 PM).
                  Rot8er_ConeX's Avatar
                  Rot8er_ConeX Rot8er_ConeX is offline
                     
                    Join Date: May 2015
                    Location: The Dissa Region
                    Gender: Male
                    Posts: 823
                    Quote:
                    Originally Posted by pedro ique View Post
                    Where do I get the 7 gene abilities?
                    from this pack ._.
                    __________________
                    Features of Pokemon Entropy

                    The black circular "doodles" in the lower right corner of my avatar are actually my username written in Gallifreyan. Yes I'm a Whovian.
                    Reply With Quote
                      #42    
                    Old February 17th, 2017 (4:47 PM).
                    Mashirosakura's Avatar
                    Mashirosakura Mashirosakura is offline
                       
                      Join Date: Jan 2017
                      Gender: Male
                      Posts: 48
                      Ok so I downloaded and updated my essentials with all this and I got these errors. The first is wild battle and the second is trainer.

                      [code]Exception: NameError
                      Message: undefined local variable or method `opponent' for #
                      Reply With Quote
                        #43    
                      Old February 17th, 2017 (10:06 PM).
                      Rot8er_ConeX's Avatar
                      Rot8er_ConeX Rot8er_ConeX is offline
                         
                        Join Date: May 2015
                        Location: The Dissa Region
                        Gender: Male
                        Posts: 823
                        Has someone attempted to make Gen VII follower sprites yet?
                        __________________
                        Features of Pokemon Entropy

                        The black circular "doodles" in the lower right corner of my avatar are actually my username written in Gallifreyan. Yes I'm a Whovian.
                        Reply With Quote
                          #44    
                        Old February 18th, 2017 (3:01 AM).
                        Marin's Avatar
                        Marin Marin is offline
                        Not Bored
                        • Moderator
                         
                        Join Date: Nov 2016
                        Location: The Netherlands
                        Gender: Male
                        Nature: Bashful
                        Posts: 595
                        [QUOTE=Mashirosakura;9573763]Ok so I downloaded and updated my essentials with all this and I got these errors. The first is wild battle and the second is trainer.

                        [code]Exception: NameError
                        Message: undefined local variable or method `opponent' for #
                        __________________
                        Reply With Quote
                          #45    
                        Old February 18th, 2017 (5:06 AM).
                        Mashirosakura's Avatar
                        Mashirosakura Mashirosakura is offline
                           
                          Join Date: Jan 2017
                          Gender: Male
                          Posts: 48
                          Quote:
                          Originally Posted by M3rein View Post
                          More information please? What Pokémon did you send out/would you send out, what would/has the trainer send/sent out, have you made sure to you inserted everything properly, and with imported into Essentials, I assume you are running v16.2?
                          It's any Pokémon; it happens with every trainer. I spent about 3 hours carefully going through the files and placing them into my scripts. And yes I am running v16.2
                          Another piece of information I noticed is that it may involve something with Silvally or BattleBond Greninja because it involves the pbCheckForm part of PokeBattle_Battler. It says that a local variable or method 'opponent' is undefined.
                          Reply With Quote
                            #46    
                          Old February 18th, 2017 (8:08 AM). Edited February 18th, 2017 by Marin.
                          Marin's Avatar
                          Marin Marin is offline
                          Not Bored
                          • Moderator
                           
                          Join Date: Nov 2016
                          Location: The Netherlands
                          Gender: Male
                          Nature: Bashful
                          Posts: 595
                          Quote:
                          Originally Posted by Mashirosakura View Post
                          It's any Pokémon; it happens with every trainer. I spent about 3 hours carefully going through the files and placing them into my scripts. And yes I am running v16.2
                          Another piece of information I noticed is that it may involve something with Silvally or BattleBond Greninja because it involves the pbCheckForm part of PokeBattle_Battler. It says that a local variable or method 'opponent' is undefined.
                          I forgot to ask, could you give me roughly 5 lines before line 888 and 5 after (include 888)? I wasn't having any problems on my end, so I think I may have made a mistake making my "tutorial" files, or you might have made a small error. Anyways, could you give me the lines? I'll take a look at it.

                          I've also just updated the main post to include four extra download links, each for a different folder from the pack. ALSO, I've added a few .ogg audio files, which have loop tags included.
                          __________________
                          Reply With Quote
                            #47    
                          Old February 19th, 2017 (12:12 PM).
                          Mashirosakura's Avatar
                          Mashirosakura Mashirosakura is offline
                             
                            Join Date: Jan 2017
                            Gender: Male
                            Posts: 48
                            Quote:
                            Originally Posted by M3rein View Post
                            I forgot to ask, could you give me roughly 5 lines before line 888 and 5 after (include 888)? I wasn't having any problems on my end, so I think I may have made a mistake making my "tutorial" files, or you might have made a small error. Anyways, could you give me the lines? I'll take a look at it.

                            I've also just updated the main post to include four extra download links, each for a different folder from the pack. ALSO, I've added a few .ogg audio files, which have loop tags included.
                            Code:
                                # Giratina
                                if isConst?(self.species,PBSpecies,:GIRATINA)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Arceus
                                if isConst?(opponent.ability,PBAbilities,:MULTITYPE) || isConst?(opponent.ability,PBAbilities,:RKSSYSTEM)
                                   isConst?(self.species,PBSpecies,:ARCEUS)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Silvally
                                if isConst?(self.ability,PBAbilities,:RKSSYSTEM) &&
                                   isConst?(self.species,PBSpecies,:SILVALLY)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                            These are lines 880 to 902. I assume it's around here that you asked for?
                            Reply With Quote
                              #48    
                            Old February 19th, 2017 (11:15 PM).
                            Marin's Avatar
                            Marin Marin is offline
                            Not Bored
                            • Moderator
                             
                            Join Date: Nov 2016
                            Location: The Netherlands
                            Gender: Male
                            Nature: Bashful
                            Posts: 595
                            Quote:
                            Originally Posted by Mashirosakura View Post
                            Code:
                                # Giratina
                                if isConst?(self.species,PBSpecies,:GIRATINA)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Arceus
                                if isConst?(opponent.ability,PBAbilities,:MULTITYPE) || isConst?(opponent.ability,PBAbilities,:RKSSYSTEM)
                                   isConst?(self.species,PBSpecies,:ARCEUS)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Silvally
                                if isConst?(self.ability,PBAbilities,:RKSSYSTEM) &&
                                   isConst?(self.species,PBSpecies,:SILVALLY)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                            These are lines 880 to 902. I assume it's around here that you asked for?
                            I'm not sure how you got that Arceus part, as I have something different (which all seems to work). You can copy this over if you'd like:
                            Code:
                            # Giratina
                                if isConst?(self.species,PBSpecies,:GIRATINA)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Arceus
                                if isConst?(self.ability,PBAbilities,:MULTITYPE) &&
                                   isConst?(self.species,PBSpecies,:ARCEUS)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                                # Silvally
                                if isConst?(self.ability,PBAbilities,:RKSSYSTEM) &&
                                   isConst?(self.species,PBSpecies,:SILVALLY)
                                  if [email protected]
                                    [email protected]
                                    transformed=true
                                  end
                                end
                            __________________
                            Reply With Quote
                              #49    
                            Old February 20th, 2017 (1:10 AM). Edited February 20th, 2017 by Mashirosakura.
                            Mashirosakura's Avatar
                            Mashirosakura Mashirosakura is offline
                               
                              Join Date: Jan 2017
                              Gender: Male
                              Posts: 48
                              Quote:
                              Originally Posted by M3rein View Post
                              I'm not sure how you got that Arceus part, as I have something different (which all seems to work). You can copy this over if you'd like:
                              Code:
                              # Giratina
                                  if isConst?(self.species,PBSpecies,:GIRATINA)
                                    if [email protected]
                                      [email protected]
                                      transformed=true
                                    end
                                  end
                                  # Arceus
                                  if isConst?(self.ability,PBAbilities,:MULTITYPE) &&
                                     isConst?(self.species,PBSpecies,:ARCEUS)
                                    if [email protected]
                                      [email protected]
                                      transformed=true
                                    end
                                  end
                                  # Silvally
                                  if isConst?(self.ability,PBAbilities,:RKSSYSTEM) &&
                                     isConst?(self.species,PBSpecies,:SILVALLY)
                                    if [email protected]
                                      [email protected]
                                      transformed=true
                                    end
                                  end
                              Wouldn't you know, it's that one small Arceus thing thanks for the help, great work on the pack so far!

                              EDIT: And...now I can't attack. :/
                              [spoiler][code]Exception: NameError
                              Message: undefined local variable or method `user' for #&&&&&&&&
                              Reply With Quote
                                #50    
                              Old February 20th, 2017 (7:14 AM).
                              Marin's Avatar
                              Marin Marin is offline
                              Not Bored
                              • Moderator
                               
                              Join Date: Nov 2016
                              Location: The Netherlands
                              Gender: Male
                              Nature: Bashful
                              Posts: 595
                              [QUOTE=Mashirosakura;9576292]Wouldn't you know, it's that one small Arceus thing thanks for the help, great work on the pack so far!

                              EDIT: And...now I can't attack. :/
                              [spoiler][code]Exception: NameError
                              Message: undefined local variable or method `user' for #&&&&&&&&&&
                              __________________
                              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 2:50 PM.