Jump to content

Ahmad Rashidi

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Ahmad Rashidi

  1. 2 hours ago, AnnieRuru said:

    why put the best answer already ?
    you know how to apply the feature to the original woe by referring to my template script ?

    anyway here's the script, tested
    http://upaste.me/e7fe499005a72504d
    though it seems Euphy added unnecessary gvgon on the castle map ... so have to gvgoff them

    i didnt really know how to apply the features.
    im really not good at advance script.

    Alright Annnie ! i will try this immediately!
    Thx AnnieRuru!

     

    i dont know either its work or not.
    but nothing happened and i found this at my putty

    annie.PNG

  2. 24 minutes ago, AnnieRuru said:

    https://github.com/rathena/rathena/blob/master/db/castle_db.txt
    there are 20 first edition castles ...

    1. you mean like each castle open randomly ... but only loop back every 20 days ?
      sounds like need a shuffle algorithm to do this
      .
    2. so which castles are chosen ? only the 1st edition castles ?
      but since you say all castles that would include novice castles and third edition castles

     

    Oh hi Annie! 

    in my opinion, i would thinking to run 2 castle per day.

     

    oh ya, woe se and woe se, novice castle are not include, sry.

    its is possible?

     

  3. Hello everyone , i would like to request a service from u which is involving about scripting i guess.

    i would like to have a random woe castle.
    which is everyday woe will trigger with random castle for all castle in RO. but not going to repeat same  castle
    for example 
    10 castle are open
    sunday -9pm woe at castle A
    Monday -9pm woe at castle C
    tuesday -9pm wpe at castle F
    wednesday 9pm woe at castle B
    thursday 9pm woe at castle E
    friday 9pm woe at castle J
    saturday 9pm woe at castle H

    back to sunday will not trigger the castle that already use like A,C,F,B,E,J and H

    hope you understand my request.

    willing to pay for this request, please do pm me.

  4. thx the the script . its working fne . the loot goes to inventory. but i had another issue in

     

    [Error]: delete_timer error : function mismatch (nil)(unknown timer function) != 0x4fc6c0(map_clearflooritem_timer)
    [Error]: Memory manager: args of aFree 0x0x7fd18e53a5cc is invalid pointer map.cpp line 215

    how to fix this ?

    and another problem is , after my pet loot the item . it direct goes to inventory , but when i use performance on pet ex: Poring . the item which poring loot will get double.
    1.item direct to inventory
    2.the same item but the one which poring hold and will drop after use perfomance command.

  5. Hello , i have been searching for the entire forum about this script i wanted.
     

    1st - I found from sir emistry http://rathena.org/board/topic/78767-card-effect-stack-limit/

     

    but those link cannot be reach.

    2nd- its from sir emistry too 

    Quote

    1.

    use isequippedcnt

    
    bonus bDelayRate,( -30 / isequippedcnt(4403) );

    Please search the forum next time, similar questions has been asked and answered many times since the past.

     

    2. 

    custom source mod

    but it didnt work for me.

    3rd - its from annieruru http://www.eathena.ws/board/index.php?s=&showtopic=274457&view=findpost&p=1505595
    the link cannot be reach too.

    4th - i got this from somewhere i forgot already which post 

    Quote
    
    { bonus3 bAutoSpell,"WZ_STORMGUST",(2,20/ isequipped(4318)); bonus2 bAddEff,Eff_Freeze,(2000/isequipped( 4318)); },{},{}

    but still didnt work for me , the stormy knight card still can be use more than 2

    5th- Lastly i found this one i was hoping this will work

    //callfunc "Card";
    
    function	script	Card	{
    setarray .Card[0],25150,25151,25152,25153,25154,25155,25156,25157,25158,25159,25160,25161,25162,25163,25164,25165,25166,25167,25168,25169,25170,25171,25172,25173,25174;
    for( set .@i,0; .@i<getarraysize(.Card); set .@i,.@i+1 ) {
    	if ( isequipped(.Card[.@i]) == 1 ) {
    		set @Card,@Card+1;
    		if ( @Card > 2){
    		dispbottom "You can't Wear more than 2 same Card at the same time.";
    		set @Card,0;
    		nude;
    		}
    	}
    }
    end;
    }

    but unfortunately it still didnt work and i have an error on this script that i couldnt fix it


    So, just like the title , im willing to pay to a working script which is stack card limit :
    Example if the user equip more than 2 kiel card. the equip that compound with the card will be unequip and also there will be a message at the chatlog instead of no effect that will confuse its working or not.
    If anyone interest please do contact me [email protected]

  6. its seems that the monster didnt spawn.. can u help me?

    this is my current script

     

    -	script	night_mobs	-1,{
    OnInit:
    // Spawn nightmare mobs on which maps?
    setarray .maps[0], "prontera";
    OnMinute00:
    if (gettime(3)%2 == 0) { // hours: 00, 02, 04, ... (even hours)
    	if (isnight()) {
    		day;
    		announce "The sun is rising.", bc_all;
    		for (set .@i,0; .@i<getarraysize(.maps); set .@i,.@i+1)
    			killmonster .maps[.@i], strnpcinfo(3)+"::OnZombieDead";
    	}
    } else if (gettime(3)%2 == 1) { // hours: 01, 03, 05, ... (odd hours)
    	if (isday()) {
    		night;
    		announce "Night has fallen... beware of the undead!", bc_all|bc_blue;
    		for (set .@i,0; .@i<getarraysize(.maps); set .@i,.@i+1)
    			monster .maps[.@i],0,0, "Nightmare",1420,200, strnpcinfo(3)+"::OnZombieDead";
    
    	}
    }
    end;
    
    OnZombieDead:
    // open 1 Old Purple Box
    getrandgroupitem IG_VioletBox,1;
    // 2% chance to get Ygg Berry
    if (rand(100) < 2) getitem 607,1; // Yggdrasil Berry
    
    // spawn a new mob each time one is killed?
    // Delete the next line to have mobs stay dead until the next night cycle.
    monster "this",0,0, "Nightmare",1427,1, strnpcinfo(3)+"::OnZombieDead";
    end;
    }

     

  7. //#####################################################################
    //#  								      #
    //#   #####     #      ########  #    #   #####  ##    #      #       #
    //#   #        ###        ##     #    #   #      # #   #     ###      #
    //#   ####    #   #       ##     ######   ####   #  #  #    #   #     #
    //#   #      #######      ##     #    #   #      #   # #   #######    #
    //#   #####  #     #      ##     #    #   #####  #    ##   #     #    #
    //#                                                                   #
    //#####################################################################
    //
    //=========== Script for eAthena Users ====================//
    //= Refiner and Repairman made by Rikimaru on eathena .net=//
    //=========================================================//
    //======== Description ====================================//
    //== Easy made Refiner with Repairman for new eAthena =====//
    //== Users. Please do not remove theese Credits ===========//
    //== Refines the complete Equipment to +10 and repairs ====//
    //== All broken items in the Players inventory ============//
    //================= Version : =============================//
    //============= V. 1.0 Bug Fixes by Rikimaru ==============//
    //============= V. 1.1 Added a Derefiner !! ===============//
    //=========== Credits End =================================//
    //
    //
    //===================== Script of Smith/Repairman =========//
    prontera,155,180,5	script	Smith	63,{
    mes "[Smith]";
    mes "Hi,I can Refine your";
    mes "Equipment to +10";
    mes "or Repair your";
    mes "Equipment.Also I'm able";
    mes "to Derefine your Equipment.";
    mes "What do you want from me?";
    next;
    switch(select("I want a Repair:I want a Refine:I want a Derefine:Nothing")) {
    	case 1:
    	mes "[Smith]";
    	mes "Okay I'm going to repair";
    	mes "your Equipment.";
    	next;
    	while (getbrokenid(1)) {
    	repair(1);
    	set .@i, .@i +1;
    	}
    	if (.@i) dispbottom .@i + " items repaired.";
    	mes "[Smith]";
    	mes "Congrats!Enjoy!";
    	close;
    	end;
    	case 2:
    	mes "[Smith]";
    	mes "Okay I'm going";
    	mes "to refine your Equipment";
    	mes "to +10,Thx for using my Service!";
    	next;
    	for(set @part,1;@part<11;set @part,@part+1) 
    	if(getequipisequiped(@part)) 
    	while(getequiprefinerycnt(@part) < 10) 
    	successrefitem @part;
    	mes "[Smith]";
    	mes "Congrats Enjoy it!";
    	close;
    	end;
    	case 3:
    	mes "[ Smith ]";
    	mes "Okay I'm going to Derifne your Equipment now. You need 10.000 Zeny for that.";
    	next;
    	setarray .@a[1],256,16,32,2,4,64,8,128,512,1;
    	select(getequipname(1),getequipname(2),getequipname(3),getequipname(4),getequipname(5),getequipname(6),getequipname(7),getequipname(8),getequipname(9),getequipname(10));
    		if ( !getequipisequiped(@menu) ) {
    			mes "[ Smith ]";
    			mes "There's nothing equipped there...";
    			close; }
    		if ( zeny < 10000 ) {
    			mes "[ Smith ]";
    			mes "You don't have enough zeny";
    			close; }
    		if ( getequiprefinerycnt(@menu) > 10 || getequiprefinerycnt(@menu) == 0 ) {
    			mes "[ Smith ]";
    			mes "This item cannot be de-refine.";
    			close; }
    	atcommand "@refine "+ .@a[@menu] +" -10";
    	set zeny,zeny - 10000;
    	mes "[ Smith ]";
    	mes "Your item has de-refined successfully";
    	close;
    	case 4:
    	mes "[ Smith ]";
    	mes "Okay,come back when you need me.";
    	close;
    	}
    }

    Evening , im using a refiner npc script from rikimaru , but its seems the npc even refine accessories , middle head and lower head . 
    how can i disable refining that 3 parts middle , lower and acces .
    i look for the thread 

  8. /http://rathena.org/board/topic/57784-request-dota-runes/page__fromsearch__1
    
    pvp_n_2-5,99,100,5    script    Runes    757,1,1,{
    dispbottom "Walkthrough to get Runes.";
    end;
    
    OnTouch:
        switch( .runes ){
            case 0:
                // 2x ATK / MATK
                sc_start SC_INCATKRATE,( .duration * 1000 ),100;
                sc_start SC_INCMATKRATE,( .duration * 1000 ),100;
                break;
            case 1:
                // Invisible
                skill "AS_CLOAKING",10,1;
                sc_start SC_CLOAKING,( .duration * 1000 ),10;
                break;
            case 2:
                // Restore
                sc_start4 SC_REGENERATION,( .duration * 1000 ),-10,1,0,0;
                break;
            case 3:
                // Clone
                getmapxy( .@map$,.@x,.@y,0,strcharinfo(0) );
                clone .@map$,.@X,.@y,"",getcharid(0),getcharid(0),"",1,.duration;
                clone .@map$,.@X,.@y,"",getcharid(0),getcharid(0),"",1,.duration;
                break;
            case 4:
                // Haste
                sc_start SC_SpeedUp1,( .duration * 1000 ),0;
                break;
            default: end;
        }
        announce "[Rune]  "+strcharinfo(0)+" gained "+.name$[.runes]+".",bc_self,0x00FF00;
        hideonnpc .npc_name$;
        delwaitingroom;
        .runes = -1;
        attachnpctimer;
        initnpctimer;
        specialeffect2 EF_PROVIDENCE;
        end;
        
    OnTimer6000:
        sc_end SC_CLOAKING;
        sc_end SC_REGENERATION;
    OnTimerQuit:
        stopnpctimer;
        callsub( OnAssign );
        end;
    
    OnAssign:
        .random = rand( .coordinate_size );
        movenpc .npc_name$,.CoordinateX[ .random ],.CoordinateY[ .random ];
        hideoffnpc .npc_name$;
        if( .runes < 0 ) 
            .runes = rand( .rune_size );
        if( .npc_sprite[.runes] )
            setnpcdisplay( .npc_name$,.name$[.runes],.npc_sprite[.runes] );
        delwaitingroom;
        waitingroom "   "+.name$[.runes],0;
        return;
    
    OnInit:
        // Runes Duration in Seconds
        set .duration,60;
    
        // Name of Each Runes.
        setarray .name$[0],
            "Double Damage",    //    2 x ATK Rate
            "Invisibility",        //    Cloaking
            "Regeneration",        //    HP / SP Regeneration
            "Illusion",        //    Create 2 Clones
            "Haste";    //    Improve Movement Speed
    
        // npc sprite switching if any.
        setarray .npc_sprite,
            117,
            117,
            117,
            117,
            117;
            
        // Random Coordinate where NPC will Shown Again
        setarray .pvp_n_2-5,95,100;
        setarray .pvp_n_2-5,103,100;
        
        .rune_size = getarraysize( .name$ );
        .coordinate_size = getarraysize( .CoordinateX );
        .npc_name$ = strnpcinfo(0);
        callsub( OnAssign );
        end;
    }

    Hello sir im using ur script , but theres a problem that npc always show up for 5 sec , and i wanted it to make 2min per runes like dota timer .

    and also only Double Damage runes show up .

    the image i attached is the error i got on putty . can u help me fix this sir ?

    Capture.PNG

  9. Hello , i had searched and tried some of script that i found .

    But still i cant get what i really need , its even almost crash my itemdb and server.

    What im looking for is the script that a npc can exchange 1000 mithril coin into 1 pod that hav expiry date of 7days and 3000 mithril coin for 1month.

    This is due to my Premium buffer that detect pod in inventory to get full buff .

    I even now scared to death to try rescript again coz of server almost crash . Please help me senpai !

×
×
  • Create New...