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

idRO success connected but always DC after killing any monster #1564

Closed rastafara88 closed 6 years ago

rastafara88 commented 6 years ago

hi guys,

i already checked every history of issues.. but there wasn't any clue for my problem..

here my logs

Received character ID and Map IP from Character Server ----------Game Info---------- MAP Name: gef_fild10.gat MAP IP: 202.93.25.82 MAP Port: 5000

Closing connection to Character Server Disconnecting (202.93.25.70:6000)...disconnected Connecting to Map Server... Connecting (202.93.25.82:5000)... connected You are now in the game Your Coordinates: 64, 199 You are now: Speed Up Allowed other player invite to Party Other players are not allowed to view your Equipment. =========================== Server Infos =========================== EXP Rates: 100% (Base 0% + Premium 0% + Server 0% + Plus 0%) Drop Rates: 100% (Base 0% + Premium 0% + Server 0% + Plus 0%) Death Penalty: 100% (Base 0% + Premium 0% + Server 0% + Plus 0%)

Calculating random route to: Daratan Geffen (gef_fild10): 71, 297 You are now attacking Monster Orc Warrior (0) [ 97/100] Monster Orc Warrior (0) attacks you (Dmg: Miss!) (Delay: 864ms) [ 97/100] You attack Monster Orc Warrior (0) (Dmg: 456!) (Delay: 270ms) [ 97/100] You attack Monster Orc Warrior (0) (Dmg: 456!) (Delay: 270ms) [ 97/100] You attack Monster Orc Warrior (0) (Dmg: 316) (Delay: 270ms) [ 97/100] Monster Orc Warrior (0) attacks you (Dmg: Miss!) (Delay: 864ms) [ 97/100] You attack Monster Orc Warrior (0) (Dmg: 456!) (Delay: 270ms) You have gained 408/160 (0.06%/0.03%) Exp Target died Calculating random route to: Daratan Geffen (gef_fild10): 216, 34 You are now attacking Monster Poporing (0) [ 97/100] You attack Monster Poporing (0) (Dmg: 359) (Delay: 270ms) Target died You have gained 81/44 (0.01%/0.01%) Exp Disconnected from Map Server, connecting to Account Server in 30 seconds... Connecting to Account Server... Connecting (202.93.25.81:6900)... connected Secure Login... rebuilding packet here .. ---------- Account Info ----------

could somebody to getting clue for above issue?

sctnightcore commented 6 years ago

idRO RE ? rebuilding packet here .. << - -

rastafara88 commented 6 years ago

Different sir... idRo offical...

sctnightcore commented 6 years ago

idRO_RE or idRO_PRE ? if idRO_RE work only xkore1 and xkore3

rastafara88 commented 6 years ago

idRo Classic official.. Grav*ndo publisher.

here my server.txt: [Indonesia - idRO: Midgard] ip 202.93.25.81 port 6900 master_version 12 version 2 patchserver wpatch.ragnarok.co.id patchpath /patch02 serverType idRO secureLogin 1 secureLogin_type 0 secureLogin_requestCode secureLogin_account 0 serverEncoding Western storageEncryptKey 0x050B6F79, 0x0202C179, 0x00E20120, 0x04FA43E3, 0x0179B6C8, 0x05973DF2, 0x007D8D6B, 0x08CB9ED9 addTableFolders idRO charBlockSize 144 charDeleteDateType 1

sctnightcore commented 6 years ago

idRO_classic have new login packet
sry , no someone can do it.

rastafara88 commented 6 years ago

i can do that sir but by manually for getting new login packet and successfully login.. bot will be fine if following master or just AFK..

but once i set to auto hitting.. thats problem happen...

difficult to me whats wrong with the auto hitting... is there any same cases for other server?

sctnightcore commented 6 years ago

No idea for rebuilding packet give me Ragexe.exe i will find new recvpacket and sync

rastafara88 commented 6 years ago

hmmm.. ok.. just wanted for clue after hitting more than 2 or 3 mobs like was kicked from the server.. should waiting someone or just closed it?

because i saw other bots were working fine in this server.. hitting and continue without getting kicked from server...

here the ragexe.exe

https://ufile.io/m7gr0

sctnightcore commented 6 years ago

idk XD

i think packet is Encrypt.

rastafara88 commented 6 years ago

which one packet is encrypt?

