Closed aecuto closed 7 years ago
I would accept @unknown-item 's file only sry. It is about author's permission and proper handling policy thing
@unknown-item in x3 your code it can't walk atk
@windhamwong im using all his script but the problem stuck when talk to npc
@windhamwong I don't have full src for this, only some pieces of code. Please review and fix properly. I think there are still some problem with x3. I don't know why it went wrong. Basically it strips HMAC-ed packet from client and process only the original part. Then it sends with HMAC added like x0 does.
@unknown-item still errors 0A76 80 0001 184 0A76 80 0001 156 0001 222
@udomsaph then I don't know, because I have no way to debug it myself. Maybe somebody else can help you with x3.
@unknown-item can you send me your work please? So I can review and fix on them. Are you guys using X3 not X0 at the moment?
@windhamwong X0 works fine at the moment. But X3 still have some problem with sent packets
@unknown-item I have logged my packet before send. It looks correct to me.
[Sep 14 20:20:35 2016.88] Sent packet : 014F [ 6 bytes] [Guild Query Page]
[Sep 14 20:20:35 2016.88] Sent packet : 0001 [314 bytes]
[Sep 14 20:20:37 2016.53] client hmac = 1, packetLength = 31
[Sep 14 20:20:37 2016.54] client hmac = 1, packetLength = 5
[Sep 14 20:20:37 2016.55] << Sent by RO client: 035F [ 5 bytes]
[Sep 14 20:20:37 2016.56] Sent packet : 035F [ 5 bytes]
[Sep 14 20:20:38 2016.61] client hmac = 1, packetLength = 31
[Sep 14 20:20:38 2016.62] client hmac = 1, packetLength = 5
[Sep 14 20:20:38 2016.63] << Sent by RO client: 035F [ 5 bytes]
[Sep 14 20:20:38 2016.64] Sent packet : 035F [ 5 bytes]
[Sep 14 20:20:39 2016.99] client hmac = 1, packetLength = 31
[Sep 14 20:20:40 2016.29] client hmac = 1, packetLength = 5
[Sep 14 20:20:40 2016.94] << Sent by RO client: 035F [ 5 bytes]
[Sep 14 20:20:40 2016.17] Sent packet : 035F [ 5 bytes]
[Sep 14 20:20:41 2016.10] client hmac = 1, packetLength = 31
[Sep 14 20:20:41 2016.10] client hmac = 1, packetLength = 5
[Sep 14 20:20:41 2016.11] << Sent by RO client: 035F [ 5 bytes]
[Sep 14 20:20:41 2016.12] Sent packet : 035F [ 5 bytes]
[Sep 14 20:20:41 2016.38] client hmac = 1, packetLength = 32
[Sep 14 20:20:41 2016.38] client hmac = 1, packetLength = 6
[Sep 14 20:20:41 2016.39] << Sent by RO client: 0368 [ 6 bytes]
[Sep 14 20:20:41 2016.40] Sent packet : 0368 [ 6 bytes]
But I don't know why it still doesn't work with x3
@udomsaph you can x3 ?
Why using autoTalkcont it slow talk npc ?
problem server or bot ??
any possible that someone can upload the new version pls
disconext form sever because talk to npc faster than sv how to fix it
@Poonjaroen Big thanks for you my man , My x0 work very well right now
but the next thing we must looking for is auto-ban.
@unknown-item sorry bro , how to debug and running game client , you worked with program ?
thanks :+1:
@unknown-item fuckig God boro like this him Very Hing God ro in the world...
but God Thailand unstle him is good me like..thisqqqqq ๊
@unknown-item i think you used llinux for debug and running game right?
@unknown-item
Sorry how to find this key
EDB9D10AB84C9A2E05E38997C2F64A29
how about x3 going?
The problem now is how to talk with npc including kafra without getting DC.
I try so many time and result is we still be able to buy or sell item but can not talk with any other NPC.
So we can't warp to other map or storage.
@quarified @ninenite how to find keys inside EAC's injected code is beyond this level of discussion. I think you should just hope it does not change or someone like me is around.
@unknown-item x3 i can test for you but above you fix not work
i am interested " how to find inside EAC's injected code " debuger level ? possible guide this. thank you @unknown-item
that's your code can generate but now have many people to use i think maybe ban wave
now, xkore 3 is work or not?
@expertly01 no something wrong packet or client
@tarkungZ capture client NPC talk packets and compare them with your bot's.
@zuroba maybe I should re-work my patch(move HMAC from Send.pm to DirectConnection.pm) try this: Network.zip Send.pm is stock(original). x0 & x3 should both work.
[url=http://www.mx7.com/view2/zmidztyuz5rxCBit][img]http://www.mx7.com/i/d18/lQ0qMr.jpg[/img][/url]
@tarkungZ capture client NPC talk packets and compare them with your bot's.
@zuroba maybe I should re-work my patch(move HMAC from Send.pm to DirectConnection.pm) try this: Network.zip Send.pm is stock(original). x0 & x3 should both work.
X-3 No connet help me
@hx750i this key is shared for everyone. You can try capture packets from different client/account. Then calculate HMAC and compare, its the same.
@unknown-item x3 can't move atk and dc
@unknown-item
Can u tell how to find key i think i can catch up, pls.
x-3 add to key "EDB9D10AB84C9A2E05E38997C2F64A29 " to config ?
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;
i not
I resolve not @unknown-item help me i have XKoreProxy.pm files
@zuroba can you use files from my last post and post capture packets please? I need to know what is being sent in order to fix it.
Not sure if this broke the rules. but I just signup here to give a BIG THANKS to @unknown-item you da real MVP. God bless you!
I have trouble about npc talk too.
@unknown-item i use lastest file you it's can't work
@zuroba I need details on how it broke, because I can't test it myself. Something like debugPacket logs or packet captures will be helpful.
Use xkoreproyxy $switch eq "0276" 0, 51 @unknown-item // logConsole http://www.drop4shared.com/a6dcef0d //
Xkoreproxy line:433 if ($switch eq "0069") my $accountInfo = substr($msg, 0, 47);
not connect Account Server Sent by RO client: 0275 [37 bytes]
@unknown-item Thanks for the file. I will work on it today. I have test account here, I can test it directly.
@zuroba
from your log I see two problem: 0436 packet length is wrong, 0A7B is EAC packet, if you use x3, just ignore it and let client reply 0A7C. I think you can try this: recvpackets.txt
@natawee37 try compare files and change only the part relating to HMAC. I think you are close to make it work.
@unknown-item now, new problem I found delay talk with npc . ~5 - 10 sec my sent 0090 to server // 5-10sec bot receive talk npc you try click name npc for test .
@unknown-item this my console log use your recvpackets
@picesszaza I think it is almost working. It looks like your client died after 0436 (not sending anything else). Maybe it is a problem with proxy or packet switch, because your bot seems normal.
@unknown-item thank bro i think problem with proxy too.
@unknown-item I have the issues when talk npc for warp , Npc response slow and disconnect to mapserver. and when relogin and talk again disconnect around 2 - 3 time and work on around 4 time.
@picesszaza You mustn't modify these packet.
[Sep 15 06:09:30 2016.59] Sent packet : 007D [ 2 bytes] [Map Loaded] [Sep 15 06:09:30 2016.59] Sent packet : 014D [ 2 bytes] [Guild First Query] [Sep 15 06:09:30 2016.60] Sent Guild Master/Member Check. [Sep 15 06:09:30 2016.60] Sent packet : 014F [ 6 bytes] [Guild Query Page] [Sep 15 06:09:30 2016.61] Sent Guild Request Page : 0 [Sep 15 06:09:30 2016.61] Sent packet : 014F [ 6 bytes] [Guild Query Page] [Sep 15 06:09:30 2016.61] Sent Guild Request Page : 0 [Sep 15 06:09:30 2016.62] Sent packet : 014F [ 6 bytes] [Guild Query Page] [Sep 15 06:09:30 2016.63] Sent Guild Request Page : 1 [Sep 15 06:09:30 2016.63] You are now in the game [Sep 15 06:09:30 2016.64] Sent packet : 08C9 [ 2 bytes]
These are packets those were sent by RO client with a HMAC format. So, we need to keep these message and just forward to RO server.
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....