-
Posts
591 -
Joined
-
Last visited
-
Days Won
19
Community Answers
-
EL Dragon's post in UPDATED izlude map but trow into water was marked as the answer
http://www.file-upload.net/download-9130230/izlude.rar.html
remowe izlude from MapCache and make it new pure
-
EL Dragon's post in please how to disable castle, ? was marked as the answer
npc/guild and guild2
remove the catles in scripts_guild.conf
-
EL Dragon's post in Hourly cash, and cash shop was marked as the answer
1.
//===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 3 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle."); } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Kafrapoints by staying ingame for 1 hour"; dispbottom "Current Balance = "+#CASHPOINTS+" Kafrapoints"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #CASHPOINTS, #CASHPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" Kafrapoints in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#CASHPOINTS+" Kafrapoints"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. set .delay, 1000; //Delay for idle re-check check. set .dlimit, 60*5; //Stop points if afk greater then in seconds. } 2. Use @check to check cashpoints
- script check -1,{ OnInit: bindatcmd "check",strnpcinfo(3)+"::OnCheck"; end; OnCheck: dispbottom "You have " +#CASHPOINTS+ " cash points."; end; } 3. The Shop
http://rathena.org/board/files/file/2504-multi-currency-shop/
-
EL Dragon's post in Run for your life EVENT help! was marked as the answer
- script announce_RFYL -1,{
//Event Start Time
//OnClock0600: //6am
//OnClock1200: //12pm noon
OnClock1415: //2:15pm
//OnClock1800: //6pm
OnClock0000: //12pm midnight
announce "The Run For Your Life Event will begin in 3 Minutes.",0;
killmonsterall "quiz_01";
sleep 5000;
announce "The Run For Your Life NPC has appeared in Prontera!",0;
enablenpc "RFYL Warper";
sleep 55000;
announce "Event GM: Run For Your life will begin in 2 minutes.You better get ready!",0;
sleep 60000;
announce "Event GM: Run For Your Life will begin in 1 minute!",0;
sleep 30000;
mapannounce "quiz_01","In 30 seconds the monster will appear!",0;
sleep 25000;
announce "Event GM:Run For Your life Event will begin in ~5~",0;
sleep 1000;
announce "~4~",0;
sleep 1000;
announce "~3~",0;
sleep 1000;
announce "~2~",0;
sleep 1000;
announce "~1~",0;
sleep 1000;
announce "Event GM: Run For Your Life Event Has begun!!",0;
monster "quiz_01",42,369,"Agav",2500,1;
disablenpc "RFYL Warper";
sleep 10000;
monster "quiz_01",42,369,"Agav-2",2500,1;
sleep 10000;
monster "quiz_01",42,369,"Agav-3",2500,1;
sleep 10000;
monster "quiz_01",42,369,"Agav-4",2500,1;
sleep 10000;
monster "quiz_01",42,369,"Agav-5",2500,1;
initnpctimer;
end;
OnTimer5000:
if ( getmapusers("quiz_01") == 0 )
{
killmonsterall "quiz_01";
announce "Run For Your Life Event has ended.All the monsters are gone.",0;
disablenpc "Prize";
stopnpctimer;
end;
}
else if ( getmapusers("quiz_01") > 1 )
{
if ($@RFYLCounter >= 3){
switch(rand(0,2)){
case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break;
case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break;
case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break;
}
} else {
mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00;
}
sleep 10000;
set $@RFYLCounter,$@RFYLCounter+1;
initnpctimer;
end;
}
initnpctimer;
end;
OnPCDieEvent:
getmapxy .@maprfyl$,.@xrfyl,.@yrfyl,0;
if ( .@maprfyl$ == "quiz_01") {
sleep2 1;
warp "prontera",156,223;
atcommand "@alive "+ strcharinfo(0);
dispbottom "You have lost...";
}
sleep2 1000;
if ( .@maprfyl$ == "quiz_01" && getmapusers("quiz_01") == 1 ) {
killmonsterall "quiz_01";
mapannounce "quiz_01","You have won, please approach to Prize NPC.",0;
enablenpc "Prize";
set $@RFYLCounter,0;
stopnpctimer;
end;
}
end;
}
quiz_01,42,369,3 script Prize 72,{
announce "Hey "+strcharinfo(0)+" has won in Run For Your Life Event Congrats!",0;
getitem 7227,1;
warp "prontera",156,223;
sleep2 250;
disablenpc "Prize";
end;
}
prontera,152,282,3 script RFYL Warper 84,{
mes "[^0000FFRFYL Warper^000000]";
mes "Hi "+strcharinfo(0)+"";
mes "^696969Do you wish to participate in the Run For Your Life Event?^000000";
next;
switch(select("Yes","No")) {
case 1:
sc_end SC_ALL;
sc_start SC_DECREASEAGI,300000,10;
percentheal 100,100;
warp "quiz_01",42,369;
end;
break;
case 2:
mes "[^0000FFRFYL Warper^000000]";
mes "Brains brainnnss.. brains? Mind.";
mes "^696969It's really fun! Come join us when you change your mind.^000000";
close;
}
OnInit:
disablenpc "RFYL Warper";
disablenpc "Prize";
end;
}
-
EL Dragon's post in MVP autodrop TCG. HELP was marked as the answer
- script MvP_Kill -1,{
OnNPCKillEvent:
setarray .mobid[0],1511,1734,1492,1647,1785,1630,1399,1039,1874,1251,2068,1272,1719,1046,1389,1112,1115,1957,
1418,1871,1252,1768,1086,1688,1646,1373,1147,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,
1708,1312,1751,1685,1648,1917,1658; // MvP Ids
for (set .@c, 0; .@c < getarraysize(.mobid); set .@c, .@c + 1){
if (killedrid == .mobid[.@c]){
getitem 7227,1;
}
}
end;
}
-
EL Dragon's post in what add custom mobs was marked as the answer
http://rathena.org/wiki/Custom_Items
http://rathena.org/wiki/Custom_Mobs