Jump to content

Null config

Gremlins 1.2.2 1.2.5

rrex
rrex

Posted

I got download the latest version and installed it on server from scratch and I got null word in my config

rrex

Posted

for now I copied the config from description page. but from scratch there is no config generating((

NooBlet

Posted

Changed Status from Pending to Work in Progress

rrex

Posted

hey thank you for update. I got the config from scratch

now I found the weird that if I have

 "4. Limit Admins to Spawn Limits (False will allow admin to unlimited spawns)": true,

I am stil able to spawn more than one TugBoat (I'm admin)

NooBlet

Posted

Changed Status from Work in Progress to Gremlins

Changed Fixed In to Next Version

Covfefe

Posted

I'm getting the same

Quote

[My TugBoat] DayData saved

Failed to call hook 'Unload' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 at Oxide.Plugins.MyTugBoat.Unload () [0x0001e] in :0 at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e2] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Unloaded plugin My TugBoat v1.2.5 by NooBlet

[My TugBoat] Default Configuration File Created

[My TugBoat] Configuration changes saved to MyTugBoat.json

[My TugBoat] Configuration file MyTugBoat.json is invalid; using defaults

[My TugBoat] Default Configuration File Created

Failed to call hook 'OnServerInitialized' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 at Oxide.Plugins.MyTugBoat.UpdateTugBoats () [0x00018] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.MyTugBoat.OnServerInitialized () [0x00045] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Loaded plugin My TugBoat v1.2.5 by NooBlet

o.reload MyTugBoat

[My TugBoat] DayData saved

Failed to call hook 'Unload' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 at Oxide.Plugins.MyTugBoat.Unload () [0x0001e] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e2] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Unloaded plugin My TugBoat v1.2.5 by NooBlet

Failed to call hook 'OnServerInitialized' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 at Oxide.Plugins.MyTugBoat.UpdateTugBoats () [0x00018] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.MyTugBoat.OnServerInitialized () [0x00045] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <4981de867fa54b699f35e94968a8a00b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Loaded plugin My TugBoat v1.2.5 by NooBlet

 

Covfefe

Posted (edited)

This is what I get when I reload the plugin and below is when I try to spawn a tugboat

Failed to call hook 'OnServerInitialized' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: )
  at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
  at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 
  at Oxide.Plugins.MyTugBoat.UpdateTugBoats () [0x00018] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.MyTugBoat.OnServerInitialized () [0x00045] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

Loaded plugin My TugBoat v1.2.5 by NooBlet

Failed to call hook 'tugboatCommand' on plugin 'MyTugBoat v1.2.5' (NullReferenceException: )
  at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
  at UnityEngine.Component.GetComponent[T] () [0x00021] in <745c4d442eef4e08b35b5975d62d89d1>:0 
  at Oxide.Plugins.MyTugBoat.hastugboat (BasePlayer player) [0x00018] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.MyTugBoat.canspawntugboat (BasePlayer player) [0x00000] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.MyTugBoat.tugboatCommand (BasePlayer player, System.String command, System.String[] args) [0x0003e] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00958] in <4981de867fa54b699f35e94968a8a00b>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

 

Edited by Covfefe
NooBlet

Posted

Please supply config and data file . One of the 2 is corrupt

Covfefe

Posted

I'm not sure what changed, but now everything works today. I'm able to spawn, fetch, load the plugin, no errors. Strange

Quote

{
  "1. Invicible Tug ": true,
  "2. Tug no decay": true,
  "3. Fetch Cooldown in Minutes": 1,
  "4. Limit Admins to Spawn Limits (False will allow admin to unlimited spawns)": true,
  "5. Use 24Hour spawn Restriction (False will alow spawn after tug death)": true,
  "6. Group Settings": {
    "playertug": {
      "TugboatSpeed": 200000,
      "TugBoatFuelPerSec": 0.33,
      "StartingFuelAmmount": 100
    },
    "viptug": {
      "TugboatSpeed": 400000,
      "TugBoatFuelPerSec": 0.2,
      "StartingFuelAmmount": 100
    },
    "admintug": {
      "TugboatSpeed": 800000,
      "TugBoatFuelPerSec": 0.0,
      "StartingFuelAmmount": 100
    }
  },
  "7. Tug Health Settings (default = 3000)": 3000.0,
  "8. Door Health Settings": {
    "Wooden Door Health (default = 200) ": 200.0,
    "Metal Door Health (default = 250) ": 250.0,
    "Industrial Door Health (default = 250) ": 250.0,
    "Armor Door Health (default = 1000) ": 1000.0
  }
}

 

NooBlet

Posted

the data file was corrupt .... it resets on every wipe

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.