Xkore on eAthena servers
Moderator: Moderators
Re: Xkore on eAthena servers
vivi, I'm beginning to wonder if a full scrap and rewrite might be best... I'm really not sure at all how that packet is getting mangled.
cs : ee : realist
Re: Xkore on eAthena servers
Checked it out for a bit tonight.
There are two differences, I didn't look in to what causes them yet.
1) 0x0204 login packet <- Kore doesn't support this in any serverType yet, and it should for latest eA servers
2) XKore doesn't close the character select server and open the map server connection, for some reason. I'll get a more in depth packet analysis going on later tonight, or another day to determine what the deal is here. I was under the impression that with XKore1 the client is in charge of opening/closing socket connections and XKore just obeys the request.
Console Log (XKore)
Console Log (Kore)
Console Log XKore
It just ends there and eventually disconnects.
Kore:
so who ever posted "kore doesn't support the latest packet version" is correct, the only sendMasterLogin is in serverType0.pm and it is for 0x64 which would set EA to an older packet version
There are two differences, I didn't look in to what causes them yet.
1) 0x0204 login packet <- Kore doesn't support this in any serverType yet, and it should for latest eA servers
2) XKore doesn't close the character select server and open the map server connection, for some reason. I'll get a more in depth packet analysis going on later tonight, or another day to determine what the deal is here. I was under the impression that with XKore1 the client is in charge of opening/closing socket connections and XKore just obeys the request.
Console Log (XKore)
Code: Select all
Jun 2 22:13:52 2008.99] Packet SENT_BY_CLIENT: 0204
[Jun 2 22:13:52 2008.99] Packet SENT_BY_CLIENT: 02B0
[Jun 2 22:13:53 2008.27] Received packet: 0069 [79 bytes] [Account Info]
Code: Select all
n 2 22:16:10 2008.77] Sent packet : 0064 [55 bytes] [Account Server Login]
[Jun 2 22:16:10 2008.78] Posting anonymous usage statistics to http://www.openkore.com/statistics.php
[Jun 2 22:16:10 2008.92] Received packet: 0069 [79 bytes] [Account Info]
Console Log XKore
Code: Select all
[Jun 2 22:14:14 2008.87] Packet SENT_BY_CLIENT: 0066 - Char Login
[Jun 2 22:14:14 2008.88] Config 'char' set to 1 (was 1)
[Jun 2 22:14:15 2008.66] Received packet: 0071 [28 bytes] [Received character ID and Map IP from Game Login Server]
[Jun 2 22:14:15 2008.66] Received character ID and Map IP from Character Server
[Jun 2 22:14:15 2008.67] ----------Game Info----------
Char ID: 89 62 00 00 (25225)
MAP Name: new_zone01.gat
MAP IP: 83.133.124.103
MAP Port: 5121
-----------------------------
Kore:
Code: Select all
[Jun 2 22:16:11 2008.21] Sent packet : 0066 [ 3 bytes] [Char Login]
[Jun 2 22:16:11 2008.35] Received packet: 0071 [28 bytes] [Received character ID and Map IP from Game Login Server]
[Jun 2 22:16:11 2008.35] Received character ID and Map IP from Character Server
[Jun 2 22:16:11 2008.35] ----------Game Info----------
Char ID: 89 62 00 00 (25225)
MAP Name: new_zone01.gat
MAP IP: 83.133.124.103
MAP Port: 5121
-----------------------------
[Jun 2 22:16:11 2008.35] Closing connection to Character Server
[Jun 2 22:16:11 2008.35] Disconnecting (83.133.124.103:6121)...[Jun 2 22:16:11 2008.35] disconnected
Oh no.
-
- Plain Yogurt
- Posts: 58
- Joined: 24 Apr 2008, 00:26
- Noob?: No
Re: Xkore on eAthena servers
someone from kore-ro forums informed that if by any chances xkore works on kore-ro server report here... so im reporting
i played on kore-ro and i managed to xkore on it using openkore 2.0.0 and field pack 2.0.0
## http://www.kore-ro.com
[KoreRO Private Server]
ip koreserver.info
port 6900
master_version 16
version 20
serverType 8
private 1
serverEncoding Western
charBlockSize 108
and attached is my recvpackets.txt if its relevent
i played on kore-ro and i managed to xkore on it using openkore 2.0.0 and field pack 2.0.0
## http://www.kore-ro.com
[KoreRO Private Server]
ip koreserver.info
port 6900
master_version 16
version 20
serverType 8
private 1
serverEncoding Western
charBlockSize 108
and attached is my recvpackets.txt if its relevent
- Attachments
-
- recvpackets.txt
- i dont remember when i extract it but its working
- (5.09 KiB) Downloaded 424 times
im noob, but i know how to read config manual, command manual, macro manual but im still a noob.
Re: Xkore on eAthena servers
woot! OK 2.0.0 is pretty old version. i dont think its work for latest eAthena.HumanHealer wrote: i played on kore-ro and i managed to xkore on it using openkore 2.0.0 and field pack 2.0.0
-
- Plain Yogurt
- Posts: 58
- Joined: 24 Apr 2008, 00:26
- Noob?: No
Re: Xkore on eAthena servers
@help_us
i know OK 2.0.0 is old and field pack 2.0.0 cant support some map. but as far as i know, i can use it to xkore my crusader with its useselfskills (all the self support skills) "manualAI 1" working properly... i can attack, i can move, on AI off as well as AI on...
just wanna help for those who wanna look into what's wrong with the current xkore error on openkore
i know OK 2.0.0 is old and field pack 2.0.0 cant support some map. but as far as i know, i can use it to xkore my crusader with its useselfskills (all the self support skills) "manualAI 1" working properly... i can attack, i can move, on AI off as well as AI on...
just wanna help for those who wanna look into what's wrong with the current xkore error on openkore
im noob, but i know how to read config manual, command manual, macro manual but im still a noob.
-
- Noob
- Posts: 1
- Joined: 22 Jul 2008, 06:48
- Noob?: Yes
Re: Xkore on eAthena servers
yep! openkore 2.0.0 works fine with xkore mode. i'm using that with my mage and hunter if i wanna see what's going on. so if kore doesn't support the latest packet version, why is version 2.0.0 working?
-
- Spam Generator
- Posts: 499
- Joined: 04 Apr 2008, 09:30
- Noob?: No
- Location: Melbourne, City of beer and awful sushis
Re: Xkore on eAthena servers
okay enough with the "openkore 2.0.0 works". Way to state the obvious guys, so it works and if you guys want xkore use it. Unless you have technical stuff to add please dont reply so the thread stays clean, this is dev corner, not state-the-obvious section.
Make Openkore Awesome. Join the team.
Re: Xkore on eAthena servers
Client takes control of all connections and X-Kore obeys them - yes.
This works flawlessly only if Kore forwards all packets (even unknown ones) back to the RO client. (or else the RO client will be waiting for the 'magic' packet before disconnecting)
To increase X-Kore's compatibility, what I suggest is sending data to/from Kore be done in parallel with sending them to the server/client, to ensure no packet gets dropped along the way. X-Kore is able to hook client's 'select' and 'recv' function so there's not much problem in sending Kore's packet to the client.
I've yet to dive into the OpenKore source code though. I might be wrong.
- edit - more info -
eA guesses the packet version by what the client sends (to be compatible with different sakexe).
This works flawlessly only if Kore forwards all packets (even unknown ones) back to the RO client. (or else the RO client will be waiting for the 'magic' packet before disconnecting)
To increase X-Kore's compatibility, what I suggest is sending data to/from Kore be done in parallel with sending them to the server/client, to ensure no packet gets dropped along the way. X-Kore is able to hook client's 'select' and 'recv' function so there's not much problem in sending Kore's packet to the client.
I've yet to dive into the OpenKore source code though. I might be wrong.
- edit - more info -
eA guesses the packet version by what the client sends (to be compatible with different sakexe).
-
- Kami-Sama Desu~
- Posts: 195
- Joined: 04 Apr 2008, 09:24
- Noob?: Yes
- Location: 31th Dimension
- Contact:
Re: Xkore on eAthena servers
fixed servertype 8
xkore 2 will now work. it's now in svn
get someone to fix Xkore 1 and proxy
deatails:
1) packet 009B is the login for servertype 8
2) character listing packet (map server)
- $output = pack('C20') . $characterinfo;
- pack('C2 v', 0x6B, 0x00, length($output) + 4) . $characterinfo
this means that you need to pad 20 bytes before the character information
take a look at /openkore/src/Base/Ragnarok/CharServer.pl (arround line 127)
/me is too lazy to elaborate, so he's typing in point form.
openkore have a built in Ragnarok server, Xkore2 is inheriting the server object, i am not sure about xkore1 and proxy
xkore 2 will now work. it's now in svn
get someone to fix Xkore 1 and proxy
deatails:
1) packet 009B is the login for servertype 8
2) character listing packet (map server)
- $output = pack('C20') . $characterinfo;
- pack('C2 v', 0x6B, 0x00, length($output) + 4) . $characterinfo
this means that you need to pad 20 bytes before the character information
take a look at /openkore/src/Base/Ragnarok/CharServer.pl (arround line 127)
/me is too lazy to elaborate, so he's typing in point form.
sli wrote:vivi, I'm beginning to wonder if a full scrap and rewrite might be best... I'm really not sure at all how that packet is getting mangled.
openkore have a built in Ragnarok server, Xkore2 is inheriting the server object, i am not sure about xkore1 and proxy