Can't dump everything, you can only dump information such as the noted form of an item etc etc.
Just look in your ItemDefinition.java or however you have it named in your client.
|
As the titel says,
I've read somewhere that there are ways to dump those json forms from the cache.
Does someone have any idea what the methods are?
Can't dump everything, you can only dump information such as the noted form of an item etc etc.
Just look in your ItemDefinition.java or however you have it named in your client.
Stuff like the following is dumpable in the cache. Simply write it to JSON/XML when loading it in at your EntityDef/ItemDef class in your client.
If your definitions require fields like bonusses, GE price, slot number etc. a cache dumper will not suffice. For that you'll need a dumper that retrieves the data from the wiki page for that item/NPC aswell.Code:case 21028: type.cost = 55000; type.femaleModel0 = 32670; type.femaleOffset = 6; type.interfaceOptions = new String[] { null, "Wield", null, null, null }; type.inventoryModel = 32796; type.maleModel0 = 32670; type.members = true; type.name = "Dragon harpoon"; type.notedID = 21029; type.stockMarket = true; type.xan2d = 600; type.xOffset2d = 2; type.yan2d = 54; type.yOffset2d = 2; type.zan2d = 1953; type.zoom2d = 1347; type.anInt1879 = 21030; break;
Ah yes, I know how to dump those values, with a tool provided here on the forum.
But I was searhing for the server sided configs. Much like those:
Code:"id": 4151, "name": "Abyssal whip", "desc": "A weapon from the abyss.", "value": 16000000, "dropValue": 0, "bonus": [ 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0 ], "slot": 3, "fullmask": false, "stackable": false, "noteable": false, "tradable": true, "wearable": true, "showBeard": true, "members": true, "twoHanded": false, "requirements": [ 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] },
You can't dump values stored in the server by using a client.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |