Jump to content

painrugi

Members
  • Posts

    58
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by painrugi

  1. use euphy's woe controller http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/ << credit for euphy

    that script auto give each player members of the capture guild with duplicate IP check..

     

    and for the drop skull try this one :

    -	script	Sample	-1,{
        OnPCKillEvent:
    	if( 
    	strcharinfo(3) != "prtg_cas01" &&
    	strcharinfo(3) != "prtg_cas02" &&
    	strcharinfo(3) != "prtg_cas03" &&
    	strcharinfo(3) != "prtg_cas04" &&
    	strcharinfo(3) != "prtg_cas05"
    	) end;
    	getnameditem 7420, rid2name( killedrid );
    	end;
    }
    

    add or remove castle name you want....

     

     

    sorry my bad english...

  2. on mob_db.txt add the item ID and drop chance you want, like this:

    1213,HIGH_ORC,High Orc,High Orc,81,4193,1,1099,1158,1,389,439,101,45,75,16,40,31,69,20,10,12,2,7,43,0x3695,150,1500,500,1000,0,0,0,0,0,0,0,7002,2500,1304,10,999,90,931,7500,912,1300,756,196,508,900,607,100,0,0,4322,1
    

    note: follow the struct because one monster have max number of item drop

  3. ah my mistake, missing one curly at the end..

    -	script	KillCashPoint	-1,{
    OnInit:
    setarray .Map$[0], "guild_vs1", "guild_vs2", "pvp_n_8-2";
    set .size, getarraysize(.Map$);
    end;
    OnPCKillEvent:
    if( killedrid == getcharid(0) ) end;     //No Points, killed himself
        for ( set .@i, 0; .@i < .size; set .@i, .@i + 1 ) {
            if( strcharinfo(3) == .Map$[.@i] )
                if (lastkilled==killedrid){
        set lkcount,lkcount+1;
        if (lkcount>=5){
            set #PVPPOINTS,#PVPPOINTS-3;
            dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#PVPPOINTS;
    
            end;
        }
        else{
            set #PVPPOINTS,#PVPPOINTS+1;
            dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#PVPPOINTS;
            end;
        }
    }
    else{
        set lastkilled,killedrid;
        set lkcount,1;
        set #PVPPOINTS,#PVPPOINTS+1;
        dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#PVPPOINTS;
        end;
    }
    }
    }
    
  4. i'm using client 2013-08-07aRagxe, the problem is only 3 slots are available and 6 slots not available...

     

    i'm use unpacked client from here : http://k3dt.eu/Ragexe/unpacked/

     

    and the xdiff file from here : http://sourceforge.net/p/xdiffgen/code/HEAD/tree/

     

    anyone can help me to fix that??

     

    EDITED: the slot it's fix i forgot about vip system... LoL

     

    well, after that i got some problem:

    1.when i added more slot character on mmo.h, the added slot become not available  /pif

    2.max storage vip account only 300 (normal max storage 600)....

  5. 
    

    // Battleground rewards

    // *********************************************************************

    new_2-4,51,191,5 script Battle Reward#fl2 851,{

    if( $@FlaviusBG2_Victory == Bat_Team )

    { // Victory

    mes "[Swandery]";

    mes "Blessed Warrior";

    mes "Let's enjoy our glorious victory!";

    mes "" + strcharinfo(0) + ", its a sign reflecting victory";

    getitem 7829,10;

    set registeredna,0;

    set kvm_point,kvm_point + 5; //+5 points for winning team

    warp "prontera",155,179;

    end;

    }

    else

    { // Derrota

    mes "[Swandery]";

    mes "You lost, but you're dedicated to this battle.";

    mes "This is a reward for your great dedication!";

    mes "Just take this defeat a lesson, and later you would definitely learn.";

    set registeredna,0;

    getitem 741,1;

    warp "prontera",155,179;

    end;

    }

    set Flavius2_BG_Tick, gettimetick(2) + 300;

    getitem 25454, .@Reward;

    if(.@rewardb != 0) {

    dispbottom "You've won "+.@rewardb+" extra medals for captured heroes";

    getitem 25454,.@rewardb;}

    setlook 7,normallook;

    set registeredna,0;

    bg_leave;

    warp "prontera",155,179;

    end;

    }

  6. 
    

    - script KillCashPoint -1,{

    OnInit:

    setarray .Map$[0], "guild_vs1", "guild_vs2", "pvp_n_8-2";

    set .size, getarraysize(.Map$);

    end;

    OnPCKillEvent:

    if( killedrid == getcharid(0) ) end; //No Points, killed himself

        for ( set .@i, 0; .@i < .size; set .@i, .@i + 1 ) {

            if( strcharinfo(3) == .Map$[.@i] )

                if (lastkilled==killedrid){

    set lkcount,lkcount+1;

    if (lkcount>=5){

    set #PVPPOINTS,#PVPPOINTS-3;

    dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#PVPPOINTS;

    end;

    }

    else{

    set #PVPPOINTS,#PVPPOINTS+1;

    dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#PVPPOINTS;

    end;

    }

    }

    else{

    set lastkilled,killedrid;

    set lkcount,1;

    set #PVPPOINTS,#PVPPOINTS+1;

    dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#PVPPOINTS;

    end;

    }

    }

  7.  

     

     

    where can i edit the exp mining??? i want to increase the exp rate..

     

    and why i got some warning message after wisp npc:lang like this..

     

    [Warning]: Incorrect use of 'close' command! <source:lang / path:npc/custom/bk/langManagement.txt>

    1. Look the line 606, change the "rand" value

    2. Download the new LangManagement.txt with the fix: http://www.myzter.com/downloads/LangManagement.txt

     

    thx sir Myzter it's very helpfull and thx for sharing this awesome script.. /no1

     

    EDITED : i'm little bit confuse on column "mines" inside mn_maps table, can you explain to me the structure of that column sir Myzter??

     

    Sure,

    This is the struct of that table:

    • `map`: The name of the map where you want to add mines, ie: anthell02
    • `mines`: The maximum amount of mine spots in that map, ie: 5
    • `mtypes`: The sum of the mine ID's, ie: 1+8+34 = 43

    The mine id's are unique and the next map ID must be always the previous id * 2 (1,2,4,8,16,32,64,etc.), just in the case you want to create more mines.

     

    When 1 map have more than 1 mine specified, the system create the mines at random using the specified id's.

     

    Regards,

    Myzter

     

    i got it sir, thx  /ok

  8.  

    where can i edit the exp mining??? i want to increase the exp rate..

     

    and why i got some warning message after wisp npc:lang like this..

     

    [Warning]: Incorrect use of 'close' command! <source:lang / path:npc/custom/bk/langManagement.txt>

    1. Look the line 606, change the "rand" value

    2. Download the new LangManagement.txt with the fix: http://www.myzter.com/downloads/LangManagement.txt

     

    thx sir Myzter it's very helpfull and thx for sharing this awesome script.. /no1

     

    EDITED : i'm little bit confuse on column "mines" inside mn_maps table, can you explain to me the structure of that column sir Myzter??

×
×
  • Create New...