PvE randomly turns off

it is always player and player

as I said, unknown means something is setting it null

try the version in my last reply. if it does not work then unload all plugins and find the culprit

Well ClansReborn was the only plugin I had that was anywhere near what you asked me to search for. Nothing else had the "hitInfo.Initiator = null; or info.Initiator = null;" in the .cs file. I removed ClansReborn and restarted my server so I'll do another trace today and see what happens. 

ClansReborn is not doing that, either. it is checking if something is null (two ==, not one =), or returning null (return null;), but it is not setting it null (one =).

did you try the version i posted?

Yes I pasted the version you gave me, just need to run some trace logs today to see if anything has changed. It always seemed to work after reloading the plugin so I just have a command to reload it every 10mins but it's still hit or miss. It'll work for an unknown time frame and then stop working. 

Merged post

Ok I tested what you gave me and it seems to be working...for now haha. I'm getting the right trace log before and after re-installing ClansReborn back.

======================
== STARTING TRACE ==
== 00:45:13.84315 ==
======================
From: BasePlayer, player
To: BasePlayer, player
No shared locations (empty location) - no exclusions
No exclusion found - looking up RuleSet...
Using RuleSet "default"
No match in pre-checks; evaluating RuleSet rules...
Initator EntityGroup matches: players
Target EntityGroup matches: players
Evaluating Rules...
Checking direct initiator->target rules...
Evaluating "players->players"...
Match found; allow damage? False

Thanks so much nivex, what a champ for walking me through this lol. Very much appreciated. 

no problem

nivex

no problem

Well I'm back to where I started. I have searched all my plugins to see if any of them had what you wanted me to search for and came up empty handed. I'm not sure how removing one plugin at a time will truly work as TruePVE will work for awhile and then I don't know when it stops working. It seems that will take a lot of time to figure out which one is causing it. Maybe I'll have some luck or I think I'll just have to go back to a PvP server which I don't want nor do my players want haha. 

I updated the pastebin version so download it again, and restore your config to the one you posted here before

there is no reason this should ever happen. defaultAllowDamage prevents all damage. you must allow damage via a rule to get around that. something is conflicting.

I took the most recent post of FastBursts "Perfect TruePVE" config. I was using the default one with one or 2 things added so I'm confused as to what's causing it haha. I will keep at this until it magically disappears one day lol. 

nivex

I updated the pastebin version so download it again, and restore your config to the one you posted here before

there is no reason this should ever happen. defaultAllowDamage prevents all damage. you must allow damage via a rule to get around that. something is conflicting.

I took your most recent copy on PasteBin. I deleted my TruePVE plugin file, config file and data files. I reinstalled it and this is what I'm constantly getting. 

(06:41:50) | Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v2.0.5' (ArgumentNullException: Value cannot be null. Parameter name: source)at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0at Oxide.Plugins.TruePVE+<CheckExclusion>c__AnonStorey0+<CheckExclusion>c__AnonStorey1.<>m__0 (System.String m) [0x0001c] in <167f24ebc85446ca876d1250916f749e>:0at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0at Oxide.Plugins.TruePVE+<CheckExclusion>c__AnonStorey0.<>m__0 (Oxide.Plugins.TruePVE+EntityGroup group) [0x00014] in <167f24ebc85446ca876d1250916f749e>:0at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0at Oxide.Plugins.TruePVE.CheckExclusion (BaseEntity target, BaseEntity attacker) [0x00035] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.CanBeTargeted (BasePlayer target, UnityEngine.MonoBehaviour turret) [0x0017e] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00daf] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

(06:41:50) | Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v2.0.5' (NullReferenceException: Object reference not set to an instance of an object)at Oxide.Plugins.ExtensionMethods.Contains[T] (T[] array, T value) [0x00029] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0at Oxide.Plugins.TruePVE+EntityGroup.Contains (BaseEntity entity) [0x00050] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE+TruePVEData+<ResolveEntityGroups>c__AnonStorey0.<>m__0 (Oxide.Plugins.TruePVE+EntityGroup g) [0x00000] in <167f24ebc85446ca876d1250916f749e>:0at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0at Oxide.Plugins.TruePVE+TruePVEData.ResolveEntityGroups (BaseEntity entity) [0x00089] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.EvaluateRules (BaseEntity entity, BaseEntity attacker, Oxide.Plugins.TruePVE+RuleSet ruleSet, System.Boolean returnDefaultValue) [0x00000] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.EvaluateRules (BaseEntity entity, HitInfo hitInfo, Oxide.Plugins.TruePVE+RuleSet ruleSet) [0x00000] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.AllowDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x009fb] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00089] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005af] in <167f24ebc85446ca876d1250916f749e>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

ok, i've fixed the errors. download again :p

Ok, I'll get that here in a few and see what happens. I can also give a list of all the plugins I have on the server if that would help as well because I can't figure out which one would be causing an issue. It's really baffeling me. 

Merged post

So now my players can't collect and resources like Wood, Stone, etc. Even myself. Hit a tree and nothing. I remove the TruePVE plugin and it works. Where would that be in the config to fix that?

delete your config and start over. there's no reason you should be having so many issues. and the config you mentioned is seriously bloated anyway. the default config provides nearly everything someone could want to get a pve server up and going

Merged post

I just updated it so download it again. you must delete your config before using it because the prior test version added extra entries to the config that don't belong, and it didn't remove them when i deleted it

I did delete everything and then installed the new version you had and players then ran into not being able to gather Wood, Stone, etc. I'll try again though. 

Merged post

I deleted everything again. Downloaded the file again and uploaded it. Asked folks on my server if they could collect anything and they said no. 

download the umod version then

i cannot reproduce any of these issues...

I will do that and try. Otherwise the plugins I have are (AdminMenu, AdminRadar, AirFuel, AlphaLoot, AutoCodeLock, Backpacks, BetterChat, BetterElevators, BotSpawn, BoxSorterLite, Bradley, BradleyGuards, BuildingGrades, BuildingWorkbench, ChainsawOptions, ChestStacks, ChinookDropRandomizer, Clans, CopyPaste, CustomNPC, DeathNotes, DynamicCupShare, Economics, EntityOwner, ExtendedRecycler, FancyDrop, FurnaceSplitter, GUIShop, GatherManager, Giveaways, HandyMan, HeliControl, HeliRefuel, ImageLibrary, Inbound, InfoPanel, InstantBuy, InstantCraft, InstantMixingTable, Kits, LockOnRockets, LootBouncer, MovableCCTV, NTeleportation, NoGiveNotices, OilCrate, PilotEject, PlaneCrash, PlayerChallenges, PlayerSkins, PowerSmelt, PrivateMessages, QuarryLevels, RaidableBases, RecyclerManager, RemoverTool, RustLax, RustRewards, SAMSiteAuth, ServerINfo, ServerRewards, SignArtist, SkipNightUI, SoundSpeaker, StackFuelGenerator, StackSizeController, Trade, TruePVE, TurretLoadouts, UberTool, Vanish, VehicleLicence, VendingInStock and ZLevelsRemastered) Just in case anyone had any clues as to which one could be causing an issue because I'm not sure which one could be doing it.