OpenKore / openkore

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

tRO Mega Thread - All tRO issues here only #221

Closed aecuto closed 7 years ago

aecuto commented 8 years ago

how can i fix this problem??

today my server has update new EAC, my openkore can login to map server but after 1-3 second my openkore has disconnect from map server, please help me or notice me about this problem.

ps. i'm newbie for programmer :D ps2. i'm from Free bot page....

inwzaza2548 commented 8 years ago

give thai bot bot please please please ok?

ให้ บอทผมทีคับ ผมไม่เอาไปขายหลอก

danmadoon commented 8 years ago

Why everyone need x3? It's better than x0 or just secure for unknown packet in the future? or what?

By the way I need x3 also ^^ but want to know other reason.

scream1ng commented 8 years ago

@danmadoon x3 is able to response gameguard_request

muzazhi commented 8 years ago

tosspons commented 6 hours ago I'm use xkoreproxy.pm from @unknown-item Like you.

XKoreProxy.pm in sub serverDisconnect, add: $self->{client_hmac} = 0; before: return $self->{server}->serverDisconnect();

in sub modifyPacketOut, add:

if($self->{client_hmac} && length($msg) > 28) { $msg = substr($msg, 2, length($msg) - 2 - 24) } before: my $switch = uc(unpack("H2", substr($msg, 1, 1))) . uc(unpack("H2", substr($msg, 0, 1)));

add:

if ($switch eq "0436" || $switch eq "0072") { $self->{client_hmac} = 1; } before: return $msg;

???? work ??

unknown-item commented 8 years ago

I think this is what we‘ve got so far. Patched DirectConnection.pm by me, Patched MessageTokenizer.pm by @beerdrumers You should revert all changes relating to HMAC in Send.pm and XKoreProxy.pm, since we moved them into a "better" place. Use original Send.pm and XKoreProxy.pm! Network.zip This should fix both x0 and x3.

unknown-item commented 8 years ago

@hx750i It may be caused by that 0A7C reply which contains your hardware ID. It looks like you are using shared replies, so on the server side they can see many people sharing the same hardware ID, etc. You should try to capture your own 0A7C reply and change it from time to time.

benbradin commented 8 years ago

I can't heading to map that npc interaction needed. Anyway,I did follow the steps and npc location was right but it said connection failed afterwards. How can I fix this matter? (tur_dun01)

omeremix commented 8 years ago

My X3 kore login, map loaded and run just fine. But got dc after about 5sec. I use my original OpenKore that work before HMAC patch. Update only Digest Files. Patched DirectConnection.pm by @unknown-item Patched MessageTokenizer.pm by @beerdrumers
anything i've missed here ?

http://pastebin.com/dktDK5xG < my console debug

nuclearist commented 8 years ago

@omeremix Same problem too.

nuclearist commented 8 years ago

Move You - (re)trying Sent packet : 035F [ 5 bytes]
Sent packet : 0368 [ 6 bytes]
<< Received packet: 0856 [82 bytes] Player Moved: KingOfShine (7) Level 74 Boy Knight - (150, 154) -> (142, 155) Client network buffer flushed out Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0080 - Unit Lost (Died, Disappeared, Disconnected) [ 7 bytes] Player Disappeared: KingOfShine (7) Boy Knight (142, 155) Client network buffer flushed out Move You - timeout Route You - trimming down solution (119) by 1 steps Route You - next step moving to (155, 156), index 12, 118 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
Sent packet : 0368 [ 6 bytes]
Move You - (re)trying Sent packet : 035F [ 5 bytes]
Proxying to [Thailand - tRO (EXE)] [Network::Receive] Network::Receive::tRO (mode: new) [Network::Send] Network::Send::tRO (mode: new) Connecting (103.55.55.12:6900)... connected

Approximately 5 sec is dc from map server

beerdrumers commented 8 years ago

@unknown-item Could you please merge my patch and push up to @windhamwong for review? I'm out of my home for 3 days :(

Thank you for your appreciation.

Best regards.

beerdrumers commented 8 years ago

@omeremix could you please open with all debug configuration?

omeremix commented 8 years ago

@beerdrumers http://pastebin.com/jgU1yX1F

thitiboy commented 8 years ago

035f is true; 001F is Hmac pattern (length).

unknown-item commented 8 years ago

@beerdrumers I think your code needs some more fix.

My apologies to my previous failed X3 fixing attempts, but TBH it seems to be more brain-fcuking than just to break EAC apart. Please ignore my previous comments, and this code is tested and working. Network.zip

However, this code still need some major optimization. I don't know any other reliable way to detemine if a packet is HMAC-ed, so I check all packets in MessageTokenizer!!!, which is NOT good.

omeremix commented 8 years ago

@unknown-item Still not working for me. This time kore disconnected after login . http://pastebin.com/fRN8bs11

unknown-item commented 8 years ago

