Sirique

Members
  • Content Count

    33
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

5 Neutral

About Sirique

  • Rank
    Drops

Profile Information

  • Gender
    Male
  • Server
    AspectRO

Recent Profile Visitors

935 profile views
  1. Thank you, I'll give it a try right away and let you know. Edit: I tried to use both [email protected]$ and [email protected]$, but it didn't work. No errors but the name of the npc doesn't show @Mabuhay. I fixed the tuxedo issue, tho. Just made it wearable so they can at least get married now. I'm at work for the moment and I don't remember the exact error, but there's a new error when the players get married, you don't get like the animation and Vomas speech, but they do get officially married.
  2. Hi everyone, I was wondering if someone could help me with a recurrent issue I have with the Same Sex Marriage script from npc/custom/ect/marriage.txt: //===== rAthena Script ======================================= //= Wedding Script //===== By: ================================================== //= AppleGirl, Evera //===== Current Version: ===================================== //= 2.9 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Fully working wedding script for all kind of weddings //===== Additional Comments: ================================= // 1.1 Lesbian and Gay Weddings [ShadowLady] // 2.0 Complete Rewrite [Skotlex] // 2.9 Somewhat iRO-official NPC names [DracoRPG] //============================================================ // Configuration Variables: - script marriage_init -1,{ OnInit: set [email protected]_allow, 1; //If 1, allows same sex marriages. set [email protected]_veil, 0; //Set to 0 to disable veil check on the bride //Id of the item that is traded for the wedding ring (use 0 to disable): set [email protected]_ring, 2613; set [email protected]_groom_reg, 1300000; //Registration cost for the Groom set [email protected]_bride_reg, 1200000; //Registration cost for the Bride set [email protected]_divorce_fee, 50000; //Divorcing fee set [email protected]_effect, 1; //On who to display the FX: 0: Priest, 1: Bride, 2: Groom end; } // Other Configuration: // Line 61,62: Priest location, sprite and name. // Line 437,438: Registration location, sprite and name. // Line 813,814: Divorcing location, sprite and name. // Variable Notes: // $wed_progress Signals that there is a wedding in progress // $wed_groom$ - Groom's name storage // $wed_groom_sex - Groom's gender (for same marriage ring giving) // $wed_bride$ - Bride's name storage // $wed_bride_sex - Groom's gender (for same marriage ring giving) // $wed_groom_progress - Notes the progress on the groom's part // $wed_bride_progress - Notes the progress on the bride's part // 0: Not registered. 1: Registered. 2: Accepted the partner. 3: Ready to // Retrieve the ring. 4: Retrieved the ring. 5: All set to be wed. 6: Already // a couple. // ceremony. // $wedding_effect_id - When wedding_effect is enabled, sets the ID of the // player to show the effect on. // $divorce_progress signals that there is a divorce in progress // [email protected]rcer$ name of the person who requested divorce // [email protected] id of the partner, who has to accept the divorce and pay. //The Priest - official iRO sprite & in-dialog name (on-map name not confirmed) prt_church,100,123,4 script Vomars 60,{ set @name$,"Vomars"; function SF_wed_end; function SF_equip_check; function SF_Groom; function SF_Bride; function SF_AcceptGroom; function SF_AcceptBride; function SF_RetrieveRingM; function SF_RetrieveRingF; function SF_RingsAccepted; function SF_StartCeremony; if (getpartnerid() > 0) { mes "["[email protected]$+"]"; mes "You have my blessings, have a wonderful married life."; close; } if ($wed_progress == 0) { // Official iRO dialog mes "["[email protected]$+"]"; mes "You must apply for"; mes "marriage with Happy Marry"; mes "before you can get married."; mes "Happy Marry will let you know"; mes "what else you'll need to do"; mes "to prepare for marriage"; close; } // End official iRO dialog if (strcharinfo(0) == $wed_groom$) { SF_Groom(); end; } if (strcharinfo(0) == $wed_bride$) { SF_Bride(); end; } mes "["[email protected]$+"]"; if ($wed_groom_progress == 0 || $wed_bride_progress == 0) { mes "There is a wedding being planned. I would appreciate it if you would not interrupt me."; close; } if ($wed_groom_progress == 6) { mes "I am wedding "+$wed_groom$+" and "+$wed_bride$+", and it's already too late to object. Please let me continue."; close; } mes "I am going to wed "+$wed_groom$+" and "+$wed_bride$+", do you have an objection to it?"; if (select("Sorry, please go on.","Yes, I actually do.") == 2) { //Abort npctalk @name$ +" : Ladies and gentlemen, "+strcharinfo(0)+" has an objection to the wedding!"; SF_wed_end(); mes "Why should they not be wed?"; input [email protected]$; npctalk @name$ +" : "+ strcharinfo(0) +"'s objection is: "[email protected]$; emotion ET_CRY; mes "I see..."; } else mes "Very well, go sit and enjoy the ceremony."; close; function SF_Groom { if ($wed_bride_progress == 0) { mes "["[email protected]$+"]"; mes "Looks like your bride has yet to arrive and register."; close; } if (SF_equip_check() == 0) close; switch($wed_groom_progress) { case 1: SF_AcceptBride(); break; case 2: mes "["[email protected]$+"]"; mes "I am waiting for your partner to accept you to start the ceremony."; close; case 3: SF_RetrieveRingM(); break; case 4: mes "["[email protected]$+"]"; mes "Your partner's wedding ring hasn't been retrieved yet. The ceremony will start as soon as you both have claimed your rings."; close; case 5: mes "["[email protected]$+"]"; SF_StartCeremony(); break; default: mes "["[email protected]$+"]"; mes "Please don't interrupt me now."; close; } } function SF_Bride { if ($wed_groom_progress == 0) { mes "["[email protected]$+"]"; mes "Looks like your groom has yet to arrive and register."; close; } if (SF_equip_check() == 0) close; switch ($wed_bride_progress) { case 1: SF_AcceptGroom(); break; case 2: mes "["[email protected]$+"]"; mes "I am waiting for your partner to accept you to start the ceremony."; close; case 3: SF_RetrieveRingF(); break; case 4: mes "["[email protected]$+"]"; mes "Your partner's wedding ring hasn't been retrieved yet. The ceremony will start as soon as you both have claimed your rings."; close; case 5: mes "["[email protected]$+"]"; SF_StartCeremony(); break; default: mes "["[email protected]$+"]"; mes "Please don't interrupt me now."; close; } } function SF_AcceptGroom { mes "["[email protected]$+"]"; mes $wed_bride$+", "+$wed_groom$+" has requested to be your husband for the rest of your life. Do you accept?"; next; switch(select("I need time to think about it.","No, I don't!","Yes, I do!")) { case 1: mes "["[email protected]$+"]"; mes "You what!?"; mes "err.. *cough* *cough* very well... come back after you've made up your mind."; emotion ET_ANGER; close; case 2: mes "["[email protected]$+"]"; mes "!!"; mes "Ah... err... ehm... okay. You two seem to have some differences to settle first."; close2; emotion ET_HUK; npctalk @name$ +" : Ladies and gentlemen, "+$wed_bride$+" has rejected to marry "+$wed_groom$+"!"; SF_wed_end(); break; case 3: set $wed_bride_progress,2; if ($wed_groom_progress == 2) { SF_RingsAccepted(); break; } emotion ET_OK; mes "["[email protected]$+"]"; mes "After your groom approves, you will be given your rings, the ceremony will begin and you will be officially married."; close; } } function SF_AcceptBride { mes "["[email protected]$+"]"; mes $wed_groom$+", "+$wed_bride$+" has requested to be your wife for the rest of your life. Do you accept?"; next; switch(select("I need time to think about it.","No, I don't!","Yes, I do!")) { case 1: mes "["[email protected]$+"]"; mes "You what!?"; mes "err.. *cough* *cough* very well... come back after you've made up your mind."; emotion ET_ANGER; close; case 2: mes "["[email protected]$+"]"; mes "!!"; mes "Ah... err... ehm... okay. You two seem to have some differences to settle first."; emotion ET_HUK; close2; npctalk @name$ +" : Ladies and gentlemen, "+$wed_groom$+" has rejected to marry "+$wed_bride$+"!"; SF_wed_end(); break; case 3: set $wed_groom_progress,2; if ($wed_bride_progress == 2) { SF_RingsAccepted(); break; } emotion ET_OK; mes "["[email protected]$+"]"; mes "After your bride approves, you will be given your rings, the ceremony will begin and you will be officially married."; close; } } function SF_RingsAccepted { mes "["[email protected]$+"]"; mes "Now that you both have accepted, the wedding will begin. Please come forth, you and your partner, to retrieve your rings."; set $wed_bride_progress,3; set $wed_groom_progress,3; announce $wed_groom$+" and "+$wed_bride$+"'s wedding ceremony will be held at the church!",8; close2; emotion ET_THROB; npctalk @name$ +" : May the groom and bride please step forward and retrieve their rings?"; } function SF_RetrieveRingM { mes "["[email protected]$+"]"; if ([email protected]_ring && countitem([email protected]_ring) < 1) { mes "What happened to your "+getitemname([email protected]_ring)+"? You didn't lose it... did you? We need it to continue with the ceremony!"; close; } if ($wed_bride_sex) set @item, 2634; //Groom's wedding ring else set @item, 2635; //Bride's wedding ring if (getnameditem(@item,$wed_groom$) == 0) { mes "You don't seem to have enough space to carry the ring... go free up some space and come back to reclaim your partner's ring."; close; } mes "Here's the wedding ring for your bride."; if ([email protected]_ring) delitem [email protected]_ring,1; set $wed_groom_progress,4; if ($wed_bride_progress == 4) SF_StartCeremony(); else { mes "Once your bride retrieves the ring, the ceremony will begin."; close; } } function SF_RetrieveRingF { mes "["[email protected]$+"]"; if ([email protected]_ring && countitem([email protected]_ring) < 1) { mes "What happened to your "+getitemname([email protected]_ring)+"? You didn't lose it... did you? We need it to continue with the ceremony!"; close; } if ($wed_groom_sex) set @item, 2634; //Groom's wedding ring else set @item, 2635; //Bride's wedding ring if (getnameditem(@item,$wed_bride$) == 0) { mes "You don't seem to have enough space to carry the ring... go free up some space and come back to reclaim your partner's ring."; close; } mes "Here's the wedding ring for your groom."; if ([email protected]_ring) delitem [email protected]_ring,1; set $wed_bride_progress,4; if ($wed_groom_progress == 4) SF_StartCeremony(); else { mes "Once your groom retrieves the ring, the ceremony will begin."; close; } } function SF_StartCeremony { mes "I will now start the wedding ceremony, and you will be declared forth husband and wife."; set $wed_bride_progress,5; set $wed_groom_progress,5; set [email protected]$,$wed_groom$; if (strcharinfo(0) == $wed_groom$) set [email protected]$,$wed_bride$; if (marriage([email protected]$) == 0) { next; mes "["[email protected]$+"]"; mes "Where is "[email protected]$+"?? I can't marry you both if one is missing..."; close; } set $wed_bride_progress,6; set $wed_groom_progress,6; initnpctimer; close; } OnTimer1000: npctalk @name$ +" : Ladies and Gentlemen, We will now join in holy matrimony these two lovers."; end; OnTimer5000: npctalk @name$ +" : Now more than ever, will both of your lives be entwined together as so will be your souls."; end; OnTimer10000: npctalk @name$ +" : You will both honor and cherish each other through the best and worst of times."; end; OnTimer15000: npctalk @name$ +" : The safety and well being of your other will now also be your responsibility."; end; OnTimer20000: npctalk @name$ +" : May in sickness or good health, your love burn bright like no force can extinguish it."; end; OnTimer25000: npctalk @name$ +" : Those here stand witness to these vows bestowed upon you, you must act accordingly to them."; end; OnTimer30000: npctalk @name$ +" : Understanding that, we are nothing more but mortals on this earth, but this is our triumph."; end; OnTimer35000: npctalk @name$ +" : We here will now join these two mortal entities, and create an immortal love."; end; OnTimer40000: npctalk @name$ +" : "+ $wed_groom$ +", you have accepted to take "+$wed_bride$+" as your lawfully wedded wife,"; end; OnTimer45000: npctalk @name$ +" : and you, "+$wed_bride$+", have accepted take "+$wed_groom$+" as your lawfully wedded husband."; end; OnTimer50000: npctalk @name$ +" : And as such, now, by the powers vested in me..."; end; OnTimer55000: npctalk @name$ +" : I pronounce you Husband and Wife, you may kiss the bride and exchange rings."; if ($wedding_effect_id && isloggedin($wedding_effect_id)) { attachrid($wedding_effect_id); wedding; detachrid; } else wedding; SF_wed_end(); stopnpctimer; end; //Subfunction: Checks that the groom/bride is still wearing their stuff. function SF_equip_check { if (Sex == SEX_MALE && getequipid(EQI_ARMOR) != 7170) { mes "["[email protected]$+"]"; mes "Child, what did you do with your "+getitemname(7170)+"?"; emotion ET_THINK; return 0; } if (Sex == SEX_FEMALE && getequipid(EQI_ARMOR) != 2338) { mes "["[email protected]$+"]"; mes "Child, you are supposed to wear a "+getitemname(2338)+" at all times during the ceremony..."; emotion ET_THINK; return 0; } if (Sex == SEX_FEMALE && [email protected]_veil && getequipid(EQI_HEAD_TOP) != 2206) { mes "["[email protected]$+"]"; mes "Child, you can't take off your "+getitemname(2206)+" yet...."; emotion ET_THINK; return 0; } return 1; } //Subfunction: Resets wedding variables. function SF_wed_end { set $wed_groom$,""; set $wed_groom_sex, 0; set $wed_bride$,""; set $wed_bride_sex, 0; set $wed_groom_progress,0; set $wed_bride_progress,0; set $wed_progress,0; set $wedding_effect_id,0; } OnInit: if ($wed_groom_progress==6) { SF_wed_end(); } end; } //Registration & Status prt_church,106,99,3 script Happy Marry 67,{ set @name$,"Marry"; if (getpartnerid() > 0) { mes "["[email protected]$+"]"; mes "Isn't marriage beautiful?"; close; } function SF_WedProgress; function SF_Principles; function SF_Procedure; function SF_Register; function SF_TryRegister; if ($wed_progress) { SF_WedProgress(); end; } do { mes "["[email protected]$+"]"; mes "Marriage... is such a beautiful thing."; mes "Would you like to get married with someone?"; next; set @menu, select( "I'll be single forever!", "Explain the principles of marriage.", "Explain the marriage procedure.", "I want to get married with someone." ); switch (@menu) { case 1: //Quit mes "["[email protected]$+"]"; mes "In that case, enjoy your bachelor's life."; close; case 2: //Principles SF_Principles(); break; case 3: //Procedure SF_Procedure(); break; case 4: //Register SF_Register(); break; } } while (@menu > 1); end; function SF_Register { if ([email protected]_allow) { //Role select mes "["[email protected]$+"]"; mes "Very well, whom would you like to register as?"; next; set @submenu, select("Groom","Bride","Cancel"); } else if (Sex == SEX_MALE) { //Groom mes "["[email protected]$+"]"; mes "Very well, will you register as the Groom?"; next; if (select("Yes","I've changed my mind.")==1) set @submenu, 1; else set @submenu, 3; } else { //Bride mes "["[email protected]$+"]"; mes "Very well, will you register as the Bride?"; next; if (select("Yes","I've changed my mind.")==1) set @submenu, 2; else set @submenu, 3; } switch (@submenu) { case 1: //Groom SF_TryRegister(0); set $wed_progress,1; mes "["[email protected]$+"]"; mes "You are now registered as the groom."; mes "Tell your bride to register as soon as possible."; emotion ET_SCRATCH; initnpctimer; close; case 2: //Bride SF_TryRegister(1); set $wed_progress,1; mes "["[email protected]$+"]"; mes "You are now registered as the bride."; mes "Tell your groom to register as soon as possible."; emotion ET_SCRATCH; initnpctimer; close; default: //Cancel mes "["[email protected]$+"]"; mes "Come back when you are ready."; close; } } function SF_WedProgress { if (strcharinfo(0) == $wed_groom$) { mes "["[email protected]$+"]"; if ($wed_bride_progress > 0) mes "The Priest will handle the rest of the ceremony."; else mes "Tell your bride to register, what is taking so long? Time is running out."; close; } if (strcharinfo(0) == $wed_bride$) { mes "["[email protected]$+"]"; if ($wed_groom_progress > 0) mes "The Priest will handle the rest of the ceremony."; else mes "Tell your groom to register, what is taking so long? Time is running out."; close; } if (($wed_groom_progress == 0) && (Sex == SEX_MALE || [email protected]_allow == 1)) { mes "["[email protected]$+"]"; mes $wed_bride$+" is waiting for the groom to register. Are you the one who came to register as groom?"; next; if (select("Yes, I am.","Sorry, you got the wrong person.") == 1) { SF_TryRegister(0); stopnpctimer; set $wed_groom_progress,1; mes "["[email protected]$+"]"; mes "Very well, now go to the Priest to reaffirm your vows and the ceremony will begin."; emotion ET_BEST; close2; npctalk @name$ +" : Registration finished. "+$wed_groom$+" and "+$wed_bride$+", please reaffirm your vows with the Priest."; emotion ET_BEST; end; } else { mes "["[email protected]$+"]"; mes "I see. Sorry to have bothered you then."; close; } } if (($wed_bride_progress == 0) && (Sex == SEX_FEMALE || [email protected]_allow == 1)) { mes "["[email protected]$+"]"; mes $wed_groom$+" is waiting for the bride to register. Are you the one who came to register as the bride?"; next; if(select("Yes, I am.","Sorry, you got the wrong person.") == 1) { SF_TryRegister(1); stopnpctimer; mes "["[email protected]$+"]"; mes "Very well, now go to the Priest to reaffirm your vows and the ceremony will begin."; emotion ET_BEST; close2; npctalk @name$ +" : Registration finished. "+$wed_groom$+" and "+$wed_bride$+", please reaffirm your vows with the Priest."; emotion ET_BEST; end; } else { mes "["[email protected]$+"]"; mes "I see. Sorry to have bothered you then."; close; } } mes "["[email protected]$+"]"; mes "There is a wedding in progress."; mes "Would you like to know the progress of said wedding?"; next; if (select("Yes","No") != 1) { mes "["[email protected]$+"]"; mes "Enjoy the wedding."; close; } //Display Progress mes "["[email protected]$+"]"; switch ($wed_groom_progress) { case 0: mes "The groom has not registered yet."; break; case 1: mes "The groom, "+$wed_groom$+", has yet to accept the bride."; break; case 2: mes "The groom, "+$wed_groom$+", is waiting for the bride's acceptance."; break; case 3: mes "The groom, "+$wed_groom$+", has yet to retrieve the ring."; break; case 4: mes "The groom, "+$wed_groom$+", is waiting for the bride to retrieve the ring."; break; } switch ($wed_bride_progress) { case 0: mes "The bride has not registered yet."; break; case 1: mes "The bride, "+$wed_bride$+", has yet to confirm the groom."; break; case 2: mes "The bride, "+$wed_bride$+", is waiting for the groom's acceptance."; break; case 3: mes "The bride, "+$wed_bride$+", has yet to retrieve the ring."; break; case 4: mes "The bride, "+$wed_bride$+", is waiting for the groom to retrieve the ring."; break; case 5: mes "We are just waiting for both "+$wed_groom$+" and "+$wed_bride$+" to be together to marry them."; break; case 6: mes $wed_groom$+" and "+$wed_bride$+"'s wedding ceremony is already well on it's way."; break; } mes "Enjoy the remaining of the wedding."; close; } OnInit: if ($wed_groom_progress + $wed_bride_progress == 1) initnpctimer; end; OnTimer60000: //Registration failed. if ($wed_bride_progress == 1) set [email protected]$, $wed_bride$; else set [email protected]$, $wed_groom$; npctalk @name$ +" : Registration timed out. Is there no one who wants to marry "[email protected]$+"..?"; emotion ET_SCRATCH; set $wed_groom$,""; set $wed_groom_sex, 0; set $wed_bride$,""; set $wed_bride_sex, 0; set $wed_groom_progress,0; set $wed_bride_progress,0; set $wed_progress,0; stopnpctimer; end; //Subfunction SF_TryRegister (int bride) function SF_TryRegister { set @bride, getarg(0); set @type$, "groom"; if (@bride) set @type$, "bride"; mes "["[email protected]$+"]"; mes "Before registering as "[email protected]$+", let me check if you meet all the requirements..."; next; if (Upper == 2) { mes "["[email protected]$+"]"; mes "Oh dear, you are too young to be thinking of marriage!"; emotion ET_SURPRISE; close; } if (Sex == SEX_MALE) set @item, 7170; else set @item, 2338; if (getequipid(EQI_ARMOR) != @item) { mes "["[email protected]$+"]"; mes "You should be wearing a "+getitemname(@item)+" if you want to get married."; close; } if (Sex == SEX_FEMALE && [email protected]_veil && getequipid(EQI_HEAD_TOP) != 2206) { mes "["[email protected]$+"]"; mes "Where is your "+getitemname(2206)+"? It's a necessary complement to your dress."; close; } if ([email protected]_ring && countitem([email protected]_ring) < 1) { mes "["[email protected]$+"]"; mes "Where's the ring? You need a "+getitemname([email protected]_ring)+" for the ring exchange, dear."; close; } if (@bride) set @cost, [email protected]_bride_reg; else set @cost, [email protected]_groom_reg; if (Zeny < @cost) { mes "["[email protected]$+"]"; mes "I am sorry, but you don't have enough to pay for the registration fee."; mes "Come back once you have collected "[email protected]+"z."; close; } set Zeny,[email protected]; sc_start SC_Wedding,3600000,1; //Start Wedding Effect (SC_WEDDING) if (@bride) { set $wed_bride_progress,1; set $wed_bride$,strcharinfo(0); set $wed_bride_sex, Sex; if ([email protected]_effect == 1) //Store account id for effect. set $wedding_effect_id, getcharid(3); } else { set $wed_groom_progress,1; set $wed_groom$,strcharinfo(0); set $wed_groom_sex, Sex; if ([email protected]_effect == 2) //Store account id for effect. set $wedding_effect_id, getcharid(3); } } //Explain wedding principles... function SF_Principles { mes "["[email protected]$+"]"; mes "Weddings are performed by our local Priest with the intent of promoting love and peace among the loving couples."; next; mes "["[email protected]$+"]"; mes "The proposal must be done with prudence and courtesy, once the wedlocks have been made, they cannot be undone."; next; mes "["[email protected]$+"]"; mes "The two who have been joined by marriage must remain together forever until the day death do them apart."; next; mes "["[email protected]$+"]"; if ([email protected]_allow == 1) mes "Although normally only males can wed females (and vice versa), our local Priest is more open-minded than that and he permits all pairings regardless of gender."; else mes "Males may only wed with females, and females only with males, the church will not consent any other kind of partnerships."; next; mes "["[email protected]$+"]"; mes "If there is a significant other with whom you want to spend the rest of your life with, then don't be shy to propose."; next; mes "["[email protected]$+"]"; mes "I wish for many blessings upon couples who wish to live happily ever after..."; next; } //Explain the wedding procedure... function SF_Procedure { mes "["[email protected]$+"]"; mes "First of all, both groom and bride must register with me."; next; if ([email protected]_allow == 1) { mes "["[email protected]$+"]"; mes "The registration requirements are:"; mes "- Males must be wearing a "+getitemname(7170)+"."; mes "- Females must be wearing a "+getitemname(2338)+"."; if ([email protected]_veil) mes "- Females must also wear a "+getitemname(2206)+"."; if ([email protected]_ring) mes "- Both must own a "+getitemname([email protected]_ring)+" each."; if ([email protected]_groom_reg > 0) mes "- The registration fee for the groom is "[email protected]_groom_reg+"z."; if ([email protected]_bride_reg > 0) mes "- The registration fee for the bride is "[email protected]_bride_reg+"z."; } else { mes "["[email protected]$+"]"; mes "The registration requirements for the groom are:"; mes "- To be wearing a "+getitemname(7170)+"."; if ([email protected]_ring) mes "- To own a "+getitemname([email protected]_ring)+"."; if ([email protected]_groom_reg > 0) mes "- Pay a Registration fee of "[email protected]_groom_reg+"z."; next; mes "["[email protected]$+"]"; mes "The registration requirements for the bride are:"; mes "- To be wearing a "+getitemname(2338)+"."; if ([email protected]_veil) mes "- To be wearing a "+getitemname(2206)+"."; if ([email protected]_ring) mes "- To own a "+getitemname([email protected]_ring)+"."; if ([email protected]_bride_reg > 0) mes "- Pay a Registration fee of "[email protected]_bride_reg+"z."; } next; mes "["[email protected]$+"]"; mes "I shouldn't need to mention this, but adopted kids are too young to get married."; mes "Both groom and bride must register within a minute of each other, or the wedding will be cancelled. So be sure you both are ready and meet the registration requirements beforehand."; next; mes "["[email protected]$+"]"; mes "After both have registered with me, you have to go pledge your vows to the Priest and accept your registered partner. If for some reason you reject your registered partner, the wedding will be cancelled..."; next; mes "["[email protected]$+"]"; mes "If you both accept each other, then the wedding has been decided and the ceremony will begin."; if ([email protected]_ring) { mes "But first, you need to get your rings ready."; next; mes "["[email protected]$+"]"; mes "Talk to the priest once more, and he will exchange your "+getitemname([email protected]_ring)+" for a wedding ring. After you both have claimed the rings for exchanging, the ceremony will begin."; } next; mes "["[email protected]$+"]"; mes "If there are various couples who desire to marry, you should keep in order, for the Priest can only handle one wedding at a time."; next; } } prt_church,94,99,4 script Sister Lisa 79,{ set @name$,"Lisa"; function SF_DivorceEnd; function SF_InProgress; if ([email protected]_progress==1) { goto SF_InProgress; end; } do { mes "["[email protected]$+"]"; mes "Divorcing can be such a sad event..."; if (getpartnerid() == 0) { mes "People shouldn't make shallow vows to others, don't you think?"; close; } mes "You wouldn't want to divorce, by any chance?"; next; set @menu, select( "I am happy as I am, thank you.", "Explain the divorce.", "Explain Requirements.", "I want to divorce." ); switch (@menu) { case 1: mes "["[email protected]$+"]"; mes "Good to hear."; close; case 2: //Explanation mes "["[email protected]$+"]"; mes "Even though it is said that once the wedlocks have been made they cannot be undone, sometimes it is necessary to undo our mistakes from the past.."; next; mes "["[email protected]$+"]"; mes "It is sad, but true. If you happen to have married the wrong person, it is possible to divorce, rather than spend the rest of your life with the wrong one."; next; break; case 3: //Requirement mes "["[email protected]$+"]"; mes "In order to file for divorce, I need you both to agree to it."; mes "After you file in for divorce, your spouse has one minute to agree, and then you will both be divorced."; if ([email protected]_divorce_fee > 0) mes "The fee is of "[email protected]_divorce_fee+"z and is paid by the person who confirms the divorce, so plan ahead of time how you will divide the costs."; next; break; case 4: //Divorce mes "["[email protected]$+"]"; mes "You should not regret the choices you've made in life."; mes "Are you positively sure about getting divorced?"; next; if (select("Wait... I need to think about it.","Absolutely") != 2) { mes "["[email protected]$+"]"; mes "You should think this through."; close; } mes "["[email protected]$+"]"; set [email protected],getpartnerid(); set [email protected]$,strcharinfo(0); set [email protected]_progress,1; initnpctimer; mes "Very well, get your partner to confirm, and I will collect the fee for filing the divorce then."; close; } } while (@menu > 1); end; function SF_InProgress { if (strcharinfo(0) == [email protected]$) { mes "["[email protected]$+"]"; mes "...I am still waiting for your partner to confirm the divorce procedure."; close; } if (getcharid(0) != [email protected]) { mes "["[email protected]$+"]"; mes "I am in the progress of divorcing "[email protected]$+"."; mes "Do you know who the spouse is?"; close; } //Confirm... mes "["[email protected]$+"]"; mes [email protected]$+" has asked to divorce you. If you accept, and have the fee of "[email protected]_divorce_fee+"z at hand, I will proceed to divorce you two."; mes "So, should I proceed with the divorce?"; next; if (select("I don't want to divorce....","Yes, we have agreed to this.")!=2) { mes "["[email protected]$+"]"; mes "I hope you can work things out."; emotion ET_GOODBOY; goto SF_DivorceEnd; close; } if (Zeny < [email protected]_divorce_fee) { mes "["[email protected]$+"]"; mes "Well, I can't file your divorce because you don't have enough for the fee. Get your partner to lend you some?"; close; } if (!(divorce())) { mes "["[email protected]$+"]"; mes "Where has "[email protected]$+" gone to? I can't divorce you unless you both are here..."; emotion ET_PROFUSELY_SWEAT; close; } set Zeny,[email protected]_divorce_fee; announce [email protected]$+" has just divorced "+strcharinfo(0)+"...", 8; mes "["[email protected]$+"]"; mes "Your divorce has been filed. You are no longer wed."; emotion ET_CRY; goto SF_DivorceEnd; close; } function SF_DivorceEnd { stopnpctimer; set [email protected]_progress,0; set [email protected],0; set [email protected]$,""; } OnTimer60000: npctalk @name$ +" : Divorce confirmation time's is up. Where did "[email protected]$+"'s spouse go..."; emotion ET_QUESTION; SF_DivorceEnd(); end; } The error is the following: Also each time the player in question tried to get married the npc "Happy Marry" told him he needs to wear the tuxedo but it's a misc item and it should just continue the process. Hopefully any of you guys have an idea. Kind Regards, Sirique
  3. Hi everyone, I was wondering if any of you guys could help me out with this script of Wheel Of Fortune below. What I need is that each individual player could only use it once a day. Would it be possible to have a daily usage per IP or Mac Address (I have gepard). //===================Wheel Of Fortune===================\\ - script Wheel_of_Fortune FAKE_NPC ,{ OnInit: disablenpc("Wheel of Fortune#Main"); // disablenpc("Hussein#WOF"); .Eventname$ = "[Wheel Of Fortune]"; end; OnClock1500: OnClock1630: OnClock1900: OnClock2200: OnStart: .Start = true; announce(sprintf("%s : The event will begin in 1 minute, in the Secret Gambling Room.", .Eventname$), bc_blue | bc_all); initnpctimer(); end; OnTimer60000: // 1 min enablenpc("Wheel of Fortune#Main"); // enablenpc("Hussein#WOF"); announce(sprintf("%s : Come to Secret Gambling Room and test your luck", .Eventname$), bc_blue | bc_all); end; OnTimer1800000: // 30 mins announce(sprintf("%s : One more minute, do your last spin!", .Eventname$), bc_blue | bc_all); end; OnTimer1860000: // 31 mins OnEndEvent: .Start = false; announce(sprintf("%s : The event is now over.", .Eventname$), bc_blue | bc_all); stopnpctimer(); disablenpc("Wheel of Fortune#Main"); // disablenpc("Hussein#WOF"); end; OnCommand: if ([email protected]_numparameters != 1) { dispbottom(sprintf("Usage: %s <start/end>", [email protected]_command$), 0x00FF00); dispbottom(sprintf("%s failed.", [email protected]_command$), 0x00FF00); end; } if ([email protected]_parameters$[0] == "start") { if (!.Start) donpcevent(sprintf("%s::OnStart", strnpcinfo(NPC_NAME))); else { dispbottom("The Wheel of Fortune has already started.", 0x00FF00); dispbottom(sprintf("%s failed.", [email protected]_command$), 0x00FF00); } } else if ([email protected]_parameters$[0] == "end") { if (.Start) donpcevent(sprintf("%s::OnEndEvent", strnpcinfo(NPC_NAME))); else { dispbottom("The Wheel of Fortune is not active.", 0x00FF00); dispbottom(sprintf("%s failed.", [email protected]_command$), 0x00FF00); } } else { dispbottom(sprintf("Usage: %s <start/end>", [email protected]_command$), 0x00FF00); dispbottom(sprintf("%s failed.", [email protected]_command$), 0x00FF00); } end; } vip_lounge,145,60,3 script Wheel of Fortune#Main 2_SLOT_MACHINE,{ OnTalk: if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) { mes(.Eventname$); mes("You are out of Zeny"); mes("and have no more"); mes("free spins. Come back"); mes("next time for more!"); close(); } [email protected]$ = (#freewheelfortunespin > 0) ? sprintf(", but you, my friend, have %d free spin%s!", #freewheelfortunespin, (#freewheelfortunespin == 1) ? "" : "s") : "."; cutin("aca_salim02", 2); addtimer(1, sprintf("%s::OnEndEvent", strnpcinfo(NPC_NAME))); mes(.Eventname$); mes("Do you want to spin the wheel?"); mes(sprintf("It costs ^FF0000%d Zeny^000000 to play%s", .Zeny_Cost, [email protected]$)); next(); while (true) { if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) callsub(S_End); switch (select( (#freewheelfortunespin > 0) ? sprintf("Yes! Use free spin! (%d left)", #freewheelfortunespin) : "", (Zeny >= .Zeny_Cost ) ? sprintf("Yes! Use Zeny. (costs %dz)", .Zeny_Cost) : "", "No (Leave)" )) { // pay with free spin case 1: if (#freewheelfortunespin > 0) { if ((#freewheelfortunespin -= 1) < 0) #freewheelfortunespin = 0; callsub(S_Spin); } else callsub(S_End); break; // Pay with zeny case 2: if (Zeny >= .Zeny_Cost) { Zeny -= .Zeny_Cost; callsub(S_Spin); } else { cutin("aca_salim02", 2); mes(.Eventname$); mes("Awww, you don't have enough to gamble..."); mes(" "); mes("Have you ever heard?"); mes("'Money isn't all that matters' Got it?"); mes("Byeeeeeeeeeeeeee ;)"); callsub(S_End); } break; default: callsub(S_End); } } // Wheel spin animation S_Spin: [email protected] = rand(.Sector_Range[0], .Sector_Range[1]); [email protected] = [email protected] * 2 - 1; [email protected] = .Spin_Speed; for ([email protected] = 0; [email protected] < .nbTurns; [email protected]++) { [email protected] = .Cutin_Range[0]; while ([email protected] <= .Cutin_Range[1]) { cutin(sprintf("%s%d", .Cutin$, [email protected]), 4); sleep2([email protected]); [email protected]++; [email protected] += 1; // not ++, because you may want to adjust the stopping +1 +2 +3 } } [email protected] = .Cutin_Range[0]; while ([email protected] < [email protected]) { cutin(sprintf("%s%d", .Cutin$, [email protected]), 4); sleep2([email protected]); [email protected]++; } cutin(sprintf("%s%d", .Cutin$, [email protected]), 4); if (.Prize_ID[[email protected]] == -1) { // Free spin if (.Sound_Effects) soundeffect("wheel_jackpot.wav", 0); announce(sprintf("[%s] : Wow, %dx more Free spins!!!", .Eventname$, .Prize_Qty[[email protected]]), bc_blue | bc_self); #freewheelfortunespin = #freewheelfortunespin == 0 ? .Prize_Qty[[email protected]] : #freewheelfortunespin + .Prize_Qty[[email protected]]; } else if (.Prize_ID[[email protected]] == 0) { // Nothing if (.Sound_Effects) soundeffect("wheel_lost.wav", 0); announce(sprintf("[%s] : Awwww, no luck in your gamble, more luck in love...", .Eventname$), bc_blue | bc_self); } else { // Item if (.Sound_Effects) soundeffect("wheel_won.wav", 0); announce(sprintf("[%s] : %dx %s - enjoy your prize!", .Eventname$, .Prize_Qty[[email protected]], getitemname(.Prize_ID[[email protected]])), bc_blue | bc_self); getitem(.Prize_ID[[email protected]], .Prize_Qty[[email protected]]); } sleep2(1000); if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) { mes(.Eventname$); mes("You are out of Zeny"); mes("and have no more"); mes("free spins. Come back"); mes("next time for more!"); close(); } return; S_End: close2(); OnEndEvent: cutin("", 255); end; OnInit: .Eventname$ = "Wheel Of Fortune"; bindatcmd("wof", "Wheel_of_Fortune::OnCommand", 99, false); .Spin_Speed = 50; // What is the base spin speed? (ms) .nbTurns = 2; // How many times the arrow makes a complete turn, before entering the stopping routine .Zeny_Cost = 100000; // How much zeny does it cost for a spin? .Sound_Effects = true; // Enable sound effects? (true/false) // You must have a total of 10 prizes. DO NOT remove 0 or -1 from the array and do not // change their order. setarray(.Prize_ID[1], -1, 6046, 13277, 12187, 617, 607, 603, 604, 0, 23093); setarray(.Prize_Qty[1], 2, 1, 1, 1, 3, 3, 3, 3, 0, 1); // Don't touch below .Cutin$ = "WheelOfFortune_"; setarray(.Sector_Range, 1, 10); // Sector range setarray(.Cutin_Range, 0, 19); // Cutin range end; } Hopefully someone will be able to guide me throughout this process. Kind Regards, -Sirique
  4. I suppose this has been fixed, but for anyone who still needs help with it: Make sure to select this diff to re-organize your menu buttons.
  5. Hi there @nasagnilac, do you have more information about how you fix this? Thank you.
  6. Hi everyone, I would like to know if it would be possible to have an answer from any of you guys. This is my clientinfo.xml and all the trans job names are the ones from iRO. Like Whitesmith is Mastersmith, Clown is Ministrel just to name a few. https://ibb.co/F66dxPG : here you can see a screenshot of Mastersmith. <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>america</servicetype> <servertype>primary</servertype> <connection> <display>Dev Server</display> <balloon>5x/5x/7x</balloon> <desc></desc> <address>******</address> <port>6900</port> <version>55</version> <langtype>1</langtype> <registrationweb></registrationweb> <aid> <admin></admin> </aid> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> </loading> </connection> </clientinfo> If I change to any of the other langtype numbers, the job names are correct. But I wanna keep that font and all my lub files are correct, they all contain the usual job names. Hopefully someone will be able to light the way to a fix. Thank you everyone, Sirique
  7. Sirique

    AfrielRO

    Discord: https://discord.gg/T8QrpDG Website: https://afrielro.com (Still in creation process) Forum: https://forum.afrielro.com AfrielRO is a new low rate pre-renewal server that thrives to offer its players a classic yet new and exciting experience. Right now the Afriel is in the creation process and the official opening date is set to 30/11/2019. Our mentality is really focused on offering a place where veterans and newcomers are gonna enjoy Ragnarok Online the way it should. Every content we implement & create is modified to be as stable and balanced to the max. We offer an anti P2W environnement, which means we only offer costumes in our Cash Shop. The reason is simple, the whole staff at Afriel is still very passionate by this game and we simply want to share this with all of our players. Players are still gonna be able to acquire cool consumables and other interesting items with Poring Coins for example (Event Currency). But what matters most to us is that everyone will have the chance to participate and obtain the items they wish for without spending any real money. Base: 10x Job: 10x Drop: 7x Card / Item / Equipement: 7x Mvp Item / Equipement Drop: 1x Mvp Card Drop: 1x Quest: 5x Pre-Renewal Episode 11.3 Nameless Main Town: Alyssandra (Custom Town) Max Level: 99/70 Max Stats: 99 Max Attack Speed: 190 Instant Cast: 150 Dex Gepard 3.0 DDOS Protection Afriel Novice Training Ground Start-up Freebies NPC Town Warper Stylist Automated Events Manager [1] = Dices. [2] = Find the Porings. [3] = Escape from the Bombrings. [4] = Guess the Monster. [5] = Pick the candy. [6] = Devil Square. [7] = Cluckers. Various Headgear Custom Quests Air Force Hourly & Daily Rewards Cash Shop (NO P2W!! Only Costumes) Event Cash Shop (Use Poring Coins to get some very useful usable items) Black Market @commands @event & @events @rates @uptime @showdelay @mobinfo / @mi @iteminfo / @ii @whodrops @time @jailtime @hominfo @homstats @showexp @showzeny @whereis @noks @autotrade @request @breakguild @channel @langtype @whosell @whobuy @arealoot @refresh @partybuff / @spb Daily Monster Invasion (Izlude) Race Of The Day & Monster Of The Day Gramps Monster Invasion Endless Cellar (For later Episode) Endless Tower (For later Episode) BM Wide Map Hunting Missions Extended Battleground System (The first modes to be released are gonna be Conquest & Team Deathmatch) Ghost's PvP System Vanilla WoE WoE SE (To be released when the staff will judge the time is right) Guild Package Guild Member Package RWC Battleground 2012
  8. Thanks a lot to you mate! Really appreciate it. It works perfectly!
  9. Thank you for your answer, sadly I already tried that, and got both unit error and the one from my first post. OnPoripori: instance_announce [email protected],"Pori Pori: What..... what is happening? How could I..... lose.....",bc_map,0xFFD700; sleep2 5000; instance_announce [email protected],"Pori Pori: I'll return when I've healed, then..... then you'll all suffer!!!",bc_map,0xFFD700; enablenpc instance_npcname("EC_Arc_Pori", instance_id()); sleep2 15000; getpartymember getcharid(1), 2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; } instance_destroy instance_id(); end; }
  10. Edit: Fixed! Thanks to @Cretino! Hello everyone, I have an error regarding the following Endless Cellar's script. //===================================================================================================== //= Endless Cellar 2: The Endless Cellar //==== Credits ======================================================================================== //= Chilly //= Saithis (for allowing me to use many parts of his endless Cellar script) //==== Version ======================================================================================== //= 1.0 //===== Compatible With =============================================================================== //= eAthena SVN //==== Description ==================================================================================== //= A custom sequel to Endless Cellar containing almost all the monsters that were not in the original Cellar. 77 floors total and mvps are every 4 floors. //= Angel Pori Pori is the same as the Eternal Brazier in Endless Cellar, this also applies to the Arc Pori Pori and Lost Soul npcs. //= Excluded monsters: Great Demon Baphomet because he has the skill NPC_INVINCIBLE, and any monsters that drop quest items like Kublin and Hellion Revenant for example. //==== Changelog ====================================================================================== //= 1.0 First Release //===================================================================================================== // = Settings // ==================================================================================================== e_tower,76,79,0 script Cellar Protection Stone 2_MONEMUS,{ set [email protected]_id, getcharid(1); set [email protected]_leader, ( getcharid(0) == getpartyleader([email protected]_id,2) ); set [email protected]_instance, EC_INSTANCE_ID > 0; mes "^0055FF[ "+.instance_name$+" ]^000000"; mes "We're now recruiting people to enter in " + .instance_name$ + " and eliminate all the monsters that live there. Could you lend us a hand on this ?"; mes " "; next; switch( select( ( [email protected]_id && [email protected]_leader && [email protected]_instance )?"Enter " + .instance_name$:"", ( [email protected]_id && [email protected]_instance )?"Return " + .instance_name$:"", ( [email protected]_id && [email protected]_leader && [email protected]_instance )?"Destroy " + .instance_name$:"", "Nevermind." )){ case 1: set [email protected]_delay, ( instance_delay_cellar - gettimetick(2) ); if( [email protected]_instance == 0 && [email protected]_delay > 0 ) { mes "You have to wait : ^FF0000"[email protected]_delay+" Seconds.^000000"; close; } getpartymember [email protected]_id,2; if( .min_party_member >= 1 ){ set [email protected], getcharid(3); set [email protected], gettimetick(2); for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) ){ set [email protected]_count, [email protected]_count + 1; if( BaseLevel < .base_level[0] || BaseLevel > .base_level[1] ) set [email protected], [email protected]|1; if( Zeny < .instance_zeny ) set [email protected], [email protected]|2; if( instance_delay_arena > [email protected] ) set [email protected], [email protected]|4; if( [email protected] ){ set [email protected]$, strcharinfo(0); break; } } attachrid( [email protected] ); } if(EC_INSTANCE_ID > 0) { getpartymember getcharid(1),2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; } instance_destroy instance_id(); } if( [email protected]$ != "" && [email protected] ){ mes "^FF0000[ Failed ]^000000"; mes "^0055FF"[email protected]$+"^000000, You cannot join right now."; mes " "; mes "^FF0000[ Reason: ]^000000"; if( [email protected] & 1 ) mes "^777777You must be Level: "+.base_level[0]+" - "+.base_level[1]+"^000000"; if( [email protected] & 2 ) mes "^777777You need "+ .instance_zeny +" Zeny^000000"; if( [email protected] & 4 ) mes "^777777You still have cooldown.^000000"; break; } getpartymember getcharid(1),0; if (instance_check_party([email protected]_id, .min_party_member, .base_level[0], .base_level[1]) == 0) { mes "^0055FF[ "+.instance_name$+" ]^000000"; mes "Make or join a party with at least "+.min_party_member+" member and try again, with level between " +.base_level[0] + " and " + .base_level[1] + "."; break; } else{ //RATHENA set [email protected], instance_create( .instance_name$ ); //HERCULES //set [email protected], instance_create( .instance_name$, [email protected]_id, IOT_PARTY ); if( [email protected] < 0 ) { npctalk .instance_name$ + " reservation failed."; mes "^0000FF"+.instance_name$+" ^000000- Reservation Failed!"; close; } mes "^0055FF[ "+.instance_name$+" ]^000000"; mes "^0000FF"+.instance_name$+" ^000000 - Reserved"; set [email protected], gettimetick(2); getpartymember [email protected]_id,2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) ){ set instance_delay_cellar, ( [email protected] + ( .instance_delay )); set Zeny, Zeny - .instance_zeny; set EC_INSTANCE_ID, [email protected]; dispbottom "["+.instance_name$+"] -"+ .instance_zeny +" Zeny and Instance Cooldown Applied."; } attachrid( [email protected] ); npctalk .instance_name$ + " has been generated for Party - "+getpartyname( [email protected]_id ); //HERCULES //for( set [email protected], 0; [email protected] < getarraysize(.map$); set [email protected],[email protected]+1 ) //{ // if( instance_attachmap( .map$[[email protected]],[email protected] ) == "" ){ // setmapflag .map$[[email protected]],mf_zone,"Memorial Dungeon"; // npctalk .instance_name$ + " reservation failed due to map attach failure."; // mes "- ^FF0000Reservation Failed!^000000"; // instance_destroy( [email protected] ); // set [email protected], -1; // close; // } //} //instance_set_timeout .instance_delay,300,[email protected]; //instance_init([email protected]); } case 2: if( EC_INSTANCE_ID <= 0 ){ npctalk .instance_name$ + " doesn't exist for Party - "+getpartyname( [email protected]_id ); } else{ getmapxy([email protected]$, [email protected], [email protected], BL_PC); save [email protected]$, [email protected], [email protected]; //RATHENA switch(instance_enter(.instance_name$)) { default: mes "An unknown error has occurred."; close; case 2: mes "The memorial dungeon " + .instance_name$ + " does not exist."; mes "The party leader did not generate the dungeon yet."; close; case 1: mes "You can enter the dungeon after making the party."; close; case 0: mapannounce .map$[0], strcharinfo(0)+" from party, " +getpartyname( [email protected]_id )+", is entering the dungeon, "+.instance_name$+".",bc_map,"0x00ff99",FW_NORMAL,12; close; } //HERCULES //savepoint [email protected]$, [email protected], [email protected]; //if( has_instance( .map$[0] ) == "" ){ // mes .instance_name$ + " doesnt exist for Party - "+getpartyname( [email protected]_id ); //} //else{ // warp .map$[0],96,395; // instance_announce instance_id(), getpartyname(getcharid(1))+" entered in the "+.instance_name$+"!",bc_map,"0x00ff99"; //} } break; case 3: mes "Endless Cellar Destroyed."; instance_destroy EC_INSTANCE_ID; getpartymember getcharid(1),2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; } break; default: break; } close; OnPCLoginEvent: OnPCLogoutEvent: set EC_INSTANCE_ID, -1; end; OnInit: setarray .base_level[0],90, 99; setarray .time_limit[0],14400,300; setarray .map$[0],"[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"; set .map_size, getarraysize( .map$ ); set .min_party_member, 1; set .instance_zeny, 100000; set .instance_delay, 0; set .instance_name$, "Endless Cellar"; end; } // = EC_Manager // ==================================================================================================== //[email protected],106,392,1 script EC_Manager HIDDEN_WARP_NPC,{ [email protected],106,392,4 script Angel Pori Pori::EC_Manager 948,{ function EC_Spawns; if(getgmlevel() >= 'EC_GM){ mes "Hi, Master!"; next; switch(select("Skip GM Menu:Set to Level:Warp to Level:instance infos:Delete Instance:Cancel")){ case 1: break; case 2: mes "to which level should I set the instance?"; next; input [email protected],0,77; if([email protected] == 0) close; set 'EC_Floor,[email protected]; killmonsterall instance_mapname("[email protected]", instance_id()); killmonsterall instance_mapname("[email protected]", instance_id()); killmonsterall instance_mapname("[email protected]", instance_id()); killmonsterall instance_mapname("[email protected]", instance_id()); for(set [email protected],1; [email protected] < 'EC_Floor && [email protected] < 77; set [email protected],[email protected] + 1) enablenpc instance_npcname("ECwarp_"[email protected], instance_id()); EC_Spawns(); mes "Should I warp you there now?"; next; if(select("Yes:No") == 2) close; case 3: if([email protected]){ mes "Input the Level you want to warp to:"; next; input [email protected],0,77; if([email protected] == 0) close; } if([email protected] == 77) warp instance_mapname("[email protected]", instance_id()),97,391; else { setarray [email protected][0],96,184,270,354; setarray [email protected][0],393,309,221,137,51; set [email protected],[email protected][(([email protected]) % 20) % 4]; set [email protected],[email protected][(([email protected]) % 20) / 4]; warp instance_mapname((([email protected]) / 20 + 1)+"@new", instance_id()),[email protected],[email protected]; } close; case 4: mes "Floor: "+'EC_Floor; mes "Lasttime varibale: "+'EC_Lasttime; if('EC_Floor == 77) set [email protected]$,instance_mapname("[email protected]", instance_id()); else if('EC_Floor < 77) set [email protected]$,instance_mapname((('EC_Floor-1) / 20 + 1)+"@new", instance_id()); mes "Alive mobs(variable): "+'EC_Mobs; mes "Alive mobs(real): "+mobcount([email protected]$, instance_npcname("EC_Manager",instance_id())+"::OnMobDead"); close; case 5: mes "Are you sure?"; next; if(select("Yes:No") == 2) close; getpartymember getcharid(1),2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; } instance_destroy instance_id(); close; default: close; } } mes "[Angel Pori Pori]"; mes "Om nom nom. If you give me a yummy Dark Ash I'll warp you down to the 40th floor."; next; if(select("40th Level::Cancel") == 2) close; if(countitem('EC_AshID) < 1){ mes "[Angel Pori Pori]"; mes "Aww, you don't have a Dark Ash. Come back when you do."; close; } if('EC_Floor >= 41) { delitem 'EC_AshID,1; warp instance_mapname("[email protected]", instance_id()),96,393; end; } if(getpartyleader(getcharid(1),2) != getcharid(0)){ mes "[Angel Pori Pori]"; mes "Only the party leader can give me a Dark Ash."; close; } set 'EC_Floor,41; killmonsterall instance_mapname("[email protected]", instance_id()); killmonsterall instance_mapname("[email protected]", instance_id()); EC_Spawns(); for(set [email protected],1; [email protected] < 'EC_Floor && [email protected] < 77; set [email protected],[email protected] + 1) enablenpc instance_npcname("ECwarp_"[email protected],instance_id()); delitem 'EC_AshID,1; warp instance_mapname("[email protected]", instance_id()),96,393; end; function EC_Spawns { if('EC_Floor == 77) { set [email protected]$, "[email protected]"; } else { getmapxy([email protected]$,[email protected],[email protected],BL_NPC,("ECwarp_"+'EC_Floor)); set [email protected]$, (('EC_Floor-1) / 20 + 1)+"@new"; } switch('EC_Floor){ case 1: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),91,349,137,375,"Fabre",1007,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,349,137,375,"Picky",1049,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,349,137,375,"Picky",1050,10,strnpcinfo(3)+"::OnMobDead"; break; case 2: set 'EC_Mobs,30; areamonster instance_mapname([email protected]$),179,349,225,375,"Willow",1010,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Wolf",1013,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Creamy",1018,10,strnpcinfo(3)+"::OnMobDead"; break; case 3: set 'EC_Mobs,30; areamonster instance_mapname([email protected]$),265,349,311,375,"Condor",1009,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Peco Peco",1019,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Muka",1055,10,strnpcinfo(3)+"::OnMobDead"; break; case 4: set 'EC_Mobs,26; areamonster instance_mapname([email protected]$),349,349,395,375,"Greatest General",1277,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"Eddga",1115,1,strnpcinfo(3)+"::OnMobDead"; break; case 5: set 'EC_Mobs,30; areamonster instance_mapname([email protected]$),91,265,137,291,"Spore",1014,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Poison Spore",1077,15,strnpcinfo(3)+"::OnMobDead"; break; case 6: set 'EC_Mobs,45; areamonster instance_mapname([email protected]$),179,265,225,291,"Crab",1073,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Shellfish",1074,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Aster",1266,15,strnpcinfo(3)+"::OnMobDead"; break; case 7: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),265,265,311,291,"Vadon",1066,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Cornutus",1067,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Marina",1141,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Plankton",1161,10,strnpcinfo(3)+"::OnMobDead"; break; case 8: set 'EC_Mobs,31; areamonster instance_mapname([email protected]$),349,265,395,291,"Garm Baby",1515,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Marine Sphere",1142,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Garm",1252,1,strnpcinfo(3)+"::OnMobDead"; break; case 9: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),91,177,137,203,"Metaller",1058,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,177,137,203,"Magnolia",1138,20,strnpcinfo(3)+"::OnMobDead"; break; case 10: set 'EC_Mobs,45; areamonster instance_mapname([email protected]$),179,177,225,203,"Coco",1104,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,177,225,203,"Caramel",1103,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,177,225,203,"Horn",1128,15,strnpcinfo(3)+"::OnMobDead"; break; case 11: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,177,311,203,"Ambernite",1023,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Eggyra",1116,25,strnpcinfo(3)+"::OnMobDead"; break; case 12: set 'EC_Mobs,41; areamonster instance_mapname([email protected]$),349,177,395,203,"Megalith",1274,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Panzer Goblin",1308,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Rotar Zairo",1392,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Steam Goblin",1280,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Tao Gunka",1583,1,strnpcinfo(3)+"::OnMobDead"; break; case 13: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),91,94,137,119,"Smokie",1056,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Giearth",1121,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Martin",1145,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Raggler",1254,15,strnpcinfo(3)+"::OnMobDead"; break; case 14: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),179,94,225,119,"Worm Tail",1024,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Stem Worm",1215,25,strnpcinfo(3)+"::OnMobDead"; break; case 15: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,94,311,119,"Christmas Jakk",1244,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Christmas Goblin",1245,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Christmas Cookie",1246,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Cookie",1265,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Christmas Orc",1588,10,strnpcinfo(3)+"::OnMobDead"; break; case 16: set 'EC_Mobs,51; areamonster instance_mapname([email protected]$),349,94,395,119,"Santa Poring",1062,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,94,395,119,"Santa Poring",1062,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,94,395,119,"Stormy Knight",1251,1,strnpcinfo(3)+"::OnMobDead"; break; case 17: set 'EC_Mobs,46; areamonster instance_mapname([email protected]$),91,7,137,33,"Roda Frog",1012,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Thara Frog",1034,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Poison Toad",1402,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Toad",1089,1,strnpcinfo(3)+"::OnMobDead"; break; case 18: set 'EC_Mobs,41; areamonster instance_mapname([email protected]$),179,7,225,33,"Lunatic",1063,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Spring Rabbit",1322,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Eclipse",1093,1,strnpcinfo(3)+"::OnMobDead"; break; case 19: set 'EC_Mobs,41; areamonster instance_mapname([email protected]$),265,7,311,33,"Yoyo",1057,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Mime Monkey",1585,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Choco",1214,1,strnpcinfo(3)+"::OnMobDead"; break; case 20: set 'EC_Mobs,41; areamonster instance_mapname([email protected]$),349,7,395,33,"Ghoul",1036,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Myst",1151,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Vitata",1176,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Zenorc",1177,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Dracula",1389,1,strnpcinfo(3)+"::OnMobDead"; break; case 21: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),91,349,137,375,"Stainer",1174,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,349,137,375,"Brilight",1211,20,strnpcinfo(3)+"::OnMobDead"; break; case 22: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),179,349,225,375,"Marc",1045,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Tri Joint",1279,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Fur Seal",1317,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Sea Otter",1323,15,strnpcinfo(3)+"::OnMobDead"; break; case 23: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,349,311,375,"Punk",1199,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Stone Shooter",1495,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Stem Worm",1215,10,strnpcinfo(3)+"::OnMobDead"; break; case 24: set 'EC_Mobs,31; areamonster instance_mapname([email protected]$),349,349,395,375,"Joker",1131,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"Chung E",1631,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"Baphomet",1039,1,strnpcinfo(3)+"::OnMobDead"; break; case 25: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),91,265,137,291,"Kaho",1072,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Blazzer",1367,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Driller",1380,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Horong",1129,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Minorous",1149,5,strnpcinfo(3)+"::OnMobDead"; break; case 26: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),179,265,225,291,"Dokebi",1110,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Am Mut",1301,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Sageworm",1281,10,strnpcinfo(3)+"::OnMobDead"; break; case 27: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),265,265,311,291,"Savage",1166,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Gullinbursti",1311,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Goat",1372,10,strnpcinfo(3)+"::OnMobDead"; break; case 28: set 'EC_Mobs,71; areamonster instance_mapname([email protected]$),349,265,395,291,"Bettle King",1494,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Bacsojin",1518,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Chung E",1519,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Tamruan",1584,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Lady Tanee",1688,1,strnpcinfo(3)+"::OnMobDead"; break; case 29: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),91,177,137,203,"Requiem",1164,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,177,137,203,"Zerom",1178,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,177,137,203,"Skeleton General",1290,10,strnpcinfo(3)+"::OnMobDead"; break; case 30: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),179,177,225,203,"Leaf Cat",1586,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,177,225,203,"Wild Rose",1261,25,strnpcinfo(3)+"::OnMobDead"; break; case 31: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),265,177,311,203,"Dustiness",1114,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Giant Spider",1304,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Porcellio",1619,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Pitman",1616,10,strnpcinfo(3)+"::OnMobDead"; break; case 32: set 'EC_Mobs,51; areamonster instance_mapname([email protected]$),349,177,395,203,"Mineral",1614,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Waste Stove",1617,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Noxious",1620,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Venomous",1621,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Teddy Bear",1622,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"RSX-006",1623,1,strnpcinfo(3)+"::OnMobDead"; break; case 33: set 'EC_Mobs,45; areamonster instance_mapname([email protected]$),91,94,137,119,"Bathory",1102,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Sohee",1170,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Violy",1390,15,strnpcinfo(3)+"::OnMobDead"; break; case 34: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),179,94,225,119,"Dragon Tail",1321,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Geographer",1368,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Galapago",1391,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Kapha",1406,15,strnpcinfo(3)+"::OnMobDead"; break; case 35: set 'EC_Mobs,45; areamonster instance_mapname([email protected]$),265,94,311,119,"Rice Cake Boy",1409,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Boiled Rice",1520,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Baby Leopard",1415,15,strnpcinfo(3)+"::OnMobDead"; break; case 36: set 'EC_Mobs,51; areamonster instance_mapname([email protected]$),349,94,395,119,"Disguise",1506,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,94,395,119,"Dark Priest",1198,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,94,395,119,"Lord of Death",1373,1,strnpcinfo(3)+"::OnMobDead"; break; case 37: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),91,7,137,33,"Wootan Shooter",1498,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Wootan Fighter",1499,25,strnpcinfo(3)+"::OnMobDead"; break; case 38: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),179,7,225,33,"Mole",1628,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Maya Purple",1289,10,strnpcinfo(3)+"::OnMobDead"; break; case 39: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),265,7,311,33,"Safeguard Chief",1981,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Orc Sniper",1982,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Depraved Orc Spirit",1983,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Shaman Cargalache",1984,10,strnpcinfo(3)+"::OnMobDead"; break; case 40: set 'EC_Mobs,41; areamonster instance_mapname([email protected]$),349,7,395,33,"Photon Cannon",1664,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Photon Cannon",1665,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Photon Cannon",1666,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Photon Cannon",1667,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,7,395,33,"Vesper",1685,1,strnpcinfo(3)+"::OnMobDead"; break; case 41: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),91,349,137,375,"Remover",1682,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,349,137,375,"Gemini-S58",1681,25,strnpcinfo(3)+"::OnMobDead"; break; case 42: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),179,349,225,375,"Breeze",1692,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Roween",1782,30,strnpcinfo(3)+"::OnMobDead"; break; case 43: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,349,311,375,"Gremlin",1632,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Hodremlin",1773,25,strnpcinfo(3)+"::OnMobDead"; break; case 44: set 'EC_Mobs,51; areamonster instance_mapname([email protected]$),349,349,395,375,"Novus",1715,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"Novus",1716,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"Detale",1719,1,strnpcinfo(3)+"::OnMobDead"; break; case 45: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),91,265,137,291,"Nightmare",1061,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Nightmare Terror",1379,25,strnpcinfo(3)+"::OnMobDead"; break; case 46: set 'EC_Mobs,55; areamonster instance_mapname([email protected]$),179,265,225,291,"Beholder Master",1975,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Beholder",1633,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Seeker",1774,15,strnpcinfo(3)+"::OnMobDead"; break; case 47: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,265,311,291,"Cobalt Mineral",1976,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Heavy Metaling",1977,25,strnpcinfo(3)+"::OnMobDead"; break; case 48: set 'EC_Mobs,61; areamonster instance_mapname([email protected]$),349,265,395,291,"Alicel",1735,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Constant",1738,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Kiel D-01",1734,1,strnpcinfo(3)+"::OnMobDead"; break; case 49: set 'EC_Mobs,55; areamonster instance_mapname([email protected]$),91,177,137,203,"Frus",1753,55,strnpcinfo(3)+"::OnMobDead"; break; case 50: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),179,177,225,203,"Hell Apocalips",1978,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,177,225,203,"Apocalips",1365,25,strnpcinfo(3)+"::OnMobDead"; break; case 51: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),265,177,311,203,"Zakudam",1979,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Archdam",1668,25,strnpcinfo(3)+"::OnMobDead"; break; case 52: set 'EC_Mobs,51; areamonster instance_mapname([email protected]$),349,177,395,203,"Aunoe",1796,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Fanat",1797,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,177,395,203,"Gloom Under Night",1768,1,strnpcinfo(3)+"::OnMobDead"; break; case 53: set 'EC_Mobs,40; areamonster instance_mapname([email protected]$),91,94,137,119,"Wraith Dead",1291,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,94,137,119,"Ancient Mummy",1297,20,strnpcinfo(3)+"::OnMobDead"; break; case 54: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),179,94,225,119,"Siroma",1776,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Snowier",1775,20,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Ice Titan",1777,10,strnpcinfo(3)+"::OnMobDead"; break; case 55: set 'EC_Mobs,75; areamonster instance_mapname([email protected]$),265,94,311,119,"Iceicle",1789,75,strnpcinfo(3)+"::OnMobDead"; break; case 56: set 'EC_Mobs,31; areamonster instance_mapname([email protected]$),349,94,395,119,"Gazeti",1778,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,94,395,119,"Ktullanux",1779,1,strnpcinfo(3)+"::OnMobDead"; break; case 57: set 'EC_Mobs,45; areamonster instance_mapname([email protected]$),91,7,137,33,"Magmaring",1836,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Knocker",1838,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,7,137,33,"Imp",1837,15,strnpcinfo(3)+"::OnMobDead"; break; case 58: set 'EC_Mobs,15; areamonster instance_mapname([email protected]$),179,7,225,33,"Ghostring",1120,3,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Angeling",1096,3,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Deviling",1582,3,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Arc Angeling",1388,3,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,7,225,33,"Mastering",1090,3,strnpcinfo(3)+"::OnMobDead"; break; case 59: set 'EC_Mobs,48; areamonster instance_mapname([email protected]$),265,7,311,33,"Thanatos Odium",1704,12,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Thanatos Despero",1705,12,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Thanatos Maero",1706,12,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,7,311,33,"Thanatos Dolor",1707,12,strnpcinfo(3)+"::OnMobDead"; break; case 60: set 'EC_Mobs,1; areamonster instance_mapname([email protected]$),349,7,395,33,"Thanatos Phantom",1708,1,strnpcinfo(3)+"::OnMobDead"; break; case 61: set 'EC_Mobs,80; areamonster instance_mapname([email protected]$),91,349,137,375,"Acidus",1713,40,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,349,137,375,"Venatu",1677,40,strnpcinfo(3)+"::OnMobDead"; break; case 62: set 'EC_Mobs,90; areamonster instance_mapname([email protected]$),179,349,225,375,"Orc Sniper",1982,60,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,349,225,375,"Bloody Knight",1268,30,strnpcinfo(3)+"::OnMobDead"; break; case 63: set 'EC_Mobs,70; areamonster instance_mapname([email protected]$),265,349,311,375,"Acidus",1716,50,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,349,311,375,"Succubus",1370,20,strnpcinfo(3)+"::OnMobDead"; break; case 64: set 'EC_Mobs,17; areamonster instance_mapname([email protected]$),349,349,395,375,"Agav",1769,15,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,349,395,375,"DoppelGanger",1046,2,strnpcinfo(3)+"::OnMobDead"; break; case 65: set 'EC_Mobs,75; areamonster instance_mapname([email protected]$),91,265,137,291,"Alicel",1739,50,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,265,137,291,"Aliot",1740,25,strnpcinfo(3)+"::OnMobDead"; break; case 66: set 'EC_Mobs,80; areamonster instance_mapname([email protected]$),179,265,225,291,"Assaulter",1315,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Chimera",1283,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,265,225,291,"Freezer",1319,40,strnpcinfo(3)+"::OnMobDead"; break; case 67: set 'EC_Mobs,60; areamonster instance_mapname([email protected]$),265,265,311,291,"Bloody Murderer",1507,30,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Dark Illusion",1302,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,265,311,291,"Lava Golem",1366,20,strnpcinfo(3)+"::OnMobDead"; break; case 68: set 'EC_Mobs,12; areamonster instance_mapname([email protected]$),349,265,395,291,"Gryphon",1259,10,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),349,265,395,291,"Evil Snake Lord",1418,2,strnpcinfo(3)+"::OnMobDead"; break; case 69: set 'EC_Mobs,75; areamonster instance_mapname([email protected]$),91,177,137,203,"S-Gemini",1681,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,177,137,203,"Imp",1837,25,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),91,177,137,203,"Incubus",1374,25,strnpcinfo(3)+"::OnMobDead"; break; case 70: set 'EC_Mobs,50; areamonster instance_mapname([email protected]$),179,177,225,203,"Abysmal Knight",1219,35,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,177,225,203,"Luli Ruri",1505,15,strnpcinfo(3)+"::OnMobDead"; break; case 71: set 'EC_Mobs,24; areamonster instance_mapname([email protected]$),265,177,311,203,"Mysteltainn",1203,12,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,177,311,203,"Owl Baron",1295,12,strnpcinfo(3)+"::OnMobDead"; break; case 72: set 'EC_Mobs,1; areamonster instance_mapname([email protected]$),349,177,395,203,"Drake",1112,1,strnpcinfo(3)+"::OnMobDead"; break; case 73: set 'EC_Mobs,16; areamonster instance_mapname([email protected]$),91,94,137,119,"Byorgue",1839,16,strnpcinfo(3)+"::OnMobDead"; break; case 74: set 'EC_Mobs,12; areamonster instance_mapname([email protected]$),179,94,225,119,"Lord Knight Seyren",1640,2,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Assassin Cross Eremes",1641,2,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Whitesmith Howard",1642,2,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"High Priest Margaretha",1643,2,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"Sniper Cecil",1644,2,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),179,94,225,119,"High Wizard Kathryne",1645,2,strnpcinfo(3)+"::OnMobDead"; break; case 75: set 'EC_Mobs,28; areamonster instance_mapname([email protected]$),265,94,311,119,"Bloody Knight",1268,7,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Bow Master",1830,7,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Dimik",1671,7,strnpcinfo(3)+"::OnMobDead"; areamonster instance_mapname([email protected]$),265,94,311,119,"Kasa",1833,7,strnpcinfo(3)+"::OnMobDead"; break; case 76: set 'EC_Mobs,1; areamonster instance_mapname([email protected]$),349,94,395,119,"Ifrit",1832,1,strnpcinfo(3)+"::OnMobDead"; break; case 77: monster instance_mapname([email protected]$),112,351,"Poring",1002,1,strnpcinfo(3)+"::OnPorDead"; break; } return; } OnInit: set .rewardAmt, 15; set .rewardPartialAmt, 1; end; OnInstanceInit: set 'EC_AshID,6000; // ItemID set 'EC_GM,60; // Min GM level to control the cellar set 'EC_Floor, 1; if(strnpcinfo(3) == "EC_Manager") end; set [email protected],'EC_Floor; if('EC_Floor <= 77){ EC_Spawns(); } else donpcevent instance_npcname("EC_Manager", instance_id())+"::OnPorDead"; end; OnMobDead: set [email protected],instance_id(); set 'EC_Mobs,'EC_Mobs-1; if('EC_Mobs){ instance_announce [email protected],"Monsters remaining on Floor "+'EC_Floor+": "+'EC_Mobs,bc_map,0x00FF00; end; } if('EC_Floor < 77) enablenpc instance_npcname("ECwarp_"+'EC_Floor, instance_id()); if('EC_Floor == 40) donpcevent instance_npcname("ECwarp_40", instance_id())+"::OnEnableAshtimer"; instance_announce [email protected],"All monsters on the "+'EC_Floor+('EC_Floor % 10 == 1 ? "st" : ('EC_Floor % 10 == 2 ? "nd" : ('EC_Floor % 10 == 3 ? "rd" : "th")))+" level have been defeated.",bc_map; set 'EC_Floor,'EC_Floor+1; if('EC_Floor <= 77) EC_Spawns(); else { mes "[Endless Cellar]"; mes "Error on OnMobDead Label"; mes "'EC_Floor = "+'EC_Floor; mes "Please report this to a Game Master or Administrator."; close; } end; OnPorDead: instance_announce [email protected],"Squeaky Voice: .....",bc_map,0xFF0000; sleep 3000; instance_announce [email protected],"Squeaky Voice: That innocent poring did not harm you.",bc_map,0xFF0000; sleep 3000; instance_announce [email protected],"Squeaky Voice: Why would you kill it?",bc_map,0xFF0000; sleep 3000; instance_announce [email protected],"Squeaky Voice: You evil humans should pick on someone your own size.",bc_map,0xFF0000; sleep 3000; instance_announce [email protected],"Squeaky Voice: I know. I'll let you play with my pets, the Six Great Pains.",bc_map,0xFF0000; sleep 3000; instance_announce [email protected],"Squeaky Voice: Try not to die too fast, they need their exercise.",bc_map,0xFF0000; monster instance_mapname("[email protected]"),121,352,"High Priest Magaleta",1649,1,instance_npcname("EC_Manager", instance_id())+"::OnPain1"; end; OnPain1: sleep 5000; instance_announce [email protected],"Squeaky Voice: You are stronger than you look, now try the pain of magic.",bc_map,0xFF0000; sleep 5000; monster instance_mapname("[email protected]"),125,351,"High Wizard Katrinn",1651,1,instance_npcname("EC_Manager", instance_id())+"::OnPain2"; end; OnPain2: sleep 5000; instance_announce [email protected],"Squeaky Voice: Impressive, but how will you handle the pain of distance?",bc_map,0xFF0000; sleep 5000; monster instance_mapname("[email protected]"),125,351,"Sniper Shecil",1650,1,instance_npcname("EC_Manager", instance_id())+"::OnPain3"; end; OnPain3: sleep 5000; instance_announce [email protected],"Squeaky Voice: Have you ever fought something you couldn't see?",bc_map,0xFF0000; sleep 5000; monster instance_mapname("[email protected]"),125,351,"Assassin Cross Eremes",1647,1,instance_npcname("EC_Manager", instance_id())+"::OnPain4"; end; OnPain4: sleep 5000; instance_announce [email protected],"Squeaky Voice: You murderers, it's time to feel the pain of paralysis.",bc_map,0xFF0000; sleep 5000; monster instance_mapname("[email protected]"),125,355,"Whitesmith Harword",1648,1,instance_npcname("EC_Manager", instance_id())+"::OnPain5"; end; OnPain5: sleep 5000; instance_announce [email protected],"Squeaky Voice: I'm getting annoyed, my last pet will finish you off.",bc_map,0xFF0000; sleep 5000; monster instance_mapname("[email protected]"),125,355,"Whitesmith Harword",1648,1,instance_npcname("EC_Manager", instance_id())+"::OnPain6"; end; OnPain6: sleep 3000; instance_announce [email protected],"Squeaky Voice: Well, It seems I've greatly underestimated you.",bc_map,0x00FF00; sleep 3000; instance_announce [email protected],"Squeaky Voice: Do you really want to know who I am?",bc_map,0x00FF00; sleep 3000; instance_announce [email protected],"Squeaky Voice: The few who have seen me were laughing right before I killed them!",bc_map,0x00FF00; sleep 3000; instance_announce [email protected],"Squeaky Voice: Baphomet, make these weaklings entertain me a little more before they die.",bc_map,0x00FF00; sleep 3000; areamonster instance_mapname("[email protected]"),125,355,122,350,"Super Baphomet",1399,1,instance_npcname("EC_Manager", instance_id())+"::OnBapho"; areamonster instance_mapname("[email protected]"),95,352,122,350,"Piamette",1930,3; areamonster instance_mapname("[email protected]"),95,352,122,350,"Wish Maiden",1931,3; end; OnBapho: sleep 3000; instance_announce [email protected],"Squeaky Voice: This is your last chance to run.",bc_map,0x00FF00; sleep 3000; instance_announce [email protected],"Squeaky Voice: No? Then its time to show you who I am.",bc_map,0x00FF00; sleep 3000; areamonster instance_mapname("[email protected]"),111,387,93,372,"Pori Pori",1502,1,instance_npcname("EC_Manager", instance_id())+"::OnPoripori"; areamonster instance_mapname("[email protected]"),111,387,93,372,"Golden Savage",1840,10; areamonster instance_mapname("[email protected]"),111,387,93,372,"Pouring",1894,10; areamonster instance_mapname("[email protected]"),111,387,93,372,"Bomb Poring",1904,20; end; OnPoripori: instance_announce [email protected],"Pori Pori: What..... what is happening? How could I..... lose.....",bc_map,0xFFD700; sleep 5000; instance_announce [email protected],"Pori Pori: I'll return when I've healed, then..... then you'll all suffer!!!",bc_map,0xFFD700; enablenpc instance_npcname("EC_Arc_Pori", instance_id()); sleep 15000 getpartymember getcharid(1),2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; } instance_destroy instance_id(); end; } // = Arc Pori Pori - Rewards for clearing the dungeon // ==================================================================================================== [email protected],105,391,4 script Arc Pori Pori::EC_Arc_Pori 949,{ mes "[Arc Pori Pori]"; mes "You actually defeated that Pori Pori? Thank you!"; next; mes "[Arc Pori Pori]"; mes "Hes been corrupted for far too long. Maybe someday he will grow wings like the rest of us Pori Pori."; next; mes "[Arc Pori Pori]"; mes "Here, take this. Its a small reward i want to give you for putting that evil Pori Pori in his place."; next; getitem 616,1; // Old Card Album getitem 12103,1; // Bloody Branch getitem 12106,1; // Jewelry Box getitem 12109,1; // Poring Box getitem 12130,1; // Cookie Bag mes "[Arc Pori Pori]"; mes "Farewell, young adventurer. I wish you good luck in the future."; close2; charcommand("#load " + strcharinfo(0)); end; OnInstanceInit: disablenpc strnpcinfo(3); end; } // = EC_Mobs // ==================================================================================================== // = Warps // ==================================================================================================== // [email protected] [email protected],135,355,0 script ECwarp_1 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,393; end; } [email protected],223,355,0 script ECwarp_2 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,393; end; } [email protected],309,355,0 script ECwarp_3 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,393; end; } [email protected],393,355,0 script ECwarp_4 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,309; end; } [email protected],135,271,0 script ECwarp_5 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,309; end; } [email protected],223,271,0 script ECwarp_6 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,309; end; } [email protected],309,271,0 script ECwarp_7 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,309; end; } [email protected],393,271,0 script ECwarp_8 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,221; end; } [email protected],135,183,0 script ECwarp_9 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,221; end; } [email protected],223,183,0 script ECwarp_10 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,221; end; } [email protected],309,183,0 script ECwarp_11 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,221; end; } [email protected],393,183,0 script ECwarp_12 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,137; end; } [email protected],135,99,0 script ECwarp_13 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,137; end; } [email protected],223,99,0 script ECwarp_14 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,137; end; } [email protected],309,99,0 script ECwarp_15 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,137; end; } [email protected],393,99,0 script ECwarp_16 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,51; end; } [email protected],135,13,0 script ECwarp_17 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,51; end; } [email protected],223,13,0 script ECwarp_18 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,51; end; } [email protected],309,13,0 script ECwarp_19 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,51; end; } [email protected],393,13,0 script ECwarp_20 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,393; end; } // [email protected] [email protected],135,355,0 script ECwarp_21 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,393; end; } [email protected],223,355,0 script ECwarp_22 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,393; end; } [email protected],309,355,0 script ECwarp_23 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,393; end; } [email protected],393,355,0 script ECwarp_24 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,309; end; } [email protected],135,271,0 script ECwarp_25 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,309; end; } [email protected],223,271,0 script ECwarp_26 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,309; end; } [email protected],309,271,0 script ECwarp_27 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,309; end; } [email protected],393,271,0 script ECwarp_28 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,221; end; } [email protected],135,183,0 script ECwarp_29 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,221; end; } [email protected],223,183,0 script ECwarp_30 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,221; end; } [email protected],309,183,0 script ECwarp_31 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,221; end; } [email protected],393,183,0 script ECwarp_32 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,137; end; } [email protected],135,99,0 script ECwarp_33 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,137; end; } [email protected],223,99,0 script ECwarp_34 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,137; end; } [email protected],309,99,0 script ECwarp_35 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,137; end; } [email protected],393,99,0 script ECwarp_36 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,51; end; } [email protected],135,13,0 script ECwarp_37 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,51; end; } [email protected],223,13,0 script ECwarp_38 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,51; end; } [email protected],309,13,0 script ECwarp_39 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,51; end; } [email protected],393,13,0 script ECwarp_40 45,1,1,{ end; OnECInstanceInit: disablenpc strnpcinfo(0); end; OnTouch: if('give_ash) getitem 'EC_AshID,1; warp instance_mapname("[email protected]"),96,393; end; OnEnableAshtimer: set 'give_ash,1; sleep 60000; set 'give_ash,0; end; } // [email protected] [email protected],135,355,0 script ECwarp_41 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,393; end; } [email protected],223,355,0 script ECwarp_42 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,393; end; } [email protected],309,355,0 script ECwarp_43 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,393; end; } [email protected],393,355,0 script ECwarp_44 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,309; end; } [email protected],135,271,0 script ECwarp_45 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,309; end; } [email protected],223,271,0 script ECwarp_46 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,309; end; } [email protected],309,271,0 script ECwarp_47 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,309; end; } [email protected],393,271,0 script ECwarp_48 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,221; end; } [email protected],135,183,0 script ECwarp_49 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,221; end; } [email protected],223,183,0 script ECwarp_50 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,221; end; } [email protected],309,183,0 script ECwarp_51 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,221; end; } [email protected],393,183,0 script ECwarp_52 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,137; end; } [email protected],135,99,0 script ECwarp_53 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,137; end; } [email protected],223,99,0 script ECwarp_54 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,137; end; } [email protected],309,99,0 script ECwarp_55 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,137; end; } [email protected],393,99,0 script ECwarp_56 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,51; end; } [email protected],135,13,0 script ECwarp_57 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,51; end; } [email protected],223,13,0 script ECwarp_58 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,51; end; } [email protected],309,13,0 script ECwarp_59 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,51; end; } [email protected],393,13,0 script ECwarp_60 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,393; end; } // [email protected] [email protected],135,355,0 script ECwarp_61 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,393; end; } [email protected],223,355,0 script ECwarp_62 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,393; end; } [email protected],309,355,0 script ECwarp_63 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,393; end; } [email protected],393,355,0 script ECwarp_64 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,309; end; } [email protected],135,271,0 script ECwarp_65 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,309; end; } [email protected],223,271,0 script ECwarp_66 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,309; end; } [email protected],309,271,0 script ECwarp_67 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,309; end; } [email protected],393,271,0 script ECwarp_68 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,221; end; } [email protected],135,183,0 script ECwarp_69 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,221; end; } [email protected],223,183,0 script ECwarp_70 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,221; end; } [email protected],309,183,0 script ECwarp_71 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,221; end; } [email protected],393,183,0 script ECwarp_72 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),96,137; end; } [email protected],135,99,0 script ECwarp_73 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),184,137; end; } [email protected],223,99,0 script ECwarp_74 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),270,137; end; } [email protected],309,99,0 script ECwarp_75 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),354,137; end; } [email protected],393,99,0 script ECwarp_76 45,1,1,{ end; OnInstanceInit: disablenpc strnpcinfo(3); end; OnTouch: warp instance_mapname("[email protected]"),97,391; end; } // = Mapflags // ==================================================================================================== [email protected] mapflag nowarp [email protected] mapflag nowarpto [email protected] mapflag noteleport [email protected] mapflag nosave SavePoint [email protected] mapflag nomemo [email protected] mapflag nobranch [email protected] mapflag noicewall [email protected] mapflag monster_noteleport [email protected] mapflag nowarp [email protected] mapflag nowarpto [email protected] mapflag noteleport [email protected] mapflag nosave SavePoint [email protected] mapflag nomemo [email protected] mapflag nobranch [email protected] mapflag noicewall [email protected] mapflag monster_noteleport [email protected] mapflag nowarp [email protected] mapflag nowarpto [email protected] mapflag noteleport [email protected] mapflag nosave SavePoint [email protected] mapflag nomemo [email protected] mapflag nobranch [email protected] mapflag noicewall [email protected] mapflag monster_noteleport [email protected] mapflag nowarp [email protected] mapflag nowarpto [email protected] mapflag noteleport [email protected] mapflag nosave SavePoint [email protected] mapflag nomemo [email protected] mapflag nobranch [email protected] mapflag noicewall [email protected] mapflag monster_noteleport [email protected] mapflag nowarp [email protected] mapflag nowarpto [email protected] mapflag noteleport [email protected] mapflag nosave SavePoint [email protected] mapflag nomemo [email protected] mapflag nobranch [email protected] mapflag noicewall [email protected] mapflag monster_noteleport Which I modified with sleep instead of sleep2 to avoid the no unit error. But now each time I finish the Endless Cellar instance and the Arc Pori Pori appears to give you the reward and warp you out I get an error, I tried to search to how I could modify it, but all the other functions to actually end the instance have the same following variables: getpartymember getcharid(1),2; for( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected]+1 ) if( attachrid( [email protected][[email protected]] ) && EC_INSTANCE_ID > 0){ set EC_INSTANCE_ID, -1; It works in every other situations except at the end of the instance which gives me this error: Hopefully anyone will be able to light me up on the subject. Thanks, Sirique
  11. Hi there, I downloaded the script from that link and I still get: [Error]: buildin_getmapxy: Player with nick 'ECwarp_1' is not found. [Error]: buildin_getmapxy: Player with map id '0' is not found. [Info]: [Instance] Created: Endless Cellar (1). Edit: Fixed it. There was a getmapxy([email protected]$,[email protected],[email protected],1,("ECwarp_"+'EC_Floor)); which needed to be getmapxy([email protected]$,[email protected],[email protected],BL_NPC,("ECwarp_"+'EC_Floor));
  12. Edit: Fixed it Hi, I also have issues with that npc but the link for the topic doesn't work anymore. I made it so it can see the headgear in my char's equipment, but it only converts it to the same hat named nameless's cap for exemple. @alternate would it be possible to share your solution if you're still around?
  13. Sirique

    AfrielRO

    is consisted of 3 members right now. 2 Owner / Dev & 1 Lead Event / Support. The server is almost completely built, we had a good base when we first started this project 1 1/2 week ago. We're looking for someone who's passionate about Ragnarok Online. In term of activeness, we are very comprehensive because we understand that we all have things to do such work & hobbies. But we do want someone who can communicate and simply tell us when he'll be away so we can plan what will happen next. The reason is simple, we try to be very organized since we work with a Schedule and Trello to make sure we don't loose track of our goals to make this server the best it possibly can. To see some our actual features you can visit this ---­> LINK. We do have many other things in process, which would be best discussed on a platform such as Discord or whatever you wanna use. Sirique#9034 or BFPKiller#2381 sirique.ro
  14. Sirique

    AspectRO

    AspectRO is looking to hire some support and event GMs We need people that can be active as much as possible, we are aware that life and everything that surrounds it is more important, but we just need people that at least be active a little eache day of the week. If you love this game as much as we do and would love to help us making this server the best it can be you are welcome to join us! So if you're interested you can PM me here or contact me or my partner on discord: Sirique#9034 / BFPkiller#2381 Official Website: https://aspectro.net Discord: https://discord.gg/Ua6Cw4t
  15. I've found it on Hercules, but I'd need help to convert it to rAthena.