also checked alison has reference some threads.. but confuse while following the reference because the reference thread was lopping back to same threads.. lolz

sctnightcore commented 6 years ago

I just guess, idk XD @rastafara88 give me Ragexe.exe i will find recvpacket sync !

rastafara88 commented 6 years ago

here sir..

https://ufile.io/m7gr0

already posted before.. :D

sctnightcore commented 6 years ago

sync.txt recvpackets.txt

Not sure Work XD

rastafara88 commented 6 years ago

thanks.. i will try it... btw where i should put file sync.txt ? table/idRo/ ?

still getting DC after 2 or 3 minutes.. and also i tried to set auto attack 0 and random random walk 1.. still got DCed...

sctnightcore commented 6 years ago

Put to tables/idRO

rastafara88 commented 6 years ago

yes i did,,, but still same.. >_<

mfauziracing commented 6 years ago

@rastafara88 i think wrong packet, i have same problem in Renewal when i take item, use equip, storage before. maybe you can turn on debugPacket (unparser/received/etc), so you can see what wrong with the packet before you dc.

hope can help you.

sctnightcore commented 6 years ago

IdRO_RE work with xkore1 and xkore3

rastafara88 commented 6 years ago

@mfauziracing i was wondering, while i used bot for following master and/or supporting buff in every where place.. there was fine.. and also just stay AFK was fine using OK.. haha ~___~.

difficult to debugpacket caused RO will detect tools packet tracer after open 1 minutes arround and forcing quit the RO... :(

mfauziracing commented 6 years ago

@rastafara88 yap because your bot dont send 'attack' packet or receive 'attack' packet so everything ok haha

use OK to read the packet. i use this method to fix my dc problem last week. packet

sctnightcore commented 6 years ago

'00BF' => ['sync_request', 'a4', [qw(ID)]], Not sure . @mfauziracing if you can do it. go pull requsest . xkore 3 in idRO classic ?

rastafara88 commented 6 years ago

@mfauziracing whats version ur XKore ? seems different with my xkore...

does xkore 3 working in idRO classic?

mfauziracing commented 6 years ago

no i cant, still stuck at login packet in IdRO classic >.< but @rastafara88 did with xkore 0 right?

xkore doesnt work in idRO classic. my pic just an exampe to detect wrong packet which cause dc. (i do it in renewal). i use the latest xkore gan @rastafara88.

rastafara88 commented 6 years ago

how to know what type of Xkore? newbie here...haha

ok.. where i should tracing my problem? very interesting to tracing.. but hate when got stuck the way to start tracking....lol

mfauziracing commented 6 years ago

in config.

1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy

XKore 3 <------------------------ type of xkore XKore_port 2350 XKore_dll NetRedirect.dll XKore_autoAttachIfOneExe 1 XKore_silent 1 XKore_bypassBotDetection 1 XKore_exeName ragexe.exe

edit config.txt, start your kore, wait until dc, and you will find the packet that make you dc.

debug 1 debugPacket_unparsed 1 debugPacket_received 1 debugPacket_ro_sent 1 debugPacket_sent 1

rastafara88 commented 6 years ago

ok thanks, so i just configure the Xcore type ya... i will try ya..

rastafara88 commented 6 years ago

ok i have tried to debug using Xkore 0...

You on route to: (): 273, 335 Route You Solution Ready! Route You - next step moving to (273, 335), index 7, 8 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (270, 332) to (273, 335) - distance 4.2 << Received packet: 0069 - Account Info [ 8 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (270, 332) to (273, 335) - distance 4.2 << Received packet: 0069 - Account Info [ 6 bytes] Item Disappeared: Cyfar (0) Target at (275,336) is now within 2.5 blocks; stop moving Ready to attack target (which is 2 blocks away); we're at (273,335) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [10 bytes] << Received packet: 0069 - Account Info [33 bytes] [ 87/100] Monster Orc Archer (0) attacks you (Dmg: Miss!) (Delay: 620ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 293) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 328) (Delay: 160ms) Sent packet : 0360 [ 6 bytes]
Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [ 6 bytes] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 295) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 312) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [10 bytes] << Received packet: 0069 - Account Info [33 bytes] [ 87/100] Monster Orc Archer (0) attacks you (Dmg: Miss!) (Delay: 620ms) << Received packet: 0069 - Account Info [34 bytes] Incremented missedFromYou count to 1 [ 87/100] You attack Monster Orc Archer (0) (Dmg: Miss!) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [77 bytes] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 318) (Delay: 160ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 327) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 292) (Delay: 160ms) << Received packet: 0069 - Account Info [10 bytes] << Received packet: 0069 - Account Info [33 bytes] [ 87/100] Monster Orc Archer (0) attacks you (Dmg: Miss!) (Delay: 620ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 322) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 318) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] Incremented missedFromYou count to 2 [ 87/100] You attack Monster Orc Archer (0) (Dmg: Miss!) (Delay: 160ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 87/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [ 8 bytes] << Received packet: 0069 - Account Info [34 bytes] [ 88/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) << Received packet: 0069 - Account Info [10 bytes] << Received packet: 0069 - Account Info [33 bytes] [ 88/100] Monster Orc Archer (0) attacks you (Dmg: Miss!) (Delay: 620ms) << Received packet: 0069 - Account Info [34 bytes] [ 88/100] You attack Monster Orc Archer (0) (Dmg: 462!) (Delay: 160ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 88/100] You attack Monster Orc Archer (0) (Dmg: 305) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 88/100] You attack Monster Orc Archer (0) (Dmg: 313) (Delay: 160ms) << Received packet: 0069 - Account Info [ 7 bytes] Monster Died: Orc Archer (0) << Received packet: 0069 - Account Info [ 8 bytes] << Received packet: 0069 - Account Info [14 bytes] << Received packet: 0069 - Account Info [ 8 bytes] You have gained 1729/1787 (0.12%/2.00%) Exp << Received packet: 0069 - Account Info [14 bytes] << Received packet: 0069 - Account Info [17 bytes] << Received packet: 0069 - Account Info [17 bytes] << Received packet: 0069 - Account Info [ 6 bytes] Item Disappeared: Orcish Voucher (1) Target died You AI suspended by clientSuspend for 0.7 seconds Disconnected from Map Server, connecting to Account Server in 30 seconds...

