Openkore.com

OpenKore Forums
It is currently 20 May 2018, 10:21

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 9  Next
Author Message
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 04 May 2014, 13:07 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1168
Location: Brazil
Code:
00824419 push 3D807D80
0082441E push 5E805580
00824423 push 7E241DE0
00824428 call 006402A0


Code:
if (something)
{
6402A0((int)dword_......, 2116296160, 1585468800, 1031830912);


Code:
int sub_6402A0(int this, int a2, int a3, int a4)
{
  int result;

  *(_DWORD *)(this + 4) = a2;
  result = a4;
  *(_DWORD *)(this + 8) = a3;
  *(_DWORD *)(this + 12) = a4;
  return result;
}

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

Click here and travel to a new world -> Newbies
Read before asking something.
How to connect to private servers


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 04 May 2014, 22:02 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
Thanks Mate.. its works now.. though there are some Packet Parser sometimes.. its really ok if it connects..

Thanks a lot mate.. will update again if something happens..

btw.. how did you find the solution for my problem?


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 04 May 2014, 22:17 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1168
Location: Brazil
shampuday wrote:
btw.. how did you find the solution for my problem?

R :

4epT : likely server encrypts some packages, look through WPE

I installed it here and took a look.

Quote:
though there are some Packet Parser sometimes.. its really ok if it connects..


Maybe a custom packet, i don't know. If you want, you can post a screenshot. :/ It's not enough for you keep connected on server, i guess will occur a problem in the future.

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

Click here and travel to a new world -> Newbies
Read before asking something.
How to connect to private servers


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 01:40 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
Packet Parser: Unknown switch: 0983


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 21:31 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1168
Location: Brazil
You need to add this packet on your receive file \src\Network\Receive\kRO\serverType

Quote:
'0983' => ['actor_status_active', 'v a4 C V4', [qw(type ID flag tick unknown1 unknown2 unknown3)]], # 25 personal modification


Will need to add this sub. Your serverType will look like this :

Code:
use strict;
use base qw(Network::Receive::kRO::RagexeRE_2013_03_20);

sub new {
   my ($class) = @_;
   my $self = $class->SUPER::new(@_);
   my %packets = (
      '0983' => ['actor_status_active', 'v a4 C V4', [qw(type ID flag tick unknown1 unknown2 unknown3)]], # 25 personal modification
   );

   foreach my $switch (keys %packets) { $self->{packet_list}{$switch} = $packets{$switch}; }

   return $self;
}

1;


Now is identifying my "Owg 50%". ;D

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

Click here and travel to a new world -> Newbies
Read before asking something.
How to connect to private servers


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 22:45 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
Still Getting the error after Doing that sir


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 22:48 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1168
Location: Brazil
Hm, really ? What you did, and how are your serverType, Send and Receive?
Strange, if you didn't nothing wrong. Is it with the same packet ? o.O

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

Click here and travel to a new world -> Newbies
Read before asking something.
How to connect to private servers


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 22:56 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
i Edit src/network/receive/kro/serverType/RagexeRE_2013_08_07a

and put this

sub new {
my ($class) = @_;
my $self = $class->SUPER::new(@_);
my %packets = (
'0983' => ['actor_status_active', 'v a4 C V4', [qw(type ID flag tick unknown1 unknown2 unknown3)]], # 25 personal modification
);

foreach my $switch (keys %packets) { $self->{packet_list}{$switch} = $packets{$switch}; }

return $self;
}


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 23:00 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
Send :

Code:
package Network::Send::kRO::RagexeRE_2013_08_07a;

use strict;
use base qw(Network::Send::kRO::RagexeRE_2013_03_20);
use Log qw(debug);

sub new {
   my ($class) = @_;
   my $self = $class->SUPER::new(@_);
   
   my %packets = (
      '088E' => undef,
      '0369' => ['actor_action', 'a4 C', [qw(targetID type)]],#7
      '089B' => undef,
      '083C' => ['skill_use', 'v2 a4', [qw(lv skillID targetID)]],#10
      '0881' => undef,
      '0437' => ['character_move','a3', [qw(coordString)]],#5
      '0363' => undef,
      '035F' => ['sync', 'V', [qw(time)]],#6
      '093F' => undef,
      '0202' => ['actor_look_at', 'v C', [qw(head body)]],#5
      '0933' => undef,
      '07E4' => ['item_take', 'a4', [qw(ID)]],#6
      '0362' => ['item_drop', 'v2', [qw(index amount)]],#6
      '08AC' => undef,
      '07EC' => ['storage_item_add', 'v V', [qw(index amount)]],#8
      '0874' => undef,
      '0364' => ['storage_item_remove', 'v V', [qw(index amount)]],#8
      '0959' => undef,
      '0438' => ['skill_use_location', 'v4', [qw(lv skillID x y)]],#10
      '0898' => undef,
      '096A' => ['actor_info_request', 'a4', [qw(ID)]],#6
      '094C' => undef,
      '0368' => ['actor_name_request', 'a4', [qw(ID)]],#6
      '0888' => undef,
      '022D' => ['map_login', 'a4 a4 a4 V C', [qw(accountID charID sessionID tick sex)]],#19
      '086F' => undef,
      '0802' => ['party_join_request_by_name', 'Z24', [qw(partyName)]],#26
      '086D' => undef,
      '023B' => ['friend_request', 'a*', [qw(username)]],#26
      '0897' => undef,
      '0361' => ['homunculus_command', 'v C', [qw(commandType, commandID)]],#5
   );
   $self->{packet_list}{$_} = $packets{$_} for keys %packets;
   
   my %handlers = qw(
      actor_action 0369
      actor_info_request 096A
      actor_look_at 0202
      actor_name_request 0368
      character_move 0437
      friend_request 023B
      homunculus_command 0361
      item_drop 0362
      item_take 07E4
      map_login 022D
      party_join_request_by_name 0802
      skill_use 083C
      skill_use_location 0438
      storage_item_add 07EC
      storage_item_remove 0364
      sync 035F
   );
   $self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
   $self->cryptKeys(2116296160, 1031830912, 1585468800);
   $self;
}

1;
=pod
0x369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x437,5,walktoxy,2
0x035F,6,ticksend,2
0x202,5,changedir,2:4
0x70000,6,takeitem,2
0x362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x364,8,movefromkafra,2:4
0x438,10,useskilltopos,2:4:6:8
0x366,90,useskilltoposinfo,2:4:6:8:10
0x096A,6,getcharnamerequest,2
0x368,6,solvecharname,2
0x838,12,searchstoreinfolistitemclick,2:6:10
0x835,2,searchstoreinfonextpage,0
0x819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x811,-1,reqtradebuyingstore,2:4:8:12
0x360,6,reqclickbuyingstore,2
0x817,2,reqclosebuyingstore,0
0x815,-1,reqopenbuyingstore,2:4:8:9:89
0x365,18,bookingregreq,2:4:6
// 0x363,8 CZ_JOIN_BATTLE_FIELD
0x281,-1,itemlistwindowselected,2:4:8:12
0x022D,19,wanttoconnection,2:6:10:14:18
0x802,26,partyinvite2,2
// 0x436,4 CZ_GANGSI_RANK
0x023B,26,friendslistadd,2
0x361,5,hommenu,2:4
0x887,36,storagepassword,2:4:20
=cut


Receive :

Code:
package Network::Receive::kRO::RagexeRE_2013_08_07a;

use strict;
use base qw(Network::Receive::kRO::RagexeRE_2013_03_20);

sub new {
   my ($class) = @_;
   my $self = $class->SUPER::new(@_);
   my %packets = (
      '0983' => ['actor_status_active', 'v a4 C V4', [qw(type ID flag tick unknown1 unknown2 unknown3)]], # 25 personal modification
      '0977' => ['attack'], #personal modification
   );

   foreach my $switch (keys %packets) {
      $self->{packet_list}{$switch} = $packets{$switch};
   }
   my %handlers = qw(
      actor_status_active 0983
      attack 0977
   );
   $self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
   
   return $self;
}
1;

=pod
0x369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x437,5,walktoxy,2
0x035F,6,ticksend,2
0x202,5,changedir,2:4
0x70000,6,takeitem,2
0x362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x364,8,movefromkafra,2:4
0x438,10,useskilltopos,2:4:6:8
0x366,90,useskilltoposinfo,2:4:6:8:10
0x096A,6,getcharnamerequest,2
0x368,6,solvecharname,2
0x838,12,searchstoreinfolistitemclick,2:6:10
0x835,2,searchstoreinfonextpage,0
0x819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x811,-1,reqtradebuyingstore,2:4:8:12
0x360,6,reqclickbuyingstore,2
0x817,2,reqclosebuyingstore,0
0x815,-1,reqopenbuyingstore,2:4:8:9:89
0x365,18,bookingregreq,2:4:6
// 0x363,8 CZ_JOIN_BATTLE_FIELD
0x281,-1,itemlistwindowselected,2:4:8:12
0x022D,19,wanttoconnection,2:6:10:14:18
0x802,26,partyinvite2,2
// 0x436,4 CZ_GANGSI_RANK
0x023B,26,friendslistadd,2
0x361,5,hommenu,2:4
0x887,36,storagepassword,2:4:20
=cut


Top
 Profile  
 
 Post subject: Re: BasicRO Map Server Timeout..
PostPosted: 05 May 2014, 23:42 
Offline
Human
Human

Joined: 01 May 2014, 23:04
Posts: 46
I think it works now.. i can see all the char status..

You are now sitting.. Sitting Duration <9.999s>
Where can i edit that sir?
It always stands up after 10 sec..


sitAuto_hp_lower 45
sitAuto_hp_upper 95
sitAuto_sp_lower 20
sitAuto_sp_upper 80
sitAuto_follow 0
sitAuto_over_50 0
sitAuto_idle 1
sitAuto_look
sitAuto_look_from_wall


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 9  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group