You will need this:
and a easy to use calculator that can convert decimals and decimals, if you can develop a program, make one that you input HEX, transform to decimal, multiply by your penya rate and give you the HEX back.
Now, I will teach how to change on small aibatt, then you make it for all.
In your Caali's server files folder, just go to "DropData" folder and hex edit "20.mdd", 20 is the small aibatt ID.
data.res have a file called propMoverEx.inc from where mdd files are based on, you can download it to look at the attached files, open it with notepad.
From this file:
Code:
DropGold(6, 9); DropItem(II_GEN_GEM_GEM_TWINKLESTONE, 300000000, 0, 1);
There, I put it by each "4 pairs of numbers" because thats the structure it uses.
The first 4 pairs("06000000", consider it to be "06" and convert to decimal) is 6 in decimal, the first "DropGold" parameter that is the minimum amout of penya that drops.
The second 4 pairs("09000000", consider it to be "09" and convert to decimal) is 9 in decimal, the second "DropGold" parameter that is the maximun amout of penya that drops.
Meaning that if you kill a small aibatt, you will get between 6 and 9 penyas.
We will calculate with a penya rate of 70x, so, 6 x 70 = 420 and 9 x 70 = 630...now, we need to convert them to hex
420 = 01A4, change the first pair with the second, so A401
630 = 0276, change the first pair with the second, so 7602
It must be a packet of 4 pairs, so, complete with 0's: A4010000 and 76020000... change them in hex and it would look like that:
Restart world server and now small aibatt drops between 420 and 630. Make it with all of the files and it will be fine
Now, I will explain what I understood of the other numbers from the "20.mdd" file:
The third 4 pairs("01000000") is the number of items that will be added to drop.
The fourth 4 pairs("860B0000", consider it 0B86) is twinkle stone ID, just like the first "DropItem" parameter.
The fifth 4 pairs("00A3E111", consider it 11E1A300) is the drop rate, the second "DropItem" parameter.
From propMoverEx.inc drop rates:
Code:
9375 0.0003125% 18750 0.000625% 37500 0.00125% 75000 0.0025% 150000 0.005% 300000 0.01% 1000000 0.0333% 1875000 0.0625% 3000000 0.1% 3750000 0.125% 5000000 0.166% 7500000 0.25% 15000000 0.5% 30000000 1% 300000000 10% 3000000000 100%
Then, I think and dont know why, theres 2 pairs of 4 to indicate the third parameter and then one pair of 4 to the last and an unknow packet of 4 pairs at the end.
I wish that this is well explainned and will help you guys.
Credits to:
- skyhate that was the first one I saw that talked about HEX edit.
- Comet since I got hexworkshop link from his thread.
- BBim for "studying" the scructure of the files, finding those things and also making this tutorial.
THIS IS LEECHED AT ********
Source: