Jump to content

Error on PortalsPlus v1.2.7 (Carbon)

No Response 1.2.7

K9N_Twitch
K9N_Twitch

Posted (edited)

こんにちは、

CarbonサーバーでPortalsPlus v1.2.7を使用している際にエラーが発生しました。
サーバーの初期化時にプラグインが失敗し、以下のメッセージが表示されます。

 

引用

プラグイン 'PortalsPlus v1.2.7' の内部フック 'OnServerInitialized' の呼び出しに失敗しました [352240293] (オブジェクト参照がオブジェクトのインスタンスに設定されていません)、
void Oxide.Plugins.PortalsPlus.SetupMonumentSpawns()+(MonumentInfo Monument) => { }、D:/TCAFiles/Users/ktk/5128864/carbon/plugins/PortalsPlus.cs:line 222、
void System.Collections.Generic.List<MonumentInfo>.ForEach(Action<MonumentInfo> action)、void Oxide.Plugins.PortalsPlus.SetupMonumentSpawns
()、D:/TCAFiles/Users/ktk/5128864/carbon/plugins/PortalsPlus.cs:line 218、
void D:/TCAFiles/Users/ktk/5128864/carbon/plugins/PortalsPlus.cs:行 43 の Oxide.Plugins.PortalsPlus.OnServerInitialized()、
PortalsPlus.cs/Internal:行 216 のオブジェクト Oxide.Plugins.PortalsPlus.InternalCallHook(uint hook, object[] args)
 

すでに実行された手順:

検証済みのプラグインとサーバーファイル

最新のCarbonビルドでテスト済み

サーバーを数回再起動しました

これは既知の問題なのか、あるいは修正方法や回避策があるのかどうか教えていただけますか?

ご支援ありがとうございます。

Edited by K9N_Twitch
NooBlet

Posted

Ill have a look when i get home. I dont use carbon so dont know if its a carbon issue . Just confirm for me so long map being used(prog or custom) . And current config . 

K9N_Twitch

Posted

{
  "Use Teamate Portals": true,
  "Use LastDeath Portals": true,
  "Use Monument Portals": true,
  "Monument To Monument Cooldown time (Seconds)": 30.0,
  "Use Monument to Monument Portals": true,
  "Monument Portals": {
    "Launch Site": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 211.0,
        "y": 9.2,
        "z": 97.1
      },
      "Rotation Corrected": 89.77
    },
    "Airfield": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -142.3,
        "y": 0.2,
        "z": -112.0
      },
      "Rotation Corrected": 89.49
    },
    "The Dome": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -1.05,
        "y": 19.83,
        "z": -5.2
      },
      "Rotation Corrected": 197.38
    },
    "Junkyard": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -46.5,
        "y": 11.32,
        "z": 11.7
      },
      "Rotation Corrected": 195.0
    },
    "Radtown": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 34.3,
        "y": 1.0,
        "z": -17.6
      },
      "Rotation Corrected": 181.0
    },
    "Water Treatment Plant": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -4.35,
        "y": 60.35,
        "z": 69.1
      },
      "Rotation Corrected": 0.321
    },
    "Bandit Camp": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 44.0,
        "y": 7.0,
        "z": -31.7
      },
      "Rotation Corrected": 135.34
    },
    "Power Plant": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -74.5,
        "y": 18.25,
        "z": 15.4
      },
      "Rotation Corrected": -90.0
    },
    "Outpost": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -24.4,
        "y": 0.12,
        "z": -29.9
      },
      "Rotation Corrected": 90.0
    },
    "Military Tunnel": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -53.96,
        "y": 8.9,
        "z": -6.2
      },
      "Rotation Corrected": 180.0
    },
    "Missile Silo": {
      "Monument Portal Active?": false,
      "Position Corrected": {
        "x": 56.2,
        "y": -5.9,
        "z": -16.3
      },
      "Rotation Corrected": 91.0
    },
    "Large Fishing Village": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -26.926,
        "y": 2.065,
        "z": -20.859
      },
      "Rotation Corrected": 358.677
    },
    "Sewer Branch": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -32.0,
        "y": 19.447,
        "z": -27.5
      },
      "Rotation Corrected": -32.0
    },
    "Ferry Terminal": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -3.0,
        "y": 10.874,
        "z": -61.2
      },
      "Rotation Corrected": 180.0
    },
    "Arctic Research Base": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 2.45,
        "y": 5.4,
        "z": 6.2
      },
      "Rotation Corrected": 357.405
    },
    "Ranch": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 4.2,
        "y": 3.037,
        "z": 24.0
      },
      "Rotation Corrected": 179.0
    },
    "Large Barn": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 3.872,
        "y": 9.022,
        "z": -3.73
      },
      "Rotation Corrected": 359.736
    },
    "Satellite Dish": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": 10.615,
        "y": 0.2,
        "z": -0.979
      },
      "Rotation Corrected": 90.741
    },
    "Giant Excavator Pit": {
      "Monument Portal Active?": true,
      "Position Corrected": {
        "x": -92.618,
        "y": 1.165,
        "z": -48.787
      },
      "Rotation Corrected": 316.17
    }
  },
  "Max Monument Portal Rows (6 max)": 6,
  "Enable PortalItem world spawns?": true,
  "Drop Settings": [
    {
      "Object Short prefab name": "crate_elite",
      "Minimum item to drop": 1,
      "Maximum item to drop": 1,
      "Item Drop Chance": 7.0
    },
    {
      "Object Short prefab name": "codelockedhackablecrate",
      "Minimum item to drop": 1,
      "Maximum item to drop": 1,
      "Item Drop Chance": 9.0
    },
    {
      "Object Short prefab name": "crate_ammunition",
      "Minimum item to drop": 1,
      "Maximum item to drop": 1,
      "Item Drop Chance": 20.0
    }
  ]
}

 

