Hordes won't spawn the first day, and crash me when they do spawn on the 10th.
TheWoodWraith opened this issue · 9 comments
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.
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.
The log file will just pick up any errors in your script that the mod picks up.
Got another crash with the same error. Found the details at the bottom.
What do your table files look like?
The logs seems to point out shambling_dead.json and zombies json as invalid json.
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.