#Celeste crashes every time I try to enter SJ's expert heartside
1 messages · Page 1 of 1 (latest)
@verbal coyote gravity helper probably broke following the latest celestenet update? 
see also #1104491675839115405
downgrading celestenet makes it work
@dusty orchid 
that is very ?????????????
both 1.1.39 and 1.1.38 both crash - as can be seen from other thread
(latest and previous)
seems like celestenet changed a method that gravityhelper was trying to hook
I have 1.1.39 and it's not crashing or do I need to go to a map that uses it
only some maps crash
some stuff about nametag rendering did change, I didn't know someone was mucking around in the IL
Or what is causing this
presumably maps that use gravityhelper stuff, i think gravityhelper entirely disables itself otherwise
basically doesn't do all the hooks it would otherwise when it doesn't need to
https://github.com/swoolcock/GravityHelper/blob/develop/ThirdParty/CelesteNet/CelesteNetModSupport.cs#L70-L84 this is the hook in question
seems like it's messing up here
is it trying to change something in line 49? This is in previous CNet build
yeah that's what it seems like, it's looking for a constant 16
now the 16 is just a parameter in a function call
yeah
it's also -16 
and it seems like it's mostly just there to intercept the Y offset and change it if said ghost is inverted
yeah 
seems like the IL actually got compiled more or less as "load the value 16 and then invert it" (or... something, not totally sure what's going on there)
... until the update that moved it to the parameter list, at which point it did get changed to just "load -16"
OH wait no i'm stupid
it changed from "subtract positive 16" to "pass -16 to a method"
hm okay entering right-side down cavern certainly reproduces the crash immediately
i imagine this hook immediately below it would also explode if it had a chance to actually reach it
well the -= is still there
ah yeah that's a different method
different class too
... i wonder if it'd be easiest for celestenet itself to add support for rendering the nametag inverted, like ik it's not necessarily celestenet's responsibility but i feel like it'd be nicer than gravityhelper doing some potentially unstable IL stuff
Yeah either that or some nicer interop for setting these things
idk when Samah will be around so I could do this in the mean time and it would work again, just tested it

Or I suppose we wait for Samah and people need to downgrade, but downgrading from CelesteNet v2.2.0 to v2.1.2 sucks because some of your config file will get messed up since it changed format 
There should be a CelesteNet.Client v2.2.1 now