Scripts, Tutorials & Tools This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Ad Content
Reply
 
Thread Tools
  #26   Link to this post, but load the entire thread.  
Old September 1st, 2018 (4:08 PM).
MultiverseGuardian's Avatar
MultiverseGuardian MultiverseGuardian is offline
Leader of the Neo Pheonix
     
    Join Date: Apr 2017
    Location: The Moon
    Gender: Male
    Nature: Relaxed
    Posts: 7
    here:
    https://www.dropbox.com/s/fn2t0hn7g56kjg0/pokemon.txt?dl=0
    __________________
    YOU WILL DIE AGAINST THIS THING, IT HAS WONDER GUARD, AND ITS DRAGON/STEEL TYPE WHEN MEGA, IT HAS 910 TOTAL BASE STATS AND AN OP MEGA FORM, IT WILL DESTROY ALL YOUR STARTERS, MWAHAHAHA!
    Reply With Quote
      #27   Link to this post, but load the entire thread.  
    Old September 1st, 2018 (6:56 PM).
    Diverscope's Avatar
    Diverscope Diverscope is offline
    Pardon me
       
      Join Date: Apr 2013
      Location: Germany
      Gender: Male
      Nature: Rash
      Posts: 126
      What are we supposed to do with it? Your pokemon.txt seems fine. Is there any kind of error or what exactly is the problem?
      __________________
      Reply With Quote
        #28   Link to this post, but load the entire thread.  
      Old September 1st, 2018 (7:54 PM).
      MultiverseGuardian's Avatar
      MultiverseGuardian MultiverseGuardian is offline
      Leader of the Neo Pheonix
         
        Join Date: Apr 2017
        Location: The Moon
        Gender: Male
        Nature: Relaxed
        Posts: 7
        Quote:
        Originally Posted by Diverscope View Post
        What are we supposed to do with it? Your pokemon.txt seems fine. Is there any kind of error or what exactly is the problem?
        I submitted a error report on page 1, if the text is fine then i do not know what's wrong here.
        __________________
        YOU WILL DIE AGAINST THIS THING, IT HAS WONDER GUARD, AND ITS DRAGON/STEEL TYPE WHEN MEGA, IT HAS 910 TOTAL BASE STATS AND AN OP MEGA FORM, IT WILL DESTROY ALL YOUR STARTERS, MWAHAHAHA!
        Reply With Quote
          #29   Link to this post, but load the entire thread.  
        Old September 2nd, 2018 (3:09 AM).
        Ego13's Avatar
        Ego13 Ego13 is offline
        hollow_ego
           
          Join Date: Jul 2017
          Location: Larua Region
          Gender: Male
          Nature: Calm
          Posts: 233
          Quote:
          Originally Posted by MultiverseGuardian View Post
          I submitted a error report on page 1, if the text is fine then i do not know what's wrong here.
          I compared your pokemon.txt with mine and it seems to be correct. I can't find any errors in there. I've experienced similar errors in the past with nothing really wrong there. The only thing that helped me in that situation was to use an older version of the file. You can also try to downloading the file again and replacing it
          __________________
          Looking for spriters to help with

          Pokemon Hollow on pokecommunity.com
          Reply With Quote
            #30   Link to this post, but load the entire thread.  
          Old September 2nd, 2018 (4:18 AM). Edited September 2nd, 2018 by Diverscope.
          Diverscope's Avatar
          Diverscope Diverscope is offline
          Pardon me
             
            Join Date: Apr 2013
            Location: Germany
            Gender: Male
            Nature: Rash
            Posts: 126
            Quote:
            Originally Posted by MultiverseGuardian View Post
            I submitted a error report on page 1 [...]
            No, you didn't. "It doesn't work" is not an error report.

            Edit: Oh, you mean the error report from last week? Well in this case: Try to rename your project and start a new savefile.
            __________________
            Reply With Quote
              #31   Link to this post, but load the entire thread.  
            Old 2 Weeks Ago (3:31 PM).
            BeastlyMega1234's Avatar
            BeastlyMega1234 BeastlyMega1234 is offline
               
              Join Date: Jan 2019
              Posts: 32
              I was attempting to install these files/PBS/scripts into my Pokemon Essentials and it returned with som minor errors: field Mosnter is not a positive integer, Undefined FAIRy in script, all fixed, but after multiple attepms at solving this issue:
              ---------------------------
              Pokemon Essentials
              ---------------------------
              Exception: NoMethodError

              Message: undefined method `>' for nil:NilClass

              Compiler:2383:in `pbCompilePokemonData'

              Compiler:2314:in `each'

              Compiler:2314:in `pbCompilePokemonData'

              Compiler:2312:in `loop'

              Compiler:2390:in `pbCompilePokemonData'

              Compiler:2296:in `each'

              Compiler:2296:in `pbCompilePokemonData'

              Compiler:2295:in `each'

              Compiler:2295:in `pbCompilePokemonData'

              Compiler:2281:in `pbEachFileSection'

              I have decided to seek help here, and I can only hope someone can help me fix this problem, as I cannot fully playtest anything I impliment until this is resolved.

              Thanks
              Reply With Quote
                #32   Link to this post, but load the entire thread.  
              Old 2 Weeks Ago (2:56 AM).
              Ego13's Avatar
              Ego13 Ego13 is offline
              hollow_ego
                 
                Join Date: Jul 2017
                Location: Larua Region
                Gender: Male
                Nature: Calm
                Posts: 233
                Quote:
                Originally Posted by BeastlyMega1234 View Post
                I was attempting to install these files/PBS/scripts into my Pokemon Essentials and it returned with som minor errors: field Mosnter is not a positive integer, Undefined FAIRy in script, all fixed, but after multiple attepms at solving this issue:
                ---------------------------
                Pokemon Essentials
                ---------------------------
                Exception: NoMethodError

                Message: undefined method `>' for nil:NilClass

                Compiler:2383:in `pbCompilePokemonData'

                Compiler:2314:in `each'

                Compiler:2314:in `pbCompilePokemonData'

                Compiler:2312:in `loop'

                Compiler:2390:in `pbCompilePokemonData'

                Compiler:2296:in `each'

                Compiler:2296:in `pbCompilePokemonData'

                Compiler:2295:in `each'

                Compiler:2295:in `pbCompilePokemonData'

                Compiler:2281:in `pbEachFileSection'

                I have decided to seek help here, and I can only hope someone can help me fix this problem, as I cannot fully playtest anything I impliment until this is resolved.

                Thanks
                Hey,

                can you tell me what is on line 2383 in the script section Compiler ?
                Also how did you fix the other issues? What version of Essentials are you using?
                __________________
                Looking for spriters to help with

                Pokemon Hollow on pokecommunity.com
                Reply With Quote
                  #33   Link to this post, but load the entire thread.  
                Old 2 Weeks Ago (9:46 AM).
                BeastlyMega1234's Avatar
                BeastlyMega1234 BeastlyMega1234 is offline
                   
                  Join Date: Jan 2019
                  Posts: 32
                  I am using Pokemon Essentials V17.2

                  script on line 2383:
                  dexdata[rtschema[0]+1+offset]=(value>>8)&0xFF if bytes>1

                  I fixed the issue of Monster is not a positive integer by adding the egg groups to the compiler
                  "Compatibility"=>[31,"Monster,Human-Like,Water1,Water3,Bug,Mineral,Flying,Amorphous,Field,Water2,Fairy,Ditto,Grass,Dragon,Undiscovered,GenderUnknown"],
                  normally, it would go 31,00]

                  it seems to work for now, but if it becomes a prblem again, I do believe someone else had the same problem and posted it on this thread. I can have a look at following that if you want

                  the undefined FAIRY issue was simple. I had not added FAIRY to my PBTypes.txt so I went back and added the right .txt files.

                  One last reoccuring issue is an undefined or not positive integer (LevelDay)(LevelNight)(HasMoveFAIRYHappiness) in the eeveelutions secion of PBS. it does not recognise those values and as I try to fix it it does seem to make things worse.

                  Thanks for your help
                  Reply With Quote
                    #34   Link to this post, but load the entire thread.  
                  Old 2 Weeks Ago (5:42 AM).
                  Ego13's Avatar
                  Ego13 Ego13 is offline
                  hollow_ego
                     
                    Join Date: Jul 2017
                    Location: Larua Region
                    Gender: Male
                    Nature: Calm
                    Posts: 233
                    The compatibillity line in a clean copy of Essentials v17.2 looks like this
                    Code:
                    "Compatibility" => [31,"eg",PBEggGroups,PBEggGroups],
                    Also I cant find the specific line you mentioned
                    Code:
                    dexdata[rtschema[0]+1+offset]=(value>>8)&0xFF if bytes>1
                    DId you modify any of the scripts?
                    __________________
                    Looking for spriters to help with

                    Pokemon Hollow on pokecommunity.com
                    Reply With Quote
                      #35   Link to this post, but load the entire thread.  
                    Old 2 Weeks Ago (5:32 PM).
                    BeastlyMega1234's Avatar
                    BeastlyMega1234 BeastlyMega1234 is offline
                       
                      Join Date: Jan 2019
                      Posts: 32
                      I did, but as of right now, I have refreshed the scripts, so it is now the original.

                      Right now the issue has gone from what I mentioned before, to this:

                      ---------------------------
                      Pokemon Essentials
                      ---------------------------
                      Exception: NameError

                      Message: uninitialized constant PBEggGroups

                      Compiler:2239:in `pbCompilePokemonData'

                      Compiler:3971:in `pbCompileAllData'

                      Compiler:4095


                      I have replaced the problem code, from the scripts.rxdata file from the download link in this thread to what you have stated.
                      However I actually have no Egg Groups file in my pokemon essentials.
                      This I think is where the problem lies now. Sorry for the sudden change, but a refresh has removed all my edits, so I can get to the root of the problem and adress it.

                      Still think you can help?
                      Reply With Quote
                        #36   Link to this post, but load the entire thread.  
                      Old 2 Weeks Ago (2:07 PM).
                      Ego13's Avatar
                      Ego13 Ego13 is offline
                      hollow_ego
                         
                        Join Date: Jul 2017
                        Location: Larua Region
                        Gender: Male
                        Nature: Calm
                        Posts: 233
                        Check if you code the script section PBEggGroups with the following content:

                        Code:
                        module PBEggGroups
                          Undiscovered = 0 # NoEggs, None, NA
                          Monster      = 1
                          Water1       = 2
                          Bug          = 3
                          Flying       = 4
                          Field        = 5 # Ground
                          Fairy        = 6
                          Grass        = 7 # Plant
                          Humanlike    = 8 # Humanoid, Humanshape, Human
                          Water3       = 9
                          Mineral      = 10
                          Amorphous    = 11 # Indeterminate
                          Water2       = 12
                          Ditto        = 13
                          Dragon       = 14
                        
                          def PBEggGroups.maxValue; 14; end
                          def PBEggGroups.getCount; 15; end
                        
                          def PBEggGroups.getName(id)
                            names = [
                               _INTL("Undiscovered"),
                               _INTL("Monster"),
                               _INTL("Water 1"),
                               _INTL("Bug"),
                               _INTL("Flying"),
                               _INTL("Field"),
                               _INTL("Fairy"),
                               _INTL("Grass"),
                               _INTL("Human-like"),
                               _INTL("Water 3"),
                               _INTL("Mineral"),
                               _INTL("Amorphous"),
                               _INTL("Water 2"),
                               _INTL("Ditto"),
                               _INTL("Dragon")
                            ]
                            return names[id]
                          end
                        end
                        __________________
                        Looking for spriters to help with

                        Pokemon Hollow on pokecommunity.com
                        Reply With Quote
                          #37   Link to this post, but load the entire thread.  
                        Old 1 Week Ago (11:45 AM). Edited 1 Week Ago by BeastlyMega1234.
                        BeastlyMega1234's Avatar
                        BeastlyMega1234 BeastlyMega1234 is offline
                           
                          Join Date: Jan 2019
                          Posts: 32
                          where is the PBEggGroups section in the scripts, My list consists of PBFile through to PBdebug, but has no section named PBEggGroups, where I assume the problem has arisen presumably.
                          Reply With Quote
                            #38   Link to this post, but load the entire thread.  
                          Old 1 Week Ago (11:55 AM).
                          WolfPP's Avatar
                          WolfPP WolfPP is offline
                          Discord: Wolf#1235
                             
                            Join Date: Aug 2018
                            Location: Brazil
                            Gender: Male
                            Nature: Jolly
                            Posts: 360
                            Quote:
                            Originally Posted by BeastlyMega1234 View Post
                            where is the PBEggGroups section in the scripts, My list consists of PBFile through to PBdebug, but has no section named PBEggGroups, where I assume the problem has arisen presumably.
                            v17.2:
                            Reply With Quote
                              #39   Link to this post, but load the entire thread.  
                            Old 1 Week Ago (1:04 PM).
                            BeastlyMega1234's Avatar
                            BeastlyMega1234 BeastlyMega1234 is offline
                               
                              Join Date: Jan 2019
                              Posts: 32
                              I mean like in the list of all the scripts, eg. Main, compiler,PokeBattl_battle, where do I put the PBEggGroups script, because in my Pokemon essentials, that script does not exist
                              Reply With Quote
                                #40   Link to this post, but load the entire thread.  
                              Old 1 Week Ago (2:22 PM).
                              WolfPP's Avatar
                              WolfPP WolfPP is offline
                              Discord: Wolf#1235
                                 
                                Join Date: Aug 2018
                                Location: Brazil
                                Gender: Male
                                Nature: Jolly
                                Posts: 360
                                Quote:
                                Originally Posted by BeastlyMega1234 View Post
                                I mean like in the list of all the scripts, eg. Main, compiler,PokeBattl_battle, where do I put the PBEggGroups script, because in my Pokemon essentials, that script does not exist
                                https://www.pokecommunity.com/showpost.php?p=9991428&postcount=5
                                Reply With Quote
                                  #41   Link to this post, but load the entire thread.  
                                Old 1 Week Ago (4:50 PM).
                                BeastlyMega1234's Avatar
                                BeastlyMega1234 BeastlyMega1234 is offline
                                   
                                  Join Date: Jan 2019
                                  Posts: 32
                                  Sorry, did not see this image until now, Thank you! the issue with egg groups has ended!
                                  Reply With Quote
                                    #42   Link to this post, but load the entire thread.  
                                  Old 1 Week Ago (6:45 PM).
                                  BeastlyMega1234's Avatar
                                  BeastlyMega1234 BeastlyMega1234 is offline
                                     
                                    Join Date: Jan 2019
                                    Posts: 32
                                    I have encountered a new Problem that I cannot solve. It has listed the trainers.txt line 1 as undefined

                                    ---------------------------
                                    Pokemon Essentials
                                    ---------------------------
                                    Exception: RuntimeError

                                    Message: Undefined Trainer constant name: 

                                    Name must consist only of letters, numbers, and

                                    underscores and can't begin with a number.

                                    In addition, the name must be defined

                                    in trainertypes.txt.

                                    File PBS/trainers.txt, line 1

                                    



                                    Compiler:932:in `pbGetConst'

                                    Compiler:974:in `parseTrainer'

                                    Compiler:1387:in `pbCompileTrainers'

                                    Compiler:1385:in `loop'

                                    Compiler:1487:in `pbCompileTrainers'

                                    Compiler:3977:in `pbCompileAllData'

                                    Compiler:4095

                                    Hopefully this is the last One i have trouble with and I feel bad for having to ask for so much help, but someone help me with this
                                    Reply With Quote
                                      #43   Link to this post, but load the entire thread.  
                                    Old 1 Week Ago (12:57 AM).
                                    komaoto's Avatar
                                    komaoto komaoto is offline
                                       
                                      Join Date: Mar 2014
                                      Location: Brazil
                                      Gender: Male
                                      Posts: 177
                                      Quote:
                                      Originally Posted by BeastlyMega1234 View Post
                                      I have encountered a new Problem that I cannot solve. It has listed the trainers.txt line 1 as undefined

                                      ---------------------------
                                      Pokemon Essentials
                                      ---------------------------
                                      Message: Undefined Trainer constant name: 

                                      Name must consist only of letters, numbers, and

                                      underscores and can't begin with a number.

                                      In addition, the name must be defined

                                      in trainertypes.txt.

                                      File PBS/trainers.txt, line 1
                                      Always take a look at what is written in your error message. Most of the time, for simple problems, there's a solution already written there.
                                      Reply With Quote
                                        #44   Link to this post, but load the entire thread.  
                                      Old 1 Week Ago (1:30 AM).
                                      Ego13's Avatar
                                      Ego13 Ego13 is offline
                                      hollow_ego
                                         
                                        Join Date: Jul 2017
                                        Location: Larua Region
                                        Gender: Male
                                        Nature: Calm
                                        Posts: 233
                                        Quote:
                                        Originally Posted by BeastlyMega1234 View Post
                                        I have encountered a new Problem that I cannot solve. It has listed the trainers.txt line 1 as undefined

                                        ---------------------------
                                        Pokemon Essentials
                                        ---------------------------
                                        Exception: RuntimeError

                                        Message: Undefined Trainer constant name: 

                                        Name must consist only of letters, numbers, and

                                        underscores and can't begin with a number.

                                        In addition, the name must be defined

                                        in trainertypes.txt.

                                        File PBS/trainers.txt, line 1

                                        



                                        Compiler:932:in `pbGetConst'

                                        Compiler:974:in `parseTrainer'

                                        Compiler:1387:in `pbCompileTrainers'

                                        Compiler:1385:in `loop'

                                        Compiler:1487:in `pbCompileTrainers'

                                        Compiler:3977:in `pbCompileAllData'

                                        Compiler:4095

                                        Hopefully this is the last One i have trouble with and I feel bad for having to ask for so much help, but someone help me with this
                                        Also please make sure to post what is on the line where the error occurs (in this case it would be line 1 from your trainers.txt, which you could also provide as a screenshot, so we can see some more of it)
                                        __________________
                                        Looking for spriters to help with

                                        Pokemon Hollow on pokecommunity.com
                                        Reply With Quote
                                          #45   Link to this post, but load the entire thread.  
                                        Old 1 Week Ago (11:21 AM).
                                        BeastlyMega1234's Avatar
                                        BeastlyMega1234 BeastlyMega1234 is offline
                                           
                                          Join Date: Jan 2019
                                          Posts: 32
                                          ok, well heres the trainer txt section I am having errors with

                                          #-------------------------------
                                          CAMPER
                                          Liam
                                          2
                                          DIGLETT,10
                                          BONSLY,11
                                          #-------------------------------

                                          Here is also the file in TrainerTypes.txt in case needed

                                          33,CAMPER,Camper,16,,,,Male,,
                                          Reply With Quote
                                            #46   Link to this post, but load the entire thread.  
                                          Old 1 Week Ago (12:26 PM).
                                          BeastlyMega1234's Avatar
                                          BeastlyMega1234 BeastlyMega1234 is offline
                                             
                                            Join Date: Jan 2019
                                            Posts: 32
                                            Still having issues with trainer.txt. The error message is this:
                                            Spoiler:
                                            ---------------------------
                                            Pokemon Essentials
                                            ---------------------------
                                            Exception: RuntimeErrorMessage: Undefined Trainer constant name:
                                            Name must consist only of letters, numbers, andunderscores and
                                            can't begin with a number.In addition, the name must be definedin
                                            trainertypes.txt.
                                            File PBS/trainers.txt, line 1
                                            Compiler:932:in `pbGetConst'
                                            Compiler:974:in `parseTrainer'
                                            Compiler:1387:in `pbCompileTrainers'
                                            Compiler:1385:in `loop'
                                            Compiler:1487:in `pbCompileTrainers'
                                            Compiler:3977:in `pbCompileAllData'
                                            Compiler:4095


                                            and the codes in my script that have been identified are these:

                                            Spoiler:
                                            compiler line 4095: pbCompileAllData(mustcompile){|msg| Win32API.SetWindowText(msg) }

                                            compiler line 3977: pbCompileTrainers

                                            compiler line 1487: end ( ends this section of code: i+=3+numpoke
                                            MessageTypes.setMessagesAsHash(MessageTypes::TrainerNames,trainernames)
                                            trainers.push([trainername,name,realitems,pkmn,partyid])
                                            nameoffset+=name.length)

                                            compiler line 1385: i=0; loop do break unless i<lines.length

                                            compiler line 1387: trainername=parseTrainer(lines[i])

                                            compiler line 974: return pbGetConst(PBTrainers,clonitem,_INTL("Undefined Trainer constant name: %s\r\nName must consist only of letters, numbers, and\r\nunderscores and can't begin with a number.\r\nIn addition, the name must be defined\r\nin trainertypes.txt.\r\n{1}",FileLineData.linereport))

                                            compiler line 932: raise sprintf(err,item)


                                            The Trainers.txt file holds this stuff:
                                            Spoiler:
                                            # See the documentation on the wiki to learn how to edit this file.
                                            #-------------------------------
                                            CAMPER
                                            Liam
                                            2
                                            DIGLETT,10
                                            BONSLY,11
                                            #-------------------------------
                                            LEADER_Brock
                                            Brock
                                            2,FULLRESTORE,FULLRESTORE
                                            GEODUDE,12,,DEFENSECURL,HEADSMASH,ROCKPOLISH,ROCKTHROW,0,M,,,,20
                                            ONIX,14,SITRUSBERRY,HEADSMASH,ROCKTHROW,RAGE,ROCKTOMB,0,M,,shiny,,20,,Rocky,,19
                                            #-------------------------------
                                            TEAMROCKET_M
                                            Grunt,1
                                            1
                                            WEEPINBELL,21,,,,,,,,,,,,,,true
                                            #-------------------------------
                                            TEAMROCKET_F
                                            Grunt,1
                                            3
                                            BURMY,19
                                            WINGULL,19
                                            ELECTABUZZ,20,,,,,,,,,,,,,,true
                                            #-------------------------------
                                            YOUNGSTER
                                            Ben
                                            2
                                            RATTATA,11
                                            EKANS,11
                                            #-------------------------------
                                            CAMPER
                                            Jeff
                                            2
                                            SPEAROW,16
                                            SENTRET,16
                                            #-------------------------------
                                            CAMPER
                                            Jeff,1
                                            2
                                            FEAROW,29
                                            FURRET,29
                                            #-------------------------------
                                            PICNICKER
                                            Susie
                                            1
                                            MEOWTH,18
                                            #-------------------------------
                                            PICNICKER
                                            Susie,1
                                            1
                                            PERSIAN,32
                                            #-------------------------------
                                            HIKER
                                            Ford
                                            1
                                            MACHOP,19
                                            #-------------------------------
                                            FISHERMAN
                                            Andrew
                                            2
                                            MAGIKARP,14
                                            MAGIKARP,18
                                            #-------------------------------
                                            BEAUTY
                                            Bridget
                                            1
                                            SKITTY,18
                                            #-------------------------------
                                            LASS
                                            Crissy
                                            2
                                            PLUSLE,17
                                            MINUN,17
                                            #-------------------------------
                                            COOLCOUPLE
                                            Alice & Bob
                                            2
                                            TURTWIG,19
                                            CHIMCHAR,19
                                            #-------------------------------
                                            POKEMONTRAINER_Brendan
                                            Brendan
                                            1
                                            MARSHTOMP,19
                                            #-------------------------------
                                            SWIMMER2_F
                                            Ariel
                                            2
                                            STARYU,15
                                            GOLDEEN,11
                                            #-------------------------------
                                            RIVAL1
                                            Blue
                                            3
                                            PIDGEOTTO,17
                                            RATTATA,15
                                            BULBASAUR,18
                                            #-------------------------------
                                            RIVAL1
                                            Blue,1
                                            3
                                            PIDGEOTTO,17
                                            RATTATA,15
                                            CHARMANDER,18
                                            #-------------------------------
                                            RIVAL1
                                            Blue,2
                                            3
                                            PIDGEOTTO,17
                                            RATTATA,15
                                            SQUIRTLE,18
                                            #-------------------------------
                                            CHAMPION
                                            Blue
                                            3
                                            VENUSAUR,63,SITRUSBERRY
                                            CHARIZARD,63,SITRUSBERRY
                                            BLASTOISE,63,SITRUSBERRY


                                            I have tried everything from editing the .txt file, to looking into how to define the trainer from scratch, right down to looking for the scripts I can changes, but this is just out of my depth, and I hope I can get help with this. I have tried to provide everything, as I got it un edited from the files in this thread
                                            Reply With Quote
                                              #47   Link to this post, but load the entire thread.  
                                            Old 1 Week Ago (1:55 PM). Edited 1 Week Ago by Emell.
                                            Emell Emell is offline
                                               
                                              Join Date: Mar 2016
                                              Posts: 40
                                              When do you get this error? When it compiles?

                                              EDIT: Also is this your actual trainer text file? I was able to basically replicate your error message by basically just removing the initial '#' on the first line.

                                              But a couple things strike me as odd. First, your error message lacks numerous details I see in the error message. Its almost like you retyped out the message rather than copy pasting it or just getting an image capture (and missed details as a result). Second, while the code at the lines I am given are the same as your code, I have them on differernt lines.

                                              Have you edited the compiler script at all? What version of Pokemon essentials are you using? Is that definitely the same trainer text file as what you're using?
                                              Reply With Quote
                                                #48   Link to this post, but load the entire thread.  
                                              Old 1 Week Ago (2:37 PM).
                                              BeastlyMega1234's Avatar
                                              BeastlyMega1234 BeastlyMega1234 is offline
                                                 
                                                Join Date: Jan 2019
                                                Posts: 32
                                                I am using Pokemon essentials v 17.2, the problem is in the compiler, and no, I have not made any changes to the script. the script I got from the download in this thread.
                                                find attached the image of the error message.
                                                Attached Images
                                                File Type: png Screenshot (66).png‎ (29.1 KB, 5 views) (Save to Dropbox)
                                                Reply With Quote
                                                  #49   Link to this post, but load the entire thread.  
                                                Old 1 Week Ago (11:56 AM).
                                                R34sans R34sans is offline
                                                   
                                                  Join Date: Mar 2019
                                                  Posts: 2
                                                  Sorry to bother, but i'm kinda new here and i'm making my first game ever in pokemon essentials, but i get this message whenever i try to start the game.
                                                  ---------------------------
                                                  Pokemon Essentials
                                                  ---------------------------
                                                  [Pokémon Essentials version 17]

                                                  Exception: RuntimeError

                                                  Message: Undefined value FAIRY in PBTypes

                                                  File PBS/pokemon.txt, section 35, key Type1

                                                  FAIRY



                                                  Compiler:418:in `checkEnumField'

                                                  Compiler:403:in `csvEnumField!'

                                                  Compiler:1706:in `pbCompilePokemonData'

                                                  Compiler:1698:in `each'

                                                  Compiler:1698:in `pbCompilePokemonData'

                                                  Compiler:1695:in `loop'

                                                  Compiler:1775:in `pbCompilePokemonData'

                                                  Compiler:1680:in `each'

                                                  Compiler:1680:in `pbCompilePokemonData'

                                                  Compiler:1679:in `each'



                                                  This exception was logged in

                                                  C:\Users\karls\Saved Games\Pokemon Essentials\errorlog.txt.

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

                                                  i haven't done anything since I downloaded the txt files and i havent downloaded anything but the txt files (such as other mods) and i should be using verision 17.

                                                  i know you're all busy fellas but if you get the chance i'd love some help, and thanks <3
                                                  Reply With Quote
                                                    #50   Link to this post, but load the entire thread.  
                                                  Old 1 Week Ago (7:35 AM).
                                                  Vendily's Avatar
                                                  Vendily Vendily is offline
                                                   
                                                  Join Date: Aug 2015
                                                  Gender: Female
                                                  Nature: Calm
                                                  Posts: 812
                                                  Quote:
                                                  Originally Posted by R34sans View Post
                                                  Sorry to bother, but i'm kinda new here and i'm making my first game ever in pokemon essentials, but i get this message whenever i try to start the game.
                                                  ---------------------------
                                                  Pokemon Essentials
                                                  ---------------------------
                                                  [Pokémon Essentials version 17]

                                                  Exception: RuntimeError

                                                  Message: Undefined value FAIRY in PBTypes

                                                  File PBS/pokemon.txt, section 35, key Type1

                                                  FAIRY
                                                  Heyo! Looks like error was cause because you don't have fairy type defined in your types.txt PBS file.
                                                  It's an easy fix though, all you gotta do is add it!
                                                  Code:
                                                  [18]
                                                  Name=Fairy
                                                  InternalName=FAIRY
                                                  IsSpecialType=true
                                                  Weaknesses=POISON,STEEL
                                                  Resistances=FIGHTING,BUG,DARK
                                                  Immunities=DRAGON
                                                  Pretty sure this is right. :smile:
                                                  __________________

                                                  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
                                                  Ad Content
                                                  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 12:37 AM.