Jump to content

Quesooo

Members
  • Posts

    883
  • Joined

  • Last visited

Everything posted by Quesooo

  1. good day how to enable this on my database or some where i saw a merchant or alchemist or other job related to merchant class was vending on a town and not selling item but he/she was buying items any one can help?? thank you
  2. how to add the cutins in thor patcher??? to enable also on players already downloaded the full installer rog_steel_coin.wav missing
  3. good day i would like to request Scaraba hole nightmare mode thank you so much
  4. good day i want to ask where to get a domain for my server also how do i use my domain ?? any guide how to put my new domain to my flux cp or i need a website hosting for this?? just new on web please help me any third party services available willing to contact me just pm me
  5. or a preparation portal so that players can prepare for the next round thank you
  6. good day please help me to modify this script make all rounds have a timer starting to round 1 till last round with 5 seconds count down before mobs spawn again thank you here the script //===== rAthena Script ======================================= //= Devil Square //===== By: ================================================== //= Kirlein, Stillhard (translation), AnnieRuru (rewrite) //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Devil Square, based on the event in MU Online. //= Defeat three waves of monsters for treasure. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ prontera,149,194,4 script Devil Square Guardian#1 10191,{ set .@gm_level, 99; // GM level required to start/stop the event mes "[Devil Square Guardian]"; mes "This is the entrance to ^FF0000Devil Square^000000."; mes "If you fail or die, the door will close and you must wait until the event starts again to re-enter."; next; switch(select("Enter.:Information.:" + ((getgmlevel() >= .@gm_level) ? "GM Menu." : "") + ":Cancel.")) { case 1: if (.start != 1) { // registration period mes "[Devil Square Guardian]"; mes "Devil Square is now closed."; mes "It will open at these times:"; mes "00:00 , 08:00 , 16:00 , 24:00"; // display your times here close; } if (BaseLevel < 70 || Zeny < 20000) { // requirements mes "[Devil Square Guardian]"; mes "You do not meet the requirements to enter Devil Square."; mes " "; mes "Requirements:"; mes " - Base Level 70"; mes " - Registration fee 20,000z"; close; } Zeny -= 20000; announce strcharinfo(0)+" has entered Devil Square.", bc_npc; percentheal 100,100; warp "ordeal_1-1",183,182; close; case 2: mes "[Devil Square Guardian]"; mes "Inside, you will encounter 3 waves of monsters. The monsters will grow stronger with each wave."; next; mes "[Devil Square Guardian]"; mes "If you defeat all the enemies, you will be given the opportunity to open 10 Treasure Chests with items, equipment, and rare cards inside!"; close; case 3: mes "[Devil Square Guardian]"; switch (.start) { // event states case 0: mes "Devil Square has not yet started."; break; case 1: mes "Devil Square is currently accepting participants."; break; case 2: mes "Devil Square Event is currently running on Round "+ .round +" with "+ .mob +" monsters remaining."; break; } next; switch(select("Start event.:Stop event.:Cancel.")) { case 1: mes "[Devil Square Guardian]"; if (.start) mes "Devil Square has already started."; else { mes "Starting Devil Square..."; donpcevent strnpcinfo(0)+"::OnStartEvent"; } close; case 2: mes "[Devil Square Guardian]"; if (!.start) mes "Devil Square has not yet started."; else { mes "Stopping Devil Square..."; donpcevent strnpcinfo(0)+"::OnStopEvent"; } close; case 3: break; } break; case 4: break; } mes "[Devil Square Guardian]"; mes "Farewell."; close; OnStartEvent: OnClock0000: OnClock0800: OnClock1600: OnClock2400: .start = 1; disablenpc "ord11-12"; //from npc/warps/pvp.txt disablenpc "Devil Square Guardian#2"; mapannounce "ordeal_1-1","Devil Square is now closed.", bc_map; getmapxy .@map$, .@x, .@y, UNITTYPE_NPC; mapwarp "ordeal_1-1", .@map$, .@x, .@y; killmonsterall "ordeal_1-1"; announce "Devil Square is OPEN. The event will begin in 5 minutes.", bc_all; sleep 60000; announce "Devil Square will begin in 4 minutes.", bc_all; sleep 60000; announce "Devil Square will begin in 3 minutes.", bc_all; sleep 60000; announce "Devil Square will begin in 2 minutes.", bc_all; sleep 60000; announce "Devil Square will begin in 1 minute.", bc_all; sleep 60000; announce "Devil Square has STARTED!", bc_all; if ( !getmapusers("ordeal_1-1") ) goto OnStopEvent; .start = 2; .round = 1; .mob = 75; areamonster "ordeal_1-1",183,182,246,244,"[DS] SOLDIER SKELETON",1028,10,strnpcinfo(0)+"::OnDevilDead"; areamonster "ordeal_1-1",183,182,246,244,"[DS] ORC ARCHER",1189,15,strnpcinfo(0)+"::OnDevilDead"; areamonster "ordeal_1-1",183,182,246,244,"[DS] SANDMAN",1165,10,strnpcinfo(0)+"::OnDevilDead"; areamonster "ordeal_1-1",183,182,246,244,"[DS] ARCHER SKELETON",1016,15,strnpcinfo(0)+"::OnDevilDead"; areamonster "ordeal_1-1",183,182,246,244,"[DS] MINOROUS",1149,15,strnpcinfo(0)+"::OnDevilDead"; areamonster "ordeal_1-1",183,182,246,244,"[DS] REQUIEM",1164,10,strnpcinfo(0)+"::OnDevilDead"; end; OnDevilDead: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monsters remaining in round 1.", bc_map; else if ( .mob <= 0 ) { announce "Devil Square is entering round 2...", bc_map; goto OnDevil2; } end; OnDevil2: .round = 2; .mob = 70; areamonster "ordeal_1-1",183,182,246,244,"[DS] GARGOYLE",1253,15,strnpcinfo(0)+"::OnDevilDead2"; areamonster "ordeal_1-1",183,182,246,244,"[DS] ALARM",1193,10,strnpcinfo(0)+"::OnDevilDead2"; areamonster "ordeal_1-1",183,182,246,244,"[DS] HIGH ORC",1213,10,strnpcinfo(0)+"::OnDevilDead2"; areamonster "ordeal_1-1",183,182,246,244,"[DS] INJUSTICE",1257,10,strnpcinfo(0)+"::OnDevilDead2"; areamonster "ordeal_1-1",183,182,246,244,"[DS] MIMIC",1191,15,strnpcinfo(0)+"::OnDevilDead2"; areamonster "ordeal_1-1",183,182,246,244,"[DS] WRAITH",1192,10,strnpcinfo(0)+"::OnDevilDead2"; end; OnDevilDead2: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monsters remaining in round 2.", bc_map; else if ( .mob <= 0 ) { announce "Devil Square is entering round 3...", bc_map; goto OnDevil3; } end; OnDevil3: .round = 3; .mob = 58; areamonster "ordeal_1-1",183,182,246,244,"[DS] ANOLIAN",1206,15,strnpcinfo(0)+"::OnDevilDead3"; areamonster "ordeal_1-1",183,182,246,244,"[DS] WANDERER",1208,15,strnpcinfo(0)+"::OnDevilDead3"; areamonster "ordeal_1-1",183,182,246,244,"[DS] DEVIRUCHI",1109,10,strnpcinfo(0)+"::OnDevilDead3"; areamonster "ordeal_1-1",183,182,246,244,"[DS] JOKER",1131,15,strnpcinfo(0)+"::OnDevilDead3"; areamonster "ordeal_1-1",183,182,246,244,"[DS] MOONLIGHT",1150,2,strnpcinfo(0)+"::OnDevilDead3"; areamonster "ordeal_1-1",183,182,246,244,"[DS] DARK ILLUSION",1302,1,strnpcinfo(0)+"::OnDevilDead3"; end; OnDevilDead3: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monsters remaining in the final round.", bc_map; else if ( .mob <= 0 ) { announce "Devil Square : CONGRATULATIONS. These 10 Treasure Chests are yours.", bc_map; goto OnDevil4; } end; OnDevil4: .round = 4; .mob = 10; monster "ordeal_1-1",231,250,"Treasure Chest",1324,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",234,247,"Treasure Chest",1328,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",237,244,"Treasure Chest",1332,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",240,241,"Treasure Chest",1336,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",243,238,"Treasure Chest",1340,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",246,235,"Treasure Chest",1344,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",249,232,"Treasure Chest",1348,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",252,229,"Treasure Chest",1352,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",249,241,"Treasure Chest",1356,1,strnpcinfo(0)+"::OnTreasureDead"; monster "ordeal_1-1",240,249,"Treasure Chest",1360,1,strnpcinfo(0)+"::OnTreasureDead"; end; OnTreasureDead: .mob--; announce "Devil Square : "+ strcharinfo(0) +" has opened the Treasure Chest at Devil Square.", bc_all; if ( .mob <= 0 ) goto OnStopEvent; end; OnStopEvent: killmonsterall "ordeal_1-1"; enablenpc "ord11-12"; //from npc/warps/pvp.txt enablenpc "Devil Square Guardian#2"; .start = .round = .mob = 0; end; } ordeal_1-1,246,245,7 script Devil Square Guardian#2 406,{ mes "[Exit]"; mes "Farewell."; close2; warp "SavePoint",0,0; end; } ordeal_1-1 mapflag nowarp ordeal_1-1 mapflag nowarpto ordeal_1-1 mapflag noteleport ordeal_1-1 mapflag monster_noteleport ordeal_1-1 mapflag nosave SavePoint ordeal_1-1 mapflag nomemo ordeal_1-1 mapflag nobranch ordeal_1-1 mapflag nopenalty ordeal_1-1 mapflag noicewall
  7. working on coupon to zeny convert but coupon to zeny is not working czeny: next; mes "Input Coupon Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem 7588, .@czeny; set #ZENY,#ZENY+.@zenytotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@czeny+" coupons to "+.@zenytotal+" Zeny."; dispbottom "You now have "+#ZENY+" Zeny"; dispbottom "========================================="; close; OnInit: set 7588, 909; end; }
  8. // Healing Aura Angel===================================================================================== prontera,155,203,4 script Mystical Fountain#prt 111,{ mes "You starring at the Mysterious Aura emitting from it, feel a strong breeze, it refreshes your mind."; end; OnInit: //======================================================= // You can also disable this if you don't want the special effect to play, it'll get annoying after awhile lol. .@on = 1; //Set this to 0 to turn it off //====================================================== if(.@on){ OnTimer60000: //Timer for this npc to apply specialeffects, default timer is 60000 (1 minute) initnpctimer; specialeffect 76; specialeffect 83; end; } } //alberta,36,244,5 duplicate(Mystical Fountain#prt) Mystical Aura#alb1 111 //aldebaran,135,125,5 duplicate(Mystical Fountain#prt) Mystical Aura#alde1 111 //amatsu,200,80,5 duplicate(Mystical Fountain#prt) Mystical Aura#ama1 111 //ayothaya,155,111,5 duplicate(Mystical Fountain#prt) Mystical Aura#ayo1 111 //comodo,188,162,5 duplicate(Mystical Fountain#prt) Mystical Aura#com1 111 //geffen,120,66,5 duplicate(Mystical Fountain#prt) Mystical Aura#gef1 111 //gonryun,164,130,5 duplicate(Mystical Fountain#prt) Mystical Aura#gon1 111 //izlude,125,118,5 duplicate(Mystical Fountain#prt) Mystical Aura#izl1 111 //louyang,225,103,5 duplicate(Mystical Fountain#prt) Mystical Aura#lou1 111 //morocc,159,96,5 duplicate(Mystical Fountain#prt) Mystical Aura#mor1 111 //niflheim,188,180,5 duplicate(Mystical Fountain#prt) Mystical Aura#nif1 111 //payon,180,105,5 duplicate(Mystical Fountain#prt) Mystical Aura#pay1 111 //umbala,94,162,5 duplicate(Mystical Fountain#prt) Mystical Aura#umb1 111 //xmas,149,136,5 duplicate(Mystical Fountain#prt) Mystical Aura#xmas1 111 //yuno,152,186,5 duplicate(Mystical Fountain#prt) Mystical Aura#yuno1 111 //mid_camp,210,283,5 duplicate(Mystical Fountain#prt) Mystical Aura#mid1 111 // Healing Aura Effect ======================================================================================= prontera,155,203,4 script HealingFountain -1,32,28,{ //this is the radius of the npc "not diameter" so 28 means 28 steps (box) away from npc OnTouch: sc_end SC_STONE; sc_end SC_SLOWDOWN; sc_end SC_FREEZE; sc_end SC_SLEEP; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLEEDING; sc_end SC_DECREASEAGI; sc_end SC_POISON; sc_end SC_HALLUCINATION; sc_end SC_STRIPWEAPON; sc_end SC_STRIPARMOR; sc_end SC_STRIPHELM; sc_end SC_STRIPSHIELD; sc_end SC_CHANGEUNDEAD; sc_end SC_ORCISH; sc_end SC_BERSERK; sc_end SC_SKE; sc_end SC_SWOO; sc_end SC_SKA; sc_end SC_BURNING; sc_end SC_FREEZING; sc_end SC_FEAR; specialeffect2 EF_RECOVERY; sc_start SC_BLESSING,300000,3; sc_start SC_INCREASEAGI,300000,3; if (@lastTick < gettimetick(2)) { set @lastTick, (gettimetick(2) + .delay * 60); dispbottom "^99CC66The Bad status alignments and Your HP and SP is rapidly recovering due to present of fountain nearby."; } if(.@boost == 1){ if(.@blessing == 1) { specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10; } if(.@agi == 1) { specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10; } if(.@assumptio == 1) { specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5; } if(.@angelus == 1) { specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10; } if(.@Magnificat == 1) { specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5; } } end; //============================================================================= OnAuraOff: callfunc "Disablesetting001"; end; OnBoostOn: set .@boost, 1; end; OnHealOn: set .@healboost, 1; end; OnBlessOn: set .@blessing, 1; end; OnAgiOn: set .@agi, 1; end; OnAssumOn: set .@assumptio, 1; end; OnMagniOn: set .@Magnificat, 1; end; OnAngelusOn: set .@angelus, 1; end; //========================================================================= OnInit: //=========Setting============================== set .@timeset, 10; //Set this for how long does the buff last on the user (In Minutes) set .delay, 5; // delay in minutes set .@buffer, 1;// set .@duration, .@timeset *= 60000; //Do not touch this /* set .timer_refresh_rate, 500; //how many ms per timer refresh...keep less than 1000 (in milliseconds) set .change_state_sleep, 3000; set .banner_refresh_rate, 10; //how many seconds per banner refresh...keep 1 or above (in seconds) */ //============================================== OnTimer500: //Timer to re-run this script 500 = 0.5 second.(Do not set lower than 500 as it may cause memory leak / lag to clients due to the mass area healing code) initnpctimer; getmapxy(.@m$,.@x,.@y,1,strnpcinfo(0)); if(.@boost == 1) && (.@healboost == 1) { areapercentheal .@m$,.@x-32,.@y-28,.@x+32,.@y+28,20,20; //you can customize how large the AoE of the zone and the healing amount (minimum 1% last time) } else { areapercentheal .@m$,.@x-32,.@y-28,.@x+32,.@y+28,6,6; //The passive non boosted AoE healing amount. (cannot go below 1%) } end; } //alberta,36,244,5 duplicate(HealingFountain) Mystical Fountain#alb -1,32,28 //aldebaran,135,125,5 duplicate(HealingFountain) Mystical Fountain#alde -1,32,28 //amatsu,200,80,5 duplicate(HealingFountain) Mystical Fountain#ama -1,32,28 //ayothaya,155,111,5 duplicate(HealingFountain) Mystical Fountain#ayo -1,32,28 //comodo,188,162,5 duplicate(HealingFountain) Mystical Fountain#com -1,32,28 //geffen,120,66,5 duplicate(HealingFountain) Mystical Fountain#gef -1,32,28 //gonryun,164,130,5 duplicate(HealingFountain) Mystical Fountain#gon -1,32,28 //izlude,125,118,5 duplicate(HealingFountain) Mystical Fountain#izl -1,32,28 //louyang,225,103,5 duplicate(HealingFountain) Mystical Fountain#lou -1,32,28 //morocc,159,96,5 duplicate(HealingFountain) Mystical Fountain#mor -1,32,28 //niflheim,188,180,5 duplicate(HealingFountain) Mystical Fountain#nif -1,32,28 //payon,180,105,5 duplicate(HealingFountain) Mystical Fountain#pay -1,32,28 //umbala,94,162,5 duplicate(HealingFountain) Mystical Fountain#umb -1,32,28 //xmas,149,136,5 duplicate(HealingFountain) Mystical Fountain#xmas -1,32,28 //yuno,152,186,5 duplicate(HealingFountain) Mystical Fountain#yuno -1,32,28 //mid_camp,210,283,5 duplicate(HealingFountain) Mystical Fountain#mid -1,32,28 // Healing Aura Manager ======================================================================================== prontera,152,196,4 script Fountain Priest 101,{ if(.@boost == 1){ mes "^FF00CC[Fountain Priest]^000000"; mes "The following Auras is in effect.^0099CC"; if(.@healboost == 1) mes "Healing Boost."; if(.@blessing == 1) mes "Blessing."; if(.@agi == 1) mes "Increase Agi."; if(.@assumptio == 1) mes "Assumptio."; if(.@Magnificat == 1) mes "Magnificat."; if(.@Angelus == 1) mes "Angelus."; close; } else;{ OnMenu: mes "^FF00CC[Fountain Priest]^000000"; mes "I am here to manage the donation for the fountain."; mes "What can I do for you today"; switch(select("I would like to give offering to the fountain:What is this?:What does offerings do?:Cancel")) { case 1: next; callfunc "Disablesetting001"; //These are here incase people cancel the menu selection pre-maturelly. goto OnNewBuff; end; case 2: next; mes "^FF00CC[Fountain Priest]^000000"; mes "This is the fountain of the gods, that has appeared for us adventurers to heal our body and minds."; next; mes "^FF00CC[Fountain Priest]^000000"; mes "If you wish, you could also gives offering to the fountain for gods to grants us even powerful aura."; next; goto OnMenu; end; case 3: next; mes "[Fountains Priest]"; mes "Offerings given to the fountain will grant us a powerful blessings from god."; next; mes "^FF00CC[Fountain Priest]^000000"; mes "In addition, players who gave offerings will receive a mysterious reward(s) depending on number of offerings."; mes "And have their name announce to the world for doing so."; next; goto OnMenu; end; case 4: close; } end; } end; OnInit: /* while (1) { set .remainTime, gettimetick(1); set .bannerTimer, .remainTime - (.remainTime % .banner_refresh_rate) + .banner_refresh_rate; set .min, .bannerTimer / 60; set .sec, .bannerTimer - .min * 60; set .hr, .min / 60; set .min, .min - .hr * 60; set .roomMsg$, .waitMsg$[.state] + .hr + ":" + ((.min < 10 )?"0":"") + .min + ":" + ((.sec < 10 )?"0":"") + .sec; sleep .timer_refresh_rate; } while (2) { //only updates if msg is different set .banner$, getwaitingroomstate(4, strnpcinfo(3)); if(getvariableofnpc(.roomMsg$, "Fountain Keeper") != .banner$) { delwaitingroom; waitingroom getvariableofnpc(.roomMsg$, "Fountain Keeper"), 0; } sleep 500; } */ OnTimer3600000: //Here to set the duration of the aura effect on fountain. set .@boost, 0; //Do not touch these, these are switch to turn off everyone when the server booted itself and when the time is up callfunc "Disablesetting001"; donpcevent "HealingFountain::OnAuraOff"; stopnpctimer; announce "The fountain's blessing from god has been depleted.",bc_blue; end; OnNewBuff: // Offering Cost===================================================================== set .healcost, 50000; // offering costs (in zeny) set .blesscost, 30000; set .agicost, 30000; set .assumcost, 20000; set .magnicost, 10000; set .angeluscost, 10000; //=================================================================================== next; mes "^FF00CC[Fountain Priest]^000000"; mes "You can select multiple offering before the final confirmation."; mes "The following buff selected listed below:-^0099CC"; if(.@healboost == 1) mes "Healing Boost."; if(.@blessing == 1) mes "Blessing."; if(.@agi == 1) mes "Increase Agi."; if(.@assumptio == 1) mes "Assumptio."; if(.@Magnificat == 1) mes "Magnificat."; if(.@Angelus == 1) mes "Angelus."; if(.@healboost == 1) { set .healcost2, .healcost; } else { set .healcost2, 0; } if(.@blessing == 1) { set .blesscost2, .blesscost; } else { set .blesscost2, 0; } if(.@agi == 1) { set .agicost2, .agicost; } else { set .agicost2, 0; } if(.@assumptio == 1) { set .assumcost2, .assumcost; } else { set .assumcost2, 0; } if(.@Magnificat == 1) { set .magnicost2, .magnicost; } else { set .magnicost2, 0; } if(.@Angelus == 1) { set .angeluscost2, .angeluscost; } else { set .angeluscost2, 0; } set .amount, 0; set .amount, .healcost2 + .blesscost2 + .agicost2 + .assumcost2 + .magnicost2 + .angeluscost2; if(.amount > 0) mes "^000000The total amount would be ^0033FF"+.amount+" ^CC3300zeny. ^000000"; switch(select("Healing Boost^00FFFF["+.healcost+" zeny]^000000:Blessing^00FFFF["+.blesscost+" zeny]^000000:Increase Agility^00FFFF["+.agicost+" zeny]^000000:Assumptio^00FFFF["+.assumcost+" zeny]^000000:Magnificat^00FFFF["+.magnicost+" zeny]^000000:Angelus^00FFFF["+.angeluscost+" zeny]^000000:Confirmation:Cancel")){ case 1: if(.@healboost == 1){ set .@healboost, 0; } else { set .@healboost, 1; } goto OnNewBuff; end; case 2: if(.@blessing == 1){ set .@blessing, 0; } else { set .@blessing, 1; } goto OnNewBuff; end; case 3: if(.@agi == 1){ set .@agi, 0; } else { set .@agi, 1; } goto OnNewBuff; end; case 4: if(.@assumptio == 1){ set .@assumptio, 0; } else { set .@assumptio, 1; } goto OnNewBuff; end; case 5: if(.@Magnificat == 1){ set .@Magnificat, 0; } else { set .@Magnificat, 1; } goto OnNewBuff; end; case 6: if(.@Angelus == 1){ set .@Angelus, 0; } else { set .@Angelus, 1; } goto OnNewBuff; end; case 7: if (.amount == 0) { mes "^FF00CC[Fountain Priest]^000000"; mes "You did not select any buffs, are you sure about canceling the services?"; switch(select("No:Yes")) { case 1: goto OnNewBuff; end; case 2: mes "^FF00CC[Fountain Priest]^000000"; mes "Please do come back if you changed your mind."; callfunc "Disablesetting001"; close; end; } } else { mes "^FF00CC[Fountain Priest]^000000"; mes "............."; next; mes "^FF00CC[Fountain Priest]^000000"; mes "The total amount would be ^0033FF"+.amount+" ^CC3300zeny. ^000000"; mes "Would you like to proceed?"; switch(select("Yes please.:No thank you.")){ case 1: if(.amount > Zeny){ mes "^FF00CC[Fountain Priest]^000000"; mes "It seems you do not have enough Zeny for the offering."; next; mes "^FF00CC[Fountain Priest]^000000"; mes "Please do come back when you have enough."; callfunc "Disablesetting001"; close; end; } else { Zeny -= .amount; set .@boost, 1; dispbottom "^99CC66You have thrown ^0033FF"+.amount+" zeny ^99CC66into the fountain, the fountain now emitting an invisible aura."; initnpctimer; if(.@boost) donpcevent "HealingFountain::OnBoostOn"; if(.@healboost) donpcevent "HealingFountain::OnHealOn"; if(.@blessing) donpcevent "HealingFountain::OnBlessOn"; if(.@agi) donpcevent "HealingFountain::OnAgiOn"; if(.@assumptio) donpcevent "HealingFountain::OnAssumOn"; if(.@Magnificat) donpcevent "HealingFountain::OnMagniOn"; if(.@Angelus) donpcevent "HealingFountain::OnAngelusOn"; announce "^The kind hearted ^66FF66["+ strcharinfo(0) +"] ^0000FFhave paid his offering to the fountain.",bc_blue; announce "The fountain have received the blessing from god for a limited time.",bc_blue; next; mes "^FF00CC[Fountain Priest]^000000"; mes "The Fountain has received it's offering."; mes "Thank you for your kindness, everyone shall know your kind deeds in this world."; next; dispbottom "^99CC66Something just appeared into your pocket, you went and check it out."; if(.@healboost) callfunc "FountainLuckyDraw001"; if(.@blessing) callfunc "FountainLuckyDraw001"; if(.@agi) callfunc "FountainLuckyDraw001"; if(.@assumptio) callfunc "FountainLuckyDraw001"; if(.@Magnificat) callfunc "FountainLuckyDraw001"; if(.@Angelus) callfunc "FountainLuckyDraw001"; if(.@drawcount = 0) dispbottom "^99CC66You checked ur pocket and did not find anything in it, guess it's just your imagination."; close; end; } case 2: mes "^FF00CC[Fountain Priest]^000000"; mes "Please do come back if you changed your mind."; callfunc "Disablesetting001"; close; end; } } case 8: mes "^FF00CC[Fountain Priest]^000000"; mes "As you wish."; callfunc "Disablesetting001"; close; end; } } // Reward lucky draw system, you can change this into anything you want. function script FountainLuckyDraw001 { set .@luckydraw1,rand(100); if(.@luckydraw1 <= 10) {getitem 6480,1; set .@drawcouont,1;} //Event coin ( 10% chance ) if(.@luckydraw1 >= 70) {getitem 12405,1; set .@drawcouont,1;} //unripped yggseed (recovers 30% hp & sp, and cast lvl 3 blessing on the user (30% chance) return; // Return to script } function script Disablesetting001 { //This is for disabling settings (change them back to 0) to avoid having script messed up. set .@boost, 0; set .@healboost, 0; set .@blessing, 0; set .@agi, 0; set .@assumptio, 0; set .@Magnificat, 0; set .@Angelus, 0; set .healcost2, 0; set .blesscost2, 0; set .agicost2, 0; set .assumcost2, 0; set .magnicost2, 0; set .angeluscost2, 0; return; } can you try this ??
  9. Trunk/rathena/npc/custom Home/rathena/npc/custom Root/rathena/npc/custom
  10. script is not working cant figure out whats the problem the item cannot be deleted also donot add kafra point after converting same on the next menu for zeny and coupon is not working also
  11. Quesooo

    whosell

    I will search that thank you Any recompile guide?? That will not delete all.my works I recompile also before but my server is gone hahahaha i think ive been search and do a wrong guide
  12. Quesooo

    whosell

    Thank you... i add this before but my server crash when i try to reload and restart server via console do i missed something to do?
  13. Quesooo

    whosell

    where to put this?? ACMD_DEF(whosell)
  14. npc have 2 option 1 is for coupon to kafra points ( 1 coupon is equal to 1 kafra point ) 2 is coupon to zeny ( 1 coupon is equal to 5000 zeny )
  15. item to kafra points and the other choices is item to zeny
  16. i recomend you to use this easy to configure credits to owner this is helpful
  17. i will this test thank you
  18. inside my data.ini folder [Data] 0=fenrir.grf 1=data.grf 2=rdata.gr 3=dresspack.grf 4=styles.grf
  19. dont know sir when i click view item on other character the pop up show also when i viewing an items
  20. thank you sir can you guide me how to do it thank you
  21. where is the wav files? how to make the lure to be consumable so that players cant afk if there lure is 0
  22. good day how do i fix this please help
×
×
  • Create New...