Jump to content

Issue with plugin compatibility with Imprium (UMOD)

Closed 1.1.24 1.1.25

scarecr0w12
scarecr0w12

Posted

Hello, I purchased the clans plugin to day, as it indicated the API behind it was the same/similar to the UMOD clans, so this lead me to believe it would be able to work with the Imperium addon at UMOD as well. This is not the case, and is causing the Imperium plugin to fail to load due to the following error cause by the incompatibilities with yoru addon. Can this be corrected?

 

(10:58:26) | Failed to initialize plugin 'Imperium v2.2.4' (InvalidCastException: Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken.)
  at Newtonsoft.Json.Linq.Extensions.Convert[T,U] (T token) [0x0008a] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Linq.Extensions.Value[T,U] (System.Collections.Generic.IEnumerable`1[T] value) [0x0000b] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Linq.Extensions.Value[U] (System.Collections.Generic.IEnumerable`1[T] value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Plugins.Imperium+FactionManager.SyncAllWithClans () [0x0006e] in <5a54fdaa550141babf7711a4abe6192f>:0 
  at Oxide.Plugins.Imperium.Setup () [0x0012d] in <5a54fdaa550141babf7711a4abe6192f>:0 
  at Oxide.Plugins.Imperium.Loaded () [0x002fa] in <5a54fdaa550141babf7711a4abe6192f>:0 
  at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00238] in <5a54fdaa550141babf7711a4abe6192f>: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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <23ba99f131254889867c71f0bd137b1d>:0

 

scarecr0w12

Posted

{
  "badlands": {
    "enabled": true
  },
  "claims": {
    "costs": [
      50,
      100,
      200,
      300,
      400,
      500
    ],
    "enabled": true,
    "maxAreaNameLength": 20,
    "maxClaims": null,
    "minAreaNameLength": 3,
    "minFactionMembers": 1,
    "requireContiguousClaims": false
  },
  "decay": {
    "claimedLandDecayReduction": 0.5,
    "enabled": false
  },
  "factions": {
    "allowFactionBadlands": false,
    "factionBadlandsCommandCooldownSeconds": 600,
    "maxFactionNameLength": 8,
    "maxMembers": null,
    "memberOwnLandEcoRaidingDamageScale": 1.0,
    "memberOwnLandExplosiveRaidingDamageScale": 1.0,
    "minFactionNameLength": 1,
    "overrideInGameTeamSystem": true,
    "useClansPlugin": true
  },
  "hud": {
    "leftPanelXOffset": 0.0,
    "leftPanelYOffset": 0.0,
    "rightPanelXOffset": 0.0,
    "rightPanelYOffset": 0.0,
    "showEventsHud": true
  },
  "map": {
    "commandCooldownSeconds": 10,
    "imageSize": 1440,
    "imageUrl": "https://content.rustmaps.com/maps/238/d971e3a0db6c4ad7b35c256cf327b1f0/map_raw_normalized.png",
    "mapGridYOffset": 0,
    "maxPinNameLength": 20,
    "minPinNameLength": 2,
    "pinCost": 100,
    "pinsEnabled": true,
    "serverLogoUrl": ""
  },
  "pvp": {
    "allowedInBadlands": true,
    "allowedInClaimedLand": true,
    "allowedInDeepWater": true,
    "allowedInEventZones": true,
    "allowedInMonumentZones": true,
    "allowedInRaidZones": true,
    "allowedInWilderness": true,
    "allowedUnderground": true,
    "commandCooldownSeconds": 60,
    "enablePvpCommand": false,
    "restrictPvp": false
  },
  "raiding": {
    "allowedInBadlands": true,
    "allowedInClaimedLand": true,
    "allowedInWilderness": true,
    "restrictRaiding": false
  },
  "recruiting": {
    "enabled [THIS IS NOT AVAILABLE YET]": false
  },
  "taxes": {
    "badlandsGatherBonus": 0.1,
    "claimedLandGatherBonus": 0.1,
    "defaultTaxRate": 0.1,
    "enabled": true,
    "maxTaxRate": 0.2
  },
  "upgrading": {
    "costs": [
      0,
      100,
      200,
      300,
      400,
      500
    ],
    "enabled [THIS IS NOT AVAILABLE YET]": false,
    "maxDecayExtraReduction": 1.0,
    "maxProduceBonus": 0.5,
    "maxRaidDefenseBonus": 0.2,
    "maxRecruitBotBuffs": 0.2,
    "maxTaxChestBonus": 1.0,
    "maxUpgradeLevel": 10
  },
  "upkeep": {
    "checkIntervalMinutes": 15,
    "collectionPeriodHours": 24,
    "costs": [
      10,
      10,
      20,
      30,
      40,
      50,
      60,
      70,
      80,
      90,
      100
    ],
    "enabled": false,
    "gracePeriodHours": 12
  },
  "war": {
    "adminApprovalRequired": false,
    "declarationCost": 0,
    "defenderApprovalRequired": false,
    "defensiveBonuses": [
      0.0,
      0.5,
      1.0
    ],
    "enabled": true,
    "enableShopfrontPeace": true,
    "minCassusBelliLength": 50,
    "noobFactionProtectionInSeconds": 0,
    "onlineDefendersRequired": 0,
    "priorAggressionRequired": false,
    "spamPreventionSeconds": 0
  },
  "zones": {
    "domeDarkness": 3,
    "enabled": true,
    "eventZoneLifespanSeconds": 600.0,
    "eventZoneRadius": 150.0,
    "monumentZones": {
      "airfield": 200.0,
      "junkyard": 150.0,
      "launch_site": 300.0,
      "military_base": 150.0,
      "military_tunnel": 150.0,
      "oilrig_1": 200.0,
      "oilrig_2": 200.0,
      "powerplant": 175.0,
      "research_base": 150.0,
      "satellite_dish": 130.0,
      "sphere_tank": 120.0,
      "trainyard": 180.0,
      "water_treatment_plant": 180.0
    }
  }
}

 

Mevent

Posted

Changed Status from Pending to Work in Progress

  • Like 1
Mevent

Posted

Changed Fixed In to 1.1.25

  • Love 1
scarecr0w12

Posted

From best i can tell so far, it looks like everything is working as i would expect! Thanks for the fix on this!

  • Love 1
Mevent

Posted

If you have a moment, I would really appreciate it if you could leave feedback on the plugin. Your feedback helps me improve and grow, and helps other customers make informed decisions about the plugin.

Best regards,
Mevent ❤️ 

Mevent

Posted

Changed Status from Work in Progress to Closed

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.