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.

Reply
 
Thread Tools
  #376    
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: 30
    Gender: Male
    Nature: Naive
    Posts: 624
    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
      #377    
    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,178
      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 Essentials Docs Wiki

      Essentials Docs Wiki

      Follow me on Twitter: @maruno42


      Reply With Quote
        #378    
      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: 30
        Gender: Male
        Nature: Naive
        Posts: 624
        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
          #379    
        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: 27
          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 #<PokemonNestMapScene:0x89c2368>
          PokemonNestAndForm:58:in `pbStartScene'
          PokemonNestAndForm:57:in `each'
          PokemonNestAndForm:57:in `pbStartScene'
          PokemonNestAndForm:51:in `each'
          PokemonNestAndForm:51:in `pbStartScene'
          PokemonNestAndForm:136:in `pbStartScreen'
          PokemonPokedex:821:in `pbDexEntry'
          PokemonPokedex:756:in `loop'
          PokemonPokedex:828:in `pbDexEntry'
          PokemonPokedex:755:in `pbActivateWindow'


          Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
          __________________

          Reply With Quote
            #380    
          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: 30
            Gender: Male
            Nature: Naive
            Posts: 624
            Quote:
            Originally Posted by FHJoker View Post
            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 #<PokemonNestMapScene:0x89c2368>
            PokemonNestAndForm:58:in `pbStartScene'
            PokemonNestAndForm:57:in `each'
            PokemonNestAndForm:57:in `pbStartScene'
            PokemonNestAndForm:51:in `each'
            PokemonNestAndForm:51:in `pbStartScene'
            PokemonNestAndForm:136:in `pbStartScreen'
            PokemonPokedex:821:in `pbDexEntry'
            PokemonPokedex:756:in `loop'
            PokemonPokedex:828:in `pbDexEntry'
            PokemonPokedex:755:in `pbActivateWindow'


            Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
            Did you try making a new save?
            __________________

            Reply With Quote
              #381    
            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
                #382    
              Old November 15th, 2012 (4:21 AM).
              FL's Avatar
              FL FL is online now
              Pokémon Island Creator
                 
                Join Date: Sep 2010
                Gender: Male
                Posts: 1,771
                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
                  #383    
                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
                    #384    
                  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: 27
                    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
                      #385    
                    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
                        #386    
                      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,178
                        Did you try reading the v10 release thread? It's a typo.
                        __________________
                        Go to the Essentials Docs Wiki

                        Essentials Docs Wiki

                        Follow me on Twitter: @maruno42


                        Reply With Quote
                          #387    
                        Old November 17th, 2012 (11:17 AM).
                        FL's Avatar
                        FL FL is online now
                        Pokémon Island Creator
                           
                          Join Date: Sep 2010
                          Gender: Male
                          Posts: 1,771
                          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
                            #388    
                          Old November 17th, 2012 (1:26 PM).
                          p.claydon p.claydon is offline
                             
                            Join Date: Jan 2011
                            Gender: Female
                            Posts: 390
                            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
                              #389    
                            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: 33
                              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
                                #390    
                              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,178
                                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 Essentials Docs Wiki

                                Essentials Docs Wiki

                                Follow me on Twitter: @maruno42


                                Reply With Quote
                                  #391    
                                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: 30
                                  Gender: Male
                                  Nature: Naive
                                  Posts: 624
                                  What exactly was the problem it caused?
                                  __________________

                                  Reply With Quote
                                    #392    
                                  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,178
                                    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 Essentials Docs Wiki

                                    Essentials Docs Wiki

                                    Follow me on Twitter: @maruno42


                                    Reply With Quote
                                      #393    
                                    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: 716
                                      Quote:
                                      Originally Posted by FHJoker View Post
                                      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 #<PokemonNestMapScene:0x89c2368>
                                      PokemonNestAndForm:58:in `pbStartScene'
                                      PokemonNestAndForm:57:in `each'
                                      PokemonNestAndForm:57:in `pbStartScene'
                                      PokemonNestAndForm:51:in `each'
                                      PokemonNestAndForm:51:in `pbStartScene'
                                      PokemonNestAndForm:136:in `pbStartScreen'
                                      PokemonPokedex:821:in `pbDexEntry'
                                      PokemonPokedex:756:in `loop'
                                      PokemonPokedex:828:in `pbDexEntry'
                                      PokemonPokedex:755:in `pbActivateWindow'


                                      Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
                                      I've just run into that error. Its due to mapppos
                                      Theres an extra p in there, its in the v10 download as well

                                      Find the line

                                      showpoint=false if loc[0]==mappos[1] && loc[1]==mappos[2] &&
                                      loc[7] && !$game_switches[loc[7]]

                                      in that file and change mapppos[2] to mappos[2]
                                      __________________
                                      Creator of
                                      Pokemon Lightning Yellow


                                      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
                                        #394    
                                      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: 716
                                        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
                                        e1.png

                                        And a door event
                                        e2.png

                                        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
                                        e3.png
                                        __________________
                                        Creator of
                                        Pokemon Lightning Yellow


                                        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
                                          #395    
                                        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,178
                                          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 Essentials Docs Wiki

                                          Essentials Docs Wiki

                                          Follow me on Twitter: @maruno42


                                          Reply With Quote
                                            #396    
                                          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: 716
                                            I always forget about changing the event name, this was the problem.
                                            __________________
                                            Creator of
                                            Pokemon Lightning Yellow


                                            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 (1:21 PM).
                                            Maruno's Avatar
                                            Maruno Maruno is offline
                                            Lead Dev of Pokémon Essentials
                                               
                                              Join Date: Jan 2008
                                              Location: England
                                              Posts: 5,178
                                              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 Essentials Docs Wiki

                                              Essentials Docs Wiki

                                              Follow me on Twitter: @maruno42


                                              Reply With Quote
                                                #398    
                                              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: 716
                                                Removing lines 3670 to 3746 solved the issue. The comments are no longer being added back
                                                __________________
                                                Creator of
                                                Pokemon Lightning Yellow


                                                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 19th, 2012 (12:05 AM).
                                                MC50 MC50 is offline
                                                   
                                                  Join Date: Aug 2006
                                                  Gender:
                                                  Nature: Adamant
                                                  Posts: 28
                                                  Ghost Type Curse doesn't seem to work. The move is used, but nothing happens. Non-Ghost type curse seems to work fine.

                                                  I'm not 100% sure on this one, but I don't think that Choice Items lock the OPPONENT into a move as they should. Testing with a Choice Scarf on an enemy trainers Pokemon seemed to give them the speed boost, but they were free to swap moves as they liked. Again, not 100% sure on this one, but it seemed to be the case.
                                                  Reply With Quote
                                                    #400    
                                                  Old December 24th, 2012 (9:26 AM).
                                                  Cavou's Avatar
                                                  Cavou Cavou is offline
                                                     
                                                    Join Date: Nov 2010
                                                    Location: In a house...
                                                    Gender: Male
                                                    Posts: 54
                                                    I get this error when I start the game:

                                                    ---------------------------
                                                    Pokemon Essentials
                                                    ---------------------------
                                                    Exception: NoMethodError

                                                    Message: undefined method `*' for nil:NilClass

                                                    Game_Character_1:198:in `screen_z'

                                                    Sprite_Character:148:in `update_or'

                                                    PerspectiveTilemap:430:in `shadow_update'

                                                    Shadow:179:in `update'

                                                    Sprite_Character:37:in `perspectivetilemap_initialize'

                                                    PerspectiveTilemap:424:in `shadow_initialize'

                                                    Shadow:152:in `initialize'

                                                    Spriteset_Map:162:in `new'

                                                    Spriteset_Map:162:in `_animationSprite_initialize'

                                                    Spriteset_Map:161:in `each'
                                                    __________________
                                                    Supporter of these games...

                                                    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 5:38 AM.