The Hordes

The Hordes

5M Downloads

hordeSpawnVariation doesn't seem to work

darchitectlp opened this issue ยท 6 comments

commented

I have hordeSpawnVariation = 0 but I'm having horde events that last for more than 1 night.

Atlas-Lib-1.16.5-1.1.3c.jar
The-Hordes-1.16.5-1.1.4a.jar

commented

hordeSpawnVariation only adds a random number of days between 0 and the number set between horde days,
how do you mean lasts more than 1 night, what are the other config values set to?

commented

See below:

["Horde Event"]
	#Time in ticks between spawns for the horde spawn event.
	hordeSpawnInterval = 1000
	#Amount of days between horde spawns
	hordeSpawnDays = 10
	#Amount of days a horde event can be randomly extended by
	hordeSpawnVariation = 0
	#Set to false to completely disable the horde event and anything relating to it.
	enableHordeEvent = true
	#Set to false to disable the use of beds during a horde event.
	canSleepDuringHorde = false
	#Multiplier by which the spawn amount increases by each time the event naturally spawns. (Set to 1 to disable scaling.)
	hordeSpawnMultiplier = 1.0
	#Length of a day (use only if you have another day that changes the length of the day/night cycle) Default is 24000
	dayLength = 24000
	#Amount of mobs to spawn per wave.
	spawnAmount = 10
	#Time in ticks the event lasts for
	hordeSpawnDuration = 4800
	#A list of entities to spawn followed by the spawn weight then the day they first appear on then the last day. Higher weight is more common. Leave the last value to 0 to set no max day, entities can have nbt attached to them.(e.g. minecraft:zombie-20-0-0{ActiveEffects:[{Id:12,Amplifier:0,Duration:10000}]})
	spawnList = ["betterdefaultbiomes:frozen_zombie-60-0-0", "minecraft:stray-80-0-0", "dannys_expansion:ice_elemental-5-0-40", "eidolon:wraith-60-20-0", "dannys_expansion:ice_elemental-10-40-100", "minecraft:frozen_ghoul-20-30-0", "dannys_expansion:ice_elemental-20-100-0", "snowpig:snow_pig-10-0-0"]
	#Do the daylight cycle (and active horde events get paused while there are no players online.).
	pauseEventServer = true
	#Set to true to enable the horde spawning on the first day. (Game day 0)
	spawnFirstDay = false
	#How much should the size of each horde scale down by when multiple players are near each other?
	hordeMultiplayerScaling = 0.8
	#What time of day does the horde event start? eg 18000 is midnight with default day length.
	hordeStartTime = 18000
	#Max cap for the number of entities that can exist from the horde at once.
	hordeSpawnMax = 40

So basically the invasion should happen exactly every 10 days. It should start at midnight and last until just before dawn, and there should never be any variation. Spawn waves happen every 1000 ticks, so with the hordeSpawnDuration I would expect to get 4 waves of 10 mobs each.

However, instead of the normal "the invasion is over" message I expect at dawn (sorry, can't remember what it actually says), I get ANOTHER alert that there is a horde approaching. This doesn't happen consistently, though, sometimes I do get the alert that the siege is over.

I'm playing the Permafrost modpack, so I'm not sure if something else could be interfering here or not. Thanks again!

PS Would love an option to have customizable alert messages!

commented

Customizable alert messages and sounds should be comming in the next major update, that should reinstate the missing features from the 1.12.2 version and datapack support.

Would you be able to run the debugHordes command as well, as it should give a better idea of what's happening.

Is this happening in a fresh world? The only thing I can think of that might start a new one is if it's queuing another horde to happen right after, whcih shouldn't happen in singleplayer.

commented

debugHordes is not a command I'm seeing (in creative single player). Also, I went ahead and set enableHordeEvent = true to false, and while the horde doesn't spawn, it still prevents me from sleeping on nights when a horde event triggers.

I will try to start a new world at some point to test.

commented

If you're using 1.1.4a the command should exist.
It wasn't in 1.1.4 but I readded it while debugging the issue.

commented

Should be fixed as of version 1.16.5-1.1.5.