Jump to content
  • 0

help Special Drop Rate item


Question

Posted (edited)

i have ind_item_drop.txt and IndSpecialItemDrop.patch may someone help me .. how to implen in my Ragnarok Private server .. >.<

Edited by croxinuz

5 answers to this question

Recommended Posts

Posted

- script Sample -1,{

function CustomRateCard;

OnNPCKillEvent:

// CustomRateCard( <MobID>,<CardID>,<Rate> );

// Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100%

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

CustomRateCard( MobID,ItemID,Rate );

end;

function CustomRateCard {

if( killedrid == getarg(0) && rand( 10000 ) <= getarg(2) ){

getitem getarg(1),1;

}

return;

}

}

you can change this..

CustomRateCard( MobID,ItemID,Rate );

save the script rename it customdrop.txt and save in ra/npc/custom

in scripts_custom.conf

npc: npc/custom/customdrop.txt

- credits to Emistry

Posted

for windows.. use TortoiseSVN, go to your rAthena directory, right click inside the folder and select TortoiseSVN -> Apply patch. then select the .patch file. recompile when u are done.

never did that on linux, but this should help:

http://rathena.org/w...tch_your_server

i'm using linux on VPS..

hmm.. i'll try that ... Thank you for help me :)

hmm.,. i'm using putty to patch that file.. but on putty,. i just read " -bash: patch: command not found" some one can help me ? >.<

Posted

Hi croxinuz,

Upload that .patch file in 'trunk/src/map'; and then enter that directory with 'cd' and perform the following command.

patch -p0 < IndSpecialItemDrop.patch

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...