#Regionkit breaking Rain Meadow Story Mode

1 messages · Page 1 of 1 (latest)

terse rivet
#

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.

elder geyser
#

this is a regionkit direct error

#

seems like an incompat

elder geyser
terse rivet
#

some time ago may be bad wording

#

bc it actually refers to like 3 or 4 days ago

elder geyser
#

oh i see 1hunterkek

#

rk got an update on the 4th may, 3 days ago

#

guess that broke it

#

oh, right

elder geyser
#

in theory it may be an incompat with rk and some other mod, unrelated to rain meadow

terse rivet
#

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.

elder geyser
#

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

hidden latch
#

room templates

terse rivet
hidden latch
#

rk allows you to add slug-specific room templates

elder geyser
#

i see

hidden latch
#

it's probably related to whatever slugcat campaign you're set to or smthn

terse rivet
hidden latch
#

idk

#

what's your lobby settings?

terse rivet
#

standard besides enable custom slugcats

hidden latch
#

is it survivor campaign?

terse rivet
#

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

hidden latch
#

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

terse rivet
#

sry have to go to sleep. I'll try it and reply tomorrow.

hidden latch
#

👍

terse rivet
#

Here's the console log that was generated after I took the exact steps I mentioned in my problem description.

terse rivet
hidden latch
#

ugh, consolelog is basically empty

terse rivet
#

do i have to change any settings so there appears more in the console log?

hidden latch
#

uh, normally there should be a lot more appearing and idk why it wouldn't for you

#

maybe try getting the logswitch mod

terse rivet
#

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?

hidden latch
#

no

terse rivet
#

ok

hidden latch
#

you put the regionkit dll in newest\plugins, right?

#

not just plugins?

terse rivet
#

I'm so fucking stupid

#

my bad

hidden latch
#

nah you're fine, that's easy to miss

terse rivet
#

wait

#

no

#

it was/is in newest/plugins

hidden latch
#

ok

#

I'm not sure why it's not logging then...

terse rivet
#

what should be logged after installing this dll, if I may ask?

hidden latch
#

does this stuff show up if you start a normal game?

terse rivet
#

one second

#

so standard singleplayer. Correct?

hidden latch
#

yeah

terse rivet
#

at least further down

hidden latch
#

ok, well that means the dll is running

#

but I'm not sure why it won't log anything when starting the meadow lobby

terse rivet
#

maybe it's because i get stuck in a loading screen

#

without the campaign/simulation ever starting

hidden latch
#

unfortunately I'm not currently set up to debug further, so might just have to leave this as unsolved for now

terse rivet
#

we could try replicating the error on your end.

hidden latch
#

well that's the problem, I can't replicate the error

terse rivet
#

what's your modlist

hidden latch
#

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

terse rivet
#

the thing is i got it replicated on my friends pc

terse rivet
#

ok then don't worry

#

I think switching to the old game version until the problem might get resolved should work fine

hidden latch
#

@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

thick shoal
#

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

hidden latch
#

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)

thick shoal
#

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

hidden latch
#

ah, looks like it broke when you ported to 1.10

thick shoal
#

oh what the hell that was my fault t hen

hidden latch
#

arid barrens definitely uses it. the feature was made for AB

thick shoal
#

why did I think 0 had to be incremented LMAO

hidden latch
#

except meadow must've somehow forced it to work?

thick shoal
#

the delegate already null checks playerChar

hidden latch
#

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

thick shoal
#

I have a hunch it is not the fault of rain meadow

hidden latch
#

the code here is definitely messed up, but as per the report it only breaks in meadow's lobby if MSC is enabled

thick shoal
#

do we know all enabled mods? I haven't read the entire thread

hidden latch
#

no

thick shoal
#

@terse rivet what mods did you have enabled? (list all)

hidden latch
#

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

thick shoal
#

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)

hidden latch
#

how would that cause the issue?

#

it's happening in the meadow lobby

thick shoal
#

oh in the meadow lobby

hidden latch
#

yeah, Region.LoadAllRegions gets called directly from Meadow

thick shoal
#

I've never played meadow is the lobby playable or is it a menu

hidden latch
#

nope, not playable

#

it's specifically happening here

#

I find it interesting that Meadow uses the obsolete LoadAllRegions instead of the Timeline one

thick shoal
#

still works I guess

hidden latch
#

yeah it should have the same result

thick shoal
#

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)

hidden latch
#

probably nullable warnings I'm guessing?

thick shoal
#

a lot of them

#

this is a lovely comment in ShelterBehaviorManager

hidden latch
#

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

terse rivet
#

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

elder geyser
#

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

terse rivet
#

The Issue seems to have been fixed with the last Regionkit update. Thanks for your support.

terse rivet
#

guess what guys

#

it's broken again

#

although i think this time rain meadow is generally broken

#

and its not caused by regionkit

hidden latch
#

yep, I think it broke in the 1.10.4 update

terse rivet
#

well