here my 2nd debug.. and there was not any clue... confusing..

[ 91/ 88] Monster Orc Lady (1) attacks you (Dmg: Miss!) (Delay: 900ms) << Received packet: 0069 - Account Info [34 bytes] Incremented missedFromYou count to 2 [ 91/ 88] You attack Monster Orc Lady (1) (Dmg: Miss!) (Delay: 160ms) << Received packet: 0069 - Account Info [34 bytes] [ 91/ 88] You attack Monster Orc Lady (1) (Dmg: 459!) (Delay: 160ms) Sent packet : 0089 [ 7 bytes] [Attack / Sit / Stand] << Received packet: 0069 - Account Info [34 bytes] [ 91/ 88] You attack Monster Orc Lady (1) (Dmg: 323) (Delay: 160ms) << Received packet: 0069 - Account Info [ 7 bytes] Monster Died: Orc Lady (1) << Received packet: 0069 - Account Info [ 8 bytes] << Received packet: 0069 - Account Info [14 bytes] << Received packet: 0069 - Account Info [ 8 bytes] You have gained 644/407 (0.04%/0.45%) Exp << Received packet: 0069 - Account Info [14 bytes] Target died You AI suspended by clientSuspend for 0.7 seconds AI suspend by clientSuspend dequeued Move You - done Route You - trimming down solution (115) by 3 steps Route You - next step moving to (174, 93), index 15, 112 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (180, 97) to (174, 93) - distance 7.2 Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (177, 94) to (174, 93) - distance 3.2 Move You - done Route You - trimming down solution (112) by 15 steps Route You - next step moving to (167, 85), index 15, 97 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [ 8 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (174, 93) to (167, 85) - distance 10.6 Move You - done Route You - trimming down solution (97) by 2 steps Route You - next step moving to (167, 83), index 15, 95 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [ 6 bytes] Item Disappeared: Orcish Voucher (0) << Received packet: 0069 - Account Info [12 bytes] You're moving from (169, 88) to (167, 83) - distance 5.4 Move You - done Route You - trimming down solution (95) by 10 steps Route You - next step moving to (158, 82), index 15, 85 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (167, 85) to (158, 82) - distance 9.5 Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (164, 82) to (158, 82) - distance 6.0 Move You - done Route You - trimming down solution (85) by 9 steps Route You - next step moving to (151, 80), index 15, 76 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (158, 82) to (151, 80) - distance 7.3 Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (154, 80) to (151, 80) - distance 3.0 Move You - done Route You - trimming down solution (76) by 15 steps Route You - next step moving to (138, 78), index 15, 61 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [ 7 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (151, 80) to (138, 78) - distance 13.2 Move You - done Route You - trimming down solution (61) by 1 steps Route You - next step moving to (137, 78), index 15, 60 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [88 bytes] Sent packet : 0368 [ 6 bytes]
<< Received packet: 0069 - Account Info [30 bytes] << Received packet: 0069 - Account Info [ 7 bytes] Monster Disappeared: Orc Baby (0) << Received packet: 0069 - Account Info [80 bytes] << Received packet: 0069 - Account Info [25 bytes] << Received packet: 0069 - Account Info [88 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [ 7 bytes] Monster Disappeared: Orc Baby (0) << Received packet: 0069 - Account Info [12 bytes] You're moving from (145, 78) to (137, 78) - distance 8.0 Move You - done Route You - trimming down solution (60) by 9 steps Route You - next step moving to (128, 78), index 15, 51 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (140, 78) to (128, 78) - distance 12.0 Sent packet : 0368 [ 6 bytes]
<< Received packet: 0069 - Account Info [30 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (135, 78) to (128, 78) - distance 7.0 << Received packet: 0069 - Account Info [10 bytes] Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [15 bytes] << Received packet: 0069 - Account Info [15 bytes] << Received packet: 0069 - Account Info [12 bytes] You're moving from (130, 78) to (128, 78) - distance 2.0 Move You - done Route You - trimming down solution (51) by 15 steps Route You - next step moving to (113, 78), index 15, 36 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (128, 78) to (113, 78) - distance 15.0 Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (123, 78) to (113, 78) - distance 10.0 Move You - done Route You - trimming down solution (36) by 9 steps Route You - next step moving to (105, 77), index 15, 27 steps left Sent packet : 0360 [ 6 bytes]
Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [ 6 bytes] << Received packet: 0069 - Account Info [ 8 bytes] << Received packet: 0069 - Account Info [ 7 bytes] Player Disappeared: kimbil (0) Laki-Laki Acolyte (134, 88) Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (116, 78) to (105, 77) - distance 11.0 Move You - done Route You - trimming down solution (27) by 5 steps Route You - next step moving to (100, 77), index 15, 22 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (110, 77) to (100, 77) - distance 10.0 Move You - done Route You - trimming down solution (22) by 4 steps Route You - next step moving to (96, 77), index 15, 18 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [88 bytes] << Received packet: 0069 - Account Info [ 7 bytes] Monster Disappeared: Orc Lady (0) Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (103, 77) to (96, 77) - distance 7.0 Move You - (re)trying Sent packet : 035F [ 5 bytes]
<< Received packet: 0069 - Account Info [12 bytes] You're moving from (98, 77) to (96, 77) - distance 2.0 Move You - done Route You - trimming down solution (18) by 15 steps Route You - next step moving to (94, 77), index 2, 3 steps left Move You - (re)trying Sent packet : 035F [ 5 bytes]
Disconnected from Map Server, connecting to Account Server in 30 seconds... Connecting to Account Server...

sctnightcore commented 6 years ago

0069?

rastafara88 commented 6 years ago

whats wrong with 0069 ?

i suspect 2 codes

Sent packet : 035F [ 5 bytes] and Received packet: 0069 - Account Info [12 bytes] (the account info bytes looks different every occuring)

and where i should check in OK?

ok getting...

$self->{packet_list} = { '0069' => ['account_server_info', 'x2 a4 a4 a4 a4 a26 C a*', [qw(sessionID accountID sessionID2 lastLoginIP lastLoginTime accountSex serverInfo)]],

but whats wrong with this? i just see different bytes in the log.. but dont know what was that..

sctnightcore commented 6 years ago

sniff !!!! packet !!!

rastafara88 commented 6 years ago

this is funny,, it's working now without kicked disconnecting... lol

already 10 minutes running... will update in here if OK running for 1 or 2 hours..

still observe..

rastafara88 commented 6 years ago

ok it's working fine till now... 2 hours running...

i dont know what happen... but its working without DC.. i will closed it...

btw thanks for all who give attention in this thread...

mfauziracing commented 6 years ago

wahaha good 👍🏻👍🏻. you are lucky boy. @rastafara88 can you give me your email? i want ask something.