• 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.

What's wrong with my encounters?

34
Posts
10
Years
    • Seen Oct 1, 2014
    I keep getting this message for my encounters:
    ---------------------------
    Pokemon Mystic Opal
    ---------------------------
    Exception: RuntimeError

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

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

    File PBS/encounters.txt, line 1

    002



    Compiler:1098:in `pbCompileEncounters'

    Compiler:3989:in `pbCompileAllData'

    Compiler:4095



    This exception was logged in

    C:\Users\Ethan\Saved Games/Pokemon Mystic Opal/errorlog.txt.

    I really can't understand why it's saying this, as I'm sure I'm supposed to make clear which map I'm talking about first. Anyone think they can help? :s (Sorry if it's simple I'm just a rookie)

    Here is my encounters file:
    002 # Town
    25,10,10
    Water
    TENTACOOL,14,19
    MANTYKE,15,16
    REMORAID,14,16
    REMORAID,14,16
    REMORAID,14,16
    OldRod
    MAGIKARP,16,19
    MAGIKARP,16,19
    GoodRod
    BARBOACH,17,18
    SHELLDER,16,19
    KRABBY,15,16
    SuperRod
    CHINCHOU,17,19
    QWILFISH,16,19
    CORSOLA,15,18
    STARYU,15,17
    STARYU,15,17
    ######################
    005 # Pokémon Lab
    25,10,10
    Land
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,13
    PIDGEY,11,13
    RATTATA,11,13
    PIDGEY,11,13
    RATTATA,14
    PIDGEY,14
    LandNight
    RATTATA,10,14
    HOOTHOOT,10,13
    RATTATA,10,14
    HOOTHOOT,10,13
    SPINARAK,8,12
    SPINARAK,8,12
    RATTATA,10,14
    HOOTHOOT,10,14
    RATTATA,10,14
    HOOTHOOT,10,14
    RATTATA,15
    HOOTHOOT,14
    ######################
    006 # Crystal Cave
    25,10,10
    Cave
    ######################
    021
    25,10,10
    Land
    RATTATA,12,15
    RATTATA,12,15
    RATTATA,12,15
    POOCHYENA,11,15
    POOCHYENA,11,15
    POOCHYENA,11,15
    SHINX,10,12
    SHINX,10,12
    SHINX,10,11
    SHINX,10,11
    SHINX,10,11
    SHINX,10,11
    Water
    MAGIKARP,7,10
    GOLDEEN,11,14
    STARYU,12,15
    STARYU,12,15
    STARYU,12,15
    OldRod
    MAGIKARP,7,10
    MAGIKARP,9,15
    GoodRod
    GOLDEEN,12,14
    FINNEON,12,15
    MAGIKARP,12,17
    SuperRod
    GOLDEEN,12,14
    FINNEON,12,15
    STARYU,12,15
    STARYU,14,17
    STARYU,14,17
    HeadbuttLow
    PINECO,11,13
    LEDYBA,6,8
    PINECO,11,13
    SPINARAK,9,12
    LEDYBA,6,8
    SPINARAK,9,12
    SPINARAK,9,12
    MUNCHLAX,11,14
    HeadbuttHigh
    PINECO,11,13
    WURMPLE,6,8
    PINECO,11,13
    SPINARAK,9,12
    WURMPLE,6,8
    SPINARAK,9,12
    SPINARAK,9,12
    SPINARAK,9,12
     
    9
    Posts
    9
    Years
    • Seen Jan 31, 2015
    Hey nieveso,
    I believe i´ve got the same error a while ago.
    Did you try to edit your encounters by modifying your encounters pbs file?
     
    585
    Posts
    11
    Years
    • Seen Feb 7, 2017
    I believe your error is here:
    Code:
    ######################
    006 # Crystal Cave
    25,10,10
    Cave
    ######################
    021
    25,10,10
    Land
    You haven't defined any Pokemon for Crystal Cave (Map #006) and map #021. You must define 12 Pokemon for each.
     
    9
    Posts
    9
    Years
    • Seen Jan 31, 2015
    Well atleast in my version of essentials you cannot simple add the encounters in the pbs file.
    I would recommend deleting what you added and make the encounters with the editor.
     
    34
    Posts
    10
    Years
    • Seen Oct 1, 2014
    I really don't want to use the editor (I will If I have to though) but I fixed all that. Still having problems: (Also, Number 21 is default, so it should all work, only got the problems when I edited 006. So 21 is fine)

    ---------------------------
    Pokemon Mystic Opal
    ---------------------------
    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:1098:in `pbCompileEncounters'

    Compiler:3989:in `pbCompileAllData'

    Compiler:4095



    This exception was logged in

    C:\Users\Ethan\Saved Games/Pokemon Mystic Opal/errorlog.txt.


    Here's my Encounter file:
    ######################
    002 # Lappet Town
    25,10,10
    Water
    TENTACOOL,14,19
    MANTYKE,15,16
    REMORAID,14,16
    REMORAID,14,16
    REMORAID,14,16
    OldRod
    MAGIKARP,16,19
    MAGIKARP,16,19
    GoodRod
    BARBOACH,17,18
    SHELLDER,16,19
    KRABBY,15,16
    SuperRod
    CHINCHOU,17,19
    QWILFISH,16,19
    CORSOLA,15,18
    STARYU,15,17
    STARYU,15,17
    ######################
    005 # Pokémon Lab
    25,10,10
    Land
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,14
    PIDGEY,11,14
    RATTATA,11,13
    PIDGEY,11,13
    RATTATA,11,13
    PIDGEY,11,13
    RATTATA,14
    PIDGEY,14
    LandNight
    RATTATA,10,14
    HOOTHOOT,10,13
    RATTATA,10,14
    HOOTHOOT,10,13
    SPINARAK,8,12
    SPINARAK,8,12
    RATTATA,10,14
    HOOTHOOT,10,14
    RATTATA,10,14
    HOOTHOOT,10,14
    RATTATA,15
    HOOTHOOT,14
    ######################
    006 # Crystal Cave
    25,10,10
    Cave
    ONIX,34,40
    AGGRON,36,39
    GRAVELER,38,42
    NOSEPASS,38,39
    BOLDORE,37,39
    ONIX,36,41
    AGGRON,37,43
    GRAVELER,39,43
    NOSEPASS,39,39
    BOLDORE,38,39
    BOLDORE,37,41
    BOLDORE,39,40
    ######################
    021
    25,10,10
    Land
    RATTATA,12,15
    RATTATA,12,15
    RATTATA,12,15
    POOCHYENA,11,15
    POOCHYENA,11,15
    POOCHYENA,11,15
    SHINX,10,12
    SHINX,10,12
    SHINX,10,11
    SHINX,10,11
    SHINX,10,11
    SHINX,10,11
    Water
    MAGIKARP,7,10
    GOLDEEN,11,14
    STARYU,12,15
    STARYU,12,15
    STARYU,12,15
    OldRod
    MAGIKARP,7,10
    MAGIKARP,9,15
    GoodRod
    GOLDEEN,12,14
    FINNEON,12,15
    MAGIKARP,12,17
    SuperRod
    GOLDEEN,12,14
    FINNEON,12,15
    STARYU,12,15
    STARYU,14,17
    STARYU,14,17
    HeadbuttLow
    PINECO,11,13
    LEDYBA,6,8
    PINECO,11,13
    SPINARAK,9,12
    LEDYBA,6,8
    SPINARAK,9,12
    SPINARAK,9,12
    MUNCHLAX,11,14
    HeadbuttHigh
    PINECO,11,13
    WURMPLE,6,8
    PINECO,11,13
    SPINARAK,9,12
    WURMPLE,6,8
    SPINARAK,9,12
    SPINARAK,9,12
    SPINARAK,9,12
     

    Radical Raptr

    #BAMFPokemonNerd
    1,124
    Posts
    13
    Years
  • You're using notepad right? try save as, and choosing a different kind of file type. If memory serves me it's something like that that's causing the error.
     
    Back
    Top