Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It's all explained in the description, and no the niche crash isn't fixed since nobody has provided a save in which it happens or been able to reproduce it.
The problem is quite tricky to fix and pretty much impossible without a way to test potential solutions.
I've tried everything I could think of in a save with 8k pop and no matter what I do I don't get any crashes so it must be happening under rather specific circumstances.
at settlement.entity.ENTETIES.update(ENTETIES.java:348)
at settlement.main.SETT.update(SETT.java:734)
at game.GAME.update(GAME.java:308)
at view.main.VIEW.update(VIEW.java:250)
at snake2d.Updater.update(Updater.java:106)
at snake2d.Updater.run(Updater.java:54)
at settlement.room.home.house.HomeHouse.occupant(HomeHouse.java:244)
at settlement.room.home.house.HomeHouse.vacate(HomeHouse.java:146)
at settlement.stats.colls.StatsHome$StatHome.set(StatsHome.java:528)
at settlement.path.finder.SFinderHome.find(SFinderHome.java:82)
at settlement.entity.humanoid.ai.home.AIModule_Home.getPlan(AIModule_Home.java:79)
at settlement.entity.humanoid.ai.main.AIModules.getNextPlan(AIModules.java:199)
at settlement.entity.humanoid.ai.main.AIManager.newPlan(AIManager.java:437)
at settlement.entity.humanoid.ai.main.AIManager.setNextState(AIManager.java:399)
at settlement.entity.humanoid.ai.main.AIManager.update(AIManager.java:322)
at settlement.entity.humanoid.Humanoid.update(Humanoid.java:220)
I'm not sure how to look further though as well, i'm not quite advanced enough to have an IDE yet. But maybe soon.
If you need anything else or can confirm this isn't from you let me know :)
I"ve had this happen in 2 saves now on fairly developed cities so i'm hoping to find a solution.
Cheers!
Had to split up comment sorry error log in next.
You can find the save in AppData/Roaming/songsofsyx/saves/ (you can just type %AppData% in the file explorer to get in there) and then upload it with something like file.io or send it to me directly on discord
It's good if the crash can be bypassed but it's even better if I can manage to figure it out and fix it
Well I don't modify any of those classes so I guess this is another case of the base game not being able to handle houses getting more occupants. Not as easy a fix as I had hoped. Any chance I could get a save file?
at settlement.room.main.ROOMS.render(ROOMS.java:746)
at settlement.tilemap.SRenderer.renderTheRest(SRenderer.java:45)
at settlement.tilemap.TileMap.renderTheRest(TileMap.java:123)
at settlement.main.SETT.render(SETT.java:645)
at settlement.main.SETT.render(SETT.java:498)
at view.sett.SettView.render(SettView.java:125)
at view.main.VIEW.render(VIEW.java:292)
at snake2d.Updater.render(Updater.java:83)
at snake2d.Updater.run(Updater.java:58)
java.lang.ArrayIndexOutOfBoundsException: 213554
at settlement.entity.ENTETIES.getByID(ENTETIES.java:458)
at settlement.room.home.house.HomeHouse.occupant(HomeHouse.java:237)
at settlement.room.home.house.HomeHouse.resCount(HomeHouse.java:354)
at settlement.room.home.house.HomeHouse.resourceAm(HomeHouse.java:339)
at init.race.home.RaceHomeClass.floor(RaceHomeClass.java:150)
at settlement.room.home.house.Sprites$11.render(Sprites.java:365)
at settlement.room.main.RoomSingleton.render(RoomSingleton.java:72)
at settlement.room.home.house.InstanceHome.render(InstanceHome.java:57)
I'm not getting any crashes on my end so I have no idea what's causing it.
Mind sending me the part just under ERROR LOG in the log the crash generates? (including the lines that start with "at")
I tried but I'm afraid it's not as simple as modifying the values I'm already modifying, as such high numbers cause issues with how the game handles people moving into and out of housing, among other things. No matter how much I tiptoe around it it keeps causing crashes.
Personally I think of the basements and second floors as clumsily added on top of an already existing house rather than perfectly planned floors identical to the main floor.
@krunjar
We do love neat even numbers. Dunno why we can't just choose any number as the immigration cutoff though, we shouldn't need modded housing for this. Which gives me a new mod idea...
There isn't (not yet at least, it should allow more things by the time the game comes out of EA), that's why I had to use scripts. If you want to do any of the many things the txts don't allow you'll have to deal with java programming.
"Why do you want to edit it?"
I don't. I created several mods for myself but I used to work only with txt-files.
Also I've already thought about increasing houses capacity and changing some another things connecting to houses but never saw how to use scripts.
Is there any way to change capacity using only txt without scripts?
Yes it's pretty much just the jar file, it was a simple change but required modifying the game's code which thankfully the dev lets us do. You can simply extract the contents of the .jar and open said contents in something that can read java classes to see what I changed and edit it yourself if you so wish.
Why do you want to edit it?
Are you playing on the v66 beta? I don't know if the mod works on v65.
Welp, time to rebuild half a map worth of buildings.
Thanks for the great mod.