• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Dynamic Invasions

Mightyena

Plantera
Found an interesting quirk of the mod that is probably no fault on the mods behalf a all, but I made an invasion with only Man Eaters, Snatchers, and Angry Trappers and now nothing is spawning because those enemies cannot spawn for some vanilla reasons I presume. What this means is that my world is stuck in a state of being invaded by enemies that fail to properly spawn, which has eradicated any other natural spawns. Granted this was a mistake I willingly made, but hopefully there is a fix for this or some item that maybe cancels the invasion in the future.
 

Airarret

Terrarian
Suggestion for a overhaul:

Make a stand that works with wiring. Connect the stand to banners with wires to make the banner enemy spawn during the invasion! The stand would also send a signal once when the invasion starts, and again when the invasion stops: so if the stand is connected with wire to a music box, then the music box is started when the invasion starts and stopped when the invasion ends, functionally working the same as using that music box for the invasion.

Sending a signal to the stand (again, with wiring) could serve as an emergency stop to abort and cancel the invasion.

Using wires could even offer a way to get up to four separate waves:
  1. Wave 1: banners connected to stand with red wire
  2. Wave 2: banners connected to stand with green wire
  3. Wave 3: banners connected to stand with blue wire
  4. Wave 4: banners connected to stand with yellow wire

This could perhaps also be used to connect each wave with a separate music box: start of first wave, send a red signal (so it'll activate a music box connected with red wire), start of second wave send a red and a green signals (to stop the red-connected box and start the green-connected one), and so on, then at invasion ends send a yellow signal.
 

hamstar

Steampunker
Found an interesting quirk of the mod that is probably no fault on the mods behalf a all, but I made an invasion with only Man Eaters, Snatchers, and Angry Trappers and now nothing is spawning because those enemies cannot spawn for some vanilla reasons I presume. What this means is that my world is stuck in a state of being invaded by enemies that fail to properly spawn, which has eradicated any other natural spawns. Granted this was a mistake I willingly made, but hopefully there is a fix for this or some item that maybe cancels the invasion in the future.
See v0.9.1:



v0.9.1
  • Added right-click function to Cross Dimensional Aggregator to cancel custom invasions at the cost of 3 Eternia Crystals (with API binding)
  • Added tooltip to aggregator about aborting invasions
  • Assorted minor internal refactoring
[doublepost=1560937090,1560936814][/doublepost]
Suggestion for a overhaul:

Make a stand that works with wiring. Connect the stand to banners with wires to make the banner enemy spawn during the invasion! The stand would also send a signal once when the invasion starts, and again when the invasion stops: so if the stand is connected with wire to a music box, then the music box is started when the invasion starts and stopped when the invasion ends, functionally working the same as using that music box for the invasion.

Sending a signal to the stand (again, with wiring) could serve as an emergency stop to abort and cancel the invasion.

Using wires could even offer a way to get up to four separate waves:
  1. Wave 1: banners connected to stand with red wire
  2. Wave 2: banners connected to stand with green wire
  3. Wave 3: banners connected to stand with blue wire
  4. Wave 4: banners connected to stand with yellow wire

This could perhaps also be used to connect each wave with a separate music box: start of first wave, send a red signal (so it'll activate a music box connected with red wire), start of second wave send a red and a green signals (to stop the red-connected box and start the green-connected one), and so on, then at invasion ends send a yellow signal.
It would be possible to do something similar to this via. API. I don't have time for this kind of change, but if anyone is, I'll happily explain how to integrate with the API.
 

Attachments

hamstar

Steampunker
v0.9.4.1
  • Fixed aggregator recipe logic
v0.9.4
  • Added ranges to config settings
  • Added config setting option (via. 0 InvasionAbortFuelCost) to abort invasions with 0 "fuel" item
  • Added error catching for invasion progress bar rendering (rare spritebatch error?)
v0.9.3
  • Implemented FloatInputElement for config
  • Updated for TML11.5
 

Attachments

Last edited:

Worgensnack

Terrarian
for some reason I can't get one to craft. I have 5 different banners and a vanilla music box, but when I go to craft it it just gives me a blank item with the tooltip telling me to try crafting it.
 

hamstar

Steampunker
for some reason I can't get one to craft. I have 5 different banners and a vanilla music box, but when I go to craft it it just gives me a blank item with the tooltip telling me to try crafting it.
Send me your client.log file when this happens.
 

hamstar

Steampunker
I think this is the right file
I'm seeing the following error: "Need 5 banners (of 1) for custom invasion summon item." I'm also seeing a WeaponsOut error right before this one. Try disabling that mod and see if anything improves. Meanwhile, I'll see if there's anything that could be causing this.
 

Worgensnack

Terrarian
just tested, it wasn't WeaponsOut. and for some reason it let me make a working item, but only if all 5 were the same thing. I thought I was able to use 5 different ones?
 

DragonZombie

Skeletron Prime
You should be able to. I'll need to look into this.
I have the same problem, and also, i noticed in the config files "AutoInvasions"
What does this do? does it pick a random invasion from the ones ive already summoned? or does it pick a random list of enemies? if its the latter, id imagine there would be problems with mod creatures that need certain conditions or a biome to spawn.

Edit: 2 Suggestions
"Stickers" Which would allow you to select the image of the invasion that shows up on the corner, could pick from an item in the player inventory.
"Renamer" Allows you to customize the name of the invasion.
 
Last edited:
Top Bottom