Re: xKore 2 CHARACTER_INFO size error!!
Posted: 12 Apr 2012, 06:17
Compare character list packets (with WPE or Wireshark) from your server and from openkore's XKore 2. PM me examples of both packets if needed.
Code: Select all
[2012/04/18 08:42:39.87]
----------Game Info----------
Char ID: FF 4F 06 00 (413695)
MAP Name: aldebaran.gat
MAP IP: 220.130.113.113
MAP Port: 5000
-----------------------------
[2012/04/18 08:42:39.87] Closing connection to Character Server
[2012/04/18 08:42:39.87] Disconnecting (220.130.113.119:5000)...[2012/04/18 08:42:39.87] disconnected
[2012/04/18 08:42:39.88] Connecting to Map Server...
[2012/04/18 08:42:39.88] Connecting (220.130.113.113:5000)... [2012/04/18 08:42:39.91] connected
[2012/04/18 08:42:40.20] << Received packet: 07FF [ 8 bytes]
[2012/04/18 08:42:40.20] << Received packet: 0283 [ 6 bytes]
[2012/04/18 08:42:40.32] << Received packet: 02EB [13 bytes]
[2012/04/18 08:42:40.33] You are now in the game
[2012/04/18 08:42:40.33] Your Coordinates: 196, 56
[2012/04/18 08:42:40.37] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:40.37] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.37] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.37] << Received packet: 010F - Skills List [1928 bytes]
[2012/04/18 08:42:40.41] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:40.53] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:40.53] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:40.53] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.53] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.53] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.54] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:40.54] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.54] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:40.55] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.55] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.55] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.55] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:40.55] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.56] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:40.57] << Received packet: 013A - Attack Range [ 4 bytes]
[2012/04/18 08:42:40.57] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.57] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.57] << Received packet: 0446 [14 bytes]
[2012/04/18 08:42:40.57] << Received packet: 02B1 [13 bytes]
[2012/04/18 08:42:40.57] << Received packet: 02B2 [112 bytes]
[2012/04/18 08:42:40.65] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.65] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.65] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.65] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:40.65] << Received packet: 07D9 [268 bytes]
[2012/04/18 08:42:40.66] << Received packet: 02C9 [ 3 bytes]
[2012/04/18 08:42:40.66] Allowed other player invite to Party
[2012/04/18 08:42:40.66] << Received packet: 02DA [ 3 bytes]
[2012/04/18 08:42:40.66] Other players are not allowed to view your Equipment.
[2012/04/18 08:42:40.87] << Received packet: 00B1 - Your Status Info (Exp, Job Exp, Zeny) [ 8 bytes]
[2012/04/18 08:42:41.38] << Received packet: 00B1 - Your Status Info (Exp, Job Exp, Zeny) [ 8 bytes]
[2012/04/18 08:42:41.48] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.58] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.67] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.78] << Received packet: 02E8 [180 bytes]
[2012/04/18 08:42:41.12] << Received packet: 02D0 [228 bytes]
[2012/04/18 08:42:41.17] << Received packet: 00BD - Your Status Info (Calculated) [44 bytes]
[2012/04/18 08:42:41.18] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.19] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.20] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.21] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.22] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.23] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.24] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.25] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.26] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.27] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.28] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.29] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.30] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.31] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.31] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.32] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.33] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.34] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.35] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.36] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.37] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.38] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.39] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.40] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.41] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.42] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.43] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.44] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.45] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.46] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.47] << Received packet: 0141 - Your Status Changed (Str, Agi, Vit, Int, Dex, Luk, Bonus) [14 bytes]
[2012/04/18 08:42:41.48] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.49] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.50] << Received packet: 0229 [15 bytes]
[2012/04/18 08:42:41.51] You are now: look: 哮狼
[2012/04/18 08:42:41.12] << Received packet: 02E7 [33 bytes]
[2012/04/18 08:42:41.12] << Received packet: 01D6 [ 4 bytes]
[2012/04/18 08:42:41.12] << Received packet: 00B0 - Your Status Info [ 8 bytes]
[2012/04/18 08:42:41.12] << Received packet: 01D7 - Weapon / Shield Display [11 bytes]
[2012/04/18 08:42:41.24] << Received packet: 0446 [14 bytes]
[2012/04/18 08:42:41.24] << Received packet: 0857 [70 bytes]
[2012/04/18 08:42:41.25] Portal Exists: aldebaran -> aldeba_in (197, 70) - (0)
[2012/04/18 08:42:49.97] << Received packet: 043F [25 bytes]
[2012/04/18 08:42:49.97] You are now: 坐下狀態
[2012/04/18 08:42:50.92] << Received packet: 008A - Item take / attack damage / sit / stand [29 bytes]
[2012/04/18 08:42:50.93] You are sitting.
[2012/04/18 08:42:50.22] Exiting...
[2012/04/18 08:42:50.23] macro plugin unloading, [2012/04/18 08:42:50.23] cleaning up
[2012/04/18 08:42:50.23] Bye!
[2012/04/18 08:42:50.23] *** OpenKore what-will-become-2.1 ( r7998 ) - Custom Ragnarok Online client ***
*** http://www.openkore.com/ ***
Sorry, I don't what you mean !ryanblonna3 wrote:..... Openkore doesn't work on my server (pRO) either, in that it fails to log in after selecting a character. ......
Fixed in r8000.The '0078' packets should be change to '0856' in the "map_loaded" function of the src/Network/XKore2/MapServer.pm file.
Fixed in r8002.The twRO needs the "define_check" in the "map_login" function of the src/Base/Ragnarok/MapServer.pm file.
Fixed in r8008.When changing map server ('0092' packet), the background (image of the map) on RO client is still keeping the origin map !
Code: Select all
40 61 86 29 83 af 00 06 4f 9a 92 6e 08 00 45 00 @a.).... O..n..E.
00 50 4d 89 40 00 7a 06 b2 c7 ca 39 75 70 c0 a8 .PM.@.z. ...9up..
00 05 13 88 8a 8d da b6 bd 61 80 5c 93 bf 80 18 ........ .a.\....
ff e5 ab 2f 00 00 01 01 08 0a 00 51 0e 91 00 29 .../.... ...Q...)
a8 80 ..
Code: Select all
0> 71 00 9D 5E 29 00 69 7A 6C 75 64 65 2E 67 61 74 q..^).izlude.gat
16> 00 00 00 00 00 00 7F 00 00 01 F5 1A ............
Code: Select all
40 61 86 29 83 af 00 06 4f 9a 92 6e 08 00 45 00 @a.).... O..n..E.
00 50 4d 89 40 00 7a 06 b2 c7 ca 39 75 70 c0 a8 .PM.@.z. ...9up..
00 05 13 88 8a 8d da b6 bd 61 80 5c 93 bf 80 18 ........ .a.\....
ff e5 ab 2f 00 00 01 01 08 0a 00 51 0e 91 00 29 .../.... ...Q...)
a8 80 71 00 9d 5e 29 00 69 7a 6c 75 64 65 2e 67 ..q..^). izlude.g
61 74 00 00 00 00 00 00 ca 39 75 79 88 13 at...... .9uy..
Code: Select all
40 61 86 29 83 af 00 06 4f 9a 92 6e 08 00 45 00 @a.).... O..n..E.
00 af 4d 15 40 00 7a 06 b2 dc ca 39 75 70 c0 a8 ..M.@.z. ...9up..
00 05 13 88 8a 8d da b6 bc e0 80 5c 93 b6 80 18 ........ ...\....
ff ee aa d4 00 00 01 01 08 0a 00 51 0e 82 00 29 ........ ...Q...)
a6 d9 6b 00 7b 00 09 09 09 9d 5e 29 00 7c c7 12 ..k.{... ..^).|..
02 20 2b 18 00 69 52 1a 00 46 00 00 00 00 00 00 . +..iR. .F......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00 03 00 7e 1d 00 00 7e 1d 00 00 6f 07 6f 07 96 ...~...~ ...o.o..
00 a9 0f 0e 00 00 00 63 00 00 00 08 00 00 00 02 .......c ........
01 1b 00 00 00 00 00 74 65 6d 70 6c 61 74 65 3c .......t emplate<
54 3e 20 66 75 6e 63 28 29 00 00 00 00 00 00 01 T> func( ).......
63 2a 5a 0a 01 06 00 01 00 00 00 00 00 c*Z..... .....
Code: Select all
6B 00 7B 00 09 09 09 9D 5E 29 00 7C C7 12 02 20 k.{.....^).|...
2B 18 00 69 52 1A 00 46 00 00 00 00 00 00 00 00 +..iR..F........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 ................
00 7E 1D 00 00 7E 1D 00 00 6F 07 6F 07 96 00 A9 .~...~...o.o....
0F 0E 00 00 00 63 00 00 00 08 00 00 00 02 01 1B .....c..........
00 00 00 00 00 74 65 6D 70 6C 61 74 65 3C 54 3E .....template<T>
20 66 75 6E 63 28 29 00 00 00 00 00 00 01 63 2A func().......c*
5A 0A 01 06 00 01 00 00 00 00 00 Z..........
You could compare the packets between OpenKore to server and RO client to OpenKore.ryanblonna3 wrote:......
I found some stuff with Wireshark and OpenKore's debugPacket_ro_received set to 1.
The following header pattern precedes packets for both switches 0x6b and 0x71 (character and map logon packets):
.............................
Code: Select all
gameGuard 1
charBlockSize 116
serverEncoding Tagalog
master Philippines - pRO: Valkyrie
server 0
username XXXXXXXXX
password XXXXXXXXX
loginPinCode
char
# Poseidon Settings
# They must be the same as Query Server config in Poseidon.txt
poseidonServer 127.0.0.1
poseidonPort 24390
bindIp
# For an overview of all servertypes please go to the following URL:
# http://wiki.openkore.com/index.php?title=ServerType
serverType mRO
# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
XKore 2
XKore_silent 1
XKore_bypassBotDetection 0
XKore_exeName valexe.exe
# XKore 2 / Proxy configuration
XKore_ID valkyrie(xkore)
XKore_listenIp 127.0.0.1
XKore_listenPort 6901
XKore_publicIp 127.0.0.1
# It is not advised to set secureAdminPassword if you're using Xkore 2
secureAdminPassword 0
adminPassword XXXXXXXXXXX
callSign
commandPrefix ;
pauseCharServer 1
pauseMapServer 1
ignoreInvalidLogin 0
secureLogin_requestCode
Code: Select all
0000 00 06 4f 9a 92 6e 40 61 86 29 83 af 08 00 45 00 ..O..n@a .)....E.
0010 00 34 35 23 40 00 40 06 05 4a c0 a8 00 05 ca 39 .45#@.@. .J.....9
0020 75 70 8a 8d 13 88 80 5c 93 bf da b6 bd 7d 80 11 up.....\ .....}..
0030 00 73 00 7e 00 00 01 01 08 0a 00 29 a8 83 00 51 .s.~.... ...)...Q
0040 0e 91 ..
Code: Select all
0000 00 06 4f 9a 92 6e 40 61 86 29 83 af 08 00 45 00 ..O..n@a .)....E.
0010 00 3c ef f1 40 00 40 06 4a 6a c0 a8 00 05 ca 39 .<..@.@. Jj.....9
0020 75 79 ec e6 13 88 14 88 47 75 00 00 00 00 a0 02 uy...... Gu......
0030 39 08 00 8f 00 00 02 04 05 b4 04 02 08 0a 00 29 9....... .......)
0040 a8 84 00 00 00 00 01 03 03 07 ........ ..
Code: Select all
0000 40 61 86 29 83 af 00 06 4f 9a 92 6e 08 00 45 00 @a.).... O..n..E.
0010 00 34 4d 91 40 00 7a 06 b2 db ca 39 75 70 c0 a8 .4M.@.z. ...9up..
0020 00 05 13 88 8a 8d da b6 bd 7d 80 5c 93 c0 80 10 ........ .}.\....
0030 ff e5 74 8a 00 00 01 01 08 0a 00 51 0e 91 00 29 ..t..... ...Q...)
0040 a8 83 ..
Code: Select all
0000 40 61 86 29 83 af 00 06 4f 9a 92 6e 08 00 45 00 @a.).... O..n..E.
0010 00 34 2a 98 40 00 7a 06 d5 d4 ca 39 75 70 c0 a8 .4*.@.z. ...9up..
0020 00 05 13 88 8a 75 f5 53 1a 6a 67 10 10 19 80 10 .....u.S .jg.....
0030 ff e5 fd 50 00 00 01 01 08 0a 00 51 0b 5d 00 29 ...P.... ...Q.].)
0040 48 73 Hs