Hook events that have no hook yet?Solved
Is there a way to create hooks for existing events (in Reign of Kings) that don't already have a hook?
Yes, by creating the hooks.
That's good to hear.
You don't happen to know how to create them and could tell me, do you?
I would be very grateful.
In response to GeniusPlayUnique ():
That's good to hear.
You don't happen to know how to create them and could tell me, do you?
You'd need to be familiar with our patching process, C#, and MSIL.
Does that mean there is no way to hook an event just in/for one plugin?
In response to GeniusPlayUnique ():
Does that mean there is no way to hook an event just in/for one plugin?
A plugin cannot inject code into the game DLLs, so it wouldn't be able to make its own hooks inside of the game itself.
Is there a way to get a list of all existing hooks in the game?
There certainly have to be more then the few hooks listed in the docs, right?
In response to GeniusPlayUnique ():
Is there a way to get a list of all existing hooks in the game?
There certainly have to be more...
The hooks that are available for Reign of Kings are in the Docs.
Ok, thank you.

Is there a way to call a method when e.g. the InteractEvent has ended?
In response to GeniusPlayUnique ():
Ok, thank you.

Is there a way to call a method when e.g. the InteractEvent has ended?
You'd need a hook in that method in the game if there isn't already one.
In the docs is only the OnPlayerInteract-hook but unfortunately no "OnPlayerStopInteract"-hook...

Merged post

If I may request something it would be really awesome if you could add a hook for the ChestOpenEvent and one for the ChestCloseEvent of Reign of Kings. That would be really helpful...
There are a lot of hooks for Reign of Kings that could be added, it just hasn't been a priority given the state of the game and the interest for it. I will look into them though once I get a chance.
Thank you very much.

Merged post

Is there a way to get help e.g. form you concerning a plugin?
I ask because I have just coded one and even though I get no compiler error(-s) at all it isn't working properly and I have no clue why.
If someone that has broader knowledge about Oxide would have a look on it the problem might be easily found and solved...
If you are having a problem with your code, I'd suggest posting a new thread along with details.
I thought posting hole plugins or huge pieces of code isn't allowed...
PS: In which category should I open that thread?
Locked automatically