So, I've been experimenting with adding hooks to Oxide and had an interesting experience doing so. My question is, if I find some hooks to be useful for the general public how do I go about sharing them and perhaps having them added to Oxide?
Contributing new hooks for Oxide
Discussion in 'Rust Development' started by Bamabo, Aug 8, 2016.
-
This would be the right place

Feature Suggestions | Oxide -
Should I really post a suggestion when I've successfully implemented a hook already?
-
Create a pull request.
-
Alright, thanks I'll do that. However when I do, will I have to add anything but the .opj file?
-
Wulf Community Admin
Just the .opj should be fine, we'll either manually merge the change or modify it a bit (naming conventions) if it's a suitable hook. -
Put a pull request on the Github. However Looking at the .opj file a lot of changes were made that I didn't do automatically MSIL hashes and flags. Was that a fuck up on my end or is that supposed to happen?
-
Wulf Community Admin
Sounds like you weren't using the latest version of it, else you had a pre-modified DLL. -
Hmm alright, but in the .opj file all you need is the actual definition for the hook right? Cause if so I can just commit with only that.
-
Wulf Community Admin
Right, but I'll still review it and may make changes, so a forum thread may be more ideal to discuss it before PRing it generally. -
Alright, I'll get a thread going. Thanks for the help!
[DOUBLEPOST=1470714622][/DOUBLEPOST]Request - [Rust] OnItemGetDespawnDuration Hook | Oxide
