The Hordes

The Hordes

5M Downloads

Hordes won't spawn the first day, and crash me when they do spawn on the 10th.

TheWoodWraith opened this issue · 9 comments

commented

Version: 1.19.2-1.20
I believe this is my fault, as I do not fully understand how to get the hordes working in the first place. I tried looking at the wiki, but putting a variation of the 'random table script' (minor modifications, just making it choose one table) still won't do anything. The crash had also told me: "The game crashed whilst ticking player
Error: java.lang.NullPointerException: Cannot invoke "net.smileycorp.hordes.common.hordeevent.HordeSpawnTable.getName()" because "table" is null"
And I do not fully know what it means, since it seems like it should be able to find the table I specified.
I'd also like some help figuring out how to use the 'Hordes' folder in the Config, as I don't think I'm understanding it fully.

Thanks for any help you can give.

commented
commented

It's probably something to do with my script then, since the default file is still there. I'll try to send the log file, but it'll be a little bit before I can since I disabled natural spawns to get back into a world. I'll see if I can then.

commented

The log file will just pick up any errors in your script that the mod picks up.

commented

mostrecentcrash.log

Got another crash with the same error. Found the details at the bottom.

commented

What do your table files look like?
The logs seems to point out shambling_dead.json and zombies json as invalid json.

commented

Looking at them I am starting to see the errors. At least the obvious ones.

commented

Those would be my custom tables. Zombies is just regular minecraft zombies without zoglins. Shambling Dead is a table I used for the Graveyard mod. I probably messed those two up somehow, but I haven't edited or removed any of the example tables. I'll send screenshots of both custom tables.
zombies
shambling_dead

commented

Yeah remove the double commas, and the ones after the last lines.

It's always helpful to use something like https://jsonlint.com/ to verify that the json files your making have the correct syntax.

commented

The crash is fixed as of 1.2.1, leaving this issue open to track spawnFirstDay