OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.28k stars 1.04k forks source link

XKore 3 connection issue to map server. [Linux/Ubuntu] #1829

Open BigT1 opened 6 years ago

BigT1 commented 6 years ago

While trying to connect my bot by XKore3, it stucks while connecting to the map server. In windows everything works fine with the same version of RO and OK. Startet RO with wine an OK with perl and also RO & OK with wine.

Tested server: fRO

I can connect to the login server and also to the char selection.

My Config.

# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
# http://wiki.openkore.com/index.php/XKore
XKore 3
XKore_port 6901
#2350
XKore_dll NetRedirect.dll
XKore_autoAttachIfOneExe 1
XKore_silent 1
XKore_bypassBotDetection 0
XKore_exeName ragexe.exe

I already tried to use debug mode. This is what the console says:


Config 'char' is already *None*
Sent packet    : 0066    [ 3 bytes]  [Char Login]
<< Received packet:      0071 - Received character ID and Map IP from Game Login Server [28 bytes]
Char ID und Map erhalten vom Character Server
----------Spiel Info----------
Char ID: 0B 36 26 00 (2504203)
MAP Name: in_orcs01.gat
MAP IP: 54.36.76.133
MAP Port: 4615
-----------------------------
Unterbrechen der Verbindung (54.36.76.130:6000)...Verbindung unterbrochen
Modifying Map Logon packet... next server to connect (54.36.76.133:4615)
Schließe Verbindung zum Character Server
Client network buffer flushed out
Removing pending packet from queue

Thank you.

sctnightcore commented 6 years ago

xkore0 is work ?

BigT1 commented 6 years ago

yes, xkore0 works fine.

sctnightcore commented 6 years ago

@bigT1 need wait . i never use Linux/Ubuntu

BigT1 commented 6 years ago

@sctnightcore no worries. If you need some logs or support for using OK and RO on linux, just let me know.

sctnightcore commented 6 years ago

@BigT1 Can you debug 2 ? copy log to pastbin ?

BigT1 commented 6 years ago

@sctnightcore Its the same like before.

Config 'char' is already None
Sent packet    : 0066    [ 3 bytes]  [Char Login]
<< Received packet:      0071 - Received character ID and Map IP from Game Login Server [28 bytes]
Received packet: 0071 Handler: received_character_ID_and_Map
Char ID und Map erhalten vom Character Server
----------Spiel Info----------
Char ID: 0B 36 26 00 (2504203)
MAP Name: gef_fild10.gat
MAP IP: 54.36.76.133
MAP Port: 4615
-----------------------------
Unterbrechen der Verbindung (54.36.76.130:6000)...[Mar 15 13:27:15 2018.35] Verbindung unterbrochen
Modifying Map Logon packet...[Mar 15 13:27:15 2018.35]  next server to connect (54.36.76.133:4615)
Schließe Verbindung zum Character Server
Client network buffer flushed out
Removing pending packet from queue
autoBreakTime: thu 13:27

But for some unknown reason, it worked two times. Log when it works:

Config 'char' is already *None*
Sent packet    : 0066    [ 3 bytes]  [Char Login]
<< Received packet:      0071 - Received character ID and Map IP from Game Login Server [28 bytes]
Received packet: 0071 Handler: received_character_ID_and_Map
Char ID und Map erhalten vom Character Server
[Mar 15 12:51:34 2018.81] ----------Spiel Info----------
Char ID: 0B 36 26 00 (2504203)
MAP Name: gef_fild10.gat
MAP IP: 54.36.76.133
MAP Port: 4615
-----------------------------
Unterbrechen der Verbindung (54.36.76.130:6000)...[Mar 15 12:51:34 2018.81] Verbindung unterbrochen
Modifying Map Logon packet...[Mar 15 12:51:34 2018.81]  next server to connect (54.36.76.133:4615)
Schließe Verbindung zum Character Server
Client network buffer flushed out
Removing pending packet from queue
XKore Proxy: RO Client connected (127.0.0.1:34874).
Verbinde (54.36.76.133:4615)... [Mar 15 12:51:34 2018.89] verbunden
<< Sent by RO client:    0072 [19 bytes]
ghost commented 6 years ago

autoBreakTime: thu 13:27 ?

Maybe timeout when connecting to the map. A lot of times in bRO it used to timeout on map server with me, playing only the game, without cheat. Maybe it's LAG.