1. Hello, i added my hook and patch Assembly-CSharp.dll, but server gives me an exception:

    InvalidProgramException: Invalid IL code in MyHook (): IL_00ca: ret

    what could be the problem ?
    This problem only with property:

    Return Behavior: ExitWhenValidType
     
  2. Wulf

    Wulf Community Admin

    You are trying to inject the hook at an invalid index.
     
  3. Problem solved, closed.