Raidablebases/base_loot/RaidBases.json keeps reverting to a unedited file.Solved

Hi Nivex, I need help please. I have edited the file in the edible list as recomended and then pasted it in to the bast loot folder as sugested. I have set the profiles to only spawn loot from the base loot, however each time i reload the plugin, the RaidBase.json, revers back to the previous unedited file, causing the loot to spawn in the wrong items no matter what i do. I also am not able to increase the amount of loot to spawn per base to anything higer than 30. I did ready up if the probability is too high then it could clash, its currently on 1, what would be acceptable to set it to in order for the loot to increase from the default 30? Please help. Its day 3 of me pulling out my hair here.

Thanks
Kanary

hi, the file won't revert back unless there's an issue with your browser, cache, your hosts control panel or file permissions if using an FTP client. it's possible it's not reverting back and you just have a json error in the loot table.

if you want more loot to spawn then increase Amount Of Items To Spawn. if you don't have enough items in your loot table then it will not spawn more than it has unless you enable Allow Duplicate Items

Hi Nivex, im using FTP server to make the changes, so i will go in and paste my loot table over the base loot table, save it and as soon as i restart the plugin it reverts back to what was there, i can make changes to any other joson files for raidable bases or any other plugin and it saves, its just the loot tables that will not keep the changes. this is what is so strange to me. I dont see any errors in RCON when it reloads.

RaidableBases was compiled successfully in 5773ms

Unloaded plugin Raidable Bases v2.7.4 by nivex

[RaidableBases] Free version initialized.

Loaded plugin Raidable Bases v2.7.4 by nivex

- Loaded 822 items from RaidableBases/Difficulty_Loot/Normal Loaded 822 items from RaidableBases/Default_Loot Loaded 822 items from RaidableBases/Weekday_Loot/Sunday Loaded 822 items from RaidableBases/Weekday_Loot/Monday Loaded 822 items from RaidableBases/Weekday_Loot/Tuesday Loaded 822 items from RaidableBases/Weekday_Loot/Wednesday Loaded 822 items from RaidableBases/Weekday_Loot/Thursday Loaded 822 items from RaidableBases/Weekday_Loot/Friday Loaded 822 items from RaidableBases/Weekday_Loot/Saturday Loaded 822 items from RaidableBases/Base_Loot/RaidBases.

On all three profiles i have edited this section going up in amounts for each difficutly:

"Minimum Amount Of Items To Spawn (0 = Use Max Value)": 0,
"Amount Of Items To Spawn": 800,

Also set to

"Always Spawn Base Loot Table": true

Then with the actual loot:

"shortname": "ammo.handmade.shell",
"name": null,
"amount": 100,
"skin": 0,
"amountMin": 10,
"probability": 1.0,
"stacksize": -1

will the probability and stacksize have anything to do with all bases only spawning a max of 30 items?

Sorry to bother you but i am stuck and dont know how to fix this?

Thanks,
Kanary

Merged post

Update....

I got it to stop reverting to a previous one. Only issue now is the amount of loot per base is stillat 30 no matter what i put in the profile. Am i missing a setting somewhere?

there must be a json error with your profile then, but it's not going to overwrite it. it just won't load it.

errors have not been shown in the profiles since 2.5.0 but no one has reported this. oops

post the exact profile you are attempting to use here, preferably from pastebin.com or somewhere that isn't just plain text. thanks

This is my Easy base profile, howevr it loads nothing more than 30 loot items from the base loot. I managed to fix the loot table, just the amount of loot now.

https://pastebin.com/0M22zfKC

"Weapon Accuracy (0 - 100)": 30,

delete this entire line from your profile. it's not valid and won't let the profile load

line 79

That fixed it thank you Nivex. Dont know where that code came from but all that matters is its fixed :)

no problem

Locked automatically