Jump to content

IIIaKa

Creator
  • Posts

    1,759
  • Joined

  • Last visited

Everything posted by IIIaKa

  1. Hello, it seems like the overloads are working, thank you so much!
  2. IIIaKa

    Rules

    Hello, you can do this using the regular console command "unban *userID*"
  3. I changed from object to void and now it's being called in two methods. I don't think this is correct at all. In Oxide, overloads work without any issues, regardless of their position in the plugin.
  4. @Stewie I understand, if you move the method object OnEntityTakeDamage(BaseCombatEntity) after all the other OnEntityTakeDamage methods, the overload will be called correctly.
  5. I figured it out, if I moved the method 'object OnEntityTakeDamage(BaseCombatEntity)' after all the other OnEntityTakeDamage overloads, it started being called correctly.
  6. During server startup, I received 2 errors several times and there are no Harmony patches from any plugins until the server is fully loaded(OnServerInitialized), and everything works perfectly on Oxide. Error while patching hook 'OnPlayerDeath[1ed550]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:BasePlayer.Die_Patch0 (BasePlayer,HitInfo): IL_0112: ret ) at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo) at MethodInfo HarmonyLib.PatchProcessor.Patch() at MethodInfo HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer) at bool Carbon.Hooks.HookEx.ApplyPatch() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 173 A general error occured while installing 'OnPlayerDeath[1ed550]' Error while patching hook 'CanAssignBed[6f1c80]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:SleepingBag.AssignToFriend_Patch0 (SleepingBag,BaseEntity/RPCMessage): IL_0265: ret ) at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo) at MethodInfo HarmonyLib.PatchProcessor.Patch() at MethodInfo HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer) at bool Carbon.Hooks.HookEx.ApplyPatch() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 173 A general error occured while installing 'CanAssignBed[6f1c80]'
  7. Temporary workaround, until Carbon is fixed, find the method 'object OnEntityTakeDamage(BaseCombatEntity' in the plugin, and inside the method, add the following lines. if (entity is BasePlayer victim) return OnEntityTakeDamage(victim, info); I also suspect that the other overloads are affected as well...
  8. IIIaKa

    2 logs

    If you still have any questions, feel free to ask!
  9. IIIaKa

    2 logs

    Changed Status from Pending to Not a Bug
  10. Carbon v2.0.182.0 Hello. For some reason, the overload OnEntityTakeDamage(BasePlayer, HitInfo) has stopped working and damage to BasePlayer is now being handled directly by OnEntityTakeDamage(BaseCombatEntity, HitInfo).
  11. The issue is not with RealPVE but with Carbon. For some unclear reason, the overload OnEntityTakeDamage(BasePlayer, HitInfo) doesn't work and the damage is received in object OnEntityTakeDamage(BaseCombatEntity, HitInfo). https://codefling.com/files/support/20694-onentitytakedamagebaseplayer-hitinfo/
  12. IIIaKa

    2 logs

    Hello. This is a Rust issue itself, sometimes duplication of console output occurs.
  13. I don't know why it's like that for you. I tested this on both a local server and a hosted one, with sleeping and awake players, with and without firearms, in both cases I couldn’t deal damage to players. Please check. Are you sure the plugin loaded without errors? Are you sure you’re not in a PvP zone? Are you sure you're not in a team with friendly fire enabled?
  14. The plugin ignores such players, it only works with real players, player.userID.IsSteamId().
  15. Hello, are you sure you're not in a team and that FriendlyFire isn't enabled?
  16. You are welcome!
  17. IIIaKa

    Industrial Dung

    Hello. This one "TEMP PROP, true - Oxide, false - Carbon" If for some reason you don't have this property, try re-downloading the plugin. This is because, for some unknown reason, one hook doesn't work in Carbon. https://codefling.com/files/support/20021-hooks-doesnt-trigger/
  18. IIIaKa

    rpc kick OnPlayerAttack

    Hello, are you sure that NPCs are invulnerable? I attacked regular NPCs and those from raid bases, they are taking damage. Regarding the "RPC kick OnPlayerAttack", this happened when you were chopping a tree that had a beehive on it.
  19. If you still have any questions, feel free to ask!
  20. Changed Status from Work in Progress to Fixed Changed Fixed In to 0.1.16
  21. Thank you very much for the detailed information on how to reproduce the error! Please re-download the plugin, the issue should be resolved.
  22. Changed Status from Pending to Work in Progress
  23. IIIaKa

    rpc kick OnPlayerAttack

    Changed Status from Pending to Work in Progress
  24. If you still have any questions, feel free to ask!
1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.4k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.