Jump to content

Failed to run a 1.00 timer in 'AirfieldEvent v1.1.3' (NullReferenceException: )

Closed 1.1.3

if i call or quick test plugin i get this in console

 

Failed to run a 1.00 timer in 'AirfieldEvent v1.1.3' (NullReferenceException: )

at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)

at Oxide.Plugins.AirfieldEvent+<SpawnDrop>c__AnonStorey2.<>m__0 () [0x00000] in <588b734fd6ae4303a6b40a92c83707fd>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

(16:02:57) | Failed to run a 1.00 timer in 'AirfieldEvent v1.1.3' (NullReferenceException: )

at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)

at Oxide.Plugins.AirfieldEvent+<SpawnDrop>c__AnonStorey2.<>m__0 () [0x00000] in <588b734fd6ae4303a6b40a92c83707fd>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

Share this comment


Link to comment

i cant do that its a live server i will try tomorrow on a test server see if i can track it ... i posted in dissicssion the cargo is dropping crates well off the airfield

Share this comment


Link to comment

yes any idea how to resolve the plane not dropping cargo at airfield?  i have tried this

  "Drops amount(number of cargo spawns after plane landing, maximum 10)": 3,
  "Crates amount(spawn every cargo drop)": 1,

it drops 2 boxes outside airfield   like this

https://ibb.co/F4j93BN

and

 "Drops amount(number of cargo spawns after plane landing, maximum 10)": 1,
  "Crates amount(spawn every cargo drop)": 3,

drops all 3 boxes together at the 2nd postition outside airfield

Edited by nashslash

Share this comment


Link to comment

fresh download only vanish and airfield events loaded  sorry about the shite video quality. but still dropping outside  heres my config i havent touch anything in the cs file  map is 4500 seed is 700

{
  "Time to event start(in seconds, minimum 900)": 3900,
  "Random time to event start": true,
  "Minimum time to event start(in seconds, minimum 900)": 7200,
  "Maximum time to event start(in seconds)": 10800,
  "Drops amount(number of cargo spawns after plane landing, maximum 10)": 3,
  "Crates amount(spawn every cargo drop)": 1,
  "Crates lifetime(in seconds). The crate will not be destroyed if it has been activated": 3600,
  "Airdrops amount(spawn every cargo drop)": 0,
  "Airdrops lifetime(in seconds)": 3600,
  "NPCs amount(spawn every cargo drop)": 3,
  "NPCs lifetime(in seconds)": 3600,
  "NPCs type(NPCs prefab, experimental setting, it is not known how the NPCs will behave) 0 - tunneldweller; 1 - underwaterdweller; 2 - excavator; 3 - full_any; 4 - lr300; 5 - mp5; 6 - pistol; 7 - shotgun; 8 - heavy; 9 - junkpile_pistol; 10 - oilrig; 11 - patrol; 12 - peacekeeper; 13 - roam; 14 - roamtethered; 15 - bandit_guard; 16 - cargo; 17 - cargo_turret_any; 18 - cargo_turret_lr300; 19 - ch47_gunner": 11,
  "NPCs health(0 - default)": 150,
  "NPCs damage multiplier": 1.0,
  "NPCs attack range": 75.0,
  "Forcibly immobilize an NPC": false,
  "List of kits for each NPC(requires Kits plugin)": [
    "kit1",
    "kit2",
    "kit3"
  ],
  "Event message(if empty, no message will be displayed)": "<color=green>Cargo Supply</color> Will be Dropped at Air Field",
  "Calls a helicopter to the airfield after landing a cargo plane": false,
  "How long the helicopter will patrol the airfield (in minutes)": 5,
  "Helicopter damage multiplier": 1.0,
  "Helicopter health": 10000.0,
  "Event marker on the map(will spawn a marker immediately after the start of the event)": true,
  "If true, spawn the marker only after the plane lands": true,
  "Event marker name": "Cargo Drop",
  "Event marker lifetime(in seconds)": 3600,
  "Event marker transparency(0-1)": 0.75,
  "Event marker radius": 0.3,
  "Event marker color.R(0-1)": 1.0,
  "Event marker color.G(0-1)": 0.0,
  "Event marker color.B(0-1)": 0.0
}

 

 

Share this comment


Link to comment

I checked mapsize 4500 and seed 700, everything works well. You can change any settings in the config, it should still work fine. Maybe you changed the speed settings of the cargoplane inside the plugin?

 

123.jpg

Share this comment


Link to comment

Sir got it sussed.  thanks or checking and noticing the plane was going fast.. i had edited the tick rate in the server.cfg for the server to reduce kicks from invaled steam auth. after stopping server removed the server.cfg and a restart the plugin works flawlessly.  many thanks again sir for your great plugin which may i say you sell far to cheaply... i will give a glowing support responce and plugin review shortly... sorry for wasting your time sir ...

Share this comment


Link to comment
650.4k

Downloads

Total number of downloads.

3.6k

Customers

Total customers served.

48.3k

Files Sold

Total number of files sold.

868.9k

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.