Jump to content

DevilSupremeRO

Members
  • Posts

    55
  • Joined

  • Last visited

Posts posted by DevilSupremeRO

  1. On 12/28/2021 at 8:12 PM, sader1992 said:

    not much information given

    something like this ?

    if(getgroupid() == 1){
    	if(!GotTheReward){
    		getitem(501,1);
    		GotTheReward = true;
    		mes "you got the reward";
    		end;
    	}else{
    		mes "you already got the reward";
    		end;
    	}
    }else{
    	mes"this reward only for group id 1";
    	end;
    }

     

    what if they could claim it after 24hours?

  2. image.png.4c63c86ac6f581e68500ed485f480d2e.png

     

    image.png.0484244a70c790de8e433bbff8a78de8.png

     

    and if you clicked yes this will appear

    image.png.8b898f9b75ca1073e95fb8a3b75f5ffd.png

     

    then each castle drop will give you this quest items

    image.png.c3936f106dde1c5ce2a14c9d6675bac4.png

    7 quest requirements will appear however once failed the quest requirements will be destroyed not the main item (Cyclop's Eye)

     

    Thanks in advance if someone answers!

  3. aight thanks i'll try it out

     

    On 6/25/2021 at 11:15 AM, cook1e said:
    //new_1-4,145,179,4	script	Freebies Reward	691,{
    	[email protected]_unique_id$ = get_unique_id();
    
    	if(getd("$ID_" + [email protected]_unique_id$) > 0 || #N > 0){
    		mes "[ Reward NPC ]";
    		mes "You have already claimed your reward.";
    		close;
    	}
    	mes "[ Reward NPC ]";
    	mes "Here's your reward. Have a nice day!";
    	setd "$ID_" + [email protected]_unique_id$,1;
    	#N = 1;
    	$reward_count -= 1;
    	for([email protected] = 0; [email protected] < getarraysize(.rewards); [email protected] += 2)
    		getitem .rewards[[email protected]],.rewards[[email protected]+1];
    	if($reward_count == 0)
    		$reward_status = 1;
    	end;
    	
    OnInit:
    	setarray .rewards,50000,1,12535,20,12534,20,13550,20,3100,100,13758,1;
    	while (1) {
    	showscript "Freebies Rental NPC!";
    	sleep 1000;
    	}
    	end;
    }

    I think changing the unique_id variable can solve your problem, try it.

    @cook1e how to change the variable of unique ID? @shatowolf its still the same i cant reclaim them

  4. //new_1-4,145,179,4	script	Freebies Reward	691,{
    	[email protected]_id$ = get_unique_id();
    
    	if(getd("$ID_" + [email protected]_id$) > 0 || #N > 0){
    		mes "[ Reward NPC ]";
    		mes "You have already claimed your reward.";
    		close;
    	}
    	mes "[ Reward NPC ]";
    	mes "Here's your reward. Have a nice day!";
    	setd "$ID_" + [email protected]_id$,1;
    	#N = 1;
    	$reward_count -= 1;
    	for([email protected] = 0; [email protected] < getarraysize(.rewards); [email protected] += 2)
    		getitem .rewards[[email protected]],.rewards[[email protected]+1];
    	if($reward_count == 0)
    		$reward_status = 1;
    	end;
    	
    OnInit:
    	setarray .rewards,50000,1,12535,20,12534,20,13550,20,3100,100,13758,1;
    	while (1) {
    	showscript "Freebies Rental NPC!";
    	sleep 1000;
    	}
    	end;
    }

    is there a way to reset unique ID's? because old players can't get freebies.

  5. i was hoping for a monster arena that looks like Endless Tower but with a diffrent map in where you can stay at the dungeon for 3hours and have a cooldown of 1hour before you can enter again once the 3hours has ended.

  6. hi does anyone have something like this with Gepard unique ID ?

    query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`= '" + getcharid(3) + "'", [email protected]$);
        mes "Hi There Enjoy Stay Safe!";
    
        if(!#Freebie && ( getd("$" + [email protected]$ + "_ASD") == 0 )) {
            mes "Please Select Your Item Based On Your Job:";
            next;
    
                set #Freebie, 1;
                setd "$" + [email protected]$ + "_ASD", getd("$" + [email protected]$ + "_ASD") + 1;
                close;

     

  7. i want this to have like an item that is needed to convert your character looks into fourth or 3rd job

    guild_vs1,54,54,6    script    Stylist#custom_stylist    2_M_DYEINGER,{
    OnTalk:
        setarray [email protected][1],
            getbattleflag("max_cloth_color"),
            getbattleflag("max_hair_style"),
            getbattleflag("max_hair_color");
        setarray [email protected][1],
            LOOK_CLOTHES_COLOR,
            LOOK_HAIR,
            LOOK_HAIR_COLOR;
        mes .npc$;
        mes "Hey ^008aff"+strcharinfo(0)+"^000000. Im a super stylist. Want to try out my services?";
        mes "I can customize your character's appearance in a hand full of ways.";
        next;
        set [email protected], select(.bcor$+"Cloth color:"+.bcor$+"Hairstyle:"+.bcor$+"Hair color:"+.bcor$+"Dress Room");
        if([email protected] == 4){
            callfunc "F_DRESSROOM";
            close;
        }
        if([email protected] == 1){
        if (( getlook(LOOK_BODY2) == 5 ) || ( getlook(LOOK_BODY2) == 2 ) || ( getlook(LOOK_BODY2) == 3 ) || ( getlook(LOOK_BODY2) == 4 )) {
            setlook    LOOK_CLOTHES_COLOR,0;
            mes .npc$;
            mes "Cloathes color not available for Body Custom.";
            close;
            }
        }
        if(Class == Job_Summoner){
        setarray [email protected][1],
            3,//max_cloth_color
            10,//max_hair_style
            8;//max_hair_color
        }else{
        setarray [email protected][1],
            getbattleflag("max_cloth_color"),
            getbattleflag("max_hair_style"),
            getbattleflag("max_hair_color");
                }
    
        set [email protected], getlook([email protected][[email protected]]);
        set [email protected],1;
        while(1) {
            setlook [email protected][[email protected]], [email protected];
            message strcharinfo(0),"This is style #"[email protected]+".";
            switch(select(.bcor$+"Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:0)+"^000000):"+.bcor$+"Previous (^0055FF"+(([email protected]!=0)[email protected]:[email protected][[email protected]])+"^000000):"+.bcor$+"Jump to...:"+.rcor$+"Revert to original (^0055FF"[email protected]+"^000000)")){
    
            case 1:
                set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 0);
                break;
            case 2:
                set [email protected], (([email protected]tyle != 0) ? [email protected] : [email protected][[email protected]]);
                break;
            case 3:
                message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+".";
                input [email protected],0,[email protected][[email protected]];
                if ([email protected])
                    set [email protected], rand(1,[email protected][[email protected]]);
                break;
            case 4:
                set [email protected], [email protected];
                setlook [email protected][[email protected]], [email protected];
                break;
            }
        }
    
    OnInit:
        .npc$ = "^FF7F00[ Super Stylist ]^000000";        // Name of NPC;
        .bcor$ = "^008aff[>]^000000 ";                // Option Button Symbol;
        .rcor$ = "^ff0000[>]^000000 ";                // Cancel button symbol;
        end;
        }

     

  8. 22 hours ago, Haruka Mayumi said:
    OnClock1900:
        [email protected]$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )];
        [email protected] = .sleep / 60000;
        announce "[World Boss] A World Boss will appear in " + [email protected] + " minutes", bc_all, 0xFF0000;
        sleep .sleep;
        monster [email protected]$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied";
        announce "[World Boss] A World Boss appeared in " + [email protected]$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000;
        end;
        
    OnWBossDied:
        announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000;
        for([email protected]=0;[email protected]<getarraysize(.rewardId);[email protected]++)
            getitem .rewardId[[email protected]], .rewardCount[[email protected]];
        end;
        
    OnInit:
        setarray .townMap$[0],"prontera","geffen";
        .wBossId = 1931;        // monsterID
        setarray .rewardId[0],7828,501,502,503;        // reward ID
        setarray .rewardCount[0],50,1,2,3;        		// how many rewards
        .sleep = 60000;         // 60000ms = 1min
        end;

     

    it didnt work.. it just give 1 item

  9. 1 hour ago, Haruka Mayumi said:
    OnClock1900:
        [email protected]$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )];
        [email protected] = .sleep / 60000;
        announce "[World Boss] A World Boss will appear in " + [email protected] + " minutes", bc_all, 0xFF0000;
        sleep .sleep;
        monster [email protected]$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied";
        announce "[World Boss] A World Boss appeared in " + [email protected]$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000;
        end;
        
    OnWBossDied:
        announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000;
        for([email protected]=0;[email protected]<getarraysize(.rewardId);[email protected]++)
            getitem .rewardId[[email protected]], .rewardCount[[email protected]];
        end;
        
    OnInit:
        setarray .townMap$[0],"prontera","geffen";
        .wBossId = 1931;        // monsterID
        setarray .rewardId[0],7828,501,502,503;        // reward ID
        setarray .rewardCount[0],50,1,2,3;        		// how many rewards
        .sleep = 60000;         // 60000ms = 1min
        end;

     

    thanks i'll test it right away...

     

  10. I want to add more prize like 5-6 items anyone?

     

    OnClock1900:
        [email protected]$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )];
        [email protected] = .sleep / 60000;
        announce "[World Boss] A World Boss will appear in " + [email protected] + " minutes", bc_all, 0xFF0000;
        sleep .sleep;
        monster [email protected]$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied";
        announce "[World Boss] A World Boss appeared in " + [email protected]$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000;
        end;
        
    OnWBossDied:
        announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000;
        getitem .rewardId, .rewardCount;
        end;
        
    OnInit:
        setarray .townMap$[0],"prontera","geffen";
        .wBossId = 1931;        // monsterID
        .rewardId = 7828;        // reward ID
        .rewardCount = 50;        // how many rewards
        .sleep = 60000;         // 60000ms = 1min
        end;
    }

     

  11. anyone? here is my src i tried doing 10000 but it didnt work and changed it back to normal 

     

    case 9: // DEATH - curse, coma and poison
        {
            status_change_start(src, target, SC_COMA, 100, skill_lv, 0, src->id, 0, 0, SCSTART_NONE);
            sc_start(src, target, SC_CURSE, 100, skill_lv, skill_get_time2(status_sc2skill(SC_CURSE), 1));
            sc_start2(src, target, SC_POISON, 100, skill_lv, src->id, skill_get_time2(status_sc2skill(SC_POISON), 1));
            break;
        }
     

  12. hi can anyone help me with tarot card of fate? i dont know why but if i try to tarot a lvl 1 novice the coma takes effect on one of the tarot cards but when the novice became 255 the coma dosnt work anymore can anyone help me with this? thanks

  13. 4 hours ago, Mastagoon said:

    sorry i had a typo in the code.
    this one should work :
     

    -	script	max_castle_guild_members	-1,{
    
    OnInit:
        //settings here 
        setarray .maps$, "prtg_cas01","prtg_cas03"; // insert your woe castles here
        .max_members_in_castle = 1;    // set the maximum number of guild members in a castle
     
        //don't edit this
     
        for(.@i = 0; .@i < getarraysize(.maps$); .@i++) {
            if(!getmapflag(.maps$[.@i], mf_loadevent)) setmapflag .maps$[.@i], mf_loadevent;
        }
        end;
     
    OnPCLoadMapEvent:
        if(inarray(.maps$, strcharinfo(3)) == -1) end;
        if(getmapguildusers(strcharinfo(3), getcharid(2)) > .max_members_in_castle) {
            dispbottom "There can only be "+.max_members_in_castle+" guild members inside a castle during woe.";
            warp "SavePoint",0,0;
        }
        end;
    }

     

    awd.jpg

    oh man you saved my life thankyou so much it works perfectly! what if im going to add the map should i do it like "prtg_cas01","prtg_cas02","prtg_cas03"; should it be like this?

  14. 8 hours ago, Mastagoon said:

    here you go :

     

    -   script  max_castle_guild_members    -1,{
    
    OnInit:
        //settings here
        setarray .maps$, "prtg_cas01","prtg_cas03"; // insert your woe castles here
        .max_members_in_castle = 15;    // set the maximum number of guild members in a castle
     
        //don't edit this
     
        for(.@i = 0; .@i < getarraysize(.maps$); .@i++) {
            if(!getmapflag(.maps$[.@i], mf_loadevent)) setmapflag .maps$[.@i], mf_loadevent;
        }
        end;
     
    OnPCLoadMapEvent:
        if(inarray(.maps$, strcharinfo(3)) == -1 || ) end;
        if(getmapguildusers(strcharinfo(3), getcharid(2)) > .max_members_in_castle) {
            dispbottom "There can only be "+.max_castle_guild_members+" guild members inside a castle during woe.";
            warp "SavePoint",0,0;
        }
        end;
    }

     

    it's not working i tried to set it to 1 but my other dual character still can access inside

  15. Hi, I need a script that checks quantity of guild members in guild castles.


    - Max users allowed per guild in the same castle = 15
    -If users are > 15, the 16th user member of the same guild will be warped to save point automatically.

    note: i know there's a way to modify the guild members qty (like changing the guild extension skill lvl) but i prefer to use the script.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.