• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

Resource Randomized Trainer Teams (RTT) 1.1.0

Timespiraled

Rookie
Member
Joined
Jul 29, 2021
Posts
4
It appears that you can't set up a randomized team with additional fields (IV, Forms, Items, Abilities etc.) Is there any chance this is something that could be added in a future update?
 
Last edited:

Kotaro

Trainer
Member
Joined
Jun 8, 2020
Posts
65
It appears that you can't set up a randomized team with additional fields (IV, Forms, Items, Abilities etc.) Is there any chance this is something that could be added in a future update?
you should be able to since it's just the regular trainer.pbs
1654703125632.png

if this is my gym leader brock fight the last pkmn onix should be guaranteed called rocky and shiny
then i should have 2 more random pkmn when i fight him.
1654703172908.png

which works his last pkmn is a shiny onix called rocky while the first 2 where 2 random pkmn out of the roster
 

Timespiraled

Rookie
Member
Joined
Jul 29, 2021
Posts
4
Interesting. I'll give it a second shot to see if it's something on my end/sheer number that's causing a bug.
 

systeromen_

Novice
Member
Joined
Jan 26, 2021
Posts
46
from a cursory look, the big problem is that both redefine 'to_trainer' which are key to both of them functioning, I can't understand Lucidious's code the best, but its clear a compat patch could be made, I am just not familiar enough with either persons code to do so, myself.
 

RyssyRys

Rookie
Member
Joined
Apr 9, 2020
Posts
7
Ran into this error today, I've gone through everything but I'm unsure what it is...
 

Attachments

  • image_2023-02-18_012320031.png
    image_2023-02-18_012320031.png
    14.6 KB · Views: 94

Kotaro

Trainer
Member
Joined
Jun 8, 2020
Posts
65
Ran into this error today, I've gone through everything but I'm unsure what it is...
ah that's an oversight of mine fix will come out soon i've also asked Lucidious if we can add this to the compability plugin patches since the current solution would be to add a new file to the [001]Plugin Patches of Essentials Deluxe
 

Kotaro

Trainer
Member
Joined
Jun 8, 2020
Posts
65

SwoLe93

Rookie
Member
Joined
Nov 14, 2023
Posts
4
Has anyone gotten this script to work on 21.1? if so, how? See below for the errors that I am having. Thank you in advance!!!


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.3]

Exception: NameError
Message: uninitialized constant MessageTypes::TrainerNames

Backtrace:
[Randomized Trainer Teams] RTT .rb:144:in `compile_trainers'
Compiler:1001:in `compile_pbs_files'
Compiler:1018:in `compile_all'
Compiler:1092:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'

***********************************************

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.3]

Exception: RuntimeError
Message: Unknown exception when compiling.

Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'
 

schmonday

Rookie
Member
Joined
Dec 13, 2023
Posts
3
This works well, but I had to comment out line 137 in Deluxe.rb. I'm using 20.1 and kept getting the error

Exception: NoMethodError
Message: undefined method `ace=' for #<Pokemon MACHOP Lv.15>
[Randomized Trainer Teams] RTT Essentials Deluxe Patch.rb:137:in `block in to_trainer'
 

DumbFratBro

Rookie
Member
Joined
Sep 13, 2023
Posts
3
Any chance of this ever getting ported to 21.1? I haven't be able to find anything that functions like this and it's exactly what I need.
 

dirtycurt

Rookie
Member
Joined
Oct 8, 2023
Posts
3
Thank you so much for providing this plug-in! I do have an issue though every time I try to start a trainer battle with the plug-in installed (I made a copy of my project before installing and the battle script works there). If anybody could help me out, I would greatly appreciate it!

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 4 (coords 10,3), map 42 (Gym)
Exception: NoMethodError
Message: undefined method `ace=' for #<Pokemon VENUSAUR Lv.40>

***Full script:
TrainerBattle.start(:YOUNGSTER, "Test")
Backtrace:
[Randomized Trainer Teams] RTT Essentials Deluxe Patch.rb:137:in `block in to_trainer'
[Randomized Trainer Teams] RTT Essentials Deluxe Patch.rb:93:in `each'
[Randomized Trainer Teams] RTT Essentials Deluxe Patch.rb:93:in `to_trainer'
273:Trainer_LoadAndNew:9:in `pbLoadTrainer'
242:Overworld_BattleStarting:573:in `block in generate_foes'
242:Overworld_BattleStarting:530:in `each'
242:Overworld_BattleStarting:530:in `each_with_index'
242:Overworld_BattleStarting:530:in `generate_foes'
242:Overworld_BattleStarting:494:in `start_core'
242:Overworld_BattleStarting:477:in `start'
 

dirtycurt

Rookie
Member
Joined
Oct 8, 2023
Posts
3
This works well, but I had to comment out line 137 in Deluxe.rb. I'm using 20.1 and kept getting the error

Exception: NoMethodError
Message: undefined method `ace=' for #<Pokemon MACHOP Lv.15>
[Randomized Trainer Teams] RTT Essentials Deluxe Patch.rb:137:in `block in to_trainer'
Hello, did you end up fixing this issue? I am getting the same error.
 
Back
Top