Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Draconius GO
Reply
 
Thread Tools
  #376    
Old November 11th, 2012 (9:03 PM).
zingzags's Avatar
zingzags zingzags is offline
PokemonGDX creator
     
    Join Date: Jan 2009
    Location: Boston
    Age: 23
    Nature: Adamant
    Posts: 562
    Quote:
    Originally Posted by evulpsyduck View Post
    I keep getting this error:

    ---------------------------
    Exception: SystemStackError

    Message: stack level too deep

    SpriteResizerin `width'

    Game_Map_:303:in `in_range?'

    Game_Map_:335:in `update'

    Game_Map_:334:in `each'

    Game_Map_:334:in `update'

    Scene_Map:37:in `updateMaps'

    Scene_Map:36:in `each'

    Scene_Map:36:in `updateMaps'

    Scene_Map:84:in `miniupdate'

    Scene_Map:83:in `loop'


    This occurs after the first cutscene and after player has choosen a pokemon and leaves the lab.
    The event move route needs to be fixed. Honestly I wish there was a better way to set up move routes but it is built in RPG MAKER XP.
    __________________
    Check out the Pokemon Game Engine I am working on:
    https://github.com/sjosegarcia/Pokemon
    Reply With Quote

    Relevant Advertising!

      #377    
    Old November 13th, 2012 (7:41 AM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,189
      Quote:
      Originally Posted by FL . View Post
      1-Attached

      3-Play time is a different case, it exists even in RBY.
      1. I don't see that. I don't know why you do.

      3. Yes, I know it's different. What I'm saying is that "date started" is related to "time played", and should also be the real world time.
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #378    
      Old November 13th, 2012 (3:50 PM).
      IceGod64's Avatar
      IceGod64 IceGod64 is offline
      In the Lost & Found bin!
         
        Join Date: Oct 2008
        Location: Castelia City
        Age: 29
        Gender: Male
        Nature: Naive
        Posts: 623
        First off
        Quote:
        Originally Posted by FL . View Post
        6-The Hiker, the Fisherman and the Beauty
        I would like to comment that that sounds like the opening to a joke of some sort. Probably with "Walk into a bar" being the next part.

        Quote:
        1. I don't see that. I don't know why you do.
        I seem to see it too... What I notice is that the phone number lines seem to dislike \b or such commands. I couldn't guess why this happens though.
        __________________

        Reply With Quote
          #379    
        Old November 13th, 2012 (4:50 PM).
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,189
          Quote:
          Originally Posted by IceGod64 View Post
          First off

          I would like to comment that that sounds like the opening to a joke of some sort. Probably with "Walk into a bar" being the next part.
          Yeah... That's the best I could think of. The so-called "punchline" involves the fisherman getting his tackle out, but the events are out of order.


          Quote:
          Originally Posted by IceGod64 View Post
          I seem to see it too... What I notice is that the phone number lines seem to dislike \b or such commands. I couldn't guess why this happens though.
          It's because the text isn't displayed using the Show Text event command, but by a different script. In particular, I think it's the def _I that messes certain things up a bit by evaluating \b too early (and in your case turns it into a square - we're probably using different fonts/versions of a font). Try using \\b instead to make that colour command remain long enough to be "evaluated" in the proper place.

          I made up that explanation; I have no idea if it's accurate; it seems to work, though, and describes quite well when you need to use those first few "Displays text" things.
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
            #380    
          Old November 13th, 2012 (6:45 PM).
          IceGod64's Avatar
          IceGod64 IceGod64 is offline
          In the Lost & Found bin!
             
            Join Date: Oct 2008
            Location: Castelia City
            Age: 29
            Gender: Male
            Nature: Naive
            Posts: 623
            Quote:
            Originally Posted by Maruno View Post
            It's because the text isn't displayed using the Show Text event command, but by a different script. In particular, I think it's the def _I that messes certain things up a bit by evaluating \b too early (and in your case turns it into a square - we're probably using different fonts/versions of a font). Try using \\b instead to make that colour command remain long enough to be "evaluated" in the proper place.
            Yeah, that's the solution. I thought that might be the fix earlier, but I wasn't able to test at the time.
            __________________

            Reply With Quote
              #381    
            Old November 14th, 2012 (4:05 PM).
            FHJoker's Avatar
            FHJoker FHJoker is offline
            Re-thinking Osmium
               
              Join Date: Dec 2007
              Location: Somwhere alone in peace
              Age: 26
              Gender: Male
              Nature: Relaxed
              Posts: 88
              When I look at the Area section of Pikachu's Pokedex entry I get this

              Exception: NameError
              Message: undefined local variable or method `mapppos' for #
              __________________

              Reply With Quote
                #382    
              Old November 14th, 2012 (6:22 PM).
              IceGod64's Avatar
              IceGod64 IceGod64 is offline
              In the Lost & Found bin!
                 
                Join Date: Oct 2008
                Location: Castelia City
                Age: 29
                Gender: Male
                Nature: Naive
                Posts: 623
                [QUOTE=FHJoker;7410721]When I look at the Area section of Pikachu's Pokedex entry I get this

                Exception: NameError
                Message: undefined local variable or method `mapppos' for #
                __________________

                Reply With Quote
                  #383    
                Old November 14th, 2012 (6:29 PM).
                thor348's Avatar
                thor348 thor348 is offline
                That's Oak to You
                   
                  Join Date: Nov 2012
                  Location: Arizona
                  Gender: Male
                  Nature: Calm
                  Posts: 136
                  Quote:
                  Originally Posted by IceGod64 View Post
                  Did you try making a new save?
                  I noticed the same thing when I upgraded to the newer essentials. I had to start a new saved game in order to correct all of the script errors I was getting.
                  Reply With Quote
                    #384    
                  Old November 15th, 2012 (4:21 AM).
                  FL's Avatar
                  FL FL is offline
                  Pokémon Island Creator
                     
                    Join Date: Sep 2010
                    Gender: Male
                    Posts: 1,720
                    Quote:
                    Originally Posted by zingzags View Post
                    The event move route needs to be fixed. Honestly I wish there was a better way to set up move routes but it is built in RPG MAKER XP.
                    There is a problem with "Ignore If Can't Move" in "Move Route" for Player.
                    __________________
                    Reply With Quote
                      #385    
                    Old November 15th, 2012 (5:34 AM).
                    thor348's Avatar
                    thor348 thor348 is offline
                    That's Oak to You
                       
                      Join Date: Nov 2012
                      Location: Arizona
                      Gender: Male
                      Nature: Calm
                      Posts: 136
                      Quote:
                      Originally Posted by FL . View Post
                      There is a problem with "Ignore If Can't Move" in "Move Route" for Player.
                      i've noticed that while making a scene in my game. why is that?
                      Reply With Quote
                        #386    
                      Old November 15th, 2012 (8:17 PM).
                      FHJoker's Avatar
                      FHJoker FHJoker is offline
                      Re-thinking Osmium
                         
                        Join Date: Dec 2007
                        Location: Somwhere alone in peace
                        Age: 26
                        Gender: Male
                        Nature: Relaxed
                        Posts: 88
                        Quote:
                        Originally Posted by IceGod64 View Post
                        Did you try making a new save?
                        I tried both a new game and deleting my save. it still happens.
                        __________________

                        Reply With Quote
                          #387    
                        Old November 15th, 2012 (9:04 PM).
                        thor348's Avatar
                        thor348 thor348 is offline
                        That's Oak to You
                           
                          Join Date: Nov 2012
                          Location: Arizona
                          Gender: Male
                          Nature: Calm
                          Posts: 136
                          Quote:
                          Originally Posted by FHJoker View Post
                          I tried both a new game and deleting my save. it still happens.
                          why not try deleting the essentials that you have and download an unmodified current version
                          Reply With Quote
                            #388    
                          Old November 16th, 2012 (4:43 AM).
                          Maruno's Avatar
                          Maruno Maruno is offline
                          Lead Dev of Pokémon Essentials
                             
                            Join Date: Jan 2008
                            Location: England
                            Posts: 5,189
                            Did you try reading the v10 release thread? It's a typo.
                            __________________
                            Go to the Pokémon Essentials Wiki

                            | Downloads | Tutorials | Fangames |
                            | All Animations Project |

                            Follow me on Twitter: @maruno42


                            Reply With Quote
                              #389    
                            Old November 17th, 2012 (11:17 AM).
                            FL's Avatar
                            FL FL is offline
                            Pokémon Island Creator
                               
                              Join Date: Sep 2010
                              Gender: Male
                              Posts: 1,720
                              Quote:
                              Originally Posted by thor348 View Post
                              i've noticed that while making a scene in my game. why is that?
                              Probably Poccil forgot to add the "skippable" flag check in someplace.
                              __________________
                              Reply With Quote
                                #390    
                              Old November 17th, 2012 (1:26 PM).
                              p.claydon p.claydon is offline
                                 
                                Join Date: Jan 2011
                                Gender:
                                Posts: 347
                                for those who want to buy things from the game corner and with coins then you can try my script

                                http://www.pokecommunity.com/showthread.php?t=282976

                                you in theory can buy pokémon with this script but u need a dummy item and conditional branches
                                __________________
                                Still learning how to sprite but if you want to look at my progress then here you go
                                http://pclaydon.deviantart.com/gallery/
                                Reply With Quote
                                  #391    
                                Old November 18th, 2012 (5:28 AM). Edited November 18th, 2012 by mad.array.
                                mad.array's Avatar
                                mad.array mad.array is offline
                                Eeveelutions... need more...
                                   
                                  Join Date: Nov 2007
                                  Location: Birmingham, UK
                                  Age: 32
                                  Gender: Male
                                  Nature: Rash
                                  Posts: 140
                                  During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until

                                  '@battlers[i].pbAbilitiesOnSwitchIn(false)' (Line 3372)

                                  This seems to only run through once (it is nested in a 'for i in priority' loop). Subsequently, the next turn starts before things like the flinch effect etc. have finished resetting.

                                  EDIT: I figured it out. Actually, it was posting it which drew my attention to it. '@battlers[i]' needs to be changed to i. I can't believe I've been scratching my head over this for the last half an hour!
                                  __________________
                                  Reply With Quote
                                    #392    
                                  Old November 18th, 2012 (6:27 AM).
                                  Maruno's Avatar
                                  Maruno Maruno is offline
                                  Lead Dev of Pokémon Essentials
                                     
                                    Join Date: Jan 2008
                                    Location: England
                                    Posts: 5,189
                                    Quote:
                                    Originally Posted by mad.array View Post
                                    During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until

                                    '@battlers[i].pbAbilitiesOnSwitchIn(false)' (Line 3372)

                                    This seems to only run through once (it is nested in a 'for i in priority' loop). Subsequently, the next turn starts before things like the flinch effect etc. have finished resetting.

                                    EDIT: I figured it out. Actually, it was posting it which drew my attention to it. '@battlers[i]' needs to be changed to i. I can't believe I've been scratching my head over this for the last half an hour!
                                    Yep, that's right. It's because I tend to copy lines of code from place to place, and don't always make sure it works. Different parts of the scripts refer to battlers in different ways, and indeed that end-of-round method refers to them in both ways in different places (sometimes i is a number, sometimes it's the battler itself).
                                    __________________
                                    Go to the Pokémon Essentials Wiki

                                    | Downloads | Tutorials | Fangames |
                                    | All Animations Project |

                                    Follow me on Twitter: @maruno42


                                    Reply With Quote
                                      #393    
                                    Old November 18th, 2012 (12:46 PM).
                                    IceGod64's Avatar
                                    IceGod64 IceGod64 is offline
                                    In the Lost & Found bin!
                                       
                                      Join Date: Oct 2008
                                      Location: Castelia City
                                      Age: 29
                                      Gender: Male
                                      Nature: Naive
                                      Posts: 623
                                      What exactly was the problem it caused?
                                      __________________

                                      Reply With Quote
                                        #394    
                                      Old November 18th, 2012 (2:26 PM).
                                      Maruno's Avatar
                                      Maruno Maruno is offline
                                      Lead Dev of Pokémon Essentials
                                         
                                        Join Date: Jan 2008
                                        Location: England
                                        Posts: 5,189
                                        It would have made the def pbEndOfRoundPhase exit early, which means lines 3372 and later wouldn't ever run. This includes abilities that occur when a battler is switched in (e.g. weather), Truant's and Lock-On's counting down, and the cancelling of effects like flinching, Helping Hand, Charge, Magic Coat and Snatch (and a few others). This would result in some quirky behaviour, including a battler flinching from being attacked in the previous round, Pokémon always remaining Charged, and Regigigas never toggling between attacking and truanting.

                                        That's what I'm guessing.
                                        __________________
                                        Go to the Pokémon Essentials Wiki

                                        | Downloads | Tutorials | Fangames |
                                        | All Animations Project |

                                        Follow me on Twitter: @maruno42


                                        Reply With Quote
                                          #395    
                                        Old December 14th, 2012 (7:12 AM).
                                        desbrina's Avatar
                                        desbrina desbrina is offline
                                        Lightning Yellow Creator
                                           
                                          Join Date: Feb 2011
                                          Location: UK
                                          Gender: Female
                                          Nature: Quiet
                                          Posts: 693
                                          [QUOTE=FHJoker;7410721]When I look at the Area section of Pikachu's Pokedex entry I get this

                                          Exception: NameError
                                          Message: undefined local variable or method `mapppos' for #&&&&&&
                                          __________________
                                          Creator of


                                          A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                          Reply With Quote
                                            #396    
                                          Old December 16th, 2012 (7:33 AM).
                                          desbrina's Avatar
                                          desbrina desbrina is offline
                                          Lightning Yellow Creator
                                             
                                            Join Date: Feb 2011
                                            Location: UK
                                            Gender: Female
                                            Nature: Quiet
                                            Posts: 693
                                            It seems that variables & switches that are supposed to set after a trainer battle don't seem to happen.
                                            Its the same in a unedited version of essentials as well

                                            I have the following event, which is trainer event
                                            Click image for larger version

Name:	e1.png
Views:	8
Size:	7.4 KB
ID:	66745

                                            And a door event
                                            Click image for larger version

Name:	e2.png
Views:	6
Size:	6.1 KB
ID:	66746

                                            When you beat the trainer, the door is supposed to open, but the variable doesn't get set. It doesn't get set if i make the variable set to the second page

                                            And yet, this event works
                                            Click image for larger version

Name:	e3.png
Views:	7
Size:	12.8 KB
ID:	66747
                                            __________________
                                            Creator of


                                            A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                            Reply With Quote
                                              #397    
                                            Old December 16th, 2012 (9:17 AM).
                                            Maruno's Avatar
                                            Maruno Maruno is offline
                                            Lead Dev of Pokémon Essentials
                                               
                                              Join Date: Jan 2008
                                              Location: England
                                              Posts: 5,189
                                              Quote:
                                              Originally Posted by desbrina View Post
                                              It seems that variables & switches that are supposed to set after a trainer battle don't seem to happen.
                                              Its the same in a unedited version of essentials as well

                                              I have the following event, which is trainer event
                                              Attachment 66745

                                              And a door event
                                              Attachment 66746

                                              When you beat the trainer, the door is supposed to open, but the variable doesn't get set. It doesn't get set if i make the variable set to the second page

                                              And yet, this event works
                                              Attachment 66747
                                              It appears that Essentials is putting trainer comments back into the event even if you've deleted them (perhaps because the event's name is still "Trainer"), which means when you run/compile the game any changes to that trainer are erased. You'll only notice if you close RMXP and open it again.

                                              This behaviour is unwanted, and I'll have a look at it.
                                              __________________
                                              Go to the Pokémon Essentials Wiki

                                              | Downloads | Tutorials | Fangames |
                                              | All Animations Project |

                                              Follow me on Twitter: @maruno42


                                              Reply With Quote
                                                #398    
                                              Old December 16th, 2012 (9:58 AM).
                                              desbrina's Avatar
                                              desbrina desbrina is offline
                                              Lightning Yellow Creator
                                                 
                                                Join Date: Feb 2011
                                                Location: UK
                                                Gender: Female
                                                Nature: Quiet
                                                Posts: 693
                                                I always forget about changing the event name, this was the problem.
                                                __________________
                                                Creator of


                                                A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                                Reply With Quote
                                                  #399    
                                                Old December 16th, 2012 (1:21 PM).
                                                Maruno's Avatar
                                                Maruno Maruno is offline
                                                Lead Dev of Pokémon Essentials
                                                   
                                                  Join Date: Jan 2008
                                                  Location: England
                                                  Posts: 5,189
                                                  Even so, it shouldn't do that - I can easily imagine a scenario where you'd want a trainer who can spot the player from afar and who does something special.

                                                  I had a quick look, and I found the script section Compiler and the lines beginning at 3658. It looks like this behaviour is caused by an automatic conversion of some way-old method trainers used to work ("legacy"), so this behaviour was never actually intended. I've not tried this yet, but if you delete that entire "if" statement there (to line 3750), it should work.
                                                  __________________
                                                  Go to the Pokémon Essentials Wiki

                                                  | Downloads | Tutorials | Fangames |
                                                  | All Animations Project |

                                                  Follow me on Twitter: @maruno42


                                                  Reply With Quote
                                                    #400    
                                                  Old December 16th, 2012 (5:19 PM).
                                                  desbrina's Avatar
                                                  desbrina desbrina is offline
                                                  Lightning Yellow Creator
                                                     
                                                    Join Date: Feb 2011
                                                    Location: UK
                                                    Gender: Female
                                                    Nature: Quiet
                                                    Posts: 693
                                                    Removing lines 3670 to 3746 solved the issue. The comments are no longer being added back
                                                    __________________
                                                    Creator of


                                                    A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                                    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 7:18 AM.