probs amount between and rarity
|
Not sure if anyone else goes through drops.dat for there drops (I recommend swapping over to json if you are) but, I'm messing with this server, and can't figure out the format for these drops.
Here is an example.
And here is what I think some of it means:Code:11 2361 1 2 108 11 2363 1 3 106 11 2366 1 1 219 11 2677 1 1 97 11 4131 1 1 178 70 526 1 1 0 239 1747 1 1 1
So my question is, Can you tell me what the '?' marks represent?Code:(11 = NPCID, 2361 = ItemID, 1 = ?, 2 = ?, 108 = ?) 11 2361 1 2 108
May be a noob question, but I never use .dat always put my drops through .json.
Thanks
probs amount between and rarity
Ok. So I understand:
(NPCID = ITEMID, AMOUNT, ? , ?)
Still confused on the last 2 ?'s.
I have no idea what 'between' would mean. Like in between the rarity number, it will drop that ID?
and rarity would mean how many times it has to choose that number?
If anyone has any clue, I'd appreciate it.
Appreciate your help. I was pretty tired last night to think about this.
If anyone if curious, here is what it means officially:
Code:/** * @param itemId * The ItemID of the item that can be dropped. * @param minAmount * The minimum amount of the item that can be dropped. * @param maxAmount * The maximum amount of the item that can be dropped. * @param rarity * The chance the item will be dropped. Rarity 50 would mean a 1 * in 50 (or 0.2) drop chance. */ public Drop(int itemId, int minAmount, int maxAmount, int rarity) { this.itemId = itemId; this.minAmount = minAmount; this.maxAmount = maxAmount; this.rarity = rarity; }
No clue why you never checked what loads the "drops.dat" and have a look at what each value means.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |