Jump to content

Raidable Bases 2.9.7

$40.00 $30.00
   (51 reviews)

1 Screenshot

  • 412.6k
  • 30.2k
  • 7.06 MB

Recommended Comments



For some reason /rb lifetime is resetting along with /rb ladder every wipe. I can't find a config setting to change this

Link to comment
Share on other sites

@Shneid

there's no config option. in order for the ladder to work properly it must reset itself each wipe, but it will never reset ALL lifetime stats

 lifetime stats start with the name Total. e.g: TotalRaids, TotalPoints, TotalEasy, etc. so this code would reset the ladder, but never lifetime. 

            public void Reset()
            {
                Raids = Points = Easy = Medium = Hard = Expert = Nightmare = EasyPoints = MediumPoints = HardPoints = ExpertPoints = NightmarePoints = 0;
            }

lifetime does not expire until 60 days of inactivity, or if they have a grand total of 0 raids,

data.Players.RemoveAll((userid, playerInfo) => playerInfo.TotalRaids == 0 || playerInfo.IsExpired());

you would need to view the datafile after a server wipe. if there is an empty file then it got corrupted somehow. if all players are there but all of their stats are 0 then i'm wrong and it's bugged. latter should be impossible given the above

@aimacak @MaxxxEdgedo you guys use SkillTree? 

Edited by nivex
  • Like 1
Link to comment
Share on other sites
2 hours ago, nivex said:

check for the raidablebases.buyraid.bypass.cooldown permission. i just tested for you and everything appears to work in 2.6.7

buyraid is the only permission for default players and this is also my permission, with whom i tested in playermode as i said before

Screenshot 2023-02-18 001857.jpg

Edited by Dr.D.Bug
Link to comment
Share on other sites
2 hours ago, nivex said:

which plugins are you two using for condition loss? there is NeverWear and NoDurability that I'm aware of. @MaxxxEdge these are not convars, where are they from?

conditionloss.damagemultiplier "0"
conditionloss.armorhealthmult "0"

We (Dr.D.Bug and me) have no durability Plugin. I´ve put these settings in the server.cfg, and i thought that´s it, though it never really worked like i thought it would, lol. Nevertheless in the (Raidable Bases) zones there seems to be much more conditionloss, but this is my personal sense and i can be wrong. So forget about this, and we try a plugin like NoDurability. 

And no, we don´t use SkillTree

 

Edited by MaxxxEdge
Link to comment
Share on other sites
3 hours ago, nivex said:

@Shneid

there's no config option. in order for the ladder to work properly it must reset itself each wipe, but it will never reset ALL lifetime stats

 lifetime stats start with the name Total. e.g: TotalRaids, TotalPoints, TotalEasy, etc. so this code would reset the ladder, but never lifetime. 

            public void Reset()
            {
                Raids = Points = Easy = Medium = Hard = Expert = Nightmare = EasyPoints = MediumPoints = HardPoints = ExpertPoints = NightmarePoints = 0;
            }

lifetime does not expire until 60 days of inactivity, or if they have a grand total of 0 raids,

data.Players.RemoveAll((userid, playerInfo) => playerInfo.TotalRaids == 0 || playerInfo.IsExpired());

you would need to view the datafile after a server wipe. if there is an empty file then it got corrupted somehow. if all players are there but all of their stats are 0 then i'm wrong and it's bugged. latter should be impossible given the above

@aimacak @MaxxxEdgedo you guys use SkillTree? 

no, i dont use SkillTree and i havnt plugins for weapon, exclude NeverWear, but i use only white list with torch and boombox. i repeat, now i off even it)

Edited by aimacak
Link to comment
Share on other sites
4 hours ago, nivex said:

check for the raidablebases.buyraid.bypass.cooldown permission. i just tested for you and everything appears to work in 2.6.7

@aimacak

1. the time starts after a base has spawned and is how long in seconds until the next base can spawn. minimum of 1 second.

