• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

Error Message for trainer battles.

Prof Oakley

JourneyofPossibilities Creator
  • 75
    Posts
    12
    Years
    I keep getting this error message when i start the play test or editor. Now if I erase the 10 part of the pokemon it works fine, but it keeps re-adding the number. When I have more than a few trainers this is going to be highly irritating to fix every test. How do I make it stop adding that 10 in there? If it just added it to the first few it wouldn't be an issue, but it adds it to every stinking pokemon every time I play test or editor the game ><

    Spoiler:


    And now I'm getting this one...
    Spoiler:
     
    Last edited:
    Right, assuming you've updated to the new Essentials, the whole trainers.txt has been edited the order is now different, and --->ITEMS<--- is now where IV used to be, check the new order and change to occompany that!

    I've changed my order, so I can't fully help you here, but I'm sure the new order is something like:

    # 0 = SPECIES
    # 1 = LEVEL
    # 2 = ITEM
    # 3 = MOVE
    # 4 = MOVE
    # 5 = MOVE
    # 6 = MOVE
    # 7 = ABILITY
    # 8 = GENDER
    # 9 = FORM
    # 10 = SHINY
    # 11 = NATURE
    # 12 = IV
    # 13 = HAPPINESS
    # 14 = NICKNAME
    # 15 = SHADOW

    I'm pretty sure that's right... If you haven't upgraded I'm sure nobody will have an answer for you as Maruno has clearly stated in the past, he will not create fixes and whatnot for past versions... If you haven't upgraded, it's recommended you do so.

    EDIT: The second error, I would suggest you remove any line with pbTrainerChecker and remove the def pbTrainerChecker and the def directly below it... I forget what that one is called.
     
    I think I upgraded. I tried to follow the directions in the notes html file but it was confusing and I probably didn't do it right.

    I can't find the pbTrainerchecker either :/
     
    Sorry that's my mistake, it's class TrainerChecker and def pbTrainerBattleCheck... and comment out all trainerChecker=TrainerChecker.new.

    Right, your trainer in trainers.txt, should look like this, somewhat:

    BUGCATCHER
    Steve
    2
    PIDGEY,2,POTION,GUST,FLY,PECK,SANDATTACK,,1,,False,,10,70,,False
    RATTATA,2,,TACKLE,TAILWHIP,,,,0,,True,,12,120,Mousey,False

    Do you understand this now?

    The new change is quite troublesome, but works none the less.
     
    none of my battles are saved now... it's asking me to make them again when I start the playtest?
     
    Remove class TrainerChecker and def pbTrainerBattleCheck... and comment out all trainerChecker=TrainerChecker.new.

    The game will stop asking you.
     
    no more error messages, for now. Thanks.
     
    Last edited:
    Back
    Top