Ricauter
-
Content Count
26 -
Joined
-
Last visited
Reputation Activity
-
Ricauter reacted to RodRich in R> command when killing monsters
That's true, I hadn't thought this way!! that's better than before. But I don't know why, the other one isn't working. It should work in both ways!!
The first one checks the monster name's, and the second one checks the monster ID's
But..
-
Ricauter got a reaction from RodRich in R> command when killing monsters
was testing around, there was a mistake on the script, actually:
if(getmonsterinfo(killedrid,0)==getmonsterinfo(1008,0)) doesn't work at all, so any monster you'd kill would increase the counter, the real script is like this:
if(killedrid==1002) // and replace the 1002 for any monster ID that way, only the monster ID you choose would increase the counter.
-
Ricauter reacted to Mhalicot in Costume System
File Name: Costume System
File Submitter: Mhalicot
File Submitted: 12 Oct 2013
File Category: Utility
~ Originally script by Rebel, Zephyrus [rAthena],
~ I don't own this script I'd revised it to make it compatible with Hercules.
~ [Original Topic] http://goo.gl/YU1Z7o
~ 100% compatible in (revision 137*)
Download contains: Costume System.diff and costume.txt
Click here to download this file
-
Ricauter reacted to RodRich in R> command when killing monsters
Hahah, no problem!!
Hey, I've just saw this line, it can bring you problem:
set f1ks,f1ks=0; test in your npc, if this doesn't give error, just forgot... but If does, do this way:
set f1ks,0; -
Ricauter reacted to malufett in slowing down the /stat+ commands
according to this comment @ clif.c
/// Request to increase status (CZ_STATUS_CHANGE)./// 00bb <status id>.W <amount>.B/// status id:/// SP_STR ~ SP_LUK/// amount:/// Old clients send always 1 for this, even when using /str+ and the like./// Newer clients (2013-12-23 and newer) send the correct amount. solution will be by tweaking 'pc->statusup' by changing the amount increase to 1 then loop it having a delay per iteration until it reach the maximum desire amount...
-
Ricauter reacted to RodRich in R> command when killing monsters
@@Ricauter
That's because you didn't closed the "()"
copy and paste :
- script test1 -1,{ OnNPCKillEvent: set .@map$, "prontera"; if(strcharinfo(3)==.@map$){ if(getmonsterinfo(killedrid,0)==getmonsterinfo(1008,0)){ // PLEASE THIS WAY IS THE RIGHT WAY DON'T CHANGE AGAIN '-' set f1ks,f1ks +1;// to count +1 kills; announce "PORINGS KILLED +1 ["+ f1ks +"/5]",3; } if (f1ks >= 5){ set f1ks,f1ks=0; //to reset the counter and buff sc_start 10, 240000,10; }}end;} -
Ricauter reacted to RodRich in R> command when killing monsters
Ah ok, because when you get errer from first line, the npc isn't readed.
I think your error is case sensitive:
-<tab>Script<tab>test1<tab>-1,{ try:
-<tab>script<tab>test1<tab>-1,{ -
Ricauter reacted to RodRich in R> command when killing monsters
Ah ok, that simple either!!
You can do this way:
OnNPCKillEvent:if(strcharinfo(3)== 'map'){if(getmonsterinfo(killedrid,0) == 'monstername'){ set mymobkills,mymobkills +1;// to count +1 kills }} if (mymobkills > 99){ set mymobkills,0; //to reset the counter and buff? sc_start 39, 60,5; getitem,-1,1;}end; where -1 means: a random item from OBB..
or if you preffer you can also use: -2,-3,-4,-5
Giving an item ID of -2 will produce the effects of Old Violet Box.
Giving an item ID of -3 will produce the effects of Old Card Album.
Giving an item ID of -4 will produce the effects of Gift Box.
Giving an item ID of -5 will produce the effects of Worn Out Scroll, which, in current SVN, drops only Jellopies anyway.