2. Block Plugins Which Prevent Item Durability Loss tries to force all items to take condition loss, but it's not going to break an item in 3~ hits UNLESS there's a conflict with something else.

which plugins are you two using for condition loss? there is NeverWear and NoDurability that I'm aware of. @MaxxxEdge these are not convars, where are they from?

conditionloss.damagemultiplier "0"
conditionloss.armorhealthmult "0"

3. I will look again for you.

4. gun damage modifier is for every gun. there is no setting to adjust individual gun damage modifiers. i suggest removing pistols as some are wicked OP and a modifier isn't going to do it justice imo

1) so, i can use only min max, thanks 🙂
2) items start to break as usual, but on 3-6 hit hp drops sharply to zero and the item breaks
3) ❤️ for turrets i too have not any plugins
4) thanks, ill remove it, and..they are not always unbalanced...:)

Link to comment
Share on other sites
7 hours ago, Dr.D.Bug said:

buyraid is the only permission for default players and this is also my permission, with whom i tested in playermode as i said before

Lock Raid To Buyer And Friends

is this enabled? it will not set the cooldown when the raid ends. if not just send me your config 😛

@aimacakyour message is confusing. you use NeverWear, and it only prevents loss for items in your whitelist?

@MaxxxEdge

Ill see what I can do about items breaking or losing too much condition but its not caused by this plugin

Edited by nivex
Link to comment
Share on other sites
30 minutes ago, nivex said:

Lock Raid To Buyer And Friends

is this enabled? it will not set the cooldown when the raid ends. if not just send me your config 😛

 

It is set to true: "Lock Raid To Buyer And Friends": true,
In addition i'll send you our config by PM

Link to comment
Share on other sites

@Dr.D.BugI used your config with version 2.6.7 and received the cooldown. very odd, to reiterate these are the reasons the cooldown will not apply:

admin/developer, flying, raidablebases.allow, raidablebases.buyraid.bypass.cooldown permission, or Lock Raid To Buyer And Friends

I am a bit confused by what you mean by "playermode" if that entails authlevel 0 and no admin or developer flag then I understand. if a plugin is removing this status then it's likely not working properly.

you can replace lines 19176 to 19248 with this code: https://pastebin.com/cNrx14WP

change those lines RaidableBases.cs. this should help you debug what is going on. it will send messages to whoever buys the base when it starts and again when it ends.

image.thumb.png.63a4e49753ce32fd86e020790848f694.png

 

Edited by nivex
Link to comment
Share on other sites

@aimacakI tested the semi rifle auto turret again and it continues to reload. I believe its another plugin since you've stated this happens only with some guns. please post any plugin names you're using that is relevant. such as ammo, turret or item plugins. if you're not sure if its relevant then post the plugins name anyway.

Link to comment
Share on other sites
1 hour ago, nivex said:

Lock Raid To Buyer And Friends

is this enabled? it will not set the cooldown when the raid ends. if not just send me your config 😛

@aimacakyour message is confusing. you use NeverWear, and it only prevents loss for items in your whitelist?

@MaxxxEdge

Ill see what I can do about items breaking or losing too much condition but its not caused by this plugin

yes, all groups except admin have only one permission - "neverwear.use" (now dont have even it)
image.png.41e4b87e3750047d47d2a4d23c9e9a94.png

Link to comment
Share on other sites

@aimacak don't know what plugin it could be then. you will have to find the plugin conflicting with mine

Armor Not Forever seems like the most obvious plugin to unload first.

Edited by nivex
  • Like 1
Link to comment
Share on other sites

Hello,

May I ask a little help with NPC Spwaning. @nivex

