Jump to content

ShiroNaito

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by ShiroNaito

  1. Good day everyone ..I dont know if my title fits my request or if it is the right name but im requesting for a Hunting Mission but not same as whats on my trunk. Script functions as follows:

     

    1. First quest will hunt 4 or 5 class of mobs 70 to 100. Rewards will be zeny exp and some items

    2. Next quest will reduce kill requirement like 34 to 5 mobs but only 50 per class. Same rewards as no.1

    3. Reduce again, upto 5th quest ..the last quest will only require MVP monster 1 or 2 ..but the reward here will change into PROOF OF DONATION

     

    After the player finished the 5th quest the timer will run and the quest will refresh and will back into 70 to 100 mobs ..but can trigger it when the clock hits 6 in the morning ..

     

    Just like Ragnarok Mobile board quest but has MVP mode .

     

    Thankyou guys 

  2. Good day, Can I ask for help to modify the script cashheadgear_dye.. This script requires only item 6220 (Mysterious Dyestuff) to change HEAD GEAR colors ..

    My request are

    1. Make it ASK multiple requirements .. for example : I want to change Black Valkyrie Helm into Red Valkyrie Helm. The NPC will ask for 3 Scarlet Dyestuff,inshort it will ask Dyestuff depending on my desired color of headgear

    2. Also add multiple requirement not just one item. like example I want my Black Valk Helm to switch into Pink Valk Helm, It will ask 2 Scarlet Dye and 1 White Dyestuff

    3. Change only the Headgear that im wearing. Checker if im wearing the headgear if not ask to wear it.

     

    sorry for my bad English.I hope you can help me. Thanks a lot here is the Script. Ive already changed the items 50000 - 50009 [C_Valkyrie Helm]

    //===== rAthena Script ======================================= 
    //= Headgear Dyer (Cash)
    //===== By: ==================================================
    //= Xantara
    //= Maud_Dib
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= [Official Conversion]
    //= Change headgear's color. Cost is a Mysterious Dyestuff
    //===== Additional Comments: =================================
    //= 1.0 First / Optimized Version
    //============================================================
    
    prt_in,127,76,4    script    Alora    862,{
    
    // Mysterious Dyestuff
        set .@dyeID, 6220;
    // Headgear Choices
        setarray .@hgn$[1], "C_Valkyrie Helm","Beanie","Drooping Cat","Deviruchi Hat","Wig","Ribbon","Magestic Goat";
    // Mage Hats - Normal, Yellow, Blue, Brown, Gray, Red
        setarray .@hg_1[1], 50000,50001,50002,50003,50004,50005,50006,50007,50008,50009;
    // Beanies - Normal, Pink, Blue, Brown
        setarray .@hg_2[1], 5076, 5237, 5236, 5235;
    // Drooping Cats - Normal, Blue, Brown, Gray, Pink, Yellow
        setarray .@hg_3[1], 5058, 5233, 5231, 5230, 5232, 5234;
    // Deviruchi Hats - Normal, Red, Gray, Brown
        setarray .@hg_4[1], 5038, 5227, 5228, 5229;
    // Wigs - Happy, Shiny, Marvelous, Fantastic
        setarray .@hg_5[1], 5273, 5274, 5275, 5276;
    // Ribbons - Normal, Black, Yellow, Green, Pink, Red, Orange, White
        setarray .@hg_6[1], 2208, 5191, 5192, 5193, 5194, 5195, 5196, 5197;
    // Magestic Goats - Normal, Evolved
        setarray .@hg_7[1], 2256, 5217;
    
    
        mes "[Alora]";
        mes "Hello, I can change your headgear's color if you bring me a Mysterious Dyestuff.";
        next;
        mes "[Alora]";
        mes "Do you have a headgear that you would like to dye?";
        next;
        for(set .@i,1; .@i < getarraysize(.@hgn$); set .@i,.@i+1) {
            if(.@i == 1)    set .@menu$, .@hgn$[.@i];
            else            set .@menu$, .@menu$ +":"+ .@hgn$[.@i];
        }
        set .@menu$, .@menu$ +":Cancel";
        set .@t, select(.@menu$);
        if(.@t == getarraysize(.@hgn$)) {
            mes "[Alora]";
            mes "Have a good journey adventurer!";
            mes "If you ever are curious to try a new color on your Kafra headgear or the ones you found on your adventures please come to me!";
            close;
        }
        mes "[Alora]";
        mes "Okay, what color do you want to change it to?";
        next;
        for(set .@i,1; .@i < getarraysize(getd(".@hg_"+.@t+"")); set .@i,.@i+1) {
            if(.@i == 1 && .@t != 5)
                set .@menu$, "Normal";
            else if(.@i == 1 && .@t == 5)
                set .@menu$, getitemname(getd(".@hg_"+.@t+"["+.@i+"]"));
            else {
                sscanf(getitemname(getd(".@hg_"+.@t+"["+.@i+"]")),"%s "+ .@hgn$[.@t],.@colour$);
                set .@menu$, .@menu$ +":"+ .@colour$;
            }
        }
        set .@menu$, .@menu$ +":Cancel";
        set .@c, select(.@menu$);
        if(.@c == getarraysize(getd(".@hg_"+.@t+""))) {
            mes "[Alora]";
            mes "Oh, okay no problem!";
            close;
        }
        set .@dyHG, getd(".@hg_"+.@t+"["+.@c+"]");
        mes "[Alora]";
        mes "Oh I'm so excited aren't you?";
        mes "And just to be sure, what color is the "+ .@hgn$[.@t] +" you want me to use?";
        next;
        mes "[Alora]";
        mes "Please understand that I'm going to use the ^FF00001st "+ .@hgn$[.@t] +" of that color in your inventory!^000000";
        next;
        mes "[Alora]";
        mes "Any upgrades and cards will be dissolved by the mysterious dye, so be sure you are ok with having a ^0000FF+0 "+ getitemname(.@dyHG) +" without any cards.^000000";
        next;
        mes "["+ strcharinfo(0) +"]";
        mes "Ok, thanks for the warning, I think I'll give you my";
        next;
        set .@menu$, "Nevermind";
        for(set .@i,1; .@i < getarraysize(getd(".@hg_"+.@t+"")); set .@i,.@i+1) {
            if(.@i == 1)    set .@menu$, .@menu$ +":Normal "+ getitemname(getd(".@hg_"+.@t+"["+.@i+"]"));
            else            set .@menu$, .@menu$ +":"+ getitemname(getd(".@hg_"+.@t+"["+.@i+"]"));
        }
        set .@mine, select(.@menu$) - 1;
        if(!.@mine) {
            mes "[Alora]";
            mes "It's best to be very sure, have a safe journey.";
            close;
        }
        set .@myHG, getd(".@hg_"+.@t+"["+.@mine+"]");
        if(.@dyHG == .@myHG) {
            mes "[Alora]";
            mes "Woah what happened?";
            close;
        }
        if(!countitem(.@dyeID) || !countitem(.@myHG)) {
            mes "[Alora]";
            mes "Oh my, you seem to be missing something.";
            close;
        }
        mes "[Alora]";
        mes "Looks great doesn't it?!";
        mes "I hope you'll come back to dye more pretty headgears!";
        delitem .@dyeID,1; // Dyestuff
        delitem .@myHG,1;  // Your headgear
        getitem .@dyHG,1;  // Dyed headgear
        close;
    }

     

  3. Good day everyone.. Im having trouble on my script can you assist me ? this is how it works , I will summon 2 players in left and right corner ..when i trigger the script the PVP and SKILL on map must turn off , it will Trigger back to ON (@pvp and @skill) after the countdown or the announcer said "FIGHT" and turn back off both skill and pvp when player is dead.but it seems that atcommand "@pvpon"; and atcommand "@skillon"; is not working after the line "    announce "[Showdown Event]: FIGHT ! .. ",0;" ... This script is just prototype and for testing purpose only ..Thankyou

    -    script    showmatch    -1,{
    
    OnWhisperGlobal:
    if(getgmlevel() >= $gmcontrol) {
    
    mes "=================================";
    mes "^3399FF[Showmatch Manager]^000000";    
    mes "Hello GameMaster!";
    mes "Summon participants?";
    next;
    mes "=================================";
    //initnpctimer;
    
    mes "Participant 1 Right Corner";
    input .@Input$;
    
    next;
    mes "Participant 2 Left Corner";
    input .@Input2$;
    
    next;
    //atcommand "@warp guild_vs2 49 55";
    
    atcommand "#warp "+.@Input$+" guild_vs2 55 55";
    atcommand "#warp "+.@Input2$+" guild_vs2 44 44";
    announce "[Showdown Event]: Showdown Battle of "+.@Input$+" v.s. "+.@Input2$+" ",0;
    donpcevent "announcer::OnGMStart"; 
        //atcommand "@pvpon";
        //atcommand "@skillon";
    close;
    }
    }
    -    script    announcer    -1,{
        
    OnGMStart:
    
        announce "[Showdown Event]: Get Ready! ",0;
        sleep 3000;
        announce "[Showdown Event]: Battle Starts in 5 .. ",0;
        sleep 1000;
        announce "[Showdown Event]: 4 .. ",0;
        sleep 1000;
        announce "[Showdown Event]: 3 .. ",0;
        sleep 1000;
        announce "[Showdown Event]: 2 .. ",0;
        sleep 1000;
        announce "[Showdown Event]: 1 .. ",0;
        sleep 1000;
        announce "[Showdown Event]: FIGHT ! .. ",0;
        atcommand "@pvpon";
        atcommand "@skillon";
        
    }
    
    
    close;
    }
    OnPCKillEvent:
    atcommand "@pvpoff";
    atcommand "@skilloff";
    end;
    
    
    }

     

  4. I have a question sir regarding this thread .. How to restrict other class on using job suit that is not theirs ...like example i have Rune Knight 3rd job suit ..but my job is Sniper ...howll i put restriction so my sniper wont become RK when using it

×
×
  • Create New...