• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

I can´t modify the encounters.txt

24
Posts
13
Years
  • When I modify the encounters.txt and then I try to test the game throws me an error on this data HELP!

    This is the error


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

    Message: Undefined encounter type , expected one of the following:

    ["Land", "Cave", "Water", "RockSmash", "OldRod", "GoodRod", "SuperRod", "HeadbuttLow", "HeadbuttHigh", "LandMorning", "LandDay", "LandNight", "BugContest"]

    File PBS/encounters.txt, line 1

    

    Compiler:1096:in `pbCompileEncounters'

    Compiler:4068:in `pbCompileAllData'

    Compiler:4174
     

    Conan Edogawa

    One Truth Prevails
    1,061
    Posts
    15
    Years
  • When I modify the encounters.txt and then I try to test the game throws me an error on this data HELP!

    This is the error


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

    Message: Undefined encounter type , expected one of the following:

    ["Land", "Cave", "Water", "RockSmash", "OldRod", "GoodRod", "SuperRod", "HeadbuttLow", "HeadbuttHigh", "LandMorning", "LandDay", "LandNight", "BugContest"]

    File PBS/encounters.txt, line 1

    

    Compiler:1096:in `pbCompileEncounters'

    Compiler:4068:in `pbCompileAllData'

    Compiler:4174

    It looks to me like you forgot to include the encounter type. Check out this article on the wiki, you should find out how to define each maps encounters on this.
     
    24
    Posts
    13
    Years
  • But, I didn't forget to include the encounter type, I only changed the name of one Pokemon in the .txt file that was formed by the editor
     

    Conan Edogawa

    One Truth Prevails
    1,061
    Posts
    15
    Years
  • But, I didn't forget to include the encounter type, I only changed the name of one Pokemon in the .txt file that was formed by the editor

    If you read the error message, it says you didn't properly define the encounter type. If my solution didn't work, would you mind posting the bit of text, or send me the text file so I can look at it?
     
    24
    Posts
    13
    Years
  • This is my encounters.txt file:

    ######################
    002 # El Vigía
    25,10,10
    ######################
    004 # Labvigia
    25,10,10
    ######################
    005 # Ruta 1
    25,25,10
    ######################
    006 # Cueva Prado
    25,25,10
    Cave
    ZUBAT,2,4
    ARON,2,4
    ABRA,2,4
    ARON,2,4
    ZUBAT,2,4
    ZUBAT,2,4
    ZUBAT,2,4
    ZUBAT,2,4
    ARON,2,4
    ZUBAT,2,4
    ZUBAT,2,4
    ZUBAT,2,4
     

    Nickalooose

    --------------------
    1,309
    Posts
    16
    Years
    • Seen Dec 28, 2023
    For ares with no encounters... Don't put them into encounters.txt
     
    Back
    Top