Jump to content

Soul1992

Members
  • Content Count

    29
  • Joined

  • Last visited

Posts posted by Soul1992


  1. need a check if all users are on the same map.

     

     

    abyss_01,22,36,1	script	Quest Helper#25	112,{
    if(FuriousFerus >= 1  &&  Acidus >= 22  &&  Novus >= 35) goto l_allkills;
    mes "[Helper]";
    mes "You have to kill:";
    mes "You have "+FuriousFerus+"/1 Furious Ferus...";
    mes "You have "+Acidus+"/22 Acidus...";
    mes "You have "+Novus+"/35 Novus";
    next;
    menu "^00FF00Quest Accept^0000FF",L_AbyssLakequest;
    
    L_AbyssLakequest:
    mes "[Helper]";
    mes "Do you want to accept the Quest?";
    next;
    menu "Yes",L_AbyssLakekill,"No.....",L_No;
    
    L_AbyssLakekill:
    mes "[Helper]";
    mes "You can now begin to Kill the Monsters !!";
    set AbyssLakekill,0;
    close;
    
    
    
    l_allkills:
    getitem,5531,1;
    close;
    
    
    OnNPCKillEvent:
    if(AbyssLakekill) end;
    	if(killedrid == 2832) // = Furious Ferus
    	{
    	addrid( 2, 0, getcharid(1) );
    	if(AbyssLakekill) end;	
        if ( hp == 0 ) end;			
    		set FuriousFerus,FuriousFerus + 1;
    		if (FuriousFerus < 1) {
    			dispbottom "You killed "+FuriousFerus+"/1 Furious Ferus.";
    		}
    		else if(FuriousFerus == 1) {
    			dispbottom "You have killed all Furious Feruss.";
    		}
    	}
    	else if (killedrid == 1716) // = Acidus
    	{
    	addrid( 2, 0, getcharid(1) );
    	if(AbyssLakekill) end;	
        if ( hp == 0 ) end;			
    		set Acidus,Acidus + 1;
    		if (Acidus < 22) {
    			dispbottom "You killed "+Acidus+"/22 Aciduss.";
    		}
    		else if(Acidus == 22) {
    			dispbottom "You have killed all Aciduss.";
    		}
    	}
    	else if (killedrid == 1715) // = Novus
    	{
    	addrid( 2, 0, getcharid(1) );
    	if(AbyssLakekill) end;	
        if ( hp == 0 ) end;			
    		set Novus,Novus + 1;
    		if (Novus < 35) {
    			dispbottom "You killed "+Novus+"/35 Novus.";
    		}
    		else if(Novus == 35) {
    			dispbottom "You have killed all Novuss.";
    		}
    	}
    	end;
    	}

     


  2. this is my first attempt. only the annonce on the country does not want to be like I want

     

    anthell02,170,165,3	script	Warpra Helper#0	112,{
    mes "[Warpra Helper]";
    mes "You have to kill:";
    mes "You have "+VitataKills+"/10 Vitata...";
    mes "You have "+AntEggKills+"/55 Ant Egg...";
    mes "You have "+FamiliarKills+"/5 Familiar";
    next;
    menu "Unlock Dungeon",L_anthell,"Unlock with Donate Cash ",L_anthellDonate;
    L_anthell:
    if(VitataKills >= 10  &&  AntEggKills >= 55  &&  FamiliarKills >= 5) goto l_allkills;
    mes "[Warpra Helper]";
    mes "You didn't kill enough monsters!";
    close;
    
    
    l_allkills:
    callfunc "QWS_Dungeon_Warpra",0,"Ant Hell Dungeon";
    close;
    
    L_anthellDonate:
    mes "[Warpra Helper]";
    mes "You want Donate Cash for Unlocking, it costs you!";
    mes "^4527A0Price: 20 Cash Point's^000000";
    next;
    menu "Yes, Unlocking",L_Unlocking,"No.....",L_No;
    L_Unlocking:
    if ( #CASHPOINTS < 20) goto l_nocash;
    #CASHPOINTS -= 20;
    callfunc "QWS_Dungeon_Warpra",0,"Ant Hell Dungeon";
    close;
    
    l_nocash:
    mes "[Warpra Helper]";
    mes "You do not have enough Donate Cash";
    close;
    
    L_No:
    mes "[Warpra Helper]";
    mes "Bye......";
    close;
    
    
    OnNPCKillEvent:
    if(anthell) end;
    if(killedrid == 1176 && VitataKills < 10) // = Vitata
    {
    	set VitataKills,VitataKills + 1;
    	dispbottom "You killed "+VitataKills+"/10 Vitata.";
    	if(VitataKills >= 10) 
    		dispbottom "You have killed all Vitatas.";
    		
    } else if (killedrid == 1097 && AntEggKills < 55) // = Ant Egg
    {
    	set AntEggKills,AntEggKills + 1;
    	dispbottom "You killed "+AntEggKills+"/55 AntEgg.";
    	if(AntEggKills >= 55)
    		dispbottom "You have killed all AntEggs.";
    		
    }else if (killedrid == 1005 && FamiliarKills < 5) // = Familiar
    {
    	set FamiliarKills,FamiliarKills + 1;
    	dispbottom "You killed "+FamiliarKills+"/5 Familiar.";
    	if(FamiliarKills >= 5)
    		dispbottom "You have killed all Familiars.";
    		
    } else if(anthell == 0) {
    announce "[Warpra]: You have killed every Monster. Come back to me to !",bc_self;
    set anthell,1;
    }
    end;
    }

     

     

     

     


  3. -       script  bghappy_1   -1,{              OnInit:bindatcmd "bghappy",strnpcinfo(3)+"::OnBghappy", 40,99; end; OnBghappy:if (@bghappy) {set @bghappy, 0;setbattleflag "bg_reward_rates",100; // Normal Ratessetbattleflag "bg_ranked_mode",0; dispbottom "Battlegrounds +20% mode is OFF.";end;} else {set @bghappy, 1;setbattleflag "bg_reward_rates",120; // +20% Reward Ratessetbattleflag "bg_ranked_mode",1;dispbottom "Battlegrounds +20% mode is ON.";end;}}

  4. I want that the 1.1 is an announce, but that gettime is not working. the announce comes every day.....

     

    -	script	Manager	-1,{OnClock1500:if((gettime(6)==1) && (gettime(8)==1)) goto L_Januar; if((gettime(6)==2) && (gettime(8)==1)) goto L_Februar;// ========================================================================================================================//  Januar// ========================================================================================================================L_Januar:announce "Januar!",bc_blue|bc_all;end;
    // ========================================================================================================================
    //  Februar
    // ========================================================================================================================
    L_Februar:
    announce "Februar!",bc_blue|bc_all;
    end;

    }

     


  5. if(readparam(bStr)>=245){ bonus bStr,10; bonus bDex,10; bonus bAgi,10; bonus2 bAddClass,Class_All,5;} },{},{}
    if(readparam(bVit)>=245){ bonus bVit,10; bonus bLuk,10; bonus bDex,10; bonus bMaxHPrate,5;} },{},{}
    if(readparam(bInt)>=245){ bonus bInt,10; bonus bDex,10; bonus bAgi,10; bonus bMatkRate,5;} },{},{}
    if(readparam(bDex)>=245){ bonus bLuk,10; bonus bDex,10; bonus bAgi,10; bonus bLongAtkRate,5;} },{},{}

  6. //===== By: ==================================================//= EL Dragon//===== Current Version: =====================================//= 1.00//===== Compatible With: =====================================//= rAthena SVN//============================================================-	script	killboss	-1,{OnInit:	bindatcmd "killboss",strnpcinfo(3)+"::OnAtCommand", 20,100;	end;OnAtCommand:	killmonsterall "abbey02";       // Fallen Bishop Hibram	killmonsterall "abbey03";       // Beelzebub	killmonsterall "abyss_03";      // Detale	killmonsterall "ama_dun03";     // Samurai Specter	killmonsterall "anthell02";     // Maya	killmonsterall "ayo_dun02";     // Lady Tanee	killmonsterall "beach_dun";     // Tao Gunka	killmonsterall "ein_dun02";     // RSX-0806	killmonsterall "gef_dun01";     // Dracula	killmonsterall "gef_dun02";     // Doppelganger	killmonsterall "gef_fild02";    // Orc Hero	killmonsterall "gef_fild10";    // Orc Lord	killmonsterall "gef_fild14";    // Orc Hero	killmonsterall "gl_chyard";     // Dark Lord	killmonsterall "gld_dun01";     // Eddga	killmonsterall "gld_dun02";     // Doppelganger	killmonsterall "gld_dun03";     // Maya	killmonsterall "gld_dun04";     // Dark Lord	killmonsterall "gon_dun03";     // Evil Snake Lord	killmonsterall "ice_dun03";     // Ktullanux	killmonsterall "in_sphinx5";    // Pharaoh	killmonsterall "jupe_core";     // Vesper	killmonsterall "kh_dun02";      // Kiel D-01	killmonsterall "lhz_dun02";     // Egnigem Cenia	killmonsterall "lhz_dun03";     // Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard	killmonsterall "lou_dun03";     // White Lady	killmonsterall "mjolnir_04";    // Mistress	killmonsterall "moc_fild17";    // Phreeoni	killmonsterall "moc_pryd04";    // Osiris	killmonsterall "moc_pryd06";    // Amon Ra	killmonsterall "mosk_dun03";    // Zmey Gorynych	killmonsterall "niflheim";      // Lord of Death	killmonsterall "odin_tem03";    // Valkyrie Randgris	killmonsterall "pay_dun04";     // Moonlight Flower	killmonsterall "pay_fild11";    // Eddga	killmonsterall "prt_maze03";    // Baphomet	killmonsterall "prt_sewb4";     // Golden Thief Bug	killmonsterall "ra_fild02";     // Atroce	killmonsterall "ra_fild03";     // Atroce	killmonsterall "ra_fild04";     // Atroce	killmonsterall "ra_san05";      // Gloom Under Night	killmonsterall "thor_v03";      // Ifrit	killmonsterall "treasure02";    // Drake	killmonsterall "tur_dun04";     // Turtle General	killmonsterall "ve_fild01";     // Atroce	killmonsterall "ve_fild02";     // Atroce	killmonsterall "xmas_dun02";    // Stormy Knight	killmonsterall "xmas_fild01";   // Garm	message strcharinfo(0)," boss maps have been cleared.";	end;}

  7. open /db/item_db2.txt
    make a new item -
    25500,Custom_Box,Custom Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_whatever),1; },{},{}
     
    next step is
    open /db/const.txt
    Find IG_Advanced_Weapons_Box 61
    below add this
    IG_whatever 63 //IG_whatever must be same in the item_db2.txt script command
     
    next step
    open ra/db/item_group_db.txt
    import: db/item_whatever.txt - put this
     
    next step
    make a new script named
    item_whatever.txt - place this in /db/
     
    next step
    open item_whatever.txt - in /db/item_whatever.txt
    //Explanation 63 - is the number you input in const.txt
    // - 1111 - this is the itemID
    // - 9 - this is the rate
     
    63,1111,9
    63,<Item ID>,<Rate>
     
    next step
    open src/map/itemdb.h
     
    find this part
    #define MAX_ITEMGROUP #62
     
    the number is 62 where in const.txt the max group number is 62 - but you add another item group..
    - just add + 1 in 62 so make it
     
    #define MAX_ITEMGROUP #63
×
×
  • Create New...

Important Information

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