NooBlet

Posted

Ok so custom map . This might be issue not sure . As plugin loops through monuments and check names . Now on custom map if the map creator didnt name it correctly or didnt use the origanal monuments . It might break the loop . But when i get hom after work ill look at code to see what causes the loop break

K9N_Twitch

Posted

Upon checking with the player, they confirmed that teleportation between monuments is possible, but they are unable to place Portals themselves.
When they try to place one, it simply generates a vending machine instead.
Of course, the necessary permissions have been granted.

Thank you in advance.

NooBlet

Posted

Do me a favour . And try to place a portal an see what pops up in console ... vending should never place so something is failing at that point ...

K9N_Twitch

Posted (edited)

2 minutes ago, NooBlet said:

お願いがあります。ポータルを設置して、コンソールに何が表示されるか見てみてください…自動販売機は設置できないはずなので、その時点で何かが失敗している可能性があります…

Failed to call internal hook 'OnServerInitialized' on plugin 'PortalsPlus v1.2.7' [352240293] (Object reference not set to an instance of an object)
at void Oxide.Plugins.PortalsPlus.SetupMonumentSpawns()+(MonumentInfo monument) => { } in D:/TCAFiles/Users/kk/5128864/carbon/plugins/PortalsPlus.cs:line 222
at void System.Collections.Generic.List<MonumentInfo>.ForEach(Action<MonumentInfo> action)
at void Oxide.Plugins.PortalsPlus.SetupMonumentSpawns() in D:/TCAFiles/Users/kk/5128864/carbon/plugins/PortalsPlus.cs:line 218
at void Oxide.Plugins.PortalsPlus.OnServerInitialized() in D:/TCAFiles/Users/kk/5128864/carbon/plugins/PortalsPlus.cs:line 43
at object Oxide.Plugins.PortalsPlus.InternalCallHook(uint hook, object[] args) in PortalsPlus.cs/Internal:line 216

This error occurs.

Edited by K9N_Twitch
NooBlet

Posted

that error can not occur when you try to place portal . thats only on server start ...  and at start if custom map monuments is not named correct the setup will fail ... but you said that players has an issue wit placing portals

 

  • Like 1
NooBlet

Posted

Changed Status from Pending to No Response

1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.7k

Files Sold

Total number of files sold.

2.8m

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.