Jump to content

The hook needs updating when the map doesnt contain water treatment plant.

Closed 1.3.2 1.4.0

DodgeMan

Posted (edited)

So this map doesnt have the WTP on it, Could you update this so that instead of showing red errors, it would just say PrintError"(No Water Treatment Plant found on map! Unloading!") or similar, then unload the plugin? Thank you again for this great event!

 

Failed to call hook 'OnServerInitialized' on plugin 'WaterTreatmentEvent v1.3.2' (InvalidOperationException: Water Treatment Plant monument not found. This plugin only works in the Water Treatment Plant monument)
  at Oxide.Plugins.WaterTreatmentEvent+MissionZone..ctor () [0x00075] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0 
  at Oxide.Plugins.WaterTreatmentEvent.OnServerInitialized () [0x000d3] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0
  at Oxide.Plugins.WaterTreatmentEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008c3] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044Failed to call hook 'OnServerInitialized' on plugin 'WaterTreatmentEvent v1.3.2' (InvalidOperationException: Water Treatment Plant monument not found. This plugin only works in the Water Treatment Plant monument)
  at Oxide.Plugins.WaterTreatmentEvent+MissionZone..ctor () [0x00075] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0  85,337 ents, 5 slprs            
  at Oxide.Plugins.WaterTreatmentEvent.OnServerInitialized () [0x000d3] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0
  at Oxide.Plugins.WaterTreatmentEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008c3] in <9a2e9766536a4898bd08aea7e6ba6bb7>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0

 

Also on the last map there was a WEIRD incident that kept occuring with this plugin. Whenever the event would trigger, in my console it was triggering EVERY event. It was calling train yard, missile silo. It was weird! Let me look back and see if I caught a screenshot of it or not.

Edited by DodgeMan
Additional info.
Yac Vaguer

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.4.0

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

Files Sold

Total number of files sold.

2m

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.