#Can't get hooks to work

1 messages · Page 1 of 1 (latest)

bitter jungle
#

I posted about this yesterday in Modding Dev but wasn't able to get much done.

Attached image is the entire mod currently, like the title says I can't get any of the logs to show up anywhere even though the mod appearently activates fine. I really need help with this since I can't do anything until I get this working.

clear heath
#

put your hooks in onenable and remove the done static field

bitter jungle
#

nothing changed

oak gorge
#

Are you on the right .NET Framework version (4.8)? If I copy the code over I get this error from line 4:

bitter jungle
#

i'll have to check that could be it

#

i really have no idea what stuff on the modding wiki is up to date and what isnt

clear heath
#

yours is outdated

#

not Mojosoup's

oak gorge
#

Oh, hm

clear heath
#

no

#

you can use C#10 with NET FX

#

You just have to manually change the csproj

oak gorge
#

well I guess that at least solves an issue I was having then, if not the main one here

acoustic mango
#

I have this issue too, everything appears to work, but no visible changes in-game happen

acoustic mango
#

Ok so I finally found something that worked for me:
Before pasting the new .dll file in the mod folder, disable it in the remix menu, close the game (if it doesn't prompt you to itself), then paste it, then re-enable it in the remix menu

#

I can finally sleep

bitter jungle
#

this has made me realize it might not be an issue with my mod specifically i'm noticing a lot of mods i'm trying to use just don twork, stuff like warp, beastmaster, dev cnosole

#

let me just remove a bunch of old folders and verify files

#

yep im fairly certain 0 workshop mods are working for me, even after deleting bepinex and verifying

bitter jungle
#

completely reinstalling didn't fix anything, yay

#

wait maybe it did