Jump to content

Eross

Members
  • Posts

    340
  • Joined

  • Last visited

Posts posted by Eross

  1. Good day folks ! Just need a little help .. Is it possible in battle.cpp to make a separate effect or damage depending on map (normal, pvp and gvg) ?? 

    Example is PA_SACRIFICE ...

    		case PA_SACRIFICE:
    			skillratio += -10 + 10 * skill_lv;
    			break;

    is there a code like this ?

    		case PA_SACRIFICE:
    		 #ifdef map_flag_gvg
    			skillratio += -10 + 2 * skill_lv;
    		#endif
    			skillratio += -10 + 10 * skill_lv;
    			break;
    
    ----------- OR --------------
    
    		case PA_SACRIFICE:
    		 #ifdef map_flag_pvp
    			skillratio += -10 + 2 * skill_lv;
    		#endif
    			skillratio += -10 + 10 * skill_lv;
    			break;

    Or is there a more easier way to do this ? Thankyou ! I hope someone notice my post .. Have a nice day !!

  2. On 4/13/2022 at 7:06 PM, DEsMOn said:

    Hello Scripters,

    Having issue in this script can anyone solve this?

    //===== rAthena Script =======================================
    //= MVP Ladder Game
    //===== By: ==================================================
    //= aftermath, AnnieRuru (rewrite)
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Gather a party and kill every MVP in ascending order.
    //===== Additional Comments: =================================
    //= 1.0 First version, edited. [Euphy]
    //============================================================
    
    prontera,170,169,3	script	MvP Ladder Warper	404,{
    	mes "[MvP Ladder Warper]";
    	mes "Say... do you want to play the MvP Ladder game?";
    	next;
    	switch(select("Yes, let's get it on!:Information.:Show me the best record.:No.")) {
    	case 1:
    		break;
    	case 2:
    		mes "[MvP Ladder Warper]";
    		mes "In this game, your party has to kill every single MvP monster in ascending order, from the weakest to strongest.";
    		if ( .finish_item_amount )
    			mes "If your party can finish the MVP ladder game, each member will earn "+ callfunc("F_InsertPlural", .finish_item_amount, getitemname( .finish_item_id )) +".";
    		if ( .register_cost )
    			mes "But the entrance fee is "+ callfunc( "F_InsertComma", .register_cost ) +" zeny.";
    		next;
    		mes "[MvP Ladder Warper]";
    		mes "You lose the game if you can't finish in "+ .timeout +" minutes, or if your entire party is killed.";
    		mes "Good luck!";
    		close;
    	case 3:
    		mes "[MvP Ladder Warper]";
    		if ( !$mvpladdderparty_time ) {
    			mes "Nobody has finished this game yet.";
    			close;
    		}
    		mes "The best record is";
    		mes "[ "+( $mvpladdderparty_time / 60 )+" min "+( $mvpladdderparty_time % 60 )+" sec ]";
    		mes "By the party ^FF0000"+ $mvpladdderparty_name$ +"^000000.";
    		[email protected] = getarraysize( $mvpladderparty_member$ );
    		for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ )
    			mes "^000000"+ ( [email protected] +1 ) +". ^0000FF"+ $mvpladderparty_member$[[email protected]];
    		if ( getgmlevel() < .gmlvlreset ) close;
    		next;
    		if ( select( "Close.", "Reset the record." ) == 1 ) close;
    		if ( select( "Never mind.", "I really want to reset it." ) == 1 ) close;
    		$mvpladdderparty_time = 0;
    		$mvpladdderparty_name$ = "";
    		deletearray $mvpladderparty_member$[[email protected]];
    		mes "[MvP Ladder Warper]";
    		mes "Record reset successfully.";
    		close;
    	case 4:
    		mes "[MvP Ladder Warper]";
    		mes "When you are strong enough to complete the game, please come back.";
    		close;
    	}
    	if ( !getcharid(1) ) {
    		mes "[MvP Ladder Warper]";
    		mes "You have to form a party to play.";
    		close;
    	}
    	if ( is_party_leader() == false ) {
    		mes "[MvP Ladder Warper]";
    		mes "Only the party leader can register.";
    		close;
    	}
    	[email protected] = getcharid(3);
    	getpartymember getcharid(1), 1;
    	getpartymember getcharid(1), 2;
    	for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    		if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    			attachrid [email protected][[email protected]];
    			if ( strcharinfo(3) == strnpcinfo(4) )
    				[email protected]++;
    		}
    	}
    	attachrid [email protected];
    	if ( [email protected] != .register_min ) {
    		mes "[MvP Ladder Warper]";
    		mes "You have to form a party with exactly "+ .register_min +" members to play.";
    		close;
    	}
    	else if ( [email protected] != .register_min )  {
    		mes "[MvP Ladder Warper]";
    		mes "Your party must have "+ .register_min +" members online on map '"+ strnpcinfo(4) +"'.";
    		close;
    	}
    	else if ( .register_cost && Zeny < .register_cost ) {
    		mes "[MvP Ladder Warper]";
    		mes "You don't have enough zeny. Please come back when you do.";
    		close;
    	}
    	else if ( .party_id ) {
    		mes "[MvP Ladder Warper]";
    		mes "I'm sorry, but a party is currently playing the game. Please standby until the party is finished.";
    		mes "Thank you.";
    		close;
    	}
    	Zeny -= .register_cost;
    	announce "The party ["+ strcharinfo(1) +"] has started the MvP ladder game.", bc_all;
    	set .party_id, getcharid(1);
    	set [email protected]_enter, gettimetick(2);
    	for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    		if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    			attachrid [email protected][[email protected]];
    			if ( strcharinfo(3) == strnpcinfo(4) ) {
    				announce "You have "+ .timeout +" minutes to complete "+ .totalround +" rounds.", bc_self;
    				[email protected]$[[email protected]] = strcharinfo(0);
    				[email protected]++;
    			}
    		}
    	}
    	cleanmap .eventmap$;
    	warpparty .eventmap$, 0,0, .party_id, strnpcinfo(4);
    	donpcevent strnpcinfo(0)+"::OnMvpDead";
    	sleep .timeout * 60000;
    	if ( .round == .totalround +1 ) {
    		getpartymember .party_id, 1;
    		getpartymember .party_id, 2;
    		mapannounce .eventmap$, "Congratulations... You were able to defeat all the MVPs!", bc_map;
    		for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    			if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    				attachrid [email protected][[email protected]];
    				if ( strcharinfo(3) == .eventmap$ )
    					getitem .finish_item_id, .finish_item_amount;
    			}
    		}
    		set [email protected], gettimetick(2) - [email protected]_enter;
    		if ( .bonus_item_amount && [email protected] < .bonus_time * 60 ) {
    			mapannounce .eventmap$, "You are rewarded a bonus item for completing the ladder within "+ .bonus_time +" minutes.", bc_map;
    			for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    				if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    					attachrid [email protected][[email protected]];
    					if ( strcharinfo(3) == .eventmap$ )
    						getitem .bonus_item_id, .bonus_item_amount;
    				}
    			}
    		}
    
    		if ( !$mvpladdderparty_time || [email protected] < $mvpladdderparty_time ) {
    			mapannounce .eventmap$, "And you broke the record! [ "+( [email protected] / 60 )+" min "+( [email protected] % 60 )+" sec ]", bc_map;
    			set $mvpladdderparty_time, [email protected];
    			set $mvpladdderparty_name$, getpartyname( .party_id );
    			copyarray $mvpladderparty_member$, [email protected]$, .register_min;
    		}
    		else
    			mapannounce .eventmap$, "Time used [ "+( [email protected] / 60 )+" min "+( [email protected] % 60 )+" sec ]", bc_map;
    		sleep 10000;
    		announce "The party ["+ getpartyname( .party_id ) +"] has finished the MvP ladder game!", bc_all;
    	}
    	else
    		announce "The party ["+ getpartyname( .party_id ) +"] has failed to finish the MvP ladder game.", bc_all;
    	mapwarp .eventmap$, .map$, .x, .y;
    	killmonsterall .eventmap$;
    	.party_id = .round = 0;
    	end;
    
    OnMvpDead:
    	getpartymember .party_id, 1;
    	getpartymember .party_id, 2;
    	.round++;
    	if ( .round >= 2 && .round != .totalround +1 && .round_item_amount ) {
    		for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    			if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    				attachrid [email protected][[email protected]];
    				if ( strcharinfo(3) == .eventmap$ )
    					getitem .round_item_id, .round_item_amount;
    			}
    		}
    	}
    	if ( .round == .totalround +1 ) {
    		awake strnpcinfo(0);
    		end;
    	}
    	else if ( .round == .totalround )
    		mapannounce .eventmap$, "The final Round will begin in "+ .delay +" seconds...", bc_map;
    	else
    		mapannounce .eventmap$, "Starting round "+ .round +" in "+ .delay +" seconds...", bc_map;
    	sleep .delay * 1000;
    	if ( .mvpid[.round] == 1646 )  // pick random Bio3 MVP
    		.mvpid[.round] = rand(1646,1651);
    	monster .eventmap$,0,0, "--ja--", .mvpid[.round], 1, strnpcinfo(0)+"::OnMvpDead";
    	mapannounce .eventmap$, getmonsterinfo( .mvpid[.round], MOB_NAME ) +" has spawned!", bc_map|bc_blue;
    	end;
    
    OnPCLogoutEvent:
    	if ( hp > 0 )
    		[email protected]_one = 1;
    	else
    		end;
    OnPCDieEvent:
    	if ( strcharinfo(3) != .eventmap$ || !getcharid(1) ) end;
    	if ( getcharid(1) != .party_id ) end;
    	getpartymember .party_id, 1;
    	getpartymember .party_id, 2;
    	for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) {
    		if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
    			attachrid [email protected][[email protected]];
    			if ( strcharinfo(3) == .eventmap$ && hp > 0 )
    				[email protected]++;
    		}
    	}
    	if ( [email protected]_one )
    		[email protected];
    	if ( [email protected] ) {
    		mapannounce .eventmap$, "Party wiped!", bc_map;
    		sleep 10000;
    		awake strnpcinfo(0);
    	}
    	end;
    
    OnInit:
    //	Configurations -----------------------------------------------------
    
    	// Time limit (in minutes)
    	// When time runs out, all players inside the room will be kicked out.
    	// Do NOT set this to zero!
    	set .timeout, 60;
    
    	// entrance fee (in Zeny)
    	set .register_cost, 100000;
    
    	// exact amount of party members needed to start the game
    	set .register_min, 2;
    
    	// id of each mvp. you can add more
    	setarray .mvpid[1],
    		1086,//	Golden Thief Bug	64
    		1115,//	Eddga				65
    		1150,//	Moonlight Flower	67
    		1159,//	Phreeoni			69
    		1112,//	Drake				70
    		1583,//	Tao Gunka			70
    		1492,//	Incantation Samurai	71
    		1046,//	Doppelgangger		72
    		1252,//	Garm				73
    		1418,//	Evil Snake Lord		73
    		1059,//	Mistress			74
    		1190,//	Orc Lord			74
    		1087,//	Orc Hero			77
    		1251,//	Knight of Windstorm	77
    		1038,//	Osiris				78
    		1658,//	Ygnizem				79
    		1272,//	Dark Lord			80
    		1147,//	Maya				81
    		1785,//	Atroce				82
    		1389,//	Dracula				85
    		1630,//	Bacsojin			85
    		1885,//	Gorynych			85	
    		1511,//	Amon Ra				88
    		1688,//	Lady Tanee			89		
    		1157,//	Pharaoh				93		
    		1312;//	Turtle General		97		
    		
    		
    
    	// number of rounds (default: 39)
    	set .totalround, getarraysize(.mvpid) -1;
    
    	// item reward for completing each round
    	set .round_item_id, 34139;
    	set .round_item_amount, 2;
    
    	// item reward for completing the entire ladder
    	set .finish_item_id, 22654;
    	set .finish_item_amount, 10;
    
    	// bonus reward if ladder completed within a certain time (in minutes)
    	set .bonus_time, 45; // if completed within 45 minutes, this reward is given
    	set .bonus_item_id, 7227;
    	set .bonus_item_amount, 10;
    
    	// time delay between rounds, in seconds (default: 3)
    	set .delay, 5;
    
    	// minimum GM level to reset the best record
    	set .gmlvlreset, 99;
    
    	// event map
    	set .eventmap$, "guild_vs2-2";
    
    	// mapflag configuration
    	setarray [email protected],
    		mf_nowarp,
    		mf_nowarpto,
    		mf_nosave,
    		mf_nomemo,
    		mf_noteleport,
    //		mf_nopenalty, // disable exp loss
    		mf_noreturn,
    //		mf_nobranch,
    //		mf_nomobloot, // disable monster drop loots,
    //		mf_nomvploot, // 2 of these
    		mf_partylock;
    
    //	Config Ends --------------------------------------------------------------
    
    	mapannounce .eventmap$, "An administrator has refreshed the server. Please re-register. We apologize for the inconvenience.", bc_map;
    	getmapxy .map$, .x, .y, BL_NPC;
    	mapwarp .eventmap$, .map$, .x, .y;
    	killmonsterall .eventmap$;
    	[email protected] = getarraysize( [email protected] );
    	for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ )
    		setmapflag .eventmap$, [email protected][[email protected]];
    	end;
    }

     

    can you show us the error ? its on your donpcevent link i supposed.. 

  3. 7 minutes ago, IsabelaFernandez said:

    hi partners.
    I would like this script instead of needing zeny to require items in this case the item ID 7420 (skull) in order to be enchanting.

      Hide contents

    prontera,161,173,3    script    Encantador    933,{
    mes "eu posso encantar "+getitemname( .faw_itemid );
    mes " ";
    if( getequipid( EQI_GARMENT ) == .faw_itemid ){

        [email protected] = getequiprefinerycnt( EQI_GARMENT );
        for( [email protected] = 0; [email protected] < 4; [email protected]++ )
            [email protected][[email protected]] = getequipcardid( EQI_GARMENT,[email protected] );
            
        switch( select( "Encantar o item.","Resetar encantamentos." ) ){
            case 1:
                mes "Escolha um slot para encantar.";
                mes "Você pode encantar mais slots quando tiver um refinamento superior.";
                [email protected] = select(
                    ( [email protected][1] || [email protected] < 7 )?"":"Enchant Slot 1",
                    ( [email protected][2] || [email protected] < 8 )?"":"Enchant Slot 2",
                    ( [email protected][3] || [email protected] < 9 )?"":"Enchant Slot 3",
                    "Cancel"
                );
                if( [email protected] < 4 ){
                    mes "Pick Enchant Type";
                    [email protected] = select( .enchant_type_menu$ ) - 1;
                    [email protected] = .enchant_list_size[[email protected]];
                    if( [email protected] ){
                        copyarray [email protected]_list[0],getd( ".enchant_list_"+( [email protected]+1 )+"[0]" ),[email protected];
                        if( [email protected] >= 9 ){
                            [email protected]_list[[email protected]] = .special_enchant[[email protected]];
                            [email protected]++;
                        }
                        delequip EQI_GARMENT;
                        if( rand( 100 ) < .success_rate ){
                            setd( "[email protected]["[email protected]+"]" ),[email protected]_list[ rand( [email protected] ) ];
                            mes "Pronto, item encantado com sucesso.";
                            getitem2 .faw_itemid,1,1,[email protected],0,[email protected][0],[email protected][1],[email protected][2],[email protected][3];
                            equip .faw_itemid;
                        }else{
                            mes "Que pena, não conseguimos encantar o item.";
                        }
                    }
                }
                break;
            case 2:
                mes "Você precisa "+.enchant_reset_Zeny+" Zeny.";
                if( Zeny >= .enchant_reset_Zeny ){
                    if( select( "Confirmar para resetar todos os encantamentos?","Cancelar" ) == 1 ){
                        if( [email protected][1] && [email protected][2] && [email protected][3] ){
                            mes "Seu item não tem nenhum item encantado.";
                        }else{
                            Zeny -= .enchant_reset_Zeny;
                            delequip EQI_GARMENT;
                            getitem2 .faw_itemid,1,1,[email protected],0,[email protected][0],0,0,0;
                            equip .faw_itemid;
                            mes "Concluído removido todos os itens encantados.";
                        }
                    }
                }
            default: break;
        }
        
    }else{
        mes "Certifique-se de estar equipado com "+getitemname( .faw_itemid );
    }
    close;


    OnInit:
    // FAW item id
    .faw_itemid = 2589;

    // enchant success rate
    .success_rate = 100;

    // enchant reset cost
    .enchant_reset_Zeny = 1000000;

    // enchant type category
    setarray .enchant_type$,"Espírito do Lutador","Pedra Mágica","Mira Apurada","Crítico","MaxHP","MaxSP","ASPD","STR","AGI","DEX","VIT","INT","LUK";

    // enchant list ( Fighting Spirit )
    setarray .enchant_list_1,4810,4809,4808;
    // enchant list ( Magic )
    setarray .enchant_list_2,4812,4827,4826;
    // enchant list ( Archer )
    setarray .enchant_list_3,4832,4833,4834;
    // enchant list ( Critical )
    setarray .enchant_list_4,4764,4765;
    // enchant list ( Max HP )
    setarray .enchant_list_5,4797,4798,4799;
    // enchant list ( Max SP )
    setarray .enchant_list_6,4870,4800,4801;
    // enchant list ( ASPD )
    setarray .enchant_list_7,4807,4842;
    // enchant list ( STR )
    setarray .enchant_list_8,4702,4703,4704;
    // enchant list ( AGI )
    setarray .enchant_list_9,4732,4733,4734;
    // enchant list ( DEX )
    setarray .enchant_list_10,4722,4723,4724;
    // enchant list ( VIT )
    setarray .enchant_list_11,4742,4743,4744;
    // enchant list ( INT )
    setarray .enchant_list_12,4712,4713,4714;
    // enchant list ( LUK )
    setarray .enchant_list_13,4752,4753,4754;

    // extra 1 special enchant for 3rd slot if refine above 9 ( follow by category sequences )
    //setarray .special_enchant,4821,4828,4835,4765,4868,4801,4807,4853,4854,4857,4855,4856,4858;


    .enchant_type_size = getarraysize( .enchant_type$ );
    for( [email protected] = 0; [email protected] < .enchant_type_size; [email protected]++ ){
        .enchant_list_size[[email protected]] = getarraysize( getd( ".enchant_list_"+( [email protected]+1 ) ) );
        if( !.enchant_list_size[[email protected]] ){
            .enchant_type$[[email protected]] = "";
        }
        else{
            .enchant_type_menu$ = .enchant_type_menu$ + .enchant_type$[[email protected]];
        }
        .enchant_type_menu$ = .enchant_type_menu$ + ":";
    }
    end;
    }

     

    prontera,161,173,3    script    Encantador    933,{
    mes "eu posso encantar "+getitemname( .faw_itemid );
    mes " ";
    if( getequipid( EQI_GARMENT ) == .faw_itemid ){
    
        [email protected] = getequiprefinerycnt( EQI_GARMENT );
        for( [email protected] = 0; [email protected] < 4; [email protected]++ )
            [email protected][[email protected]] = getequipcardid( EQI_GARMENT,[email protected] );
            
        switch( select( "Encantar o item.","Resetar encantamentos." ) ){
            case 1:
                mes "Escolha um slot para encantar.";
                mes "Você pode encantar mais slots quando tiver um refinamento superior.";
                [email protected] = select(
                    ( [email protected][1] || [email protected] < 7 )?"":"Enchant Slot 1",
                    ( [email protected][2] || [email protected] < 8 )?"":"Enchant Slot 2",
                    ( [email protected][3] || [email protected] < 9 )?"":"Enchant Slot 3",
                    "Cancel"
                );
                if( [email protected] < 4 ){
                    mes "Pick Enchant Type";
                    [email protected] = select( .enchant_type_menu$ ) - 1;
                    [email protected] = .enchant_list_size[[email protected]];
                    if( [email protected] ){
                        copyarray [email protected]_list[0],getd( ".enchant_list_"+( [email protected]+1 )+"[0]" ),[email protected];
                        if( [email protected] >= 9 ){
                            [email protected]_list[[email protected]] = .special_enchant[[email protected]];
                            [email protected]++;
                        }
                        delequip EQI_GARMENT;
                        if( rand( 100 ) < .success_rate ){
                            setd( "[email protected]["[email protected]+"]" ),[email protected]_list[ rand( [email protected] ) ];
                            mes "Pronto, item encantado com sucesso.";
                            getitem2 .faw_itemid,1,1,[email protected],0,[email protected][0],[email protected][1],[email protected][2],[email protected][3];
                            equip .faw_itemid;
                        }else{
                            mes "Que pena, não conseguimos encantar o item.";
                        }
                    }
                }
                break;
            case 2:
                mes "Você precisa "+.enchant_reset_skull+" Skulls.";
                if(countitem(7420) >= .enchant_reset_skull) {
                    if( select( "Confirmar para resetar todos os encantamentos?","Cancelar" ) == 1 ){
                        if( [email protected][1] && [email protected][2] && [email protected][3] ){
                            mes "Seu item não tem nenhum item encantado.";
                        }else{
                  			getitem 7420, .enchant_reset_skull;
                            delequip EQI_GARMENT;
                            getitem2 .faw_itemid,1,1,[email protected],0,[email protected][0],0,0,0;
                            equip .faw_itemid;
                            mes "Concluído removido todos os itens encantados.";
                        }
                    }
                }
            default: break;
        }
        
    }else{
        mes "Certifique-se de estar equipado com "+getitemname( .faw_itemid );
    }
    close;
    
    
    OnInit:
    // FAW item id
    .faw_itemid = 2589;
    
    // enchant success rate
    .success_rate = 100;
    
    // enchant reset cost
    .enchant_reset_Zeny = 1000000;
                  
    // enchant reset cost (skull)
    .enchant_reset_skull = 10;              
    
    // enchant type category
    setarray .enchant_type$,"Espírito do Lutador","Pedra Mágica","Mira Apurada","Crítico","MaxHP","MaxSP","ASPD","STR","AGI","DEX","VIT","INT","LUK";
    
    // enchant list ( Fighting Spirit )
    setarray .enchant_list_1,4810,4809,4808;
    // enchant list ( Magic )
    setarray .enchant_list_2,4812,4827,4826;
    // enchant list ( Archer )
    setarray .enchant_list_3,4832,4833,4834;
    // enchant list ( Critical )
    setarray .enchant_list_4,4764,4765;
    // enchant list ( Max HP )
    setarray .enchant_list_5,4797,4798,4799;
    // enchant list ( Max SP )
    setarray .enchant_list_6,4870,4800,4801;
    // enchant list ( ASPD )
    setarray .enchant_list_7,4807,4842;
    // enchant list ( STR )
    setarray .enchant_list_8,4702,4703,4704;
    // enchant list ( AGI )
    setarray .enchant_list_9,4732,4733,4734;
    // enchant list ( DEX )
    setarray .enchant_list_10,4722,4723,4724;
    // enchant list ( VIT )
    setarray .enchant_list_11,4742,4743,4744;
    // enchant list ( INT )
    setarray .enchant_list_12,4712,4713,4714;
    // enchant list ( LUK )
    setarray .enchant_list_13,4752,4753,4754;
    
    // extra 1 special enchant for 3rd slot if refine above 9 ( follow by category sequences )
    //setarray .special_enchant,4821,4828,4835,4765,4868,4801,4807,4853,4854,4857,4855,4856,4858;
    
    
    .enchant_type_size = getarraysize( .enchant_type$ );
    for( [email protected] = 0; [email protected] < .enchant_type_size; [email protected]++ ){
        .enchant_list_size[[email protected]] = getarraysize( getd( ".enchant_list_"+( [email protected]+1 ) ) );
        if( !.enchant_list_size[[email protected]] ){
            .enchant_type$[[email protected]] = "";
        }
        else{
            .enchant_type_menu$ = .enchant_type_menu$ + .enchant_type$[[email protected]];
        }
        .enchant_type_menu$ = .enchant_type_menu$ + ":";
    }
    end;
    }

     

  4. Hi ! does anyone here have these buttons ? 

    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_change_a.bmp
    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_change_b.bmp
    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_change_c.bmp
    
    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_off_a.bmp
    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_off_b.bmp
    Texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btn_e_off_c.bmp

    Im currently getting an error .. after trying to make buttons it appears that the off button is at the middle off change button. I honestly have no Idea for this yet. Please help ..Thankyou !

    image.png.5a0d8fe6f5184f998ce2c3a33c475bcc.png

    image.png.9fc133c4a05bc5f30bb6ae3ffa5c3107.png

    image.png.cce605e401d5d673ea51a0206563a432.png

  5. Just now, Start_ said:

    Yes, try research 'bonus_script' and use

    bonus2 bSkillCooldown,sk,t;        Increases cooldown of skill sk by t milliseconds

    to adjust skill cooldown when enter specific maps.

    How about on skill in src for example ? 
     

    		case AS_GRIMTOOTH:
    			skillratio += 20 * skill_lv;
    			break;

    How to make it skillratio for gvg and for normal ??

  6. Hi good day! Is it possible to make skill have different cooldowns, behavior, damage etc base on map? Like for example ASURA STRIKE, in pvp it has a cooldown of 3seconds but in normal maps it has none, also in damage for example theres a skill with 100+10*skill level on normal map but different formula in pvp and gvg. Thankyou

  7. Just now, Start_ said:

    20211103 should already set in \rathena\src\config\packets.hpp lines 16

    If it wasn't, you may have to update your rAthena.

     

     

    Yes I set it here

    #ifndef PACKETVER
        /// Do NOT edit this line! To set your client version, please do this instead:
        /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
        /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
        #define PACKETVER 20211103
    #endif

     

  8. Good day ! Just need a small help guys , I commented the PACKET_OBFUSCATION part in packets.hpp but still enabled 

    #if PACKETVER >= 20110817
    	/// Comment to disable the official packet obfuscation support.
    	/// This requires PACKETVER 2011-08-17 or newer.
    	#ifndef PACKET_OBFUSCATION
    		//#define PACKET_OBFUSCATION
    
    		// Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp
    		//#define PACKET_OBFUSCATION_KEY1 <key1>
    		//#define PACKET_OBFUSCATION_KEY2 <key2>
    		//#define PACKET_OBFUSCATION_KEY3 <key3>
    
    		/// Comment this to disable warnings for missing client side encryption
    		#define PACKET_OBFUSCATION_WARN
    	#endif

    image.png.4359ce01900fecfd9f93a506dadb4689.png

  9. 9 minutes ago, Mael said:

    Your problem is in the setting up... You will have to wait for all the patches, the client is still new.

    Got it ..but for the mean time what client ver do you prefer or you can suggest ..im looking for client that has a feature like map name banner .. like example I warp in Prontera, theres a banner that says PRONTERA on top of screen ..what client version has that

  10. Just now, Akkarin said:

    "most stable" is ambiguous.

    All clients work if rAthena has the packets listed. The default client at the moment is defined in source as:

    #define PACKETVER 20211103

    http://nemo.herc.ws/clients/2021-11-03_Ragexe_1635926200/

    Thankyou for your response sir .. I tried using it but theres a problem , I cant connect to the character select 

    image.thumb.png.4e87e8473131ec82813d1bbc58982258.pngIm trying to disable packet encryption but nemo refuses to. 

  11. On 2/18/2020 at 5:04 PM, manuel said:

    ctrl+b (bank ) security metod bank ?

     

    src/map/clif.c FIND:

    void clif_parse_BankCheck(int fd, struct map_session_data* sd) {
    	nullpo_retv(sd);
    
    	if( !battle_config.feature_banking ) {
    		clif_messagecolor(&sd->bl,color_table[COLOR_RED],msg_txt(sd,1496),false,SELF); //Banking is disabled
    		return;
    	}	

    ADD BELOW:

    	// Account Protection - [Orce brAthena]     
    	if( sd->state.protection_acc )
    	{
    		clif_displaymessage(sd->fd, msg_txt(sd,4000));
    		return;
    	}

     

  12. 4 hours ago, Akkarin said:

    You can have the button execute a program (i forget which config number that is) to open a .bat file. The .bat file contains the delete code.

    Hi ! Just figured it out last day .. I just want to share it so others can use it 

     

    On your Patcher Config, add these lines 

    [Button:Repair]
    Default='images/repair.png' 
    OnHover='images/repair-hover.png'
    OnDown='images/repair-down.png'
    Left=300
    Top=565
    Mode=2
    Action='repair.bat'
     

    Create a repair.bat file and add it on RO Folder 

    @echo off
    del /q <.dat file>*.*
    taskkill /IM "<Patcher.exe>" /F
    start "Patcher.exe" "Patcher.exe"

     

    • Upvote 1
  13. 3 hours ago, Rynbef said:

    @ErossU can find the files for this at: data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/

     

    If u mean the equipment costume window exactly u can find it here: data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/equipwin_costume.bmp

     

    Rynbef~

    Thankyou sir ! ❤️

     

    • Like 1
  14. 7 minutes ago, Rynbef said:

    @Erossmaybe it use the twitter support of newer clients. Or a WebView. Idk if it is implemented yet if not it's could be an extension injected as dll file in the client.

    In my opinion one of the hackshield does support WebView but idk which one.

     

    Rynbef~

    @Rynbef you know what man ? I think you're my hero .. You always saving my ass .. Man I found it on commands "readbook <book id>, page; . Thankyou for your response I really appreciate it man 

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.