Jump to content

Wrong base difficulty spawned

Closed 2.6.4

BetterDeadThanZed
BetterDeadThanZed

Posted (edited)

I had a player buy a medium base but a base that is in the nightmare profile spawned. It is not in the medium profile. Could I have something configured wrong or is this a bug?

Edited by BetterDeadThanZed
nivex

Posted (edited)

it's not a bug. it can't spawn a base unless its in that profile, or your player bought the wrong difficulty by mistake.

Edited by nivex
BetterDeadThanZed

Posted

From the console:

10/19/2022 14:52:36 | [RaidableBases] base33 @ X14 : 60 items
10/19/2022 14:49:44 | [RaidableBases] Say my name has paid for the Medium base (base33) at (1400.0, 16.5, -50.0) in X14!

base33 is in the Nightmare profile, not Medium. Attached are the two profiles.

Medium Bases PVE.json Nightmare Bases PVE.json

nivex

Posted

hm, couldn't tell you. there's nothing that allows the plugin to change the difficultly once it has been set. it must be changed manually

BetterDeadThanZed

Posted

So how do you explain that they paid for a medium base but got a base from the nightmare profile? As you know as a plugin developer, things don't "just happen". It's either a config issue or a bug in the plugin.

nivex

Posted (edited)

I have no answer. the plugin does not assign a value to Mode unless it's done manually. it can't be a config issue. this setting is in the profile.

I'll see what I can do. I just rewrite everything in these cases, and I see that I can condense some code instead so I will do that for this issue.

Edited by nivex
nivex

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.