Songs of Syx

Songs of Syx

Extra Info
Emi  [개발자] 2025년 1월 20일 오전 10시 21분
Bug Reports
Explain what happened and paste the crash report from here: %AppData%/songsofsyx/logs
< >
전체 댓글 4개 중 1~4개 표시 중
Emi  [개발자] 2025년 1월 20일 오전 10시 24분 
For example, I had one issue before releasing for V68 where it'd crash hovering over a citizen and this would point me exactly where I need to find the error:

java.lang.NullPointerException
at view.sett.ui.subject.UIHoverer.hover(UIHoverer.java:152)
at view.sett.ui.subject.UISubjects.hoverInfo(UISubjects.java:35)
at settlement.entity.humanoid.Humanoid.hover(Humanoid.java:316)
at view.sett.ToolDefault.renderHovered(ToolDefault.java:157)
at view.tool.ToolManager.render(ToolManager.java:234)
at view.interrupter.InterManager.render(InterManager.java:87)
at view.main.VIEW.render(VIEW.java:283)
at snake2d.Updater.render(Updater.java:83)
at snake2d.Updater.run(Updater.java:58)
Rohzdear 2025년 1월 21일 오전 1시 26분 
Here. Error Log from when hovering the mouse over seemingly any Tech on the tech tree:

https://files.catbox.moe/1fwf10.txt

|-------------------|
| ERROR LOG |
|-------------------|
java.lang.NullPointerException
at view.ui.tech.Node_Extra.output0(Node_Extra.java:38)
at view.ui.tech.Node_Extra.output(Node_Extra.java:22)
at view.ui.tech.Node.hoverInfoGet(Node.java:365)
at view.ui.tech.Node.hover(Node.java:173)
at snake2d.util.gui.GuiSection.hover(GuiSection.java:121)
at snake2d.util.gui.GuiSection.hover(GuiSection.java:121)
at snake2d.util.gui.GuiSection.hover(GuiSection.java:121)
at snake2d.util.gui.clickable.CLICKABLE$ClickWrap.hover(CLICKABLE.java:401)
at snake2d.util.gui.GuiSection.hover(GuiSection.java:121)
at view.ui.manage.IManager$Inter.hover(IManager.java:166)
at view.interrupter.InterManager.hover(InterManager.java:151)
at view.main.VIEW.hover(VIEW.java:164)
at view.main.VIEW.update(VIEW.java:192)
at snake2d.Updater.update(Updater.java:108)
at snake2d.Updater.run(Updater.java:54)
Time until crash: 16.7568359375

This is for v68. Does this work?
Rohzdear 님이 마지막으로 수정; 2025년 1월 21일 오전 1시 28분
Emi  [개발자] 2025년 1월 21일 오전 2시 12분 
OK, I can't recreate it without a save file, it seems, but I can at least try to stop it from *crashing* by telling it to return with nothing if these variables would be null.

The error report is telling me it's the second line of this causing the crash:

for (TechCost c : tech.costs) {
PTech t = FACTIONS.player().tech();
int cost = t.costLevelNext(c.amount, tech);
worker_cost += cost;
// For each tech currency: Tech cost / knowledge per worker
j += 1;
}

So I'll try to bypass that if the variables don't exist and upload it in a few minutes. I tried making a new game and looking at the techs, and none of them had an issue, but I updated the mod, so hopefully it'll work for you now.

If it doesn't, send me a save game file so I can recreate the crash.
Rohzdear 2025년 1월 21일 오전 6시 13분 
It seems that the crash stopped after your latest fix.

Not sure if all of the new info is being displayed correctly. Here's a pic of it:
https://files.catbox.moe/2n66da.png

And a save file where the crash used to occur, in case you're still curious:
https://files.catbox.moe/809r4j.save
< >
전체 댓글 4개 중 1~4개 표시 중
페이지당 표시 개수: 1530 50