chucklenugget / imperium

A Rust plugin that implements a new game mode
MIT License
16 stars 7 forks source link

broken on tonights update #2

Open Vinylfresh opened 6 years ago

Vinylfresh commented 6 years ago

tonights update seems to have broken this :( not sure if this is the correct place to ask this but thanks - Failed to call hook 'CanBeTargeted' on plugin 'Imperium v1.9.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Imperium.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x0003c] in <1270c9799dab491ea32234464d599d1b>:0 at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d57] in <1270c9799dab491ea32234464d599d1b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0Failed to call hook 'Unload' on plugin 'Imperium v1.9.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Imperium.Unload () [0x00000] in <1270c9799dab491ea32234464d599d1b>:0 at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01a91] in <1270c9799dab491ea32234464d599d1b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

ghost commented 6 years ago

for me plugin is working only map overlay is not loading so map is broken .

Try delete data and load plugin again .

Vinylfresh commented 6 years ago

thanks ill try that David :)

Vinylfresh commented 6 years ago

ok after deleting data files it all compiles correctly and my map is working perfectly..thanks let me know if i can help with anything if you are still having issues :)

ghost commented 6 years ago

ou is working for you rly ? Can I msg you on discord please ?

David_Grin#5425

Vinylfresh commented 6 years ago

sorry at work just now but heres my config for imperium and lusty map maybe replicate settings see what happens - lusty map first - { "Friend Options": { "Allow custom friend lists from other plugins": true, "Enable clans support": true, "Enable friends support": true }, "Map - Complex Options": { "Enable the complex map": true, "Force complex zoom mode": false, "Forced zoom number (1, 2 or 3)": 1 }, "Map - Main Options": { "Enable AFK tracking": true, "Hide event players": true, "Map image options": { "Beancan.io API key (if applicable)": "", "Custom map filename": "imperiummapjun.PNG", "Use custom map": true }, "Map update time (seconds)": 1.0, "Open map on for player's when they connect": false, "Show map compass": true }, "Map - Mini Options": { "Enable the minimap": false, "Minimap docked on the left side of the screen": true, "Minimap horizontal scale": 1.0, "Minimap offset from side of the screen": 0.0, "Minimap offset from top of the screen": 0.0, "Minimap vertical scale": 1.0 }, "Marker Options": { "Show all players": false, "Show cars (un-occupied only)": true, "Show caves": true, "Show debris": false, "Show friends and clanmates": true, "Show helicopters": true, "Show marker names": true, "Show monuments": true, "Show planes": true, "Show self": true, "Show supply drops": false, "Show tanks": true, "Show vending machines (public broadcast only)": true }, "Spam Options": { "Allowed time between map changes": 3, "Amount of time a users map will be disabled": 120, "Attempts before disabling the users map": 10, "Attempts before warning the user they are spamming": 5, "Enable spam monitoring": true } }

and imperium - { "badlands": { "enabled": true }, "claims": { "costs": [ 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 ], "enabled": true, "maxAreaNameLength": 20, "maxClaims": 100, "minAreaNameLength": 3, "minFactionMembers": 1, "requireContiguousClaims": false }, "decay": { "claimedLandDecayReduction": 0.5, "enabled": true }, "factions": { "maxFactionNameLength": 8, "maxMembers": 8, "minFactionNameLength": 1 }, "map": { "commandCooldownSeconds": 10, "imageSize": 1440, "imageUrl": "enter your own url", "maxPinNameLength": 20, "minPinNameLength": 2, "pinCost": 50, "pinsEnabled": true, "serverLogoUrl": "enter your own url" }, "pvp": { "allowedInBadlands": true, "allowedInClaimedLand": true, "allowedInEventZones": true, "allowedInMonumentZones": true, "allowedInRaidZones": true, "allowedInWilderness": false, "commandCooldownSeconds": 60, "enablePvpCommand": false, "restrictPvp": false }, "raiding": { "allowedInBadlands": true, "allowedInClaimedLand": true, "allowedInWilderness": true, "restrictRaiding": false }, "taxes": { "badlandsGatherBonus": 0.1, "claimedLandGatherBonus": 0.2, "defaultTaxRate": 0.1, "enabled": true, "maxTaxRate": 0.2 }, "upkeep": { "checkIntervalMinutes": 15, "collectionPeriodHours": 24, "costs": [ 100, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 ], "enabled": true, "gracePeriodHours": 12 }, "war": { "defensiveBonuses": [ 0.0, 0.5, 1.0 ], "enabled": true, "minCassusBelliLength": 50 }, "zones": { "domeDarkness": 3, "enabled": true, "eventZoneLifespanSeconds": 600.0, "eventZoneRadius": 150.0, "monumentZones": { "airfield": 200.0, "junkyard": 150.0, "launch_site": 300.0, "military_tunnel": 150.0, "powerplant": 175.0, "satellite_dish": 130.0, "sphere_tank": 120.0, "trainyard": 180.0, "water_treatment_plant": 180.0 } } }

ghost commented 6 years ago

i just tested Imperium on test server and its working , so issue must be on my side . Thank anyway :+1: