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

Compiling trainers.txt error

Status
Not open for further replies.

JokerBen

Director of Pokémon Nobelium
241
Posts
11
Years
  • Age 23
  • Seen Aug 29, 2023
I was making trainer battles through the "editor.exe" Here is the error:

Exception: RuntimeError
Message: Expected a number for the number of Pokémon
File PBS/trainers.txt, line 289
VILEPLUME,50,,MEGADRAIN,AROMATHERAPY,STUNSPORE,POISONPOWDER,,,,false,,,,,false

Compiler:1397:in `pbCompileTrainers'
Compiler:1380:in `loop'
Compiler:1474:in `pbCompileTrainers'
Compiler:4052:in `pbCompileAllData'
Compiler:4170
Exception: RuntimeError
Message: Expected a number for the number of Pokémon
File PBS/trainers.txt, line 289
VILEPLUME,50,,MEGADRAIN,AROMATHERAPY,STUNSPORE,POISONPOWDER,,,0,false,,10,70,,false

Compiler:1397:in `pbCompileTrainers'
Compiler:1380:in `loop'
Compiler:1474:in `pbCompileTrainers'
Compiler:4052:in `pbCompileAllData'
Compiler:4170



Help please!
 
Last edited:

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
Look at the wiki and the many examples that come with Essentials, and learn how trainers.txt is laid out. Also, read the error message.
 

JokerBen

Director of Pokémon Nobelium
241
Posts
11
Years
  • Age 23
  • Seen Aug 29, 2023
Look at the wiki and the many examples that come with Essentials, and learn how trainers.txt is laid out. Also, read the error message.

Thanks it works now. I just didn't really understand the message
 
Status
Not open for further replies.
Back
Top