I am currently plugging the Rust world save json (save.friendly true, save.all) apart to generate heat maps and some other statistics. I’d like to share my findings and hope that others can use it or contribute to it.
These are the subobjects
This is the list of possible ngcInstance.IDs (extracted from my server):
Still trying to figure out all the other IDs.
If it can burn (furnace, camp fire) it’s got fireBarrel.
If it can hold items (furnace, fire, repair bench, crates etc) it’s got inventory.
If it can be opened, closed and locked (doors, gates) it’s got lockable.
I think components of a greater structure (important for decay) have structComponent but no structMaster
and the first component of a greater structure has structMaster but no structComponent.
I have absolutely no idea what netInstance holds.
I have also no idea what carriableTrans holds but it’s part of the following IDs:
If you can, please provide more information such as ngc instance id to item name mappings, missing subobjects and better explaination for some of them.
How to get this JSON
Enable **save.friendly true **on your server, this will cause all map save processes to generate a rust_island_2013.sav.json file containing the complete map. To force the generation of this file, use save.all. Note that depending on your server size, this file can reach huge sizes.
This resulting json file can directly be read by the decode_json function in PHP and probably in any other language. Make sure you have enough RAM assigned to the thread because decoding tends to take up more than 32MB.
OMG YOU CAN READ ALL THEM LOCK CODES FROM THEM DOORS AND COMPILE THEM INTO A HANDY LIST FOR ADMERNS TO ABUSE OMG.
I know that. There’s lots more bad things that can be done. That’s too bad but this is part of what Rust offers to admins and I hope most of them will use this for good.
So, what do I use that for?
Well, you could for example create heat maps on your vanilla (chocolate) Rust server, maybe it can be used to indentify hackers (by finding Weapon Parts in Crates and the likes). I’m sure the Rust community is capable of finding some nice appliances.