"Spawn Inside Bases": {
      "Spawn On Floors": true,
      "Spawn On Beds": false,
      "Spawn On Rugs": false,
      "Spawn On Rugs With Skin Only": 1,
      "Bed Health Multiplier": 1.0,
      "Rug Health Multiplier": 1.0,
      "Spawn Murderers Outside": true,
      "Spawn Scientists Outside": true,
      "Minimum Inside (-1 = ignore)": -1,
      "Maximum Inside (-1 = ignore)": -1

       "Allow Npcs To Roofcamp": false,


I'd like to spawn NPC-s on floors, roofcamp & outside of the base.

Which setting do I need to use, to get NPC-s spawn on floors, roof & outside of the base as well?

When I set to true the Roofcamp - all of the scientist are spawned on the roof, but none outside of the base area

TIA

Edited by CsaszyKJ
Link to comment
Share on other sites

hi, @CsaszyKJ

the priority for the options is rug, bed, floor, roof and then outside. npcs are spawned based on this order, but the location for each is random. if they do not spawn in any particular area then you're not spawning enough of them.

I either use a priority for the options, or I make it completely random like the locations, but I won't do both, it would be too much bloat 😛

 

Edited by nivex
  • Like 1
Link to comment
Share on other sites

@aimacak

I don't understand your question

you can spawn base for player via console using: buyraid 0 76561198212544308

 

  • Love 1
Link to comment
Share on other sites
6 hours ago, nivex said:

@aimacak

I don't understand your question

you can spawn base for player via console using: buyraid 0 76561198212544308

 

Can I buy a specific house with this command? very necessary 🙂 thanks
I want sell specific house from UI Shop with lock for a player.

Edited by aimacak
Link to comment
Share on other sites

For testing purposes, I changed the number of leftovers. Here is my setting

    "shortname": "scrap",
    "name": null,
    "amount": 200,
    "skin": 0,
    "amountMin": 100,
    "probability": 1.0,
    "stacksize": -1

still more than 2745 scrap parts are placed in the TC. Can someone please tell me what I am doing wrong?
Yes, I have reloaded the mod.
Config Dufficulty_Loot/Expert.json I spawn an Expert Base.

Link to comment
Share on other sites
7 hours ago, Kobani said:

For testing purposes, I changed the number of leftovers. Here is my setting

    "shortname": "scrap",
    "name": null,
    "amount": 200,
    "skin": 0,
    "amountMin": 100,
    "probability": 1.0,
    "stacksize": -1

still more than 2745 scrap parts are placed in the TC. Can someone please tell me what I am doing wrong?
Yes, I have reloaded the mod.
Config Dufficulty_Loot/Expert.json I spawn an Expert Base.

check this setting in the base profiles

  "Empty All Containers Before Spawning Loot": true,

then re-check what is being spawned into boxes

it may be some other loot plugin causing this to happen

  • Like 1
Link to comment
Share on other sites
9 hours ago, aimacak said:

Can I buy a specific house with this command? very necessary 🙂 thanks
I want sell specific house from UI Shop with lock for a player.

yes, buyraid raideasy1 76561198212544308 free

8 hours ago, Kobani said:

still more than 2745 scrap parts are placed in the TC. Can someone please tell me what I am doing wrong?

the scrap is in a different file or is in the copypaste file itself. it cannot spawn otherwise, unless another plugin is doing it but that is rarely the case.

as @nashslashsaid (thanks!) you can use that option to clear any copypaste loot, but it will not stop loot tables from spawning

  • Like 1
  • Love 1
Link to comment
Share on other sites
4 hours ago, nivex said:

yes, buyraid raideasy1 76561198212544308 free

the scrap is in a different file or is in the copypaste file itself. it cannot spawn otherwise, unless another plugin is doing it but that is rarely the case.

as @nashslashsaid (thanks!) you can use that option to clear any copypaste loot, but it will not stop loot tables from spawning

Im sorry, can u help me? i cant make this..
I have profile - "raidnightmare3_profile_new"
  "Profile Enabled": false, (becouse i dont want that this house have auto spawn and spawn with buyraid by chat command:
In this profile one base - "raidnightmare3_new"
And after errors i try to add this house - "raidnightmare3_new" to "Nightmare" profile (in this profile only one house)
And i try to write in console:
buyraid raidnightmare3_new STEAMID free
buyraid raidnightmare3_profile_new STEAMID free
if i write this commands a little time after rb.reloadconfig, i take message in game:
"The grid is loading; please wait until it has finished."
But after waiting grid loading and repeate commands in console i take this error:
Thanks ❤️

Failed to call hook 'CommandBuyRaid' on plugin 'RaidableBases v2.6.7' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.RaidableBases+Payment.TakeItems (System.Boolean reset) [0x00030] in <e4c9f6fb81704bda9d65ca0d311d4c9b>:0

at Oxide.Plugins.RaidableBases.CommandBuyRaidTakePayments (Oxide.Core.Libraries.Covalence.IPlayer user, BasePlayer buyer, BasePlayer player, System.Boolean reset, Oxide.Plugins.RaidableBases+RaidableMode mode, System.String value, System.String[] args) [0x002a2] in <e4c9f6fb81704bda9d65ca0d311d4c9b>:0

at Oxide.Plugins.RaidableBases.CommandBuyRaid (Oxide.Core.Libraries.Covalence.IPlayer user, System.String command, System.String[] args) [0x00422] in <e4c9f6fb81704bda9d65ca0d311d4c9b>:0

at Oxide.Plugins.RaidableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x026cf] in <e4c9f6fb81704bda9d65ca0d311d4c9b>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

Edited by aimacak
Link to comment
Share on other sites

The help section on the main page of this plugin states the following.

Quote

Do not put this plugin in your store/shop. It simply is not designed to work with it. There are far too many cooldowns to make this idea plausible, and the plugin cannot function properly without them. Using /buyraid will open a UI designed specifically for this issue.

 

Link to comment
Share on other sites
7 hours ago, nivex said:

@aimacaknp

if (buyer == null) return;

add that here

image.png.ac64702db7bcc8e4259a1d6f58383679.png

1)
buyraid raidnightmare3_profile_new STEAMID free

