RimWorld

RimWorld

What's for sale?
 This topic has been pinned, so it's probably important
Sarg Bjornson  [developer] 19 Apr, 2024 @ 11:00pm
Bug Reports
This is a centralized topic to report bugs, since the new topics created don't send you a notification.

If you want us to take a look at your error, we NEED you to submit error logs. It is crucial you provide me with Hugslib logs - we are not interested in comments ‘X doesn’t work because Y’, and we will not reply to those, even delete them if they hide proper bug reporting. Hugslib logs are what tells us, devs, what went wrong, and what mods you were using.

IF YOU DON'T POST A HUGSLIB LOG, YOUR REPORT WILL BE DELETED FROM NOW ON TO AVOID CLUTTER.

To get hugslib logs, make sure you have a Hugslib mod running, then press CTRL-F12 while in game and copy the link to us.

If Hugslib is not an option:

Note that you can find your logs at \steamapps\common\RimWorld\RimWorldWin64_Data\output_log.txt and you can share it with me by uploading it to https://pastebin.com
< >
Showing 1-15 of 35 comments
moosetwin 2 May, 2024 @ 7:18am 
I am having an issue where going to the world map and pressing 'What's for sale?' on a faction, causes the debug log to be filled up, and removes any packaged survival meal bills on my electric stove.

Here is the HugsLib log: pastebin [pastebin.com] github [gist.github.com]

I will try to record a video of the issue as soon as I can.
Sarg Bjornson  [developer] 2 May, 2024 @ 8:05am 
Seems to be a conflict with whatever is Uuugggg.rimworld.TDS_Bug_Fixes
moosetwin 2 May, 2024 @ 9:04am 
Understood, I have sent them a comment mentioning this thread.
Sarg Bjornson  [developer] 2 May, 2024 @ 11:47am 
Uuugggg 3 May, 2024 @ 9:49am 
I'm saying TDS is not a problem and this patch does nearly nothing.

One method in the stack being patched isn't automatically to blame.

The next proper step here is testing: remove half your mods and see if this still breaks
moosetwin 3 May, 2024 @ 12:28pm 
Originally posted by Uuugggg:
I'm saying TDS is not a problem and this patch does nearly nothing.

One method in the stack being patched isn't automatically to blame.

The next proper step here is testing: remove half your mods and see if this still breaks


Understood, I will try this.

In addition, I have noticed that the issue with the bill disappearing seems to be continuing without the mod, so it is likely from a different source.
Last edited by moosetwin; 3 May, 2024 @ 1:03pm
PhiNiX 12 May, 2024 @ 4:40am 
hi do u have a non steam link
Sarg Bjornson  [developer] 12 May, 2024 @ 5:11am 
It's all on my GitHub: juanosarg
PhiNiX 12 May, 2024 @ 5:31am 
i did found your github acc but there dont have this mod or i just cant find well thank you for responding:steamhappy:
ManicMillennial 22 May, 2024 @ 12:25am 
hi Sarj, really sorry for bothering, I can't seem to be able to upload to hugslib through ctrl + f12, and I cant seem to find the output_log.txt in the RimWorldWin64_Data folder. I can't seem to get this mod to work properly, when I click on the ''what's for sale'' button, it doesn't do anything and a red error is visible in my log
Sudo Modding 18 Sep, 2024 @ 2:50am 
This is for 1.4, but it may still exists in this version:
To reproduce, create a caravan with your colonists, abandon your colony, and press the what's for sale button

https://gist.github.com/HugsLibRecordKeeper/fc63aec37277694e20eff5f2ff95ca31
Szynszyl 2 Nov, 2024 @ 10:26am 
Hello, I have weir bug with your mod last added, namely my colonist command square (draft/undraft etc) has dissapear. Here is my logs: https://gist.github.com/HugsLibRecordKeeper/84d5b973c0d50e019a81359a1fe784b4
and here is my mod list: https://pastebin.com/3S394QDg
Can you check this? Playing without your mod is not so fun like with it
Last edited by Szynszyl; 4 Nov, 2024 @ 8:39am
Pos 4/5 2 Feb @ 10:08am 
Originally posted by Sudo Modding:
This is for 1.4, but it may still exists in this version:
To reproduce, create a caravan with your colonists, abandon your colony, and press the what's for sale button

https://gist.github.com/HugsLibRecordKeeper/fc63aec37277694e20eff5f2ff95ca31
Same error here in 1.5. In my case, I didn't even abandon my colony, just leave it empty will trigger this issue. I mainly got two errors, one is statrequest for null, another one is the window not drawing issue.

I find the bug by disassembly, refactor, and fix. In the constructor of Dialog_ShowBuyable, the input parameter negotiator could be null in this case, thus StatExtension.GetStatValue function call in the constructor will cause the statrequest for null error message. I fixed this by a null judge and 0 if negotiator is null. This is a temporary fix. Even though I still have pawns in the caravan who can be the negotiator, I just use 0 as the stat showing in the window.

This issue also affect the window drawing function DoWindowContents. In the line with the string "WDYS.Pawn", which is a Widgets.Label, the negotiator is null, thus negotiator.NameFullColored will report null pointer exception, leading to window not drawing. I fixed this issue by using negotiator?.NameFullColored ?? string.Empty instead of negotiator.NameFullColored.

I think it's better to consider all pawns not only in colony but also in caravan. Also, it's possible to have 0 pawns at all in certain cases (like everyone leaving the planet and you are still watching the settlements, or maybe your colony just got destroyed and everyone died, but you just want to want for a wanderer joining). Null check would be useful in such cases.
< >
Showing 1-15 of 35 comments
Per page: 1530 50