Some time ago regionkit started to break Rain Meadows Story mode. When I try to open a Rain Meadow Story Lobby I get stuck on the "creting Lobby screen". I can stop this screen by pressing escape and am returned to the Lobby selection screen. If I press escape again I am in my "Lobby", but trying to load/start a new save from this "broken Lobby" ends up in an infinite Loading screen. It would be nice if anyone could help me with that.
#Regionkit breaking Rain Meadow Story Mode
1 messages · Page 1 of 1 (latest)
does "some time ago" mean before or after the watcher dlc release?
oh i see 
rk got an update on the 4th may, 3 days ago
guess that broke it
oh, right
have you tried testing with regionkit disabled? and with only rk and rain meadow?
in theory it may be an incompat with rk and some other mod, unrelated to rain meadow
nope it really is just regionkit and rain meadow
BUT
only if i also enable MSC
the problem is replicating the error.
Because i had a friend start a lobby with the exact same mods enabled that broke it for me and it worked for him.
have you edited any base game or msc files, or use setup.txt or anything?
enabling msc also enables rw remix ...
this almost seems like an incompat between rk and msc, more than anything
could you provide more details about your rain meadow lobby, too? i ,, havent actually played rain meadow myself, but if it allows you to play as MSC cats, this may be an issue with ... uh, im not sure
the specific exception looks mostly like a slugcat specific room... template? wait wdym template. regionkit what are you talking about
room templates
only garritofeature (if it is called that?), but that should have gotten lost with my reinstall
rk allows you to add slug-specific room templates
i see
it's probably related to whatever slugcat campaign you're set to or smthn
already tried an older version of rk (it worked before the rk update), also didn't work
how do u mean that?
standard besides enable custom slugcats
is it survivor campaign?
Inv actually
but all campaigns are broken even if i disable the inv mod
as soon as msc rk and rain meadow are enabled at the same time rain meadow breaks
I assume you're in 'story mode'?
does the error happen with a different mode?
@terse rivet try putting this in steamapps\workshop\content\312520\2920439476\newest\plugins and then send consolelog.txt after making the issue happen
sry have to go to sleep. I'll try it and reply tomorrow.
👍
Here's the console log that was generated after I took the exact steps I mentioned in my problem description.
I'll also just put the generated exception log here in case smth changed in there
of course the ones generated after putting in your .dll
ugh, consolelog is basically empty
do i have to change any settings so there appears more in the console log?
uh, normally there should be a lot more appearing and idk why it wouldn't for you
maybe try getting the logswitch mod
new console log.
Now it has more stuff to analyze.
repeated it one more time and got even more
The list of what I assume are my unlocked shelters with specific slugcats mentions regions shelters which are incompaible with the current game version.
Is that maybe what's causing it to fail?
no
ok
nah you're fine, that's easy to miss
what should be logged after installing this dll, if I may ask?
yeah
now i got this. It somewhat looks more like what you're looking for
at least further down
ok, well that means the dll is running
but I'm not sure why it won't log anything when starting the meadow lobby
maybe it's because i get stuck in a loading screen
without the campaign/simulation ever starting
this exception is happening in the part of the code that I added the log to
unfortunately I'm not currently set up to debug further, so might just have to leave this as unsolved for now
we could try replicating the error on your end.
well that's the problem, I can't replicate the error
what's your modlist
I'm a watcher dev and currently I'm set up for making more watcher, so I don't have a regular install of the game atm
the thing is i got it replicated on my friends pc
ah ic
ok then don't worry
I think switching to the old game version until the problem might get resolved should work fine
@thick shoal if you wanted to take a look at this, I can't figure out what could possibly be null ref'ing here. I used dnspy to add a log at the start of the delegate but that doesn't seem to run, so I'm worried it's something to do with emitting the delegate? idk
issues seems to be slugcat-specific templates, and I think I found a problematic line. though I haven't tested to be sure. not even sure why it wasn't erroring attempting to apply previously given that it was loading a Room onto the stack when the delegate expected a RoomSettings
gonna test now to be sure
did you know that you need to have more slugcats expansion enabled to test saint :glue:
awesome moment of smartness from me
ldarg issue ig
actually ldarg0 is always self, not sure how I made that mistake or how it wasn't breaking before
the code works with arid barrens, or at least it did in 1.9, so I'm not sure why it breaks for meadow
(tbh I'd rework a few things about the code now cuz I don't like it, like using a CWT instead of a static to pass the data in)
hm what region mods use slugcat-specific templates
I thought coral caves did but then I looked at the file name again and no it just has a template for saint which it uses in its saint rooms
I also discovered this weird lantern shadow issue but that might have always been like that
ah, looks like it broke when you ported to 1.10
oh what the hell that was my fault t hen
arid barrens definitely uses it. the feature was made for AB
why did I think 0 had to be incremented LMAO
I guess it always works because playerChar is always null? which uh... shouldn't be the case and probably indicates it isn't working
except meadow must've somehow forced it to work?
the delegate already null checks playerChar
yeah, exactly
so it never runs the bit after where it actually uses self
although... if that was the reason idk why the log wouldn't run
I have a hunch it is not the fault of rain meadow
the code here is definitely messed up, but as per the report it only breaks in meadow's lobby if MSC is enabled
do we know all enabled mods? I haven't read the entire thread
no
@terse rivet what mods did you have enabled? (list all)
I think they're asleep now
the stack trace doesn't show any other mods besides RK and Meadow, so if it is a different mod causing the issue to trigger it's happening from something not in the stack trace
I was thinking like some cosmetic region mod that would have no code
and therefore wouldn't show up in the stack trace
(example being solar's revamped outskirts)
oh in the meadow lobby
yeah, Region.LoadAllRegions gets called directly from Meadow
I've never played meadow is the lobby playable or is it a menu
nope, not playable
it's specifically happening here
I find it interesting that Meadow uses the obsolete LoadAllRegions instead of the Timeline one
still works I guess
yeah it should have the same result
just produces a compiler warning
regionkit has enough of those for an obsolete warning to easily slip by
(how did we even get to this point)
probably nullable warnings I'm guessing?
uh yeah thalber completely gutted its functionality to not interfere with osha compliant gates and it was never restored
previously it just replaced the entire method when it should've used an il hook, which was why it was incompatible
kinda crazy
sry the repply comes so late
u can cut this list down to just RW-Remix, MSC, POM, RegionKit and Rain Meadow and it still breaks in the same way
it may be dev tools?
a while back i realised my consolelog was very empty w/o devtools, but that may not have been the actual cause
The Issue seems to have been fixed with the last Regionkit update. Thanks for your support.
guess what guys
it's broken again
although i think this time rain meadow is generally broken
and its not caused by regionkit
yep, I think it broke in the 1.10.4 update
well