Jump to content

Erio-chan

Members
  • Posts

    97
  • Joined

  • Last visited

Posts posted by Erio-chan

  1. Help, Character walking when casting skill and talking with NPCs.

    I found post about it but there is no answer how to fix it.

    Other said it is on nemo "walk to delay" but how can I disable it?

    I got error on nemo.

    Untitled.png

    Untitled1.png

  2. 10 minutes ago, yoonjunho said:

    hello limit hairstyle like this ? or you want specific range ?

    
    //===== rAthena Script =======================================
    //= Stylist
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.1
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Changes your hair style, hair color, and cloth color.
    //===== Additional Comments: =================================
    //= 1.0 Initial script.
    //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
    //============================================================
    
    ragnarok,68,78,5	script	Stylist#custom_stylist	640,{
    	
    	//cutin "gc_mayssel01",2;
    	mes "^0000FF Stella^000000";
    	mes "I'm Stylist Stella.";
    	mes "I am happy to serve you Master.";
    	setarray .@Styles[1],
    		getbattleflag("max_cloth_color"),
    		getbattleflag("max_hair_style"),
    		getbattleflag("max_hair_color");
    	setarray .@Look[1],
    		LOOK_CLOTHES_COLOR,
    		LOOK_HAIR,
    		LOOK_HAIR_COLOR;
    		
    	set .@maxhairstyle,10; // Max Limit for Hairstyle
    	
    	set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
    	set .@Revert, getlook(.@Look[.@s]);
    	set .@Style,1;
    	switch(.@s){
    		case 2:
    			mes "MaxHairstyles ^ff0000"+.@maxhairstyle+"^000000";
    			input .@hairstyle;
    			if (.@hairstyle > .@maxhairstyle) {
    				mes "Please input correctly.";
    				close3;
    			}
    			if (.@hairstyle < 0 || .@hairstyle > .@maxhairstyle) set .@hairstyle,0; {
    				setlook 1,.@hairstyle;
    				close3;
    			}
    	}
    	while(1) {
    		setlook .@Look[.@s], .@Style;
    		message strcharinfo(0),"This is style #"+.@Style+".";
    		set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
    		switch(select(.@menu$)) {
    		case 1:
    			set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1);
    			break;
    		case 2:
    			set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]);
    			break;
    		case 3:
    			message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+".";
    			input .@Style,0,.@Styles[.@s];
    			if (!.@Style)
    				set .@Style, rand(1,.@Styles[.@s]);
    			break;
    		case 4:
    			set .@Style, .@Revert;
    			setlook .@Look[.@s], .@Revert;
    			break;
    		}
    	}
    	close3;
    }

    note : you can use close3 instead close2 + cutin. 

    Thanks for the info!

  3. [SOLVED]

    Advance Stylist 4.3.txt by Emisty, Hairstyle Blacklist

    
    
    // credits to Annieruru
    function	script	ValueConvert	{
    	set .@num, atoi(""+getarg(0));
    	if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);
    	set .@l, getstrlen(""+.@num);
    	for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {
    		set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;
    			if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;
    	}
    	return .@num$;
    }
    
    
    -	script	Stylist	-1,{
    OnTalk:
    	mes "[^0055FF ::: Adv. Stylist ::: ^000000]";
    	mes "I can change your appearance.";
    	if( .cost_size ){
    		mes " ";
    		mes "^777777[ SERVICES PAYMENT ]^000000";
    		for( .@i = 0; .@i < .menu_size; .@i++ )
    			if( .npc_mode & ( 1 << .@i ) )
    				if( .cost[.@i] )
    					mes "^0055FF"+.menu_name$[.@i]+" : ^777777"+ValueConvert( .cost[.@i] )+" "+.currency_name$[.@i]+"^000000";
    				else
    					mes "^0055FF"+.menu_name$[.@i]+" : ^777777Free of Charge^000000";
    	}
    	next;
    	@style = ( select( .npc_menu$ ) - 1 );
    	@style_value = getlook( .look_type[@style] );
    	deletearray .@blacklist;
    	switch( @style ){
    		Case 0: .@blacklist$ = ","+getd( ".blacklist_hairstyle_"+Sex+"$" )+","; break;
    		Case 1: .@blacklist$ = ","+getd( ".blacklist_haircolor_"+Sex+"$" )+","; break;
    		Case 2: .@blacklist$ = ","+getd( ".blacklist_cloth_"+Sex+"$" )+","; break;
    		default: break;
    	}
    
    	.@style_number = .min_style[@style];
    
    	addtimer 1000,strnpcinfo(0)+"::OnPCLogoutEvent";
    	do{
    		message strcharinfo(0),.menu_name$[@style]+" : "+.@style_number+"th";
    		.@removed = 0;
    		if( compare( .@blacklist$,","+.@style_number+"," ) ){
    			message strcharinfo(0),"[ REMOVED ] "+.menu_name$[@style]+" : "+.@style_number+"th";
    			.@removed = 1;
    			// setlook .look_type[@style],.min_style[@style];
    		}else{
    			setlook .look_type[@style],.@style_number;
    		}
    		
    		.@next = .@style_number + 1;
    		.@prev = .@style_number - 1;
    		if( .@next > .max_style[@style] ) .@next = .min_style[@style];
    		if( .@prev < .min_style[@style] ) .@prev = .max_style[@style];
    		
    		@select = prompt( (( .@backward )?"Backward":"Forward" )+" - [ ^777777"+(( .@backward )? .@prev:.@next )+"th Style^000000 ]",
    					(( !.@backward )?"Backward":"Forward" )+" - [ ^777777"+(( !.@backward )? .@prev:.@next )+"th Style^000000 ]",
    					"Jump to a Style",
    					( .@removed )?"":"^0055FFOkay, I want this "+.menu_name$[@style]+"^000000" );
    					
    		if( @select == 2 ) .@backward = !.@backward;
    		
    		switch( @select ){
    			Case 1:	
    			Case 2:
    				.@style_number = (( .@backward )? .@prev:.@next );
    				break;
    			Case 3:	
    				message strcharinfo(0),"Available Style : "+.min_style[@style]+" ~ "+.max_style[@style]+".";
    				input .@style_number,.min_style[@style],.max_style[@style];
    				break;
    			Case 4:
    				.@atoi_currency = atoi( .currency$[@style] );
    				if( @style_value == .@style_number ){
    					message strcharinfo(0),"Swt..that is your original hairstyles.";
    					break;
    				} else if( .@atoi_currency ){
    					if( countitem( .@atoi_currency ) >= .cost[@style] ){
    						.@success = 1;
    						delitem .@atoi_currency,.cost[@style];
    					}
    				}else{
    					if( getd( ""+.currency$[@style] ) >= .cost[@style] ){
    						.@success = 1;
    						setd( ""+.currency$[@style] ),( getd( ""+.currency$[@style] ) - .cost[@style] );
    					}
    				}
    				if( .@success ){
    					message strcharinfo(0),"Enjoy your NEW "+.menu_name$[@style]+" !!";
    					@style_value = .@style_number;
    				}else{
    					mes "You dont have enough "+.currency_name$[@style]+" to change this "+.menu_name$[@style]+".";
    					mes "Cost : ^777777"+ValueConvert( .cost[@style] )+" "+.currency_name$[@style]+"^000000";
    					close2;
    				}
    
    			default:
    				setlook .look_type[@style],@style_value;
    				break;
    		}
    	}while( @select != 4 && @select != 255 );
    	mes "Come back again next time. ^^";
    	@select = 0;
    	close2;
    	deltimer strnpcinfo(0)+"::OnPCLogoutEvent";
    
    OnPCLogoutEvent:
    	if( @select )
    		setlook .look_type[@style],@style_value;
    	end;
    	
    OnInit:
    	// NPC Mode ( Bitmask )
    	//	1 - Enable Hairstyle
    	//	2 - Enable Hair Color
    	//	4 - Enable Cloth Color
    	.npc_mode = 7;
    	
    	// Menu Name
    	setarray .menu_name$,
    		"Hair Style",
    		"Hair Color",
    		"Cloth Color";
    	
    	// Payment Currency + Cost
    	// Can be ITEM ID or Any Variable.
    	setarray .currency$,
    		"Zeny",	//	Hairstyle - Ex. need Zeny
    		"Zeny",	//	Hair Color - Ex. need Zeny
    		"Zeny";	//	Cloth Color - Ex. need Zeny
    		
    	setarray .cost,
    		10000,	//	Hairstyle ( 10,000 Zeny )
    		10000,	//	Hair Color ( 10,000 Zeny )
    		10000;	//	Cloth Color ( 10,000 Zeny )
    		
    	// Blacklisted Style for each style and each gender.
    	// --- Female ---
    	.blacklist_hairstyle_0$ = "60"; //example .blacklist_hairstyle_0$ = "1,2,3,6,8,9";
    	.blacklist_haircolor_0$ = "";
    	.blacklist_cloth_0$ = "";
    	// --- Male ---
    	.blacklist_hairstyle_1$ = "60";
    	.blacklist_haircolor_1$ = "";
    	.blacklist_cloth_1$ = "";
    
    	// Dont edit
    	setarray .min_style,getbattleflag( "min_hair_style" ),getbattleflag( "min_hair_color" ),getbattleflag( "min_cloth_color" );
    	setarray .max_style,getbattleflag( "max_hair_style" ),getbattleflag( "max_hair_color" ),getbattleflag( "max_cloth_color" );
    	.menu_size = getarraysize( .menu_name$ );
    	.cost_size = getarraysize( .cost );
    	setarray .look_type,LOOK_HAIR,LOOK_HAIR_COLOR,LOOK_CLOTHES_COLOR;
    	for( .npc_menu$ = ""; .@i < .menu_size; .@i++ )
    		.npc_menu$ = .npc_menu$ + ( ( .npc_mode & ( 1 << .@i ) )? .menu_name$[.@i]:"" ) +":";
    	for( .@i = 0; .@i < .cost_size; .@i++ ){
    		.@atoi = atoi( .currency$[.@i] );
    		.currency_name$[.@i] = ( ( !.@atoi || getitemname( .@atoi ) == "null" )? .currency$[.@i]:getitemname( .@atoi ) );
    	}
    	end;
    
    }
    
    
    // NPC Lists
    prontera,155,181,5	script	Adv. Stylist#main	878,{
    	doevent "Stylist::OnTalk";
    }
    
    prontera,115,181,5	duplicate(Adv. Stylist#main)	Adv. Stylist#1	878
    prontera,115,181,5	duplicate(Adv. Stylist#main)	Adv. Stylist#2	878
    prontera,115,181,5	duplicate(Adv. Stylist#main)	Adv. Stylist#3	878
    
    
  4. can anyone help me to limit the hair style of this script.

    because I want some hair for my self only and not available in hairstylist

    //===== rAthena Script =======================================
    //= Stylist
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.1
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Changes your hair style, hair color, and cloth color.
    //===== Additional Comments: =================================
    //= 1.0 Initial script.
    //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
    //============================================================
    
    bro_mall,87,113,5	script	Stylist#custom_stylist	640,{
    	
    	cutin "gc_mayssel01",2;
    	mes "^0000FF Stella^000000";
    	mes "I'm Stylist Stella.";
    	mes "I am happy to serve you Master.";
    	setarray .@Styles[1],
    		getbattleflag("max_cloth_color"),
    		getbattleflag("max_hair_style"),
    		getbattleflag("max_hair_color");
    	setarray .@Look[1],
    		LOOK_CLOTHES_COLOR,
    		LOOK_HAIR,
    		LOOK_HAIR_COLOR;
    	set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
    	set .@Revert, getlook(.@Look[.@s]);
    	set .@Style,1;
    	while(1) {
    		setlook .@Look[.@s], .@Style;
    		message strcharinfo(0),"This is style #"+.@Style+".";
    		set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
    		switch(select(.@menu$)) {
    		case 1:
    			set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1);
    			break;
    		case 2:
    			set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]);
    			break;
    		case 3:
    			message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+".";
    			input .@Style,0,.@Styles[.@s];
    			if (!.@Style)
    				set .@Style, rand(1,.@Styles[.@s]);
    			break;
    		case 4:
    			set .@Style, .@Revert;
    			setlook .@Look[.@s], .@Revert;
    			break;
    		}
    	}
    	close2;
    	cutin "",255;
    	end;
    }
    

     

  5. On 11/8/2017 at 11:28 PM, Cyro said:
    
    // Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 3)
    // Default on official servers: 1 (for players)
    gvg_traps_target_all: 1

    set this to 0 in your skill.conf

    Thanks!

  6. 2 hours ago, Tokei said:

    Heya,

    You can use GRF Editor (version 1.8.2.4) and then use File > New > New Thor, then just drag and drop your BGM files. By default it's already set to what you need, but if you want to merge into your GRF in the future, click on root > Container options > Patching mode > Merge into GRF.

    THANK YOU!!!

  7. I am using thor patcher and I can't figure it out how to patch a file to a specific folder like BGM.
    I know how to patch exe and a patcher it self but not BGM.
    I search for tutorials but I saw are very old and links are not working.
    I read about patching with rar in other patcher but links are not working anymore.
     

  8. 11 minutes ago, sader1992 said:
    
    // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_PACKETS_H_
    #define _CONFIG_PACKETS_H_
    
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    #ifndef PACKETVER
    	#define PACKETVER 20151104
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20151104
    		#define PACKETVER_RE
    	#endif
    #endif
    
    #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.h or src/custom/defines_post.h
    		//#define PACKET_OBFUSCATION_KEY1 <key1> 0x4C17382A
    		//#define PACKET_OBFUSCATION_KEY2 <key2> 0x7ED174C9
    		//#define PACKET_OBFUSCATION_KEY3 <key3> 0x29961E4F
    
    		/// Comment this to disable warnings for missing client side encryption
    		//#define PACKET_OBFUSCATION_WARN
    	#endif
    #else
    	#if defined(PACKET_OBFUSCATION)
    		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    	#endif
    #endif
    
    #ifndef DUMP_UNKNOWN_PACKET
    	//#define DUMP_UNKNOWN_PACKET
    #endif
    
    #ifndef DUMP_INVALID_PACKET
    	//#define DUMP_INVALID_PACKET
    #endif
    
    /**
     * No settings past this point
     **/
    
    /// Check if the specified packetversion supports the pincode system
    #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309
    
    /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
    #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513
    
    /// Check if the specified packetvresion supports the cashshop sale system
    #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223
    
    #endif // _CONFIG_PACKETS_H_

    recompile

    Thanks you so much!!!/thx

  9. 10 minutes ago, sader1992 said:
    
    // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_PACKETS_H_
    #define _CONFIG_PACKETS_H_
    
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    #ifndef PACKETVER
    	#define PACKETVER 20151104
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20151104
    		#define PACKETVER_RE
    	#endif
    #endif
    
    #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.h or src/custom/defines_post.h
    		//#define PACKET_OBFUSCATION_KEY1 <key1> 0x4C17382A
    		//#define PACKET_OBFUSCATION_KEY2 <key2> 0x7ED174C9
    		//#define PACKET_OBFUSCATION_KEY3 <key3> 0x29961E4F
    
    		/// Comment this to disable warnings for missing client side encryption
    		#define PACKET_OBFUSCATION_WARN
    	#endif
    #else
    	#if defined(PACKET_OBFUSCATION)
    		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    	#endif
    #endif
    
    #ifndef DUMP_UNKNOWN_PACKET
    	//#define DUMP_UNKNOWN_PACKET
    #endif
    
    #ifndef DUMP_INVALID_PACKET
    	//#define DUMP_INVALID_PACKET
    #endif
    
    /**
     * No settings past this point
     **/
    
    /// Check if the specified packetversion supports the pincode system
    #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309
    
    /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
    #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513
    
    /// Check if the specified packetvresion supports the cashshop sale system
    #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223
    
    #endif // _CONFIG_PACKETS_H_

    recompile

    if you did not change the packet key everything would work like that

    It can now enter the char select but DC after selecting the character.
    error said that : It looks like you enabled PACKET_OBFUSCATION on server side, but disabled in client.

  10. 6 minutes ago, sader1992 said:

    post it as txt to correct it

    and did you change the packet keys in nemo ?

    or did you disable them in nemo ?

    // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_PACKETS_H_
    #define _CONFIG_PACKETS_H_
    
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    #ifndef PACKETVER
    	#define PACKETVER 20151104
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20151102
    		#define PACKETVER_RE
    	#endif
    #endif
    
    #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.h or src/custom/defines_post.h
    		#define PACKET_OBFUSCATION_KEY1 <key1> 0x4C17382A
    		#define PACKET_OBFUSCATION_KEY2 <key2> 0x7ED174C9
    		#define PACKET_OBFUSCATION_KEY3 <key3> 0x29961E4F
    
    		/// Comment this to disable warnings for missing client side encryption
    		//#define PACKET_OBFUSCATION_WARN
    	#endif
    #else
    	#if defined(PACKET_OBFUSCATION)
    		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    	#endif
    #endif
    
    #ifndef DUMP_UNKNOWN_PACKET
    	//#define DUMP_UNKNOWN_PACKET
    #endif
    
    #ifndef DUMP_INVALID_PACKET
    	//#define DUMP_INVALID_PACKET
    #endif
    
    /**
     * No settings past this point
     **/
    
    /// Check if the specified packetversion supports the pincode system
    #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309
    
    /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
    #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513
    
    /// Check if the specified packetvresion supports the cashshop sale system
    #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223
    
    #endif // _CONFIG_PACKETS_H_

    I just remove the doram and the rest is recomended only

  11. I have HERE (Euphy's MVP Ladder v1.3) BUT I customize it with a SHOP. ENJOY!!!!:meow:

    // * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
    // * ~~~~~~~~  Euphy's MVP Ladder v1.3  ~~~~~~~~ *
    // * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
     
    bro_mall,113,127,3	script	MVP Ladder	4_m_bosscat,{
    	mes "[Rank MVP]";
    	mes "Hello.";
    	mes "What are you doing here?";
    	next;
    	switch(select("Check Ranking.:My points.:Exchange Coin.:Nothing...")) {
    		case 1:
    			mes "[Rank MVP]";
    			query_sql("SELECT char_id, CAST(`value` AS SIGNED) FROM `char_reg_num` WHERE `key` = 'MVP_Rank' ORDER BY CAST(`value` AS SIGNED) DESC LIMIT 20",.@cid,.@value);
    			for(set .@i,0; .@i<getarraysize(.@cid); set .@i,.@i+1) {
    				query_sql("SELECT `name` FROM `char` WHERE char_id = "+.@cid[.@i]+";",.@j$);
    				set .@name$[.@i], .@j$;
    			}
    			if (!getarraysize(.@cid))
    				mes "The rankings are empty.";
    			else for(set .@i,0; .@i<getarraysize(.@cid); set .@i,.@i+1)
    			mes "["+(.@i+1)+"] "+.@name$[.@i]+" ~ "+.@value[.@i]+" kills";
    			close;
    			
    		case 2:
    			mes "[Rank MVP]";
    			mes "You killed "+((MVP_Rank)?"^0055FF"+MVP_Rank:"no")+"^000000 MVP"+((MVP_Rank == 1)?".":"s.");
    			close;
    		case 3:
    			goto H_menu;
    			//Item Menu ================================================
    			H_menu:
    				menu
    				"Elunium",R_elu,
    				"Oridecon",R_ori,
    				"(Costume)There is Somthing (7days)",R_rtis,
    				"(Costume)There is Somthing",R_tis,
    				"(Costume)Red Wind Hat (7days)",R_rwh,
    				"(Costume)Red Wind Hat",R_wh,
    				"(Costume)12th Anniversary Fairy Ears (7days)",R_r12,
    				"(Costume)12th Anniversary Fairy Ears",R_12,
    				"(Costume)Ninja Scroll (7days)",R_rns,
    				"(Costume)Ninja Scroll",R_ns,
    				"(Costume)Gang Scarf (7days)",R_rgs,
    				"(Costume)Gang Scarf",R_gs,
    				"(Costume)Holy Mom Love (7days)",R_rhm,
    				"(Costume)Holy Mom Love",R_hm,
    				"(Costume)Bread Bag (7days)",R_rbb,
    				"(Costume)Bread Bag",R_bb,
    				"(Costume)Diadem (7days)",R_rdia,
    				"(Costume)Diadem",R_dia,
    				"(Costume)Ascension Black Dragon (7days)",R_rasc,
    				"(Costume)Ascension Black Dragon",R_asc,
    				"(Costume)Marcher Hat (7days)",R_rmh,
    				"(Costume)Marcher Hat",R_mh,
    				"Cancel",H_cancel;
    			//Required =================================================
    			R_elu:
    				next;
    				mes "1x MVP Coin";
    				menu "Make",M_elu,"Return to Menu",H_menu;
    			R_ori:
    				next;
    				mes "1x MVP Coin";
    				menu "Make",M_ori,"Return to Menu",H_menu;
    			R_rtis:
    				next;
    				mes "15x MVP Coin";
    				menu "Make",M_rtis,"Return to Menu",H_menu;
    			R_tis:
    				next;
    				mes "60x MVP Coin";
    				menu "Make",M_tis,"Return to Menu",H_menu;
    			R_rwh:
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rwh,"Return to Menu",H_menu;
    			R_wh:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_wh,"Return to Menu",H_menu;
    			R_r12:
    				next;
    				mes "15x MVP Coin";
    				menu "Make",M_r12,"Return to Menu",H_menu;
    			R_12:
    				next;
    				mes "50x MVP Coin";
    				menu "Make",M_12,"Return to Menu",H_menu;
    			R_rns:
    				next;
    				mes "9x MVP Coin";
    				menu "Make",M_rns,"Return to Menu",H_menu;
    			R_ns:
    				next;
    				mes "35x MVP Coin";
    				menu "Make",M_ns,"Return to Menu",H_menu;
    			R_rgs:
    				next;
    				mes "10x MVP Coin";
    				menu "Make",M_rgs,"Return to Menu",H_menu;
    			R_gs:	
    				next;
    				mes "35x MVP Coin";
    				menu "Make",M_gs,"Return to Menu",H_menu;
    			R_rhm:	
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rhm,"Return to Menu",H_menu;
    			R_hm:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_hm,"Return to Menu",H_menu;
    			R_rbb:
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rbb,"Return to Menu",H_menu;
    			R_bb:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_bb,"Return to Menu",H_menu;
    			R_rdia:
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rdia,"Return to Menu",H_menu;
    			R_dia:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_dia,"Return to Menu",H_menu;
    			R_rasc:
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rasc,"Return to Menu",H_menu;
    			R_asc:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_asc,"Return to Menu",H_menu;
    			R_rmh:
    				next;
    				mes "5x MVP Coin";
    				menu "Make",M_rmh,"Return to Menu",H_menu;
    			R_mh:
    				next;
    				mes "30x MVP Coin";
    				menu "Make",M_mh,"Return to Menu",H_menu;
    				
    			//Make Item ================================================
    			M_elu:
    				if(countitem(7929)<1 )
    				goto M_insufficient;
    				delitem 7929,1;
    				getitem 985,1;
    			close;
    			M_ori:
    				if(countitem(7929)<1 )
    				goto M_insufficient;
    				delitem 7929,1;
    				getitem 984,1;
    			close;
    			M_rtis:
    				if(countitem(7929)<15 )
    				goto M_insufficient;
    				delitem 7929,15;
    				rentitem 20183,604800;
    			close;
    			M_tis:
    				if(countitem(7929)<60 )
    				goto M_insufficient;
    				delitem 7929,60;
    				getitem 20183,1;
    			close;
    			M_rwh:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19579,604800;
    			close;
    			M_wh:
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19579,1;
    			close;
    			M_r12:
    				if(countitem(7929)<15 )
    				goto M_insufficient;
    				delitem 7929,15;
    				rentitem 20136,604800;
    			close;
    			M_12:
    				if(countitem(7929)<50 )
    				goto M_insufficient;
    				delitem 7929,50;
    				getitem 20136,1;
    			close;
    			M_rns:
    				if(countitem(7929)<9 )
    				goto M_insufficient;
    				delitem 7929,9;
    				rentitem 19606,604800;
    			close;
    			M_ns:
    				if(countitem(7929)<35 )
    				goto M_insufficient;
    				delitem 7929,35;
    				getitem 19606,1;
    			close;
    			M_rgs:
    				if(countitem(7929)<10 )
    				goto M_insufficient;
    				delitem 7929,10;
    				rentitem 19605,604800;
    			close;
    			M_gs:
    				if(countitem(7929)<35 )
    				goto M_insufficient;
    				delitem 7929,35;
    				getitem 19605,1;
    			close;
    			M_rhm:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19756,604800;
    			close;
    			M_hm:
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19756,1;
    			close;
    			M_rbb:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19725,604800;
    			close;
    			M_bb:
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19725,1;
    			close;		
    			M_rdia:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19748,604800;
    			close;
    			M_dia:
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19748,1;
    			close;
    			M_rasc:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19575,604800;
    			close;	
    			M_asc:	
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19575,1;
    			close;
    			M_rmh:
    				if(countitem(7929)<5 )
    				goto M_insufficient;
    				delitem 7929,5;
    				rentitem 19653,604800;
    			close;
    			M_mh:	
    				if(countitem(7929)<30 )
    				goto M_insufficient;
    				delitem 7929,30;
    				getitem 19653,1;
    			close;
    				
    			//Insufficient Coin ========================================
    			M_insufficient:
    			next;
    			mes "You don't have the enough coin.";
    			mes "Please come back when you do...";
    			menu "Return to Main Menu",H_menu,"Leave",H_cancel;
    			close;
    			//Cancel ===================================================
    			H_cancel:
    			close;
    				
    		case 4:
    			close;
    	}
     
    OnNPCKillEvent:
    	if (getmonsterinfo(killedrid,22)) {
    		set MVP_Rank, MVP_Rank+1;
    	if (MVP_Rank == 1)
    		query_sql("INSERT INTO `char_reg_num` (`char_id`,`key`,`index`,`value`) VALUES ("+getcharid(0)+",'MVP_Rank','0',1)");
    	else
    		query_sql("UPDATE `char_reg_num` SET `value` = '"+MVP_Rank+"' WHERE char_id = "+getcharid(0)+" AND `key` ='MVP_Rank'");
    		dispbottom "~ You killed "+MVP_Rank+" MVP"+((MVP_Rank == 1)?"":"s")+". ~";
    		//dispbottom " ~ Reward: Cash +15 ~ ";
    		//set #CASHPOINTS, #CASHPOINTS + 15;
    		dispbottom " ~ Reward: BOP ~ ";
    		getitem 7929,1; //<<< THIS IS THE COIN REWARD FOR MVP ONLY<<<<<<<<<<<<
    		specialeffect2 313;
    	}
    	end;
    }

     

    • Love 1
  12. 1 hour ago, Arthenaz said:

    goto src/config/packets 

    
    #ifndef PACKETVER
    	#define PACKETVER 20170607 <<< change client date
    #endif

    if enable client packet

    
    #define PACKET_OBFUSCATION_KEY1
    #define PACKET_OBFUSCATION_KEY2
    #define PACKET_OBFUSCATION_KEY3

    can you see packet this file src/map/clif_obfuscation.h

     

    example client date 20170920

    
    #ifndef PACKETVER
    	#define PACKETVER 20170920
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20151104
    		#define PACKETVER_RE
    	#endif
    #endif
    
    #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.h or src/custom/defines_post.h
    		#define PACKET_OBFUSCATION_KEY1 0x53024DA5
    		#define PACKET_OBFUSCATION_KEY2 0x04EC212D
    		#define PACKET_OBFUSCATION_KEY3 0x0BF87CD4
    
    		/// Comment this to disable warnings for missing client side encryption
    		#define PACKET_OBFUSCATION_WARN
    	#endif
    #else
    	#if defined(PACKET_OBFUSCATION)
    		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    	#endif
    #endif

    good luck....

    @ArthenazThank you so much! I will try it.

  13. many must say I am too lazy to ask about this but I try my best to search google and forums. All I saw is old tutorials many files have change in new rAthena I mean in server side. like packet_db.txt inside db folder there is no file like that now right?
    pls help/help
    need new tut in changing version specially in server side.

    from :

    2013-12-23cRagexe

    to : 

    20151102
     

  14. I found this on my client so I post it here. I buy a Ragnarok dedicated host so they provide me everything all working server, patcher, flux and client but not configured yet. I have a working offline server, flux, patcher and client. so I decided to use it. I use my client(offline) to my server (online) but It not works even if it well configured. so I decided to use the full client provided by host and it work very well. so I replace all my grf with my grfs from my offline client but it turns out not connecting with the server. after few test I found the problem, I need to use the main.grf that they provide so that exe will connect to the server. very suspicious right? then I back to working on my server and client but custom maps and even the new prontera is crashing (https://rathena.org/board/topic/113006-client-crash-in-custom-map/#comment-334589). so I decided to report and make a Ticket but they respond that they have no concern regarding of customization in RO. so I decided to search answer by my self here in rAthena. after few research I found out my client is the problem. I use 2013-12-23cRaexe (they provided) too old right? so I use latest exe that I DL here but nothing can connect to the sever. only the exe and grf that they provide can connect the server. so I search inside their main.grf with grf editor and I found something suspicious inside book folder (see pic below) a very long unknown code and a clientinfo.xml configuration at the end. this file is only need by the exe that they provide to connect to the server even if I delete all files and remain this one.  I think host is restricting me from editing my RO. so sad. /wah/sob did any one have same problem with me? or any one have answer to this problem?

    1.png

    2.png

×
×
  • Create New...