Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #########################################################################
- # OpenKore - Packet Receiveing
- # This module contains functions for Receiveing packets to the server.
- #
- # This software is open source, licensed under the GNU General Public
- # License, version 2.
- # Basically, this means that you're allowed to modify and distribute
- # this software. However, if you distribute modified versions, you MUST
- # also distribute the source code.
- # See http://www.gnu.org/licenses/gpl.html for the full license.
- #
- # $Revision: 6687 $
- # $Id: kRO.pm 6687 2009-04-19 19:04:25Z technologyguild $
- ########################################################################
- # Korea (kRO)
- # The majority of private servers use eAthena, this is a clone of kRO
- package Network::Receive::kRO::RagexeRE_2009_10_06a;
- use strict;
- use base qw(Network::Receive::kRO::RagexeRE_2009_09_29a);
- sub new {
- my ($class) = @_;
- my $self = $class->SUPER::new(@_);
- my %packets = (
- # //0x07ec,8
- # //0x07ed,10
- # //0x07f0,8
- # //0x07f1,15
- # //0x07f2,6
- # //0x07f3,4
- # //0x07f4,3
- );
- foreach my $switch (keys %packets) {
- $self->{packet_list}{$switch} = $packets{$switch};
- }
- return $self;
- }
- sub new {
- my ($class) = @_;
- my $self = $class->SUPER::new;
- # 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)]];
- # 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)]];
- # 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)]];
- $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
- $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
- $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
- return $self;
- }
- 1;
- =pod
- //2009-10-06aRagexeRE
- //0x07ec,8
- //0x07ed,10
- //0x07f0,8
- //0x07f1,15
- //0x07f2,6
- //0x07f3,4
- //0x07f4,3
- =cut
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement