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

Bot gets disconnected after ~30s - CzechRO #1416

Closed JVilda closed 6 years ago

JVilda commented 6 years ago

Please refer to the following resources for help using OpenKore: faqs - http://openkore.com/index.php/Frequently_Asked_Questions (such as "Packet Tokenizer") forum - http://forums.openkore.com documentation wiki - http://openkore.com/index.php/Main_Page download new openkore - https://github.com/OpenKore/openkore/archive/master.zip

------------------ Bug Report Template ------------------

Summary: I´ve been setting my bot for our local ragnarok server. I have followed guide from the start till the end and finally were able to connect, choose char properly but as soon as i enter game problems appear. Any monster is marked as UNKNOWN. Bot seems to want to follow config with random routing but he never moves even one step. He is also responding virtually to manual commands but never executes them ingame. After ~10-30s he gets disconnected. I have tried to check all possible server types but only 2 of them are working in the way that it allows me to connect, but both of those two are working as described above.
Affected configuration(s)/ file(s):

Include relevant code snippets and source code references

Impact: Bot disconnects after 15-30 seconds from game.
Expected Behavior:
Actual Behavior:
Steps to Reproduce: client date 20100623, serverType kRO_RagexeRE_2010_07_14a, server Czechro.net ; client czexe.exe

------------------ Feature Request Template ------------------

Summary:
Affected configuration(s)/ file(s):

Include relevant code snippets and source code references

Impact:
Benefits:
Drawbacks:
Additional Details:

http://forums.openkore.com/viewtopic.php?f=9&t=212463

sctnightcore commented 6 years ago

There is a problem at servertybe. I'll come back to fix it.

I have already tested but DC.

http://forums.openkore.com/viewtopic.php?f=9&t=212463 link on http://forums.openkore.com

alisonrag commented 6 years ago

POST YOUR CONFIGURATION

alisonrag commented 6 years ago

maybe sync packet is wrong

sctnightcore commented 6 years ago

@alisonrag i think so

JVilda commented 6 years ago

[CzRo] ip 82.142.93.36 port 6900 private 1 version 20 master_version 16 serverType kRO_RagexeRE_2010_07_14a serverEncoding Western charBlockSize 106 recvpackets ferda.txt addTableFolders kRO/RagexeRE_2010_07_14a;translated/kRO_english;kRO

This is the most actual settings im using, problem remains the same

sctnightcore commented 6 years ago

@JVilda register id pw and Create char

JVilda commented 6 years ago

id Bump pw JVilda10

char done

sctnightcore commented 6 years ago

@JVilda ok ty

JVilda commented 6 years ago

@sctnightcore I thank you :+1:

sctnightcore commented 6 years ago

@JVilda serverType kRO_RagexeRE_2010_11_24a

With recvpacket from client

JVilda commented 6 years ago

@sctnightcore Still the same problem as before. Tried to get recvpackets again from the client. Doesnt help. newkore

sctnightcore commented 6 years ago

@JVilda wait

I want time T.T

JVilda commented 6 years ago

@sctnightcore Im waiting, you have all the time you want and need

JVilda commented 6 years ago

With this config i was able to log in with Xkore 1 [CzRo] ip 82.142.93.36 port 6900 private 1 version 20 master_version 16 serverType kRO_RagexeRE_2012_04_10a serverEncoding Western charBlockSize 106 recvpackets recvpackets_czro.txt addTableFolders pserver/KoreRO;eA;kRO/RagexeRE_2010_07_14a;translated/kRO_english;kRO

Problem is with Unknown switch: 0085 Packet Parser: Unknown switch: 0085 Packet Parser: Unknown switch: 0085 Packet Parser: Unknown switch: 0085 Packet Parser: Unknown switch: 0085

Game is not properly responding to bot, some commands i.e. movement, fighting does not work, some i.e. sorting items to cart and autoskill worked for a while.

Problem looks like AntiWPE Sock hook + custom packets on client.

I am open to any suggestions on what to try.

Thank you all for your time

sctnightcore commented 6 years ago

recvpackets.txt

test with recvpacket + x1

JVilda commented 6 years ago

With this recvpackets and Xkore 1 i am unable to connect to map server.

sctnightcore commented 6 years ago

@JVilda idk why . XD

JVilda commented 6 years ago

@sctnightcore its weird af :D

c4c1n6kr3m1 commented 6 years ago

on servertype0.pm '0085' => ['character_move', 'a3', [qw(coords)]],

sctnightcore commented 6 years ago

@c4c1n6kr3m1 I have tested it and it does not work.

alisonrag commented 6 years ago

some packets: 0094 actor_info_request 0095 actor_info 0085 move 007F sync

alisonrag commented 6 years ago

its a 2010 servertype, we only have documented and implemented right 2012+ servers, for now we can do a custom servertype based in RagexeRE_2010_xx_xx

JVilda commented 6 years ago

So, what should i do ?

alisonrag commented 6 years ago

should i stay or should i go?

alisonrag commented 6 years ago

you can do a servertype to your server by yourself or wait for someone help you with this.

JVilda commented 6 years ago

[CzRo] ip 82.142.93.36 port 6900 private 1 version 20 master_version 16 serverType iRO_Classic serverEncoding Western charBlockSize 106 recvpackets recvpackets.txt addTableFolders czRO

Working config. Now bot works as usual.

Thanks to everyone for support.

prayforopenkore

sctnightcore commented 6 years ago

I will not go back to fix sT2010.

alisonrag commented 6 years ago

I will be back

simbi5784 commented 6 years ago

Hi JVilda, can you help me with setting for this server?