Advertisement
Guest User

kRO_RagexeRE_2009_10_06a

a guest
Oct 13th, 2013
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. #########################################################################
  2. # OpenKore - Packet Receiveing
  3. # This module contains functions for Receiveing packets to the server.
  4. #
  5. # This software is open source, licensed under the GNU General Public
  6. # License, version 2.
  7. # Basically, this means that you're allowed to modify and distribute
  8. # this software. However, if you distribute modified versions, you MUST
  9. # also distribute the source code.
  10. # See http://www.gnu.org/licenses/gpl.html for the full license.
  11. #
  12. # $Revision: 6687 $
  13. # $Id: kRO.pm 6687 2009-04-19 19:04:25Z technologyguild $
  14. ########################################################################
  15. # Korea (kRO)
  16. # The majority of private servers use eAthena, this is a clone of kRO
  17.  
  18. package Network::Receive::kRO::RagexeRE_2009_10_06a;
  19.  
  20. use strict;
  21. use base qw(Network::Receive::kRO::RagexeRE_2009_09_29a);
  22.  
  23. sub new {
  24. my ($class) = @_;
  25. my $self = $class->SUPER::new(@_);
  26. my %packets = (
  27. # //0x07ec,8
  28. # //0x07ed,10
  29. # //0x07f0,8
  30. # //0x07f1,15
  31. # //0x07f2,6
  32. # //0x07f3,4
  33. # //0x07f4,3
  34. );
  35.  
  36. foreach my $switch (keys %packets) {
  37. $self->{packet_list}{$switch} = $packets{$switch};
  38. }
  39.  
  40. return $self;
  41. }
  42. sub new {
  43. my ($class) = @_;
  44. my $self = $class->SUPER::new;
  45.  
  46. # OLD $self->{packet_list}{'0078'} = ['actor_exists', 'x1 a4 v14 a4 x7 C1 a3 x2 C1 v1', [qw(ID walk_speed opt1 opt2 option type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID sex coords act lv)]];
  47. # OLD $self->{packet_list}{'007C'} = ['actor_connected', 'x1 a4 v14 C2 a3 C2', [qw(ID walk_speed opt1 opt2 option hair_style weapon lowhead type shield tophead midhead hair_color clothes_color head_dir stance sex coords unknown1 unknown2)]];
  48. # OLD $self->{packet_list}{'022C'} = ['actor_moved', 'x1 a4 v4 x2 v5 V1 v3 x4 a4 a4 v x2 C2 a5 x3 v', [qw(ID walk_speed opt1 opt2 option type hair_style weapon shield lowhead timestamp tophead midhead hair_color guildID emblemID visual_effects stance sex coords lv)]];
  49.  
  50. $self->{packet_list}{'0078'} = ['actor_exists', 'x a4 v14 a4 a2 v2 C2 a3 C3 v', [qw(ID walk_speed opt1 opt2 option type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID emblemID manner opt3 stance sex coords unknown1 unknown2 act lv)]]; #standing
  51. $self->{packet_list}{'007C'} = ['actor_connected', 'x a4 v14 C2 a3 C4', [qw(ID walk_speed opt1 opt2 option hair_style weapon lowhead type shield tophead midhead hair_color clothes_color head_dir stance sex coords unknown1 unknown2 unknown3 unknown4)]]; #spawning
  52. $self->{packet_list}{'022C'} = ['actor_moved', 'x a4 v3 V v5 V v5 a4 a2 v V C2 a6 C2 v', [qw(ID walk_speed opt1 opt2 option type hair_style weapon shield lowhead tick tophead midhead hair_color clothes_color head_dir guildID emblemID manner opt3 stance sex coords unknown1 unknown2 lv)]]; # walking
  53.  
  54. return $self;
  55. }
  56. 1;
  57.  
  58. =pod
  59. //2009-10-06aRagexeRE
  60. //0x07ec,8
  61. //0x07ed,10
  62. //0x07f0,8
  63. //0x07f1,15
  64. //0x07f2,6
  65. //0x07f3,4
  66. //0x07f4,3
  67. =cut
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement