Upgraded to Kits 4.x and all my kits are gone...

How can I import my old kits (before 4.x) to 4.x version of kits.... 

Does anyone else have an issue with this version?

Thanks

Apart from a few "teething" problems it is working well.  With the new system your kits should be in a KITS folder in the DATA section , it should contain two json files
kits_data.json  (which you can edit) it should contain all your "old" kits if you followed the conversion process set out in documentation.
player_data.json  (which you can remove at end of wipe to reset player data, it will be replaced by empty file)

I had to convert the old version in the data folder using the command based on this:

Converting your Kits data from pre-v4.x.x to v4.x.x

Kits v4.x.x has changed the data structure used for storing kits, however you can convert your old Kits data to the new system with a simple console command

The new Kits data files are stored in a different location (/oxide/data/Kits/) to the older version so you will not have to worry about accidentally overwriting them.

To convert your old data files to the new system, simply type kits.convertolddata in your server console window or rcon program. This will not work using it from the in-game console

This command will only copy over the old kits data. The old style of Kits did not store item positions so converted kit items will be added sequentially

You can also copy the old player usage data using the command kits.convertoldplayerdata

So I just upgraded from 3.2.95 to 4.0.11 and I tried the kit.convertolddata and it didn't work for me neither did the kit.convertoldplayerdata..in my data folder all I have is the old Kits.json file how do I get eveyones kits over to the new kits ?

rustynail3110

So I just upgraded from 3.2.95 to 4.0.11 and I tried the kit.convertolddata and it didn't work for me neither did the kit.convertoldplayerdata..in my data folder all I have is the old Kits.json file how do I get eveyones kits over to the new kits ?

You typed the command in the console or rcon (such as RustAdmin) not chat ?

 

I used Rustadmin. I also just used my webserver console and I get nothing.

rustynail3110

I used Rustadmin. I also just used my webserver console and I get nothing.

     kits.convertolddata not  kit.convertolddata  and  kits.convertoldplayerdata not  kit.convertoldplayerdata 

I did kits.convertolddata I just mistyped in the comment above I even just redid it in rustadmin and my webserver to make sure I got it right still nothing.

Merged post

If I do kits.convertoldplayerdata I get back

Successfully converted 0 / 0 player's data 
 
but if I do kits.convertolddata I get nothing back at all I'm not sure what to do, I have a lot of people that have gear kits and all the npcs and bot work off the kits as well.

rustynail3110

I did kits.convertolddata I just mistyped in the comment above I even just redid it in rustadmin and my webserver to make sure I got it right still nothing.

Merged post

If I do kits.convertoldplayerdata I get back

Successfully converted 0 / 0 player's data 
 
but if I do kits.convertolddata I get nothing back at all I'm not sure what to do, I have a lot of people that have gear kits and all the npcs and bot work off the kits as well.

You will have to wait for the dev to suggest something , I just followed the doc's and it created a Kits Folder in Data section and that contained all my kits in kits data json  and it created the player data json file. i know this might sound stupid but is there an actual KITS folder with your other folders in the data section ?  (mine is just below the imagelibrary one) even though there will also be a kits.json file (no longer used) below it with the other data json files

Yes I have a folder in the same place as you just blank kits_data.json file and blank player_data.json file in it.

Merged post

@K1lly0u any suggestions ?

Merged post

So I tried stepping it up from 3.2.95 with all the updates to the newset one and still can't get it to copy the old json file.

rustynail3110

Yes I have a folder in the same place as you just blank kits_data.json file and blank player_data.json file in it.

Merged post

@K1lly0u any suggestions ?

Merged post

So I tried stepping it up from 3.2.95 with all the updates to the newset one and still can't get it to copy the old json file.

do a progressive update, update 3.2.95 to 3.3.0 (backup config) then to 3.3.1 to 4.0.9  then try to use the converters and see if that works ,if it does then update to 4.0.11