Jump to content

ATM Spawn incorrect

Closed 1.0.7

LosGranada
LosGranada

Posted (edited)

After Restart the Server, the ATM in Bandit does not spawn.

Reload the Plugin, then it works.

Please fix the mistake.

        },
        "bandit": {
          "Enabled": true,
          "Display Name": "ATM",
          "Position": {
            "x": 34.2,
            "y": 2.35,
            "z": -24.7
          },

bandit is true

atm.png

Edited by LosGranada
Mevent

Posted

Are you sure you have version 1.0.7+ installed?

Mevent

Posted

On 7/31/2021 at 9:16 PM, LosGranada said:

any Update?

Test on the latest version of the plugin. I am missing this problem O.o

LosGranada

Posted

i have, Normal Restart the Server than is only the ATM not Spwan in the Bandit Camp.

 

Wen i Wipe the Server and than start is all good.

Mevent

Posted

Can you record a video? For, everything works fine for me ...

LosGranada

Posted

first you can please check my Config:

{
  "Work with Notify?": true,
  "Commands": [
    "bank"
  ],
  "Permission (example: banksystem.use)": "",
  "Starting balance": 0,
  "Card Image": "https://i.imgur.com/Br9z7Ou.png",
  "Transit Image": "https://i.imgur.com/h2bqMu4.png",
  "Withdraw Image": "https://i.imgur.com/lwVwxm3.png",
  "Transfer Image": "https://i.imgur.com/TBIxUnz.png",
  "Exit Image": "https://i.imgur.com/OGoMu9N.png",
  "Currency Settings": {
    "Display Name": "Money",
    "Short Name": "paper",
    "Skin": 2554224469
  },
  "Card expiry date (in days)": 30,
  "ATM Settings": {
    "Minimum deposit fee": 0.0,
    "Maximum deposit fee": 10.0,
    "Default deposit fee": 1.0,
    "Step deposit fee": 0.1,
    "Minimum withdrawal fee": 0.0,
    "Maximum withdrawal fee": 10.0,
    "Default withdrawal fee": 1.0,
    "Step withdrawal fee": 0.1,
    "Default breakage percentage during operation": 1.0,
    "Breakage percentage during operation": {
      "banksystem.vip": 0.7,
      "banksystem.premium": 0.5
    },
    "Repair Settings": {
      "Items (for 1%)": [
        {
          "Short Name": "scrap",
          "Amount (for 1%)": 2.0,
          "Skin": 0,
          "Title (empty - default)": ""
        },
        {
          "Short Name": "metalpipe",
          "Amount (for 1%)": 1.0,
          "Skin": 0,
          "Title (empty - default)": ""
        },
        {
          "Short Name": "metal.fragments",
          "Amount (for 1%)": 15.0,
          "Skin": 0,
          "Title (empty - default)": ""
        }
      ]
    },
    "Display Name": "ATM",
    "Skin": 2457425342,
    "Spawn Settings": {
      "Monuments": {
        "compound": {
          "Enabled": true,
          "Display Name": "ATM",
          "Position": {
            "x": -3.5,
            "y": 1.15,
            "z": 2.7
          },
          "Rotation": -90.0,
          "Deposit Fee": 3.0,
          "Withdraw Fee": 3.0
        },
        "bandit": {
          "Enabled": true,
          "Display Name": "ATM",
          "Position": {
            "x": 34.2,
            "y": 2.35,
            "z": -24.7
          },
          "Rotation": 135.0,
          "Deposit Fee": 5.0,
          "Withdraw Fee": 5.0
        }
      }
    },
    "Shop Name ({id} {owner})": "ATM #{id}"
  },
  "Tracking Settings": {
    "Cost Table (shortname - cost)": {}
  },
  "Wipe Settings": {
    "Wipe Players?": false,
    "Wipe Logs?": true,
    "Wipe ATMs?": true
  },
  "NPC Settings": {
    "NPCs": [
      "1234567",
      "7654321",
      "4644687478"
    ]
  },
  "Economy Settings": {
    "Use own economic system?": false,
    "Plugin name": "Economics",
    "Balance add hook": "Deposit",
    "Balance remove hook": "Withdraw",
    "Balance show hook": "Balance"
  },
  "Drop Settings": [
    {
      "Enabled": false,
      "Prefab": "assets/bundled/prefabs/radtown/crate_normal.prefab",
      "Chance": 50,
      "Min Amount": 0,
      "Max Amount": 0
    },
    {
      "Enabled": false,
      "Prefab": "assets/bundled/prefabs/radtown/loot_barrel_2.prefab",
      "Chance": 5,
      "Min Amount": 0,
      "Max Amount": 0
    },
    {
      "Enabled": false,
      "Prefab": "assets/bundled/prefabs/radtown/loot_barrel_1.prefab",
      "Chance": 5,
      "Min Amount": 0,
      "Max Amount": 0
    }
  ]
}

 

Guest

Posted

Changed Status from Pending to Closed

  • Administrator
Steenamaroo

Posted

@LosGranada, perhaps @Meventcould take a look at a full server log from a startup where you experienced the issue?
It may be there are error messages giving clues to what's happened here.

If you don't have full server logging enabled you can add -logfile "serverlog.txt" to your startup script.

LosGranada

Posted

@Mevent @Steenamaroo

After reload the Plugin manually, it works. (Pic1)

If the server automatically restarts at 6am, only the ATM spawns at Outposte (Pic2)

No Erros on Startup (Server Log) (Test Server)

The Config is no Edit

1.png

2.png

server-log.txt

Fusion 3.64

Posted

I can confirm that I have the exact same issue.

However this spams one server load. Seen in RCON.
 

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BankSystem+<OnLootSpawn>c__AnonStorey1.<>m__1 () [0x0000b] in <4adde3cf64154a87bcef51352d917e26>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <9882f28dc2204b4dba514a9ad18f5042>:0

 

Fusion 3.64

Posted

@Mevent Now it's not spawning at the bandit camp OR the outpost when the server loads since the update.
This is getting really old.
Do you have any idea what would be causing the error I posted?

I could just set the plugin to reload through TimedExecute. But if they happen to actually load with the server that time. If I reload the plugin they will vanish. And I'll have to reload it again. But I won't know that I'll need to reload it until a player tells me. This is an issue. There's no way around it. You may not be experiencing it. But other people are. So something is screwed up somewhere. A possible conflict? Maybe. But there needs to be some attempt at looking into this. I spent a lot of time transitioning my server over to the economics system as well as setting up NPCs and containers to drop RUSTNOTES. So I'm not ready to abandon this just yet.

I mean maybe you can add something that will check to see if the Monuments ATMs are active on the map. And if they aren't. Then it will spawn them. Obviously only if it's active in the config.

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.