Jump to content

diamondhole

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by diamondhole

  1. Hello guys i have been using this script for custom drop from MVP with 5% chances, is it possible do make if VIP get 10% chances. Thank you in advance, here's the script 

     

    Quote

    -    script    Sample    -1,{

    function    CustomRateCard;

    OnNPCKillEvent:

    // CustomRateCard( <MobID>,<CardID>,<Rate> );

    // Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100%

    CustomRateCard( 1115,7941,500 ); // Edga

    CustomRateCard( 1059,7941,500 ); // Mistress

    CustomRateCard( 1150,7941,500 ); // Moonlight

    CustomRateCard( 1147,7941,500 ); // Maya

    CustomRateCard( 1159,7941,500 ); // Phreeoni

    CustomRateCard( 1312,7941,500 ); // Turtle General

    CustomRateCard( 1087,7941,500 ); // Orc Hero

    CustomRateCard( 1190,7941,500 ); // Orc Lord

    CustomRateCard( 1112,7941,500 ); // Drake

    CustomRateCard( 1038,7941,500 ); // Osiris

    CustomRateCard( 1046,7941,500 ); // Doppelganger

    CustomRateCard( 1373,7941,500 ); // Lord of Death

    CustomRateCard( 1492,7941,500 ); // Incantation Samurai

    CustomRateCard( 1157,7941,500 ); // Pharoh

    CustomRateCard( 1272,7941,500 ); // Dark Lord

    CustomRateCard( 1039,7941,500 ); // Baphomet


    end;

    function    CustomRateCard    {

    if( killedrid == getarg(0) && rand( 10000 ) <= getarg(2) ){

    getitem getarg(1),1;

    }

    return;

    }

    }

     

  2. On 2/16/2013 at 6:48 PM, Unholy Touch said:

    Actually Empty the pvp_rank table wont solve the issue, because Ghost uses a variable global variable, which can be reset by assigning another value which in my case set it to 0. I just made a script in which when the player login his/her statistics in ladder will be reset to 0.


     

    
    -    script    Playerresetladder_Login    -1,{
    OnPCLoginEvent:
    if(chkifresetladder >= 1) goto chk_kungtaposna;
    query_sql "DELETE FROM `pvp_rank` WHERE `pvp_rank`.`char_id` = "+getcharid(0)+"";
    callsub OnPvPReset;
    set chkifresetladder,1;
    end;
    OnPvPReset:
    set Kill, 0;
    set Death, 0;
    set KillingStreak, 0; 
    set MultiKill, 0;
    set KillingSpree, 0;
    set Dominating, 0;
    set MegaKill, 0;
    set Unstoppable, 0;
    set WickedSick, 0;
    set MonsterKill, 0;
    set Godlike, 0;
    set BeyondGodlike, 0;
    set DoubleKill, 0;
    set TripleKill, 0;
    set UltraKill, 0;
    set Rampage, 0;
    set Ownage, 0;
    set NemesisKill, 0;
    set FeedCount, 0;
    return;
    chk_kungtaposna:
    end;
    }

     


    im not really good at scripting so in my case i need to use another variable for "chkifresetladder" every month. thank you.

    is it possible to make a npc where gm can click and it reset this table, i try manually but this sql require char id i want reset for all, plus i have use for first time. So it wont reset again for the 2nd time

  3. Hello,

    Is it possible to make King Of Emperium (KOE) with guild member limit in the KOE map.

    For example if Guild A has 10 number of player inside the KOE map, other guild member are not allowed to enter the map. 

    The idea of doing this is to make competitive KOE as some new guild havent reach max number to participate in War of Emperium.

    Hence KOE would be a good training ground for them.

    Thanks in advance ?

  4. On 8/9/2015 at 10:43 AM, Emistry said:

    Similar case happened to me when I upgraded to Window10 ... however its because of the Graphic Card  driver issue.

    Fixed once getting the graphic card driver updated and changed in the setup.exe

     

    Its expected to see such problem to occur again just like how Win8 and WinVista did xD

    agree with Emistry, just update your graphic driver or try to play with the setting it works for me

  5. On 1/13/2017 at 7:48 PM, Akkarin said:

     

    
    prontera,100,100,5	script	CashToVIP	123,{
    	.@cashperday = 100;
    	
    	mes "["+ strnpcinfo(1)+"]";
    	if(#CASHPOINTS == 0){
    		mes "You need Cash Points in order to buy VIP time";
    		close;
    	}
    	
    	switch(vip_status(1)){
    		case 0:
    			mes "You're not a VIP";
    			break;
    		case 1:
    			mes "You are a VIP";
    			break;
    	}
    	
    	mes "You currently have "+ #CASHPOINTS +" Cash Points.";
    	mes "Each VIP Day will cost you ^0000ff"+ .@cashperday +"^000000";
    	next;
    	
    	mes "["+ strnpcinfo(1)+"]";
    	if( #CASHPOINTS < .@cashperday ){
    		mes "You don't have enough Cash Points to purchase VIP Days";
    		close;
    	} else {
    		mes "Would you like to purchase/increase your VIP Days?";
    		switch(select(" - Nope: - Yeah!")){
    			case 1:
    				break;
    			case 2:
    				#CASHPOINTS -= .@cashperday;
    				vip_time 1440;
    				dispbottom "Current Cash Points: "+ #CASHPOINTS;
    				dispbottom "VIP Expires: "+ vip_status(2);
    				break;
    		}
    		close;
    	}
    }

    it works perfectly for me, but i would to use item 7959 in exchange for VIP, can you help me on this, thank you in advance

     

×
×
  • Create New...