-
Posts
1,759 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by IIIaKa
-
Hello, it seems like the overloads are working, thank you so much!
-
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.
-
@Stewie I understand, if you move the method object OnEntityTakeDamage(BaseCombatEntity) after all the other OnEntityTakeDamage methods, the overload will be called correctly.
-
I figured it out, if I moved the method 'object OnEntityTakeDamage(BaseCombatEntity)' after all the other OnEntityTakeDamage overloads, it started being called correctly.
-
del
-
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]'
-
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...
-
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).
-
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/
-
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?
-
The plugin ignores such players, it only works with real players, player.userID.IsSteamId().
-
Hello, are you sure you're not in a team and that FriendlyFire isn't enabled?
-
You are welcome!
-
- 67 comments
-
- 1
-
-
- #rust
- #industrial
- (and 25 more)
-
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.
-
If you still have any questions, feel free to ask!
-
Changed Status from Work in Progress to Fixed Changed Fixed In to 0.1.16
-
Thank you very much for the detailed information on how to reproduce the error! Please re-download the plugin, the issue should be resolved.
-
Changed Status from Pending to Work in Progress
-
Changed Status from Pending to Work in Progress
-
If you still have any questions, feel free to ask!