[16:48:07]Failed to call hook 'CommandBuyRaid' on plugin 'RaidableBases v2.6.7' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.RaidableBases+Payment.TakeItems (System.Boolean reset) [0x00042] in <dfe2fc1006e149c4bc150eea1af14b65>:0

at Oxide.Plugins.RaidableBases.CommandBuyRaidTakePayments (Oxide.Core.Libraries.Covalence.IPlayer user, BasePlayer buyer, BasePlayer player, System.Boolean reset, Oxide.Plugins.RaidableBases+RaidableMode mode, System.String value, System.String[] args) [0x002a2] in <dfe2fc1006e149c4bc150eea1af14b65>:0

at Oxide.Plugins.RaidableBases.CommandBuyRaid (Oxide.Core.Libraries.Covalence.IPlayer user, System.String command, System.String[] args) [0x00422] in <dfe2fc1006e149c4bc150eea1af14b65>:0

at Oxide.Plugins.RaidableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x026cf] in <dfe2fc1006e149c4bc150eea1af14b65>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0


2)
buyraid raidnightmare3_profile_new STEAMID 0
no error, but look at screenshoot please:
i tried enable custom buy event..
1 string - your purchase Raid Base for 500$ 🙂 sorry


so..again, look, i have profiles for each house, i using scheduled events for 0-2 levels, but 3-4 levels players can buy in /buyraid
For nightmare i have 3 profiles: raidnightmare1/2/3_profile_new, and each of it profiles have only one house raidnightmare1/2/3_new.
i want players to be able to buy the nightmare bases, but i want one particular house (house "raidnightmare3_new" in profile "raidnightmare3_profile_new") to never spawn on /buyraid, i want to sell it on /shop with console command, understand?:)
if it real, can u, please, explain step by step, how i can release it, thanks a lot.. ❤️

image.png.837b6b5ac073ee32b19003504bc36f50.png

Edited by aimacak
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 23
  • Sad 2
  • Love 41

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101k

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.