Jump to content

wakefield21

Members
  • Posts

    115
  • Joined

  • Last visited

Posts posted by wakefield21

  1. Hello rAthenians, I hope everyone is having a good day. Forgive me for asking this question because I am having trouble finding where I can edit the time required for these skills to regen your HP and SP. The following skills are Increase Recuperative Power, Moving HP Recovery, Increase SP recovery and Spirit Recovery skills. I want to change the default 10 seconds to 5 seconds needed before the passive skill triggers on a player. Thank you very much and God bless rAthena!

  2. 1 hour ago, L1nkZ said:

    Hi, thank you!

    Well, nothing secret is supposed to be stored in the configuration file so encrypting it isn't needed.

    Adding encryption wouldn't be too hard but it would merely obfuscate the configuration, and anyone with some technical skills could still recover the encrypted configuration in the end.

    I see @L1nkZ. Thank you so much again for the wonderful release.

    • Like 1
  3. On 4/23/2021 at 11:10 AM, AinsLord said:

    is this possible that the item is account bound/cantdrop/trade/vend/sell?

    sorry to bump into this thread

    @AinsLord
    You can set the item flags via item_db.yml

    use this as an example

     

    - Id: 11503
        AegisName: White Siege Potion
        Name: White Siege Potion
        Type: Healing
        Weight: 30
        Trade:
          Override: 100
          NoDrop: true
          NoTrade: true
          NoSell: true
          NoCart: true
          NoGuildStorage: true
          NoMail: true
          NoAuction: true
        Script: |
          itemheal rand(400,500),0;


    as you can see, I've used the Trade flag to set the item to account bound.

  4. Hello rAthena, can you please help me about my problem as I've stated at the title. Thank you guys very much!
     

    //===== rAthena Script =======================================
    //= Eden Group Quests - Mission [11 - 25]
    //===== By: ==================================================
    //= L0ne_W0lf
    //===== Current Version: =====================================
    //= 1.5
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Repetable Quests for Players between Baselevel 11 - 25.
    //===== Additional Comments: =================================
    //= 1.0 First Version.
    //= 1.1 Some little optimization here and there. [Masao]
    //= 1.2 Optimized. [Euphy]
    //= 1.3 Bug fixes. [Capuche]
    //= 1.4 Added support to Para_Team_Mark_ in Eden Group. [Ragno]
    //= 1.5 Added use of F_HasEdenGroupMark function. [Ragno]
    //============================================================
    
    guildhall,44,88,5	script	Mission [11 - 25]#Tuto	4_BOARD3,{
    	if (!callfunc("F_HasAdvenGuildMark")) {
    		mes "- You need to have an -";
    		mes "- ^4d4dff'Adventurer's Guild Mark'^000000 -";
    		mes "- to receive these missions. -";
    		close;
    	}
    	if (isbegin_quest(79101) == 1) {
    		mes "- You still haven't finished -";
    		mes "- the ^4d4dff'Daily Quest'^000000 -";
    		mes "- introduction quest. -";
    		close;
    	}
    	for ( .@i = 80012; .@i < 80024; .@i++ )
    		if (checkquest(.@i,PLAYTIME) == 2) erasequest .@i;
    	for( .@i = 80000; .@i < 80012; .@i++ ) {
    		.@j = checkquest(.@i,HUNTING);
    		if (.@j == 2) {
    			mes " - You must collect your - ";
    			mes " - reward before starting - ";
    			mes " - a new mission. - ";
    			mes " ";
    			mes " - Quest Manager : Spike - ";
    			close;
    		}
    		else if (.@j >= 0) {
    			mes " - You can only request - ";
    			mes " - one mission at a time. - ";
    			mes " ";
    			mes " - Quest Manager : Spike - ";
    			close;
    		}
    	}
    	if (BaseLevel < 11) {
    		mes " - There are no tasks - ";
    		mes " - open for you right now. - ";
    		close;
    	}
    	if (BaseLevel > 25) {
    		mes " - These missions are too - ";
    		mes " - easy for your caliber - ";
    		mes " - search for a more level - ";
    		mes " - appropriate mission. - ";
    		mes " ";
    		mes " - Quest Manager : Spike -";
    		close;
    	}
    	mes " - Daily Guild Mission Bulletin Board -";
    	mes " ";
    	mes " - For ^990000Rank F's^000000 - Level's ^00009911-25^000000 -";
    	mes " ";
    	mes " - Quest Manager : Spike -";
    	next;
    	switch(select("Hornet Extermination:Condor Extermination:Rocker Extermination:Worm Tail Extermination:Spore Extermination:Pest Extermination:Muka Extermination:Familiar Extermination:Peco Peco Extermination:Roda Frog Extermination:Ambernite Extermination:Aster Extermination:Cancel")) {
    		case 1: callsub L_Quest,80000,"Hornet Extermination"," - Hunt 10 ^4d4dff'Hornets'^000000 - "," - northwest of Prontera - "," - and bring 10 ^4d4dffBee Stings^000000. - ";
    		case 2: callsub L_Quest,80001,"Condor Extermination"," - Hunt 20 ^4d4dff'Condors'^000000 - "," - south of Morocc - "," - and bring 10 ^4d4dffTalons^000000. - ";
    		case 3: callsub L_Quest,80002,"Rocker Extermination"," - Hunt 10 ^4d4dff'Rockers'^000000 - "," - southwest of Prontera - "," - and bring 10 ^4d4dffGrasshopper's Legs^000000. - ";
    		case 4: callsub L_Quest,80003,"Worm Tail Extermination"," - Hunt 20 ^4d4dff'Worm Tails'^000000 - "," - southeast of Payon - "," - and bring 10 ^4d4dffPointed Scales^000000. - ";
    		case 5: callsub L_Quest,80004,"Spore Extermination"," - Hunt 20 ^4d4dff'Spores'^000000 - "," - around Payon -"," - and bring 10 ^4d4dffMushroom Spores^000000. - ";
    		case 6: callsub L_Quest,80005,"Pest Extermination"," - Hunt 15 ^4d4dff'Thief Bug Eggs'^000000 - "," - in the Prontera Culvert - "," - and bring 10 ^4d4dffChrysalises^000000. - ";
    		case 7: callsub L_Quest,80006,"Muka Extermination"," - Hunt 20 ^4d4dff'Mukas'^000000 - "," - south of Prontera - "," - and bring 10 ^4d4dffCactus Needles^000000. - ";
    		case 8: callsub L_Quest,80007,"Familiar Extermination"," - Hunt 20 ^4d4dff'Familiars'^000000 - "," - in the Culvert Sewers - "," - west of Prontera - "," - and bring 10 ^4d4dffTooth of Bats^000000. - ";
    		case 9: callsub L_Quest,80008,"Peco Peco Extermination"," - Hunt 15 ^4d4dff'Peco Pecos'^000000 - "," - south of Prontera - "," - and bring 10 ^4d4dffBill of Birds^000000. - ";
    		case 10: callsub L_Quest,80009,"Roda Frog Extermination"," - Hunt 20 ^4d4dff'Roda Frogs'^000000 - "," - southeast of Geffen - "," - and bring 10 ^4d4dffSticky Webfoots^000000. - ";
    		case 11: callsub L_Quest,80010,"Ambernite Extermination"," - Hunt 15 ^4d4dff'Ambernites'^000000 - "," - northeast of Geffen - "," - and bring 10 ^4d4dffSnail Shells^000000. - ";
    		case 12: callsub L_Quest,80011,"Aster Extermination"," - Hunt 20 ^4d4dff'Asters'^000000 - "," - southeast of Comodo - "," - and bring 10 ^4d4dffSingle Cells^000000. - ";
    		case 13:
    			mes " - Stopped reading the Daily Guild Mission Bulletin Board. - ";
    			close;
    	}
    
    L_Quest:
    	.@quest_status = checkquest(getarg(0)+12,PLAYTIME);
    	if (.@quest_status == 0 || .@quest_status == 1) {
    		mes " - Mission ^4d4dff"+ getarg(1) +"^000000 - ";
    		mes " - is already finished for today. - ";
    		mes " ";
    		mes " - Quest Manager : Spike -";
    		close;
    	}
    	mes " - Mission '"+ getarg(1) +"' - ";
    	for ( .@i = 2; .@i < getargcount(); .@i++ )
    		mes getarg(.@i);
    	mes " ";
    	mes " - Quest Manager : Spike -";
    	next;
    	if (select("I will do this mission.:Look for other missions.") == 2) {
    		mes " - Let's search for -";
    		mes " - other missions. - ";
    		close;
    	}
    	for ( .@i = 2; .@i < getargcount(); .@i++ )
    		mes getarg(.@i);
    	setquest getarg(0);
    	close;
    
    OnInit:
    	questinfo QTYPE_DAILYQUEST, QMARK_PURPLE, " (checkquest(79101) == 2 && BaseLevel >= 11 && BaseLevel <= 25) ";
    	end;
    }
    
    guildhall,44,90,5	script	Spike	4_M_JP_RUN,{
    	for( .@i = 80000; .@i < 80012; .@i++ ) {
    		.@j = checkquest(.@i,HUNTING);
    		if (.@j == 2) {
    			switch(.@i) {
    				case 80000: callsub L_Quest,.@i,"Hornet Extermination",47006,939,10;
    				case 80001: callsub L_Quest,.@i,"Condor Extermination",47006,917,10;
    				case 80002: callsub L_Quest,.@i,"Rocker Extermination",47006,940,10;
    				case 80003: callsub L_Quest,.@i,"Worm Tail Extermination",47006,906,10;
    				case 80004: callsub L_Quest,.@i,"Spore Extermination",47006,921,10;
    				case 80005: callsub L_Quest,.@i,"Pest Extermination",47006,915,10;
    				case 80006: callsub L_Quest,.@i,"Muka Extermination",47006,952,10;
    				case 80007: callsub L_Quest,.@i,"Familiar Extermination",47006,913,10;
    				case 80008: callsub L_Quest,.@i,"Peco Peco Extermination",47006,925,10;
    				case 80009: callsub L_Quest,.@i,"Roda Frog Extermination",47006,918,10;
    				case 80010: callsub L_Quest,.@i,"Ambernite Extermination",47006,946,10;
    				case 80011: callsub L_Quest,.@i,"Aster Extermination",47006,1052,10;
    			}
    		}
    		else if (.@j >= 0) {
    			mes "[Spike]";
    			mes "You haven't finished your mission yet.";
    			mes "Keep up the good work. You are almost done.";
    			close;
    		}
    	}
    
    	if (!callfunc("F_HasAdvenGuildMark")) {
    		mes "[Spike]";
    		mes "Looks like you are not yet a member of the guild. Register first to ^000099Secretary Organa^000000 then we can talk. You can find her across the hallway to the right.";
    		close;
    	} else {
    		mes "[Spike]";
    		mes "I'm the administrator for the";
    		mes "F rank Missions [11 - 25]";
    		next;
    		mes "[Spike]";
    		mes "Once you finish a task within this level range, speak to me so you can claim your rewards.";
    		close;
    	}
    
    L_Quest:
    	.@quest_id = getarg(0);
    	if (checkquest(.@quest_id,HUNTING) == 2) {
    		.@item_req = getarg(3,0);
    		.@req_amount = getarg(4,0);
    		if (.@item_req) {
    			if (countitem(.@item_req) < .@req_amount) {
    				mes "[Spike]";
    				mes "You don't have enough "+ getitemname(.@item_req) +".";
    				mes "You need to bring "+ .@req_amount +" "+ getitemname(.@item_req) +".";
    				close;
    			}
    		}
    		mes "[Spike]";
    		mes "Hmm... let me see~";
    		mes "You have completed the '"+ getarg(1) +"' mission.";
    		next;
    		mes "[Spike]";
    		mes "Good work~!!";
    		mes "Our client is so happy with your work. He will appreciate what you have done.";
    		mes "Please help us again. Thanks!";
    		if (.@item_req)
    			delitem .@item_req,.@req_amount;
    		erasequest .@quest_id;
    		setquest .@quest_id+12;
    		getitem getarg(2),1;
    		close;
    	}
    OnInit:	
    	questinfo QTYPE_QUEST2, QMARK_YELLOW, " checkquest(80000,HUNTING) == 2 && countitem(939) >= 10 || checkquest(80001,HUNTING) == 2 && countitem(917) >= 10 || checkquest(80002,HUNTING) == 2 && countitem(940) >= 10 || checkquest(80003,HUNTING) == 2 && countitem(906) >= 10 || checkquest(80004,HUNTING) == 2 && countitem(921) >= 10 || checkquest(80005,HUNTING) == 2 && countitem(915) >= 10 || checkquest(80006,HUNTING) == 2 && countitem(952) >= 10 || checkquest(80007,HUNTING) == 2 && countitem(913) >= 10 || checkquest(80008,HUNTING) == 2 && countitem(925) >= 10 || checkquest(80009,HUNTING) == 2 && countitem(918) >= 10 || checkquest(80010,HUNTING) == 2 && countitem(946) >= 10 || checkquest(80011,HUNTING) == 2 && countitem(1052) >= 10 ";
    	end;
    }

     

  5. Are you using Renewal? cause if yes, here's the reason for that.

     

      - Id: 1115
        AegisName: EDDGA
        Name: Eddga
        Level: 65
        Hp: 947500
        BaseExp: 198000
        JobExp: 148500
        MvpExp: 99000
        Attack: 1509
        Attack2: 776
        Defense: 166
        MagicDefense: 70
        Str: 92
        Agi: 80
        Vit: 103
        Int: 66
        Dex: 90
        Luk: 85
        AttackRange: 1
        SkillRange: 10
        ChaseRange: 12
        Size: Large
        Race: Brute
        Element: Fire
        ElementLevel: 1
        WalkSpeed: 300
        AttackDelay: 872
        AttackMotion: 1344
        DamageMotion: 432
        DamageTaken: 10 <!-- Reason for that 5k damage, since on the official kRO MVP's were buffed with this flag. Just change it to 100 instead of 10 -->
        Ai: 21
        Class: Boss
        Modes:
          Mvp: true
        MvpDrops:
          - Item: Tiger's_Skin
            Rate: 5000
          - Item: Tiger_Footskin
            Rate: 1000
          - Item: Flame_Heart
            Rate: 3000
        Drops:
          - Item: Fire_Brand
            Rate: 150
          - Item: Smoking_Pipe
            Rate: 250
          - Item: Honey
            Rate: 10000
          - Item: Katar_Of_Raging_Blaze
            Rate: 500
          - Item: Tiger_Footskin
            Rate: 250
          - Item: Elunium
            Rate: 2300
          - Item: Krieg
            Rate: 100
          - Item: Eddga_Card
            Rate: 1
            StealProtected: true

    This pretty much solves your problem. Have Fun ?

    • Upvote 1
  6. Hello rAthena! First of all good day to all of you and I hope everyone is having a good time.

    My question is how can I add weapon atk damage to the formula of Shield Boomerang damage. Because currently the default is no weapon attack is applied to the damage.

    Thanks in advance!

     

    		case CR_SHIELDBOOMERANG:
    		case PA_SHIELDCHAIN:
    			wd->damage = sstatus->batk;
    			if (sd) {
    				short index = sd->equip_index[EQI_HAND_L];
    
    				if (index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_ARMOR) {
    					ATK_ADD(wd->damage, wd->damage2, sd->inventory_data[index]->weight / 10);
    #ifdef RENEWAL
    					ATK_ADD(wd->weaponAtk, wd->weaponAtk2, sd->inventory_data[index]->weight / 10);

     

  7. Deleting the consecutive item required will not delete it. because it misses something in the script.

    Original Script:

    case 1:
    						if (countitem(.vip_item) > 0)

    Change it to this:
     

    case 1:
    						if (countitem(.vip_item[.@i]) > 0)

     

    • Upvote 1
  8. Good day rAthena community. Can you please help me achieve what I am doing here... Basically I want the player to be warped out on this time in the script. Here is the sample of the script

    OnTimer50000:
    	mapannounce .map$,"The event is over and the hordes of King Poring will return again in 12 hours, see you next time!",bc_all;
    	warp "SavePoint",0,0;
    	end;

     

  9. Hello rAthena community! I just want to ask for a simple npc script with the following functions.

    npc will auto appear and hide on a specific hour
    if you talk to it has yes or no and if select yes it will warp you to a map

    will auto warp back players to their save point.

    Thank you so much!

  10. 20 minutes ago, Patskie said:
    
    prontera,150,150,6	script	Test	100,{
    	for (.@i = 50; .@i <= 60; .@i++) {
    		playBGM "" + .@i;
    		sleep2 3000;
    	}
    	end;
    }

     

    can i do it on a dummy npc instead of like that? like this, - script timeattack -1,{

×
×
  • Create New...