-
Posts
1305 -
Joined
-
Last visited
-
Days Won
17
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by hendra814
-
put this after percentheal 100,100; atcommand "@identifyall"; atcommand "@repairall";
-
-
Already tried the script, but still got same error, even when killed another monster on mvp map it will change the status on the NPC. already change the script, but still have some issu, i will close this topic. i will post the script here when already solve the error. Here the fixed script. click
-
above, i'm already edit your script, try copy paste the script.
-
-
remove " " for map event - script announce_RFYL -1,{ //Event Start Time OnClock0630: //6am OnClock0930: //9am OnClock1230: //12pm noon OnClock1530: //3pm noon OnClock1830: //6pm OnClock2130: //9pm OnClock0030: //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,10; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,156,168,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; }
-
try use official rathena version. already in rathena github
-
put this script at then end of script - script Drop_extra -1,{ OnNPCKillEvent: if( strcharinfo(3) != "ordeal_3-2" ) {end;} if( rand( 100 ) <= 10) { { .@item_id = 969; getitem .@item_id,1; } end; } } player will get gold with probability rate 10% and only at map ordeal_3_2
-
Can't see other players! Default Installation!
hendra814 replied to Rumi Ex Machina's question in General Support
please check this link, is your problem same like this thread -
for all .@alive or what line number need to be change?
-
I'm using this script right now // https://www.eathena.ws/board/index.php?&act=attach&type=post&id=5866 //===== eAthena Script ======================================= //= Super Convex Mirror //===== By: ================================================== //= Brian //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= //= Detects if every MVP is alive or dead. //===== Additional Comments: ================================= //= http://www.eathena.ws/board/index.php?showtopic=242050 //============================================================ invek,141,144,0 script Super Convex Mirror::convex 46,{ for( .@i = 0; .@i < getarraysize( .mvp_name$ ); .@i++ ) { switch (.@i) { case 9: .@alive = mobcount( "lhz_dun03", "summon_boss_lt::OnMyMvPDead" ); break; case 26: .@alive = ( $ktullanux_summon < 4 || mobcount( "ice_dun03","ice_boss#on::OnMyMobDead" ) ); break; case 28: .@alive = mobcount( "niflheim", "NifInvasion::OnLoDDead" ); break; case 42: .@alive = ( $@thana_summon < 6 || mobcount( "thana_boss", "#Death::OnThanaDead" ) ); break; default: .@alive = mobcount( .mvp_map$[.@i], "" ); break; } if ( .display_type == 2 ) .@menu$ = .@menu$ + ( ( .@alive ) ? "^008000" : "^FF0000" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + "):"; else if ( .display_type == 1 ) mes ( ( .@alive ) ? "^008000" : "^FF0000" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + ")"; } if ( .display_type == 1 ) close; .@num = select( .@menu$ ) - 1; if (.warp_to_mvp == 1) warp .mvp_map$[.@num],0,0; else if(.warp_to_mvp == 2) { sleep2 1000; sc_start SC_BOSSMAPINFO,600000,0; } end; OnInit: // 0 = disabled, 1 = enabled, 2 = enabled + SC_BOSSMAPINFO .warp_to_mvp = 0; setarray .mvp_map$, "moc_pryd06","ra_fild02","ra_fild03","ra_fild04","ve_fild01", "ve_fild02","lou_dun03","prt_maze03","abbey03","lhz_dun03", "gl_chyard","abyss_03","gef_dun02","gef_dun01","treasure02", "pay_fild10","gon_dun03","abbey02","xmas_fild01","ra_san05", "prt_sewb4","mosk_dun03","man_fild03","thor_v03","ama_dun03", "kh_dun02","ice_dun03","ayo_dun02","niflheim","anthell02", "mjolnir_04","pay_dun04","gef_fild02","gef_fild14","gef_fild10", "moc_pryd04","in_sphinx5","moc_fild17","ein_dun02","xmas_dun02", "beach_dun","spl_fild03","thana_boss","tur_dun04","odin_tem03", "jupe_core","lhz_dun02"; setarray .mvp_name$, "AmonRa","Atroce","Atroce","Atroce","Atroce", "Atroce","Bacsojin","Baphomet","Beelzebub","Bio3", "DarkLord","Detale","Doppelganger","Dracula","Drake", "Eddga","EvilSnakeLord","FallenBishop","Garm","GloomUnderNight", "GoldenThiefBug","Gopinich","HardrockMammoth","Ifrit","IncantationSamurai", "KielD01","Ktullanux","LadyTanee","LordofDeath","Maya", "Mistress","MoonlightFlower","OrcHero","OrcHero","OrcLord", "Osiris","Pharaoh","Phreeoni","RSX0806","StormyKnight", "TaoGunka","TendrilLion","Thanatos","TurtleGeneral","ValkyrieRandgris", "Vesper","Ygnizem"; .display_type = 1; if( .warp_to_mvp > 0 ) .display_type = 2; end; } already could show mvp are still alive (red) or killed (green). The problem is when character already warp or change location, the npc will put back the killed MVP to alive again.
-
found how to solve it. line 33 .@alive = mobcount( .mvp_map$[.@i], "convex::OnMyMvPDead" ); .@alive = mobcount( .mvp_map$[.@i], "convex::OnMyMvPDead" ); change into .@alive = mobcount( .mvp_map$[.@i], "" );
-
yup, but must change the script., if you want use array,
-
like this setarray .@itemid1,18971,18972,18973,18974,18983,18976,18977,18978,18979,18980,18982,18983,18984;//items require
-
user arry if you want like that
-
@jawbreaker Are you have update for this npc, like player could check is the npc still alive or dead.
-
here prontera,155,183,4 script Warper 723,{ set .TicketID,501; set .TicketQT,2; mes "Hi which dungeon do you want to go?"; mes "but you must give me "+getitemname(.TicketID)+"."; switch(select("Use service.","cancel.")) { case 1: next; mes "Pick your destination."; next; .@menu$ = ""; for (.@i = 0; .@i < getarraysize(.maps$); .@i++) { .@menu$ = .@menu$ + .maps$[.@i*2] + ":"; } .@menu$ = .@menu$ + ":cancel"; .@sel = select(.@menu$)-1; if (.@sel-1 != .@i) { callsub(OnWarp,.@sel*2); break; } next; mes .name$; mes "ok, se you."; case 2: goto(OnCancel); break; } end; OnWarp: if( countitem(.TicketID) < 1 ){ mes "You don't have item "+getitemname(.TicketID)+" to use this service."; end; } .@i = getarg(0); next; mes .name$; mes "See You next time."; close2; delitem .TicketID,.TicketQT; warp .maps$[.@i+1],.xy[.@i],.xy[.@i+1]; end; OnCancel: next; mes .name$; mes "See You next time."; close; OnInit: .name$ = "[Kafra]"; // Warp List setarray .maps$[0],"pay_dun02","pay_dun02", "gl_sew03","gl_sew03", "alde_dun02","alde_dun02", "mag_dun01","mag_dun01", "gefenia01","gefenia01", "thor_v01","thor_v01", "mosk_dun01","mosk_dun01", "Gunung Krakatau","dew_dun01", "bra_dun01","bra_dun01", "Thanatos_dun","tha_t"; setarray .xy[0],146,130, 179,286, 116,179, 119,72, 46,105, 18,231, 189,48, 292,160, 81,51, 150,39; end; }
-
just example prontera,155,183,4 script Warper 723,{ set .TicketID,501; mes "Hi which dungeon do you want to go?"; mes "but you must give me "+getitemname(.TicketID)+"."; switch(select("Use service.","cancel.")) { case 1: next; mes "Pick your destination."; next; .@menu$ = ""; for (.@i = 0; .@i < getarraysize(.maps$); .@i++) { .@menu$ = .@menu$ + .maps$[.@i*2] + ":"; } .@menu$ = .@menu$ + ":cancel"; .@sel = select(.@menu$)-1; if (.@sel-1 != .@i) { callsub(OnWarp,.@sel*2); break; } next; mes .name$; mes "ok, se you."; case 2: goto(OnCancel); break; } end; OnWarp: if( countitem(.TicketID) < 1 ){ mes "You don't have item "+getitemname(.TicketID)+" to use this service."; end; } .@i = getarg(0); next; mes .name$; mes "See You next time."; close2; warp .maps$[.@i+1],.xy[.@i],.xy[.@i+1]; end; OnCancel: next; mes .name$; mes "See You next time."; close; OnInit: .name$ = "[Kafra]"; // Warp List setarray .maps$[0],"pay_dun02","pay_dun02", "gl_sew03","gl_sew03", "alde_dun02","alde_dun02", "mag_dun01","mag_dun01", "gefenia01","gefenia01", "thor_v01","thor_v01", "mosk_dun01","mosk_dun01", "Gunung Krakatau","dew_dun01", "bra_dun01","bra_dun01"; setarray .xy[0],146,130, 179,286, 116,179, 119,72, 46,105, 18,231, 189,48, 292,160, 81,51; end; }
-
Request Mvp invasion script
hendra814 replied to Jet0910's topic in Dito mag request ng Script at Database
try this - script Killa -1,{ end; OnSun0800: OnSun1300: OnSun1500: OnSun1700: OnSun1900: OnSun2100: OnWed0800: OnWed1300: OnWed1500: OnWed1700: OnWed1900: OnWed2100: OnFri0800: OnFri1300: OnFri1500: OnFri1700: OnFri1900: OnFri2100: setarray .bc_city$[0],"alberta","aldebaran","geffen","izlude","morocc","payon","prontera"; setarray .bc_monster[0],"1917","1885","1874","1871","1832","1802","1785","1779","1768","1751","1734","1719","1708","1688","1685","1658","1651","1650","1649","1648","1647","1646","1630","1623","1583","1511","1502","1492","1418","1399","1389","1373","1312","1272","1252","1251","1190","1159","1157","1150","1147","1115","1112","1087","1086","1059","1046","1038","2202"; set .@city,rand(0,getarraysize(.bc_city$)-1); set .@mvp,rand(0,getarraysize(.bc_monster)-1); announce "Danger! "+.bc_city$[.@city]+" attack by MvP!!",bc_all; //announce and end monster .bc_city$[.@city],0,0,"City Attacker",.bc_monster[.@mvp],1,"MasterMVP::OnThisMvPKilled"; end; } - script MasterMVP -1,{ end; OnThisMvPKilled: getitem 7539,100; announce "Congratulation to "+strcharinfo(0)+", has killed the MVP "+.bc_city$[.@city]+" !",bc_all; end; } -
stat seller NPC || with limit of stat points to buy
hendra814 replied to AinsLord's question in Script Requests
sorry miss understanding .@statToBe with StatBought try this prontera,147,173,4 script Stat Seller 899,{ set .@SellStatPOD, 100; //Stat Points per 1 POD set .@SellStatTCG, 50; //Stat Points per 1 TCG set .@PODid, 7179; //POD item id set .@TCGid, 7227; //TCG item id set .@MaxStat, 5000; //Maximum Stat Points allowed to sell mes "Hi ^FF0000"+strcharinfo(0)+"^000000!"; mes "Do you wish to buy Stat points?"; mes "1 POD = "+.@SellStatPOD+" stat points"; mes "1 TCG = "+.@SellStatTCG+" stat points"; mes "Maximum stat points can be purchase is "+.@MaxStat+"."; switch(select(" ~ Yes, using PODs: ~ Yes, using TCGs: ~ No")) { case 1: mes "How many PODs do you wish to exchange for stat points?"; input .@amount; if (countitem(.@PODid) < .@amount) { mes "Sorry, but don't have enough PODs in your inventory."; mes " Please come back when you have enough."; close; } set .@StatToBe = StatBought+(.@amount*.@SellStatPOD); if (.@StatToBe >= .@MaxStat) { mes "Sorry, but you're about to reach the max stat points that can be bought."; mes "You have already purchase "+StatBought+" stat points."; close; } mes "Here you go!"; mes "Please use your stat point wisely."; set StatusPoint, StatusPoint+(.@amount*.@SellStatPOD); set StatBought,StatBought+(.@amount*.@SellStatPOD); delitem .@PODid[.@StatBought],.@amount; close; case 2: mes "How many TCGs do you wish to exchange for stat points?"; input .@amount; if (countitem(.@TCGid) < .@amount) { mes "Sorry, but don't have enough TCGs in your inventory."; mes " Please come back when you have enough."; close; } set .@StatToBe = StatBought+(.@amount*.@SellStatTCG); if (.@StatToBe >= .@MaxStat) { mes "Sorry, but you're about to reach the max stat points that can be bought."; mes "You have already purchase "+StatBought+" stat points."; close; } mes "Here you go!"; mes "Please use your stat point wisely."; set StatusPoint, StatusPoint+(.@amount*.@SellStatTCG); set StatBought,StatBought+(.@amount*.@SellStatTCG); delitem .@TCGid[.@StatBought],.@amount; close; case 3: mes "I understand, Please come back to me whenever you change your mind."; close; } } -
R> Fully Scripted Morse Cave and Temple of Demon God
hendra814 replied to lyleham's question in Script Requests
You could check at this link https://rathena.org/board/topic/113650-alaynes-scripts-collection/ -
stat seller NPC || with limit of stat points to buy
hendra814 replied to AinsLord's question in Script Requests
i suppose change this part if (.@MaxStat < .@StatToBe) { mes "Sorry, but you're about to reach the max stat points that can be bought."; mes "You have already purchase "+StatBought+" stat points."; close; change into if (.@StatToBe >= .@MaxStat) { mes "Sorry, but you're already reach the max stat points that can be bought."; mes "You have already purchase "+StatBought+" stat points."; close; -
change your iteminfo.lua from zack into iteminfo.lub maybe when you diff the client you not change use custom lua files. so your client read lub files instead of lua files.
-
2017-01-25 RODEX makes client stopped working
hendra814 replied to drifterxxxx2's question in Client-side Support
maybe your client missing texture file for rodex. try use zack data files -
Need help for my Equipment Trader to point script
hendra814 replied to hendra814's question in Scripting Support
@pajodex Thanks for the guide, already solved now here my worked script. click