-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KarmaForBeingAnnoyingMod not working for v55 #8
Comments
Same Problem here |
Hey @JesseOosterwijk , Unfortunately we aren't developing these mods anymore due to uni workload, but feel free to fork the repo. I'll make sure to look at and accept any merge requests and update the mod on Thunderstore. If you'd like to take a shot at writing mods yourself, feel free to reach out and I can provide some guides that we used when we started. Regards |
Hi @JesseOosterwijk and @patrickeller We both have not worked on Lethal Company mods in a while, but i want to check over this in the near future. Best Regards Edit: |
Can anyone give me a feedback if this works for them: |
I will try it out tonight probably; will post results here, thanks for the update! |
I was bored at the office; so I tested it just now. Seems to work from first glance, will do some more testing with other objects and in multiplayer (Only tested clown horn for now) |
ok thanks. I do think its not fully working yet and it still needs some ironing out but yeah, i will have to see when i have time to work on it more |
@Toemmsen96 Just let me know when you need me to test something, I also did not change the config file yet and tested with it. Also, would you have some docs/resources on how to start with mods? Otherwise will look into it myself. |
Ok thanks! I recommend using Visual Studio Community edition if you're on Windows and VS Code if you are on Linux. |
Hi,
I am not really familiar with mod writing in general, but it seems the current mod version is not working at the moment.
It seems to still use some old version maybe? As the "NoiseMakerPropItemActivatePacth" typo in the log which is activated when using an annoying item seems to not be in the plugin file anymore? As i said, not really familiar with C programming languages
Below you can see the stacktrace:
[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)
[Error : Unity Log] MissingMethodException: Method not found: void .Landmine.SpawnExplosion(UnityEngine.Vector3,bool,single,single)
Stack trace:
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
KarmaForBeingAnnoying.Patches.NoisemakerPropPatch:NoiseMakerPropItemActivatePatch(PlayerControllerB&, NoisemakerProp&)
NoisemakerProp:DMDNoisemakerProp::ItemActivate(NoisemakerProp, Boolean, Boolean)
GrabbableObject:UseItemOnClient(Boolean)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::ActivateItem_performed>(PlayerControllerB, CallbackContext)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)
[Info :Chrigi.KarmaForBeingAnnoyingMod] Karma
[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)
[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)
Karma seems to be applied correctly though :).
Let me know if I can help in any way o/
The text was updated successfully, but these errors were encountered: