What i am doing.
First - setting up XKore 3 client receive for listening 127.0.0.1:60125 (i will redirect there all map server traffic from client):
config.txt
Code: Select all
XKore 3
...
XKore_listenIp
XKore_listenPort 60125
servers.txt
Code: Select all
[MyServer]
ip 89.108.109.26
port 15121
...
serverType kRO_RagexeRE_2014_10_22b
...
Proxy:
Redirection:
Fourth - all unknown packets path as raw - doing nothing!
PacketParser.pm - 412 line
Change
Code: Select all
} elsif ($type == Network::MessageTokenizer::ACCOUNT_ID) {
debug "Got data UNKNOWN_MESSAGE... \n","connection";
$args = {
RAW_MSG => $message
};
Code: Select all
} elsif (($type == Network::MessageTokenizer::ACCOUNT_ID)
|| ($type == Network::MessageTokenizer::UNKNOWN_MESSAGE && $config{XKore} == 3)) {
debug "Got data UNKNOWN_MESSAGE... \n","connection";
$args = {
RAW_MSG => $message
};
XKore 3 start? - OK!
Login to char server? - OK!
Connection of client to XKore 3 after picking char? - OK!
Connection of XKore 3 to map server? - OK!
Login to map server? - FAILED!
Reasons?
I need to catch that packet from client and send it to game server cause it is encrypted map server login packet! But it goes too fast and XKore 3 cant catch it! as result cant send it to map server!
Need help Solving this problem!