Here's how I do it.
1. Run client
2. Make sure you have enough Orcish Voucher and Skel-Bone
3. (Make sure that not all Voucher and Skel-Bone will be consumed when doing Change Material)
4. Run rPE and select your ragnarok client like f2pexe.exe(ragexe.exe or sakexe.exe depending on your server, google rPE to know where to download)
5. Click Start from the rPE and catch the packet sent to the server.
6. (It should be something like E4 07 14 00 00 00 00 00 01 00 00 00 15 00 32 00 14 00 28 00) copy the hex.
7. From there, logoff with your game client and add this on your macros.txt
Code: Select all
automacro checkItemForAlcohol {
location prt_fild05 289 223
inventory "Skel-Bone" > 39
inventory "Orcish Voucher" > 49
exclusive 1
call getAlcohol
}
macro getAlcohol {
do send E4 07 14 00 00 00 00 00 01 00 00 00 15 00 32 00 14 00 28 00 #Put the Copied HEX String here
pause 2
release all
}
8. In your config.txt you should have something like this to let your character get needed items. Notice that I used 1005 as quantity to get to make sure that not all voucher and skel-bone will be consumed.
Code: Select all
getAuto Skel-Bone {
minAmount 39
maxAmount 1005
}
getAuto Orcish Voucher {
minAmount 50
maxAmount 1005
}
9. Make sure that you have:
in your config file and put some working Kafra NPC.
10. The HEX will change and you need to repeat the steps if either skel-bone and orcish voucher emptied from your inventory(not kafra).
Hope this helps. Enjoy!!!