Openkore.com

OpenKore Forums
It is currently 22 May 2018, 04:03

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 47 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 03:06 
Offline
Developers
Developers

Joined: 04 Apr 2008, 13:33
Posts: 157
Add the following to src/Network/receive/ServerType0.pm with all the similar lines

Code:
      '082D' => ['received_characters'],

It should look like this if you paste it in between the two existing lines:
Code:
      '0818' => ['buyer_items', 'v a4 a4', [qw(len venderID venderCID)]],
      '082D' => ['received_characters'],
      '084B' => ['item_appeared', 'a4 v2 C v2', [qw(ID nameID amount identified x y)]], # 19 TODO   provided by try71023


Update iRO's recvpackets in tables/iRO/recvpackets.txt with
Code:
082D 0

Or just generate a new one with klab's tool. My recvpackets: here

Technical side of what changed: The packet's non-charBlock structure changed for iRO's received_characters. Kore ignores this portion of the packet. It added ~22 bytes to the packet. In order to accommodate this change they gave it a new id, but the character block portion of the packet (that kore cares about) remained the same as before.

Other iRO Changes:

-Valkyrie server no longer has its own account server ip, it is shared with ymir/ygg
Code:
[International - iRO: Valkyrie/Ymir/Yggdrasil]
ip 128.241.92.162
port 6900
master_version 1
version 18
serverType iRO
serverEncoding Western
patchserver ropatch1.gravityus.com
patchpath /patch02
addTableFolders iRO
charBlockSize 112

_________________
Oh no.


Last edited by Motivus on 07 Apr 2011, 14:58, edited 11 times in total.

Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 04:07 
Offline
Noob
Noob

Joined: 07 Apr 2011, 03:46
Posts: 1
hi i tried to add '082D' => ['received_characters'],
on top of the

'006B' => ['received_characters'],
and
'0072' => ['received_characters'],

but when i started the openkore

its like this:

An error occured while loading the server message parser for server type 'iRO':
Bad name after quest_add' at src/Network/Receive/ServerType0.pm line 416.
Compilation failed in require at (eval 81) line 2.
...propagated at C:/Perl/lib/base.pm line 94.
BEGIN failed--compilation aborted at src/Network/Receive/iRO.pm line 17.
Compilation failed in require at (eval 80) line 1.
BEGIN failed--compilation aborted at (eval 80) line 1.

this is what i add in the file (in red):
sub new {
my ($class) = @_;
my $self = $class->SUPER::new();

$self->{packet_list} = {
'0069' => ['account_server_info', 'x2 a4 a4 a4 x30 C a*', [qw(sessionID accountID sessionID2 accountSex serverInfo)]],
'006A' => ['login_error', 'C', [qw(type)]],
'082D' => ['received_characters'],
'006B' => ['received_characters'],
'006C' => ['login_error_game_login_server'],
# OLD '006D' => ['character_creation_successful', 'a4 x4 V x62 Z24 C7', [qw(ID zeny name str agi vit int dex luk slot)]],
'006D' => ['character_creation_successful', 'a4 V9 v17 Z24 C6 v2', [qw(ID exp zeny exp_job lv_job opt1 opt2 option karma manner points_free hp hp_max sp sp_max walk_speed type hair_style weapon lv points_skill lowhead shield tophead midhead hair_color clothes_color name str agi vit int dex luk slot renameflag)]],
'006E' => ['character_creation_failed', 'C' ,[qw(type)]],
'006F' => ['character_deletion_successful'],
'0070' => ['character_deletion_failed'],
'0071' => ['received_character_ID_and_Map', 'a4 Z16 a4 v', [qw(charID mapName mapIP mapPort)]],
'082D' => ['received_characters'],
'0072' => ['received_characters'],
'0073' => ['map_loaded', 'V a3', [qw(syncMapSync coords)]],
'0075' => ['changeToInGameState'],
'0077' => ['changeToInGameState'],

i edited the file using wordpad.

can you help me fix this problem? thx :)


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 04:50 
Offline
Noob
Noob

Joined: 24 Mar 2010, 13:20
Posts: 13
Where do the second set of changes get put?


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 05:06 
Offline
Noob
Noob

Joined: 29 Aug 2010, 14:34
Posts: 13
Hi can you post your recvpackets.txt and ServerType0.pm
i can't get those 2 or one of them to work. i can connect but can't get to valk server


Last edited by rohan on 07 Apr 2011, 05:24, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 05:21 
Offline
Human
Human

Joined: 05 Apr 2008, 06:42
Posts: 33
thx :)


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 05:30 
Offline
Noob
Noob

Joined: 07 Apr 2011, 03:52
Posts: 2
thank you :)


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 06:23 
Offline
Noob
Noob

Joined: 24 Mar 2010, 13:20
Posts: 13
I added this:
'082D' => ['received_characters'],
to the file servertype0 but when it runs, it disappears from the file and does not work. How can I fix this?


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 06:35 
Offline
Been there done that!
Been there done that!
User avatar

Joined: 25 Oct 2008, 08:14
Posts: 144
Location: Spain, Madrid
Is this change conmitted in the downloads? because I still get the "Unable to load the file recvpackets.txt" error after following the info in the first post, and I don't know what else to do. I don't have recvpackets-iro.txt, never had and always worked without it. :|

_________________
ImageImageImage
ImageImageImage
ImageImageImage


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 06:37 
Offline
Noob
Noob

Joined: 30 May 2010, 05:06
Posts: 15
Ok I feel really dumb now.

I've followed the exact instructions listed in this thread but OK gives me the error:

"Packet Tokenizer: Unknown switch 082D"

when it tries to connect to the character server.

My ServerType0.pm file looks the same as dimensions'. I've tried switching around the position of the 082D line in the ServerType0 file but to no avail. Any help would be greatly appreciated. Thanks in advance.


Top
 Profile  
 
 Post subject: Re: iRO Character Select Packet Fix
PostPosted: 07 Apr 2011, 06:48 
Offline
Noob
Noob

Joined: 07 Apr 2011, 06:09
Posts: 3
I'm also have problems. Any chance you could upload the 2 files we have to change so we can copy them directly?


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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