Jump to content

Fresh Install Editable List setup

Closed 2.6.6

Hi,

I've used the Free version, then purchased the Full not long ago.
Last Wipe I've disabled the plugin - to be setup more better.

Deleted all the files from everywhere,  paste the plugin, restart server, then using the rb.populate all command first.

I've edited the Easy & Elite loot table to begin with, and the .JSON file in the Data/RaidableBases/Profiles.

Obviously the other tiers are set to 0 for now.

Reload the plugin, and this line comes up in the console:

" Loaded 35 items from RaidableBases\Default_Loot "

Where I need to setup to use the already edited Easy & Elite Loot Table ?

Thanks!

Regards

Csaszykj

Edited by CsaszyKJ

Share this comment


Link to comment

heya, this is detailed in the documentation:

Quote

Files inside of the Editable_Lists folder must be copied into an existing loot file in order to use the loot table. As the name implies, it is for editing only.

- If you want to use Editable_Lists/Easy.json for your Easy bases then copy the contents of the file into the Difficulty_Loot/Easy.json file.

- If you want to use Editable_Lists/Expert.json for the Expert Bases.json profile, then you must copy the contents of the Expert.json file into the Bases_Loot/Expert Bases.json file

 

Share this comment


Link to comment

Hi,

Thanks for your quick reply.

I've noted my eyes slipped that part - particularly, my bad.

Now I've copy into the Easy Bases.json to Base_Loot & Easy.json to Difficulty_Loot , the rest of the files in both directory the "default" - 2kb files.

o.reload RaidableBases to console, and I get this:

JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Oxide.Plugins.RaidableBases+LootItem]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path '['Difficulty (0 = easy, 1 = medium, 2 = hard, 3 = expert, 4 = nightmare)']', line 2, position 75.

Tried few scenarios, still not working & getting the same error.

What I've done: Edited the default profiles & copy into the Base_Loot.

Default Loot has been setup, and showing the set amount of selected items on reload - when I delete everything else - and let the plugin create again it's files.

Thanks! 

Appreciated it.

Edited by CsaszyKJ

Share this comment


Link to comment

Seems to be it's sorted.

To be honest, I had way too much pressure from players - as they were "demanding" for it, and for some reason I've just messed up everything - what I had learned from the Free version.

Please accept my apologies.

The support ticket can go to the "solved" category.

Keep up the good work!

Kind Regards

Janos

Share this comment


Link to comment

no problem. you may find jsonlint.com useful for figuring out json errors. if it fails to find the error then you can find it yourself by reading the error in the server console and looking for line and position (line 2, position 75 in your case) and you will find the json error in or around that section in most cases, and above it in all other cases. most commonly its just a missing bracket, period, or comma.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.