You should create a new serverType.
Paste in notepad and save as "RagexeRE_2011_10_25a.pm"
Send this file to src>>network>>send>>kRO>>
RagexeRE_2011_10_25a.pm
Code: Select all
#########################################################################
# OpenKore - Packet sending
# This module contains functions for sending 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.
########################################################################
package Network::Send::kRO::RagexeRE_2011_10_25a;
use strict;
use base qw(Network::Send::kRO::RagexeRE_2011_10_05a);
sub new {
my ($class) = @_;
my $self = $class->SUPER::new(@_);
my %packets = (
'0887' => ['friend_request', 'a*', [qw(username)]],#26
'023B' => ['homunculus_command', 'v C', [qw(commandType, commandID)]],#5
'08AB' => ['storage_password'],
'08A8' => ['party_join_request_by_name', 'Z24', [qw(partyName)]],#26
'0363' => ['map_login', 'a4 a4 a4 V C', [qw(accountID charID sessionID tick sex)]],#19
'0368' => ['actor_name_request', 'a4', [qw(ID)]],#6
'0369' => ['actor_action', 'a4 C', [qw(targetID type)]],
'08AD' => ['actor_info_request', 'a4', [qw(ID)]],
'02C4' => ['skill_use', 'v2 a4', [qw(lv skillID targetID)]],#10
'0437' => ['character_move', 'a3', [qw(coords)]],#5
'0835' => ['item_take', 'a4', [qw(ID)]],
'0893' => ['item_drop', 'v2', [qw(index amount)]],
'0366' => ['skill_use_location', 'v4', [qw(lv skillID x y)]],
'0887' => ['friend_request', 'a*', [qw(username)]],# len 26
'035F' => ['sync', 'V', [qw(time)]],
'0815' => ['actor_look_at', 'v C', [qw(head body)]],#5
);
$self->{packet_list}{$_} = $packets{$_} for keys %packets;
my %handlers = qw(
friend_request 0887
homunculus_command 023B
storage_password 08AB
party_join_request_by_name 08A8
map_login 0363
actor_name_request 0368
actor_action 0369
actor_info_request 08AD
skill_use 02C4
character_move 0437
item_take 0835
item_drop 0893
skill_use_location 0366
friend_request 0887
sync 035F
actor_look_at 0815
);
$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
$self;
}
1;
Receive, same name , but you need to save it in src>>network>>receive>>kRO>>
RagexeRE_2011_10_25a.pm
Code: Select all
#########################################################################
# 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.
########################################################################
# Korea (kRO)
# The majority of private servers use eAthena, this is a clone of kRO
package Network::Receive::kRO::RagexeRE_2011_10_25a;
use strict;
use base qw(Network::Receive::kRO::RagexeRE_2011_10_05a);
1;
=pod
//2011-10-05aRagexeRE
0x01FD,15,repairitem,2
0x0835,26,friendslistadd,2
0x0885,5,hommenu,2:4
0x089B,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x083C,26,partyinvite2,2
0x0436,19,wanttoconnection,2:6:10:14:18
0x07EC,7,actionrequest,2:6
0x02C4,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x0889,-1,itemlistwindowselected,2:4:8
0x0361,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0365,-1,reqopenbuyingstore,2:4:8:9:89
0x0817,2,reqclosebuyingstore,0
0x035F,6,reqclickbuyingstore,2
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0202,2,searchstoreinfonextpage,0
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0437,5,walktoxy,2
0x0367,6,ticksend,2
0x0815,5,changedir,2:4
0x08A7,6,takeitem,2
0x023B,6,dropitem,2:4
0x08A4,8,movetokafra,2:4
0x0802,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x0887,6,getcharnamerequest,2
0x0368,6,solvecharname,2
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
=cut
Test...
Recvpackets :
http://pastebin.com/uAZTu4Ez
[SmokeRO]
ip 128.199.216.169
port 6900
master_version 14
version 28
serverType kRO_RagexeRE_2011_10_25a
recvpackets XXX.txt
charBlockSize 144
http://rathena.org/board/topic/71672-re ... om-server/
I used ragexe 2011_11_24a as base. After some errors, i changed for 2011_10_05a.
Here's working now...
I don't know if there's a patch like this. If there's, my apologies.
If not, now have.
Dude, i did this (Send/kRO/RagexeRE_2011_11_22a) :
Code: Select all
0x01FD,15,repairitem,2
+0x0891,26,friendslistadd,2
+0x089E,5,hommenu,2:4
0x0364,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
+0x0895,26,partyinvite2,2
+0x0835,19,wanttoconnection,2:6:10:14:18
+0x022D,7,actionrequest,2:6
+0x08A1,10,useskilltoid,2:4:6
+0x0439,8,useitem,2:4
0x0369,-1,itemlistwindowselected,2:4:8
0x0202,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0887,-1,reqopenbuyingstore,2:4:8:9:89
0x08A9,2,reqclosebuyingstore,0
0x088C,6,reqclickbuyingstore,2
0x089D,-1,reqtradebuyingstore,2:4:8:12
0x07EC,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0815,2,searchstoreinfonextpage,0
0x0366,12,searchstoreinfolistitemclick,2:6:10
+0x0892,5,walktoxy,2
+0x0899,6,ticksend,2
+0x0896,5,changedir,2:4
+0x0893,6,takeitem,2
+0x0436,6,dropitem,2:4
+0x08A4,8,movetokafra,2:4
+0x0362,8,movefromkafra,2:4
+0x08AD,10,useskilltopos,2:4:6:8
0x0363,90,useskilltoposinfo,2:4:6:8:10
+0x0898,6,getcharnamerequest,2
+0x035F,6,solvecharname,2
0x0907,5,moveitem,2:4
0x0908,5
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
And replaced by :
http://rathena.org/board/topic/71672-re ... om-server/
//2011-10-25aRagexeRE
Code: Select all
//2011-10-25aRagexeRE
0x01FD,15,repairitem,2
0x0887,26,friendslistadd,2
So 0887 = friend_request #26 len
And need to reconstruct the packet :
my %handlers = qw(
friend_request 0887
.......
);
I believe you'll receive some packet unparsed or parser. or maybe no.