RimWorld

RimWorld

Not enough ratings
Dimensions RePocketed
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
1.595 MB
Aug 23 @ 11:37am
Aug 29 @ 12:01pm
4 Change Notes ( view )

Subscribe to download
Dimensions RePocketed

Description
Refactoring of Pocket Dimensions by Captain Muscles. Original mod located at https://steamcommunity.com/sharedfiles/filedetails/?id=2307817213.

Ever wanted a secret place that was only for you? What if you could carry it around in your pocket to pull out and climb in whenever you want?

Pocket Dimensions is a mod for Rimworld that allows you to create a map that is contained inside a box that you can carry around and place wherever you like.
48 Comments
Gideon  [author] 20 hours ago 
Sounds good. Thank you.
Kelven 20 hours ago 
Seems to be fixed now. Loaded up my 370+ mod save with Dimensions RePocketed installed, did 10 RefugePodCrash events (6 were independents), and none caused errors. I'll do more extensive tests later tonight and report back if there's any further issues
Kelven 21 hours ago 
@Gideon Initial tests with the new patch is working. I'm going to load up my save and test with the other 370+ mods and let you know.

As for your question, I did a test before patching and yes, it was only the Independent pawns that had the error, but again not all of them. Out of 10 pods, 6 were independent, and of those, 5 had errors and 1 didn't.
Gideon  [author] 22 hours ago 
That null check fixed it for me. Patch is uploaded if you want to try it.
Gideon  [author] 22 hours ago 
I'm testing this out on my side by changing

if(target.Faction.IsPlayer) return options

to instead be

if(target.Faction is not null)
if(target.Faction.IsPlayer) return options
Gideon  [author] 22 hours ago 
@Kelven, I think I've noticed a pattern...can you confirm if this holds for you....trigger RefugeePodDrop x10 in debug mode....check each blue refugee (this will never be the case for red ones) to see if it belongs to "Independent space refugee" as the faction.

Does the error only occur on pawns that are independent? I have only been able to get the error to trigger on independent pawns so far...which leads me to suspect that the null might be if(target.Faction.IsPlayer)...IsPlayer can't be called if Faction is null, so this would trigger a null reference exception if independent refugees just have a faction set to null. I don't know for sure this is how independent refugees work, but it's the only difference I can find between "good pawns" and broken pawns.
Kelven 23 hours ago 
@Gideon Ok, I did a dev test with the DLCs, Harmony (required), HugsLib (for the logging), and Dimensons RePocketed, and am still getting the error.

Error: https://pastebin.com/favAJzaZ
HugsLib Log: https://gist.github.com/HugsLibRecordKeeper/6d6d9e41e46f052ab1d3ea807ef22a05

Incase HugsLib was the culprit, I did another test with ONLY DLCs, Harmony (required), and Dimensons RePocketed, and am still getting the error.

Error: https://pastebin.com/4pZfrgWc
HugsLib: Can't provide since I removed it for this test lol

So ya, I'm getting the error with JUST the DLCs and this mod (and Harmony, which this mod lists as a requirement)
Kelven Aug 29 @ 10:14am 
@Gideon I posted the error log without Achtung in my previous comment. So my very first comment has the error with Achtung and Dimensons RePocketed, and my most recent comment has the error with just Dimensons RePocketed.

I'll do the dev test right now, gimmie a few minutes and I'll post results
Gideon  [author] Aug 29 @ 9:51am 
@Kelven, any chance you can do a dev quick test map with only Dimensions RePocketed and see if the event still has the issue? This will at least prove whether it's a mod conflict.

Also, if you reproduce without Achtung, do you still get an error logged and is it different?
Gideon  [author] Aug 29 @ 9:48am