@omeremix this is a problem with your proxy or something else. Use stock files, replace only DirectConnection.pm & MessageTokenizer.pm

omeremix commented 8 years ago

@unknown-item Worked like a charm ! Big Thanks, and awaiting future optimization.

kittinan commented 8 years ago

@unknown-item i tested on your new X3 fix. it working now!!!!!!! i replace only DirectConnection.pm & MessageTokenizer.pm file.

thank a lot for great work.

ballzas commented 8 years ago

@kittinan ... My bot can to move and work normaly but ... disconnect in 10 sec ....

Phunsin commented 8 years ago

@unknown-item Bot X3 Start to working attack, walk but still have 5 sec. discon.. @omeremix Can you give any suggestion for me?

ballzas commented 8 years ago

@Phunsin ... Me too. Thank for work @unknown-item @beerdrumers

minamikung2 commented 8 years ago

x3 disconnect after start&atk monster 5-10sec @unknown-item

deojet commented 8 years ago

@omeremix You must use original but I have detect by AEC

Sarusit-OPKTH commented 8 years ago

Thank you My boss @unknown-item

patjung555 commented 8 years ago

maybe key hmac can work for x3

Sarusit-OPKTH commented 8 years ago

ใช้บอทตัวเก่าที่ยังไม่ได้ Update HMAC ใน Send.pm มาก่อนแก้ทำ X3 ครับ

patjung555 commented 8 years ago

@Sarusit-OPKTH after in game disconect 5-10 sec

Nziex commented 8 years ago

@Sarusit-OPKTH ช่วยแนะนำกระผมทีครับท่าน

nuclearist commented 8 years ago

X3 OK working.but Idont know why working @_@ So crazy ...

Fluke7744 commented 8 years ago

My X3 can use to login but will disconnect after connect to the sever [when i chose my sever after that in OPK said disconnect to the sever] but i can still move in the game but OPK is already disconect. Anyone have promblem like me or i miss any step ? disconnect immediately after can loin to the sever I use Patched DirectConnection.pm by @unknown-item , Patched MessageTokenizer.pm by @beerdrumers

reallyg0d commented 8 years ago

this my error log console http://www.mx7.com/view2/zmFthXhHmr7LaIMX

i use last fix from DunstleOS

https://github.com/DunstleOS/openkore/

benbradin commented 8 years ago

I can't heading to map that npc interaction needed. Anyway,I did follow the steps and npc location was right but it said connection failed afterwards. How can I fix this matter? (tur_dun01)

GioFen commented 8 years ago

@unknown-item Last update is working with attacking. But still disconnect after buy teleport from NPC.

sneezed commented 8 years ago

thx god for x3

ballzas commented 8 years ago

I'm used DunstleOS ... my step is open chrles , freecap ,run exe from freecap , and run wxstart ... I can log in and select character but when my character shoow in map

cmd window is close , my game is disconnect. Thank you sir.

scream1ng commented 8 years ago

@unknown-item already provided a solution for x0 and x3 (not only source code but providing a completed files). He could not spoon feeding for million people. You might need to compare the different and think a bit why it does not work.

npmaru commented 8 years ago

Detect Openkore after run program 1 min where can i fix?

Suwit2 commented 8 years ago

I have little problem after use x3 pm to someone in game. After enter my massage delay 20-30 sec and after it show in pm box bot will disconnect.

nuclearist commented 8 years ago

@hx750i same too, I test 8 hrs. for X3. It's working

imnashy commented 8 years ago

@hx750i @nuclearist Have you tested "partyAutoShare" function? I've some problem with this. And more one question. Did you guys download a bot from "https://github.com/DunstleOS/openkore/" or "https://github.com/OpenKore/openkore" and fixed it yourself.

I still have some problem and disconnect from server.

imnashy commented 8 years ago

@hx750i I've this problem since 4AM, now I'm trying config a new one. Please guide the source of bot that you use, maybe I'll find a cause of problem. Thanks guy.

GioFen commented 8 years ago

@nuclearist Have you test buy teleport from NPC? I always disconnect from this action.

forall01 commented 8 years ago

@unknown-item

Hi' unknown-item you know about when I talk with npc or warp npc and then I disconnect map server.

ajtone2000 commented 8 years ago

@Poonjaroen Try to set autoTalkCont 0

forall01 commented 8 years ago

@ajtone2000 I set it, but still disconnect. ajtone200 your bot is working fine ?

forall01 commented 8 years ago

I debug when talk with npc and for conversation is very slow.

Suwit2 commented 8 years ago

From X3 , after I try to type something in client like talk with my friends it have delay 15-20 sec. and disconnect after massage come. (so sory for my English) http://pastebin.com/pEyykeTd

natzu555 commented 8 years ago

@unknown-item @beerdrumers

Please accept my sincere thanks and deep appreciation for your invaluable help ^^

Suwit2 commented 8 years ago

@hx750i , yes win10 64bit freecap and Charles. I get this only on real client chat.