Jump to content

Jaburak

Members
  • Posts

    1125
  • Joined

  • Days Won

    31

Posts posted by Jaburak

  1. 
    

    prontera,200,180,3 script Training Grounds 55,{

    mes "[^000088 Training Grounds ^000000]";

    mes "Enter training grounds?";

    menu "Yes!",-;

    next;

    mes "[^000088 Training Grounds ^000000]";

    mes "Goodluck!";

    warp "06guild_r",100,181;

    close;

    }

    06guild_r,100,183,3 script TG Keeper#1 729,{

    mes "[^000088 TG Keeper ^000000]";

    mes "Hello, what do you want to do?";

    menu "-Leave",-,"-Harder monsters",Lgt,"-Heal me please",Lheal;

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Thank you for using the ^880000Training Grounds^000000!";

    warp "prontera",156,188;

    close;

    Lgt:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Take care!";

    warp "06guild_r",100,135;

    close;

    Lheal:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Here you go!";

    percentheal 100,100;

    close;

    }

    06guild_r,100,137,3 script TG Keeper#2 732,{

    mes "[^000088 TG Keeper ^000000]";

    mes "Hello, what do you want to do?";

    menu "-Leave",-,"-Harder monsters",Lgt,"-Heal me please",Lheal;

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Thank you for using the ^880000Training Grounds^000000!";

    warp "prontera",156,188;

    close;

    Lgt:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Take care!";

    warp "06guild_r",100,87;

    close;

    Lheal:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Here you go!";

    percentheal 100,100;

    close;

    }

    06guild_r,100,89,3 script TG Keeper#3 730,{

    mes "[^000088 TG Keeper ^000000]";

    mes "Hello, what do you want to do?";

    menu "-Leave",-,"-Harder monsters",Lgt,"-Heal me please",Lheal;

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Thank you for using the ^880000Training Grounds^000000!";

    warp "prontera",156,188;

    close;

    Lgt:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Take care!";

    warp "06guild_r",100,41;

    close;

    Lheal:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Here you go!";

    percentheal 100,100;

    close;

    }

    06guild_r,100,43,3 script TG Keeper#4 731,{

    mes "[^000088 TG Keeper ^000000]";

    mes "Hello, what do you want to do?";

    menu "-Leave",-,"-Heal me please",Lheal;

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Thank you for using the ^880000Training Grounds^000000!";

    warp "prontera",156,188;

    close;

    Lheal:

    next;

    mes "[^000088 TG Keeper ^000000]";

    mes "Here you go!";

    percentheal 100,100;

    close;

    }

    06guild_r mapflag nowarpto

    • Upvote 1
  2. 
    

    { bonus2 bAddRace,RC_DemiHuman,75; bonus2 bIgnoreDefRate,RC_DemiHuman,20; bonus2 bSkillAtk,"GS_TRIPLEACTION",30; bonus bUnbreakableWeapon,0; if(getrefine()>5) { bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2); bonus2 bIgnoreDefRate,RC_DemiHuman,5; } if(getrefine()>8) { bonus2 bVariableCastrate,"GS_TRACKING",25; bonus2 bSkillAtk,"GS_TRACKING",getrefine() * 3; }

  3. Hi,

     

    I will look into this and will eventually deliver updates to fix the issues. Actually I've been trying to finish the new version of the cart which is cleaner and better so please stay put.

     

    Thanks!

    Choko

     

     

    Hello Choko Designoper, 

     

    I already sent an email like 1 or 2 weeks ago, but I didn't received any reply. I really need to talk about fluxcp design and code. Please pm me for info, I'm really interested with your works. Thanks!

  4. trunk/conf/battle/monster.conf

    // Respawn rate of monsters on a map. 50 would make mobs respawn twice as fast (half delay time) (Note 2)
    //Note: This does not affects mobs with inmediate respawn (most normal mobs)
    mob_spawn_delay: 100
    plant_spawn_delay: 100
    boss_spawn_delay: 100
    

     

    For the number of monster; check trunk/npc/re/mobs/

    • Love 1
  5. // SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down

    For example; Original Line of Extrimity Fist

     

    //-- MO_EXTREMITYFIST
    271,4000:3500:3000:2500:2000,3000:2500:2000:1500:1000,0,0,300000,0
    

    If you want to remove the delay change it to;

     

    //-- MO_EXTREMITYFIST
    271,0,0,0,0,300000,0
    
  6. src/map/atcommand.c

     

    For @guildrecall; Search for:

    	memset(atcmd_output, '\0', sizeof(atcmd_output));

    Add Below:

    	if(agit_flag)
    	{
    		clif_displaymessage(fd, "You cannot use @guildrecall during WoE.");
    		return -1;
    	}

    For @recall; Search for:

    ACMD_FUNC(recall) {
    	struct map_session_data *pl_sd = NULL;
    
    	nullpo_retr(-1, sd);

    Add Below:

    	if(agit_flag)
    	{
    		clif_displaymessage(fd, "You cannot use @recall during WoE.");
    		return -1;
    	}
    • Upvote 1
  7. Try this;

    //===== Athena Script ========================================
    //= Number Guess Event NPC
    //===== By: ==================================================
    //= Masao
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= eAthena SVN
    //===== Description: =========================================
    //= Guess the right Number and Win a Prize.
    //===== Additional Comments: =================================
    //= Version 1.0 if there are any Bugs please let me know.
    //============================================================
    
    prontera,146,168,4	script	Guess The Number	77,{
    
    	set .@n$,"[Guess The Number]";
    	if(getgmlevel() >= 60) goto L_GMCP;
    	if($numberguess == 1) goto L_Guess;
    	
    	mes .@n$;
    	mes "مرحبا "+strcharinfo(0)+",";
    	mes "المسابقة غير متاحة الأن";
    	mes "زرني في وقت لاحق ^^";
    	mes "فقط لتخمن أرقامي و تفذ ب جوايز";
    	close;
    	
    L_GMCP:
    	mes .@n$;
    	mes "مرحبا "+strcharinfo(0)+",";
    	mes "كيف يمكنني أن اساعدك؟ ";
    	next;
    	menu "ابدء المسابقة",-,"انهاء المسابقة",L_EndEv,"Set Number Range",L_Number,"Nothing.",L_End;
    	
    	mes "Allright the Event starts now!";
    	set $@guessnr,rand(1,$numberrange);
    	set $numberguess,1;
    	close2;
    	announce "مسابقة تخمين الرقم قد بدئت الأن",0;
    	end;
    
    L_EndEv:
    	mes .@n$;
    	mes "Allright i'll end the Event now!";
    	set $numberguess,0;
    	close2;
    	announce "انتهت المسابقة . لا فائذ",0;
    	end;
    	
    L_Number:
    	mes .@n$;
    	mes "ادخل الرقم الذي يمكنني التخمين منه";
    	mes "The Number shouldn't be lower then 10 or higher as 1000.";
    	input @numberrange;
    	if (@numberrange <= 9) goto L_Low;
    	if (@numberrange >= 1001) goto L_High;
    	set $numberrange,@numberrange;
    	mes "ما بين 1 و  "+@numberrange+".";
    	close;
    
    L_End:
    	mes .@n$;
    	mes "سلام";
    	close;
    
    L_Low:
    	mes .@n$;
    	mes "الرقم الذي خمنته قليل جدا";
    	close;
    
    L_High:
    	mes .@n$;
    	mes "الرقم الذي خمنته كبير جدا";
    	close;
    	
    L_Guess:
    	mes .@n$;
    	if( GuessNDelay >= gettimetick(2) )
    	{
    		mes "يجب عليك الانتظار 3 ثواني لتستطيع التخمين مجددا";
    		close;
    	}
    	mes "ادخل رقم ما بين [1 - 500]  حظا موفقا^^";
    	input @guess;
    	if (@guess > $@guessnr) goto L_ToHigh;
    	if (@guess < $@guessnr) goto L_ToLow;
    	if (@guess == $@guessnr){
    	set $numberguess,0;
    	mes "مروك لقد خمنت الرقم الصحيح";
    	mes "ها هي جائزتك";
    	getitem 674,4;
    	close2;
    	announce strcharinfo(0)+" خمن الرقم الصحيح و فاذ بالمسابقة! شكرا لكل المشاركين !!",0;
    	disablenpc "Guess The Number";
    	end;
    	}
    
    L_ToHigh:
    	mes .@n$;
    	mes "الرقم الذي خمنته كبير جدا!!";
    	mes "يجب عليك الانتظار 3 ثواني لتحاول مجددا";
    	set GuessNDelay, gettimetick(2) + 3;
    	close;
    
    L_ToLow:
    	mes .@n$;
    	mes "الرقم الذي خمنته قليل جدا!!";
    	mes "يجب عليك الانتظار 3 ثواني لتحاول مجددا";
    	set GuessNDelay, gettimetick(2) + 3;
    	close;
    
    OnClock2100:                        // at 21:00 min the event start
        if( $numberguess ) end;            // don't start the event of already on
        set $@guessnr, rand( 1,1000 );    // random number between 1<->1000
        set $numberguess,1;                // => the event start
        enablenpc "Guess The Number";
        announce "your announce",0;        // announce
        end;
    }
    
    OnInit:
    	disablenpc "Guess The Number";
    	set $numberguess,0;
    	end;
    
    }
  8. Did you set the map in trunk/conf/mapflag/restricted.txt?

     

    Yes, I did that and checked it out. I added a pvp-map to restriction-zone 1 ( in restrict.txt ) and set the item to 46 ( see below ).

     

     

    // The equipment/items/cards restriction file
    // here you define which items may not be used at PvP / GvG
    // format: <item id>,<mode>
    // mode
    // 1    - restricted in normal maps
    // 2    - restricted in PVP
    // 4    - restricted in GVG
    // 8    - restricted in Battlegrounds
    // Restricted zones - they're configured by 'restricted <number>' mapflag
    // 32   - restricted in zone 1
    // 64   - restricted in zone 2
    // 128  - restricted in zone 3
    // 256  - restricted in zone 4
    // 512  - restricted in zone 5
    // 1024 - restricted in zone 6
    // 2048 - restricted in zone 7
    
    //Examples:
    //1201,1 you can't use KNIFE(ID 1201) on normal maps
    //608,4 you can't use Yggdrasil Seed(ID 608) on both GvG and WoE Castles
    //4174,6 Forbid Deviling Card in every PVP or GVG map, and during woes.
    //501,32 you can't use Red Potion on map marked as 'restricted zone 1'
    //502,64 you can't use Orange Potion on map marked as 'restricted zone 2'
    //503,128 you can't use Yellow Potion on map marked as 'restricted zone 3'
    // you can even mix modes
    //519,322 (256+64+2) you can't use Milk on PVP, and maps marked as 'restricted zone 2' and 'restricted zone 4'

     

    Equipment is not stripped, its bonus and effects are only disabled.

     

    I need a code that fits to Rev.: 17205 and higher and an explanation where to put it.

     

    Best Regards :)

     

    UPDATE:

     

    Just checked it again with a bonus of 500 to all stats in the costume headgear to make myself sure. The bonus is disabled but the costume headgear is not stripped.

     

    Best Regards :)

    Yes it's official, item effect will disabled inside the map.

×
×
  • Create New...