Update to 1.43#24
Conversation
|
Appreciate the PR but this is not enough to make it compatible with the new versions. I'd also rather like you to use the available constants and not hardcode anything, and there's no need to bump all dependencies either. The |
|
i've removed ThrowIfInvalid() lines and with that the mod still works. however about the constants being hardcoded, id like to defend them one time. my thinking is BeatGames removed the const valued (prob after 1.41 because of the v4 obstacles), and they are static anyway, so technically there would be no harm in that, though i do value your point about hardcoding, its not a good practice and i do understand that, plus if beatgames were to change those values in a new game update (which is unlikely but coud happen), then hardcoded values would be out of date and thus there would be the need to switch between those depending on game version. i can try getting those values by not hardcoding them, however thats the limit for my coding knowledge for now. i am very much new to beat saber modding, and i would have no idea how to switch to monomod from harmonyx (if thats what you meant, to me sounds like a big refactor). if you wont be satisfied with me replacing the hardcoded values and would want to do that switch, feel free to close this PR, otherwise ill try my best to fix my mistakes |
|
Yeah unfortunately there's more than just finding the corresponding constants (if any). It's possible that they removed some and that the code must be adjusted in consequence to be able to use them. I am not expecting you to make the switch to MonoMod, but yeah removing the I've actually made a couple changes locally to address the new updates but I didn't push anything yet. There's one complex inlining issue and a patch that must be made to address the changes. I recommend you to test any changes made with at least Air, Keep the Rave Alive and Sky. But ideally should also try on V2, V3 and V4 maps. |
fun. |
No description provided.