After wipe, the bradley dies with a single shot
wouldn't the bradley have already been dead/blown up before the guards show up? not sure what you mean.
also, just tested this and other than the issue with this plugin not loading after a server restart and needing to be manually loaded, it works fine.
do you think there will be an update so it does not need to be manually loaded?
works perfectly fine on my server after update & brad is showing 1000 health.
or you have a config not sec correctly.
like:
Hi all, I had the same issue after January 7 2021 update. Bradley at Launch Site explodes with 1 shot (I used LR) and there are no loot creates spawning. Once I unloaded Bradley Gaurds all went back to normal. The error I got as soon as you killed Bradley :
I have not changed anything on my configs, and I also deleted and re-installed the plugin, but the issue persisted.
If you need more info, please feel free to ask.
Thanks
23:46 [Error] Failed to call hook 'OnEntityDeath' on plugin 'BradleyGuards v1.3.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BradleyGuards.SpawnScientist (CH47HelicopterAIController chinook, Oxide.Plugins.BradleyGuards+GuardSetting settings, UnityEngine.Vector3 position, UnityEngine.Vector3 eventPos) [0x0008c] in <7281fe7c29654ef0b0220a1c497b344b>:0
at Oxide.Plugins.BradleyGuards.SpawnEvent () [0x00136] in <7281fe7c29654ef0b0220a1c497b344b>:0
at Oxide.Plugins.BradleyGuards.OnAPCDeath (BradleyAPC bradley) [0x0001b] in <7281fe7c29654ef0b0220a1c497b344b>:0
at Oxide.Plugins.BradleyGuards.OnEntityDeath (BradleyAPC bradley, HitInfo info) [0x00000] in <7281fe7c29654ef0b0220a1c497b344b>:0
at Oxide.Plugins.BradleyGuards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002f7] in <7281fe7c29654ef0b0220a1c497b344b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0 I just cannot get my server to do this
Loaded plugin Godmode v4.2.9 by Wulf/lukespragg/Arainrr
[ServerVar] giving [God] PhatBlinkie 1 x M249
[ServerVar] giving [God] PhatBlinkie 100 x HV 5.56 Rifle Ammo
[ServerVar] giving [God] PhatBlinkie 100 x HV 5.56 Rifle Ammo
[ServerVar] giving [God] PhatBlinkie 100 x Timed Explosive Charge
Failed to call hook 'OnEntityDeath' on plugin 'BradleyGuards v1.3.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BradleyGuards.SpawnScientist (CH47HelicopterAIController chinook, Oxide.Plugins.BradleyGuards+GuardSetting settings, UnityEngine.Vector3 position, UnityEngine.Vector3 eventPos) [0x0008e] in <75646e6271544d0fa6ebc222a8501a94>:0
at Oxide.Plugins.BradleyGuards.SpawnEvent () [0x0013b] in <75646e6271544d0fa6ebc222a8501a94>:0
at Oxide.Plugins.BradleyGuards.OnAPCDeath (BradleyAPC bradley) [0x0001b] in <75646e6271544d0fa6ebc222a8501a94>:0
at Oxide.Plugins.BradleyGuards.OnEntityDeath (BradleyAPC bradley, HitInfo info) [0x00000] in <75646e6271544d0fa6ebc222a8501a94>:0
at Oxide.Plugins.BradleyGuards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003ff] in <75646e6271544d0fa6ebc222a8501a94>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Saved 39,208 ents, cache(0.04), write(0.01), disk(0.01).
Saving complete
Listing 88 plugins:
01 "Bradley Guards" (1.3.3) by Bazz3l (0.03s) - BradleyGuards.cs
02 "Godmode" (4.2.9) by Wulf/lukespragg/Arainrr (0.02s) - Godmode.cs
03 AbsolutSorter - Unloaded
04 AdminRadar - Unloaded
05 AutoTurretAuth - Unloaded
06 Backpacks - Unloaded
07 Barrelless - Unloaded
08 BaseRepair - Unloaded
09 BetterChat - Unloaded
10 BetterChatFilter - Unloaded
11 BGrade - Unloaded
12 BotSpawn - Unloaded
13 BradleyControl - Unloaded
14 BuildingGrades - Unloaded
15 BuildingWorkbench - Unloaded
16 Clans - Unloaded
17 ConnectMessages - Unloaded
18 CopyPaste - Unloaded
19 CraterNote - Unloaded
20 CustomHelicopterTiers - Unloaded
21 CustomSkinsStacksFix - Unloaded
22 DeathNotes - Unloaded
23 DiscordCore - Unloaded
24 ExtendedRecycler - Unloaded
25 ExtraSeating - Unloaded
26 FancyDrop - Unloaded
27 FauxAdmin - Unloaded
28 Fishing - Unloaded
29 FlippableTurrets - Unloaded
30 Friends - Unloaded
31 FurnaceSplitter - Unloaded
32 GatherControl - Unloaded
33 Give - Unloaded
34 GuardedCrate - Unloaded
35 GUIAnnouncements - Unloaded
36 ImageLibrary - Unloaded
37 InfiniteTool - Unloaded
38 InfoPanel - Unloaded
39 InventoryViewer - Unloaded
40 Kits - Unloaded
41 LightsOn - Unloaded
42 Lockoven - Unloaded
43 LootBouncer - Unloaded
44 NightVision - Unloaded
45 NoCompound - Unloaded
46 NoEscape - Unloaded
47 NoGiveNotices - Unloaded
48 NTeleportation - Unloaded
49 PathFinding - Unloaded
50 PermissionsManager - Unloaded
51 PlayerAdministration - Unloaded
52 PlayerChallenges - Unloaded
53 PluginUpdateNotifications - Unloaded
54 PreventLooting - Unloaded
55 PrivateCrops - Unloaded
56 PrivateMessages - Unloaded
57 Quests - Unloaded
58 RaidableBases - Unloaded
59 RemoverTool - Unloaded
60 ResearchUnlocked - Unloaded
61 Rustcord - Unloaded
62 RustRewards - Unloaded
63 ServerInfo - Unloaded
64 ServerRewards - Unloaded
65 SharkBait - Unloaded
66 SignArtist - Unloaded
67 SkinBox - Unloaded
68 Spawns - Unloaded
69 StackSizeController - Unloaded
70 TankCommander - Unloaded
71 TebexDonate - Unloaded
72 TheButton - Unloaded
73 TimedExecute - Unloaded
74 TimeOfDay - Unloaded
75 Trade - Unloaded
76 TreePlanter - Unloaded
77 TruePVE - Unloaded
78 UberTool - Unloaded
79 UpgradeableFurnace - Unloaded
80 Vanish - Unloaded
81 VehicleLicence - Unloaded
82 VendingInStock - Unloaded
83 ZLevelsRemastered - Unloaded
84 ZombieHorde - Unloaded
85 ZoneDomes - Unloaded
86 ZoneManager - Unloaded
87 ZoneVending - Unloaded
88 RustIO - Unloaded
Got the same issue here on my side. Have tried doing it vanilla aswell and same issue when BradleyGuards is the only plugin loaded. Sometimes I can kill it with one bullet and sometimes it just explodes out of me loading it in. It spawns 1 npc in a stuck spot in the air and when the ch47 comes around it also just stands still with 1 npc in the back. Here's my error code.
18:04 [Error] Failed to call hook 'OnEntityDeath' on plugin 'BradleyGuards v1.3.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BradleyGuards.SpawnScientist (CH47HelicopterAIController chinook, Oxide.Plugins.BradleyGuards+GuardSetting settings, UnityEngine.Vector3 position, UnityEngine.Vector3 eventPos) [0x0008c] in <e99cc773be7d43f2910f3a58b117a95e>:0
at Oxide.Plugins.BradleyGuards.SpawnEvent () [0x00136] in <e99cc773be7d43f2910f3a58b117a95e>:0
at Oxide.Plugins.BradleyGuards.OnAPCDeath (BradleyAPC bradley) [0x00038] in <e99cc773be7d43f2910f3a58b117a95e>:0
at Oxide.Plugins.BradleyGuards.OnEntityDeath (BradleyAPC bradley, HitInfo info) [0x00000] in <e99cc773be7d43f2910f3a58b117a95e>:0
at Oxide.Plugins.BradleyGuards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002f7] in <e99cc773be7d43f2910f3a58b117a95e>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Merged post
Ehrm. So I found out deleting the lang file did the trick for me (already had a new config) Works like a charm now