[patch] Fixed 'param3' of 0229, 022A, 022B and 022C

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

UltimaWeapon
Human
Human
Posts: 37
Joined: 04 Apr 2008, 22:55
Noob?: Yes
Location: Thailand

[patch] Fixed 'param3' of 0229, 022A, 022B and 022C

#1 Post by UltimaWeapon »

Can this patch committed? Thank! :mrgreen:

Code: Select all

Index: src/Network/Receive.pm
===================================================================
--- src/Network/Receive.pm	(revision 6693)
+++ src/Network/Receive.pm	(working copy)
@@ -305,10 +305,10 @@
 		'0224' => ['taekwon_rank', 'c1 x3 c1', [qw(type rank)]],
 		'0226' => ['top10_taekwon_rank'],
 		'0227' => ['gameguard_request'],
-		'0229' => ['character_status', 'a4 v1 v1 v1', [qw(ID param1 param2 param3)]],
-		'022A' => ['actor_display', 'a4 v4 x2 v8 x2 v a4 a4 v x2 C2 a3 x2 C v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead tophead midhead hair_color head_dir guildID guildEmblem visual_effects stance sex coords act lv)]],
-		'022B' => ['actor_display', 'a4 v4 x2 v8 x2 v a4 a4 v x2 C2 a3 x2 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead tophead midhead hair_color head_dir guildID guildEmblem visual_effects stance sex coords lv)]],
-		'022C' => ['actor_display', 'a4 v4 x2 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
+		'0229' => ['character_status', 'a4 v1 v1 V1', [qw(ID param1 param2 param3)]],
+		'022A' => ['actor_display', 'a4 v3 V1 v8 x2 v a4 a4 v x2 C2 a3 x2 C v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead tophead midhead hair_color head_dir guildID guildEmblem visual_effects stance sex coords act lv)]],
+		'022B' => ['actor_display', 'a4 v3 V1 v8 x2 v a4 a4 v x2 C2 a3 x2 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead tophead midhead hair_color head_dir guildID guildEmblem visual_effects stance sex coords lv)]],
+		'022C' => ['actor_display', 'a4 v3 V1 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
 		'022E' => ['homunculus_stats', 'Z24 C v16 V2 v2', [qw(name state lvl hunger intimacy accessory atk matk hit critical def mdef flee aspd hp hp_max sp sp_max exp exp_max points_skill unknown)]],
 		'022F' => ['homunculus_food', 'C1 v1', [qw(success foodID)]],
 		'0230' => ['homunculus_info', 'x1 C1 a4 V1',[qw(type ID val)]],
Index: src/Network/Receive/ServerType8_2.pm
===================================================================
--- src/Network/Receive/ServerType8_2.pm	(revision 6693)
+++ src/Network/Receive/ServerType8_2.pm	(working copy)
@@ -12,7 +12,7 @@
 	
 	$self->{packet_list}{'0078'} = ['actor_display', 'x1 a4 v14 a4 x7 C1 a3 x2 C1 v1', [qw(ID walk_speed param1 param2 param3 type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID sex coords act lv)]];
 	$self->{packet_list}{'007C'} = ['actor_display', 'x1 a4 v1 v1 v1 v1 x6 v1 C1 x12 C1 a3', [qw(ID walk_speed param1 param2 param3 type pet sex coords)]],
-	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v4 x2 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
+	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v3 V1 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
 
 	return $self;
 }
Index: src/Network/Receive/ServerType8_4.pm
===================================================================
--- src/Network/Receive/ServerType8_4.pm	(revision 6693)
+++ src/Network/Receive/ServerType8_4.pm	(working copy)
@@ -12,7 +12,7 @@
 	
 	$self->{packet_list}{'0078'} = ['actor_display', 'x1 a4 v14 a4 x7 C1 a3 x2 C1 v1', [qw(ID walk_speed param1 param2 param3 type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID sex coords act lv)]];
 	$self->{packet_list}{'007C'} = ['actor_display', 'x1 a4 v1 v1 v1 v1 x6 v1 C1 x12 C1 a3', [qw(ID walk_speed param1 param2 param3 type pet sex coords)]],
-	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v4 x2 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
+	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v3 V1 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]],
 
 	return $self;
 }
Index: src/Network/Receive/ServerType8_5.pm
===================================================================
--- src/Network/Receive/ServerType8_5.pm	(revision 6693)
+++ src/Network/Receive/ServerType8_5.pm	(working copy)
@@ -12,7 +12,7 @@
 	
 	$self->{packet_list}{'0078'} = ['actor_display', 'x1 a4 v14 a4 x7 C1 a3 x2 C1 v1', [qw(ID walk_speed param1 param2 param3 type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID sex coords act lv)]];
 	$self->{packet_list}{'007C'} = ['actor_display', 'x1 a4 v1 v1 v1 v1 x6 v1 C1 x12 C1 a3', [qw(ID walk_speed param1 param2 param3 type pet sex coords)]];
-	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v4 x2 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]];
+	$self->{packet_list}{'022C'} = ['actor_display', 'x1 a4 v3 V1 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed param1 param2 param3 type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID guildEmblem visual_effects stance sex coords lv)]];
 	
 	return $self;
 }
I may make you misunderstand. Because my English isn't good enough. So Sorry.
Image
Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: [patch] Fixed 'param3' of 0229, 022A, 022B and 022C

#2 Post by Bibian »

has this been tested properly?
UltimaWeapon
Human
Human
Posts: 37
Joined: 04 Apr 2008, 22:55
Noob?: Yes
Location: Thailand

Re: [patch] Fixed 'param3' of 0229, 022A, 022B and 022C

#3 Post by UltimaWeapon »

No, I have not testing it. But, I think it will working properly. Because I have seen it in eAthena's source code.
I may make you misunderstand. Because my English isn't good enough. So Sorry.
Image
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: [patch] Fixed 'param3' of 0229, 022A, 022B and 022C

#4 Post by Technology »

This has been fixed with the refactoring of actor_display packets. ;)
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!