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.

TrollandToad.com
Reply
 
Thread Tools
  #151    
Old June 20th, 2012 (5:53 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
    Can you give us more useful information? Show us the contents of your Townmap.txt, tell us what you named the map file, etc? The error is not helpful at all in this case.
    __________________

    Reply With Quote

    Relevant Advertising!

      #152    
    Old June 20th, 2012 (6:37 PM).
    titiy titiy is offline
       
      Join Date: Aug 2010
      Posts: 46
      Sure.
      [1]
      Name=Sayba
      Filename=map.png
      Name="Sayba Region"
      Point=23,16,"Maron Town",,,,,
      Point=23,15,"Route 101",,,,,
      Point=23,14,"Route 101",,,,,
      Point=24,14,"Maron Lakebed",,,,,
      Point=22,14,"Domino Town",,188,014,025,
      Point=22,13,"Route 102",,,,,
      Point=21,13,"Route 102",,,,,

      The map file called "map.png'' and it's the region number 1 (I deleted the number ''0''.)
      Everything else was done with the editor (set metadata, encounter etc etc)
      Reply With Quote
        #153    
      Old June 20th, 2012 (11:17 PM).
      Nickalooose Nickalooose is offline
      --------------------
         
        Join Date: Mar 2008
        Gender: Female
        Posts: 1,309
        Straight off the bat I'd say it's because it's trying to find region 1, which would be "0", try changing it to 0 instead... Also, I'm pretty sure this deserves it's own thread, not posted here as it's your error not an Essentials one.

        Are you sure this error is for your map though?
        Reply With Quote
          #154    
        Old June 21st, 2012 (4:31 AM).
        Pharetra's Avatar
        Pharetra Pharetra is offline
        zzzz
           
          Join Date: Jun 2011
          Age: 21
          Gender: Male
          Posts: 455
          I get this error the moment a battle starts:
          Code:
          Exception: TypeError
          Message: false can't be coerced into Fixnum
          PokeBattle_Pokemon:550:in `+'
          PokeBattle_Pokemon:550:in `calcHP'
          PokeBattle_Pokemon:574:in `calcStats'
          PokeBattle_Pokemon:571:in `each'
          PokeBattle_Pokemon:571:in `calcStats'
          PokemonTrainers:49:in `pbLoadTrainer'
          PokemonTrainers:23:in `each'
          PokemonTrainers:23:in `pbLoadTrainer'
          PokemonTrainers:7:in `each'
          PokemonTrainers:7:in `pbLoadTrainer'
          I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
          Reply With Quote
            #155    
          Old June 21st, 2012 (6:27 AM).
          titiy titiy is offline
             
            Join Date: Aug 2010
            Posts: 46
            Quote:
            Originally Posted by Nickalooose View Post
            Straight off the bat I'd say it's because it's trying to find region 1, which would be "0", try changing it to 0 instead... Also, I'm pretty sure this deserves it's own thread, not posted here as it's your error not an Essentials one.

            Are you sure this error is for your map though?
            That's exactly what the problem was. I kinda realised that yesterday when I posted my reply but since my neighbours close their Wi-fi connection I couldn't come online and post this.

            And yeah my bad.
            Reply With Quote
              #156    
            Old June 21st, 2012 (1:24 PM).
            Nickalooose Nickalooose is offline
            --------------------
               
              Join Date: Mar 2008
              Gender: Female
              Posts: 1,309
              Quote:
              Originally Posted by P-Sign View Post
              I get this error the moment a battle starts:
              Code:
              Exception: TypeError
              Message: false can't be coerced into Fixnum
              PokeBattle_Pokemon:550:in `+'
              PokeBattle_Pokemon:550:in `calcHP'
              PokeBattle_Pokemon:574:in `calcStats'
              PokeBattle_Pokemon:571:in `each'
              PokeBattle_Pokemon:571:in `calcStats'
              PokemonTrainers:49:in `pbLoadTrainer'
              PokemonTrainers:23:in `each'
              PokemonTrainers:23:in `pbLoadTrainer'
              PokemonTrainers:7:in `each'
              PokemonTrainers:7:in `pbLoadTrainer'
              I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
              From what I can read, you're trying to use a string instead of a number... Have you edited the code in PokeBattle_Pokemon at all? Maybe that's the place to start, your error is odd, it doesn't actually say alot.
              Reply With Quote
                #157    
              Old June 21st, 2012 (3:21 PM).
              FL's Avatar
              FL FL is offline
              Pokémon Island Creator
                 
                Join Date: Sep 2010
                Gender: Male
                Posts: 1,717
                Quote:
                Originally Posted by Nickalooose View Post
                Quote:
                Originally Posted by P-Sign View Post
                I get this error the moment a battle starts:
                Code:
                Exception: TypeError
                Message: false can't be coerced into Fixnum
                PokeBattle_Pokemon:550:in `+'
                PokeBattle_Pokemon:550:in `calcHP'
                PokeBattle_Pokemon:574:in `calcStats'
                PokeBattle_Pokemon:571:in `each'
                PokeBattle_Pokemon:571:in `calcStats'
                PokemonTrainers:49:in `pbLoadTrainer'
                PokemonTrainers:23:in `each'
                PokemonTrainers:23:in `pbLoadTrainer'
                PokemonTrainers:7:in `each'
                PokemonTrainers:7:in `pbLoadTrainer'
                I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
                From what I can read, you're trying to use a string instead of a number... Have you edited the code in PokeBattle_Pokemon at all? Maybe that's the place to start, your error is odd, it doesn't actually say alot.
                Also, this can happen if you missplace some "=" with "==" and vice-versa, but have several interpretations. This occurs in both wild and trainer battles?
                __________________
                Reply With Quote
                  #158    
                Old July 2nd, 2012 (8:19 PM).
                Ratty524's Avatar
                Ratty524 Ratty524 is offline
                   
                  Join Date: Jan 2011
                  Gender: Male
                  Nature: Calm
                  Posts: 303
                  Hello, I haven't been on this site in a while...

                  When I try to open up the latest release of PE, I get this error:

                  "Script 'SpriteResizer' line149 NoMethodError occured.
                  undefined method '*' for nil:NilClass"

                  ... When I check the line its referring to, all I see is the asterisk used to multiply some variables. Seems the script is misreading it as a method?
                  Reply With Quote
                    #159    
                  Old July 3rd, 2012 (4:44 AM).
                  Maruno's Avatar
                  Maruno Maruno is offline
                  Lead Dev of Pokémon Essentials
                     
                    Join Date: Jan 2008
                    Location: England
                    Posts: 5,185
                    Quote:
                    Originally Posted by Ratty524 View Post
                    Hello, I haven't been on this site in a while...

                    When I try to open up the latest release of PE, I get this error:

                    "Script 'SpriteResizer' line149 NoMethodError occured.
                    undefined method '*' for nil:NilClass"

                    ... When I check the line its referring to, all I see is the asterisk used to multiply some variables. Seems the script is misreading it as a method?
                    Delete your save file and try again.
                    __________________
                    Go to the Pokémon Essentials Wiki

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

                    Follow me on Twitter: @maruno42


                    Reply With Quote
                      #160    
                    Old July 3rd, 2012 (4:45 PM).
                    FL's Avatar
                    FL FL is offline
                    Pokémon Island Creator
                       
                      Join Date: Sep 2010
                      Gender: Male
                      Posts: 1,717
                      The textbox3 has a white background part in top left. I attached the fixed one in this post.

                      I guess that your running animation isn't right. The eyes need to be aligned, except in the step frames. I made a few changes and attached the fixed one in this post.
                      Attached Thumbnails
                      girl_run.png‎  
                      Attached Images
                       
                      __________________
                      Reply With Quote
                        #161    
                      Old July 5th, 2012 (1:54 PM).
                      Maruno's Avatar
                      Maruno Maruno is offline
                      Lead Dev of Pokémon Essentials
                         
                        Join Date: Jan 2008
                        Location: England
                        Posts: 5,185
                        The text box was fixed in version 7 (as were one or two others), but thanks for the revised running charset. I just threw the old one together based mainly on lining the feet up, but yours makes more sense.
                        __________________
                        Go to the Pokémon Essentials Wiki

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

                        Follow me on Twitter: @maruno42


                        Reply With Quote
                          #162    
                        Old July 6th, 2012 (5:32 AM). Edited July 6th, 2012 by desbrina.
                        desbrina's Avatar
                        desbrina desbrina is offline
                        Lightning Yellow Creator
                           
                          Join Date: Feb 2011
                          Location: UK
                          Gender: Female
                          Nature: Quiet
                          Posts: 685
                          i'm trying to upgrade on of my projects to the latest version.
                          I've replaced the scripts file and deleted the save file. Now upon selecting new game i get the following error. I've replaced the pbs files with the default essentials one to see if it was mine ones causing it but no luck.

                          It seems to occur when pbChangePlayer(0) is called, i can have text before it and it'll show, but errors when i get to that call

                          Quote:
                          Exception: TypeError
                          Message: cannot convert Fixnum into String
                          Sprite_Character:95:in `+'
                          Sprite_Character:95:in `update_or'
                          PerspectiveTilemap:430:in `shadow_update'
                          Shadow:179:in `update'
                          Spriteset_Map:304:in `_animationSprite_update'
                          Spriteset_Map:297:in `each'
                          Spriteset_Map:297:in `_animationSprite_update'
                          AnimationSprite:84:in `update'
                          Scene_Map:51:in `updateSpritesets'
                          Scene_Map:45:in `each'
                          Edit:
                          Seems the issue is due to one of the pbs files, forced it to recompile them and the error goes. just need to find out which are causing it now
                          __________________
                          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
                            #163    
                          Old July 6th, 2012 (7:14 AM).
                          Maruno's Avatar
                          Maruno Maruno is offline
                          Lead Dev of Pokémon Essentials
                             
                            Join Date: Jan 2008
                            Location: England
                            Posts: 5,185
                            Quote:
                            Originally Posted by desbrina View Post
                            i'm trying to upgrade...
                            ...then your question doesn't belong in this thread.

                            Your error suggests that your metadata.txt doesn't list the filenames for one or more charsets for the player characters properly. It's something to do with changing the player's charset, anyway.
                            __________________
                            Go to the Pokémon Essentials Wiki

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

                            Follow me on Twitter: @maruno42


                            Reply With Quote
                              #164    
                            Old July 8th, 2012 (5:47 AM).
                            Steevie88's Avatar
                            Steevie88 Steevie88 is offline
                               
                              Join Date: May 2008
                              Location: Germany
                              Age: 28
                              Gender: Male
                              Posts: 24
                              You can still surf on a non-surfing-tile, when there is water an a lower layer. In the starter kits before, surfing stopped when the highest layer were a non-surfing-tile. And that was good xD
                              Reply With Quote
                                #165    
                              Old July 8th, 2012 (6:07 AM).
                              Maruno's Avatar
                              Maruno Maruno is offline
                              Lead Dev of Pokémon Essentials
                                 
                                Join Date: Jan 2008
                                Location: England
                                Posts: 5,185
                                Quote:
                                Originally Posted by Steevie88 View Post
                                You can still surf on a non-surfing-tile, when there is water an a lower layer. In the starter kits before, surfing stopped when the highest layer were a non-surfing-tile. And that was good xD
                                Then don't put water tiles where you don't want to surf. Or show me a good example where the water needs to be there but is causing your problem.

                                I've not changed anything in this respect. If the above tile has a terrain tag of 0, then the next highest tile (the water) is checked instead - make sure you don't cover up water with tiles whose terrain tag is 0.
                                __________________
                                Go to the Pokémon Essentials Wiki

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

                                Follow me on Twitter: @maruno42


                                Reply With Quote
                                  #166    
                                Old July 8th, 2012 (8:10 AM).
                                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
                                  Terrain Tag 13 is meant specifically for covering water.. But really, you can accomplish this with any terain tag that isn't 0.
                                  __________________

                                  Reply With Quote
                                    #167    
                                  Old July 8th, 2012 (1:28 PM).
                                  xHamburgerx's Avatar
                                  xHamburgerx xHamburgerx is offline
                                     
                                    Join Date: Jun 2012
                                    Gender: Male
                                    Posts: 5
                                    Can someone help I don't know what i did?

                                    Script 'SpriteWindow' line 2130: Errno::ENOENT occurred.No such file or directory - Data/trainertypes.dat
                                    Reply With Quote
                                      #168    
                                    Old July 8th, 2012 (11:03 PM).
                                    Tiago_Uchiha Tiago_Uchiha is offline
                                       
                                      Join Date: Jun 2012
                                      Gender: Male
                                      Posts: 2
                                      ---------------------------
                                      Pokemon XD Lords of Shadow
                                      ---------------------------
                                      Exception: NoMethodError

                                      Message: undefined method `[]' for nil:NilClass

                                      PokemonNestAndForm:41:in `pbStartScene'

                                      PokemonNestAndForm:40:in `each'

                                      PokemonNestAndForm:40:in `pbStartScene'

                                      PokemonNestAndForm:118:in `pbStartScreen'

                                      PokemonPokedex:821:in `pbDexEntry'

                                      PokemonPokedex:756:in `loop'

                                      PokemonPokedex:828:in `pbDexEntry'

                                      PokemonPokedex:755:in `pbActivateWindow'

                                      PokemonPokedex:755:in `pbDexEntry'

                                      PokemonPokedex:1057:in `pbPokedex'



                                      This exception was logged in

                                      C:\Users\MARCELO\Saved Games/Pokemon XD Lords of Shadow/errorlog.txt.

                                      Press Ctrl+C to copy this message to the clipboard.
                                      ---------------------------
                                      OK
                                      ---------------------------
                                      Reply With Quote
                                        #169    
                                      Old July 9th, 2012 (12:19 AM).
                                      khkramer's Avatar
                                      khkramer khkramer is offline
                                         
                                        Join Date: Apr 2010
                                        Gender: Male
                                        Posts: 311
                                        Quote:
                                        Originally Posted by xHamburgerx View Post
                                        Can someone help I don't know what i did?

                                        Script 'SpriteWindow' line 2130: Errno::ENOENT occurred.No such file or directory - Data/trainertypes.dat
                                        Try recompiling with the editor.
                                        __________________


                                        New Region. Freedom. MMO. Stay tuned.
                                        Reply With Quote
                                          #170    
                                        Old July 9th, 2012 (5:47 AM).
                                        Nickalooose Nickalooose is offline
                                        --------------------
                                           
                                          Join Date: Mar 2008
                                          Gender: Female
                                          Posts: 1,309
                                          Spoiler:
                                          Quote:
                                          Originally Posted by Tiago_Uchiha View Post
                                          ---------------------------
                                          Pokemon XD Lords of Shadow
                                          ---------------------------

                                          Exception: NoMethodError

                                          Message: undefined method `[]' for nil:NilClass

                                          PokemonNestAndForm:41:in `pbStartScene'

                                          PokemonNestAndForm:40:in `each'

                                          PokemonNestAndForm:40:in `pbStartScene'

                                          PokemonNestAndForm:118:in `pbStartScreen'

                                          PokemonPokedex:821:in `pbDexEntry'

                                          PokemonPokedex:756:in `loop'

                                          PokemonPokedex:828:in `pbDexEntry'

                                          PokemonPokedex:755:in `pbActivateWindow'

                                          PokemonPokedex:755:in `pbDexEntry'

                                          PokemonPokedex:1057:in `pbPokedex'



                                          This exception was logged in


                                          C
                                          :\Users\MARCELO\Saved Games/Pokemon XD Lords of Shadow/errorlog.txt.

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

                                          ---------------------------
                                          OK
                                          ---------------------------


                                          This gives us no information what-so-ever, what did you do? What happened? It looks to me like you need to start a new game... But first, delete your save file...

                                          On a side note, next time you clipboard another error, remove all unneccessary things like blank, new lines and everything highlighted red, please.

                                          EDIT: Actually, on another note, it looks like you edited the region map, and the region "0" doesn't exist.
                                          Reply With Quote
                                            #171    
                                          Old July 9th, 2012 (7:03 AM).
                                          xHamburgerx's Avatar
                                          xHamburgerx xHamburgerx is offline
                                             
                                            Join Date: Jun 2012
                                            Gender: Male
                                            Posts: 5
                                            Sorry that i keep posting errors but i keep coming acrossed them in my work.


                                            ---------------------------
                                            Pokemon Essentials
                                            ---------------------------
                                            Script 'PokemonUtilities' line 1246: NoMethodError occurred.

                                            undefined method `[]' for nil:NilClass
                                            ---------------------------
                                            OK
                                            ---------------------------

                                            I got it while Battling a new pokemon i made.
                                            Reply With Quote
                                              #172    
                                            Old July 10th, 2012 (2:22 AM).
                                            darkdemon darkdemon is offline
                                               
                                              Join Date: Jun 2011
                                              Gender: Male
                                              Posts: 24
                                              For some reason when I connect my maps (with Visual Editor) everything works fine, but then I go into game and test out the connection but then it seams to be connected to a black map, even though I have none. It says Im entering Route 1 but my player's sprite disapears and im wlaking in a blank map. After a while Route 1 becomes visible but then the Home Town map is a Black map now. PLEASE HELP!
                                              Reply With Quote
                                                #173    
                                              Old July 10th, 2012 (6:36 AM).
                                              Nickalooose Nickalooose is offline
                                              --------------------
                                                 
                                                Join Date: Mar 2008
                                                Gender: Female
                                                Posts: 1,309
                                                Quote:
                                                Originally Posted by xHamburgerx View Post
                                                Sorry that i keep posting errors but i keep coming acrossed them in my work.

                                                Script 'PokemonUtilities' line 1246: NoMethodError occurred.
                                                undefined method `[]' for nil:NilClass

                                                I got it while Battling a new pokemon i made.
                                                I don't think the whole error is here for a start... But I think you need to start a new game surely... It can't find the new form of the new Pokémon... As far as I can read anyways.

                                                Quote:
                                                Originally Posted by darkdemon View Post
                                                For some reason when I connect my maps (with Visual Editor) everything works fine, but then I go into game and test out the connection but then it seams to be connected to a black map, even though I have none. It says Im entering Route 1 but my player's sprite disapears and im wlaking in a blank map. After a while Route 1 becomes visible but then the Home Town map is a Black map now. PLEASE HELP!
                                                I think the problem has been sorted before, I think, it's because your maps are overlapping, try not over lapping them! I believe teleports are fine to use, so maybe use a teleport with no fading, that could give the illusion of maps being linked.
                                                Reply With Quote
                                                  #174    
                                                Old July 10th, 2012 (10:26 AM). Edited July 10th, 2012 by Pokemon 3000.
                                                Pokemon 3000's Avatar
                                                Pokemon 3000 Pokemon 3000 is offline
                                                huh?
                                                   
                                                  Join Date: Sep 2005
                                                  Location: Germany
                                                  Gender: Male
                                                  Nature: Rash
                                                  Posts: 70
                                                  A few bugs, that I found in the latest release (Version 8):

                                                  Castform doesn't change his form. I tried it with the weathertype rain and storm. When the battle was starting, it simply says "Castform transformed", but nothing happenes. Neither his sprite nor his type is changing.

                                                  If you defeat a foe pokémon, your pokémon doesn't gain exp. (Both battle against a wild pokemon and against a trainer)

                                                  During a trainer battle, the foe trainer doesn't call the next pokemon (sometimes), if you defeat the previous pokémon. Your pokémon is attacking "nothing" and the message "But there's no target" will appear. I testet it with the magma traier, next to the water.

                                                  If you change the weather type with an event, e.g on the "Test Map" map, the weather will continue if you entering a non Outdoor Map.

                                                  Of course i startet a new game before, so an error due to an old savegame is so be excludet from it. I'm not sure, if this are really bugs or if I'm doing something wrong (Or if anyone here understand my miserable english)
                                                  Reply With Quote
                                                    #175    
                                                  Old July 10th, 2012 (12:02 PM).
                                                  Maruno's Avatar
                                                  Maruno Maruno is offline
                                                  Lead Dev of Pokémon Essentials
                                                     
                                                    Join Date: Jan 2008
                                                    Location: England
                                                    Posts: 5,185
                                                    Quote:
                                                    Originally Posted by Pokemon 3000 View Post
                                                    A few bugs, that I found in the latest release (Version 8):

                                                    Castform doesn't change his form. I tried it with the weathertype rain and storm. When the battle was starting, it simply says "Castform transformed", but nothing happenes. Neither his sprite nor his type is changing.

                                                    If you defeat a foe pokémon, your pokémon doesn't gain exp. (Both battle against a wild pokemon and against a trainer)

                                                    During a trainer battle, the foe trainer doesn't call the next pokemon (sometimes), if you defeat the previous pokémon. Your pokémon is attacking "nothing" and the message "But there's no target" will appear. I testet it with the magma traier, next to the water.

                                                    If you change the weather type with an event, e.g on the "Test Map" map, the weather will continue if you entering a non Outdoor Map.

                                                    Of course i startet a new game before, so an error due to an old savegame is so be excludet from it. I'm not sure, if this are really bugs or if I'm doing something wrong (Or if anyone here understand my miserable english)
                                                    What, you wanted a version that worked?

                                                    Your first two bugs (non-changing sprite, no Exp gain) were legitimate, and I've fixed them.

                                                    I've never experienced the "foe doesn't send out a Pokémon" bug. If it's new, it might possibly be related to the Exp gain bug and thus also be fixed.

                                                    The weather bug is a known problem, and is solved by defining weather for the same map (with a probability of 0). However, such a situation (using an event to change the weather) would never occur in a real game, so it doesn't matter that it's a bit buggy.

                                                    I've fixed version 8, so you should download it again.
                                                    __________________
                                                    Go to the Pokémon Essentials Wiki

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

                                                    Follow me on Twitter: @maruno42


                                                    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 3:08 PM.