Here is the problem:
Im playing on low populatet private server. A GM seems already noticed i used a bot, so they added a "Enter Password" feature for my account. It looks like follows: after i log in and can see me on the map, an ingame Window appers, where is written: Please enter the password "Elunium is needed!" to active your sessin or something like that.
Ofc the bot does not handle this ingame window and just stay on the map writing "Stuck" to the console.
My working Idea:
I have turned on wireshark and captured the packets between me and the server, so here is the server package with password request:
Code: Select all
0000 00 e0 4d a9 9d 7b 00 0f b5 55 a5 b2 08 00 45 00 ..M..{...U....E.
...
0370 a0 00 85 c7 2d 00 01 b4 00 0f 00 9d 9c 8e 06 5b ....-..........[
0380 47 61 69 61 5d 00 b4 00 3d 00 9d 9c 8e 06 50 6c Gaia]...=.....Pl
0390 65 61 73 65 20 65 6e 74 65 72 20 74 68 65 20 66 ease enter the f
03a0 6f 6c 6c 6f 77 69 6e 67 20 70 61 73 73 77 6f 72 ollowing passwor
03b0 64 20 74 6f 20 73 74 61 72 74 20 70 6c 61 79 69 d to start playi
03c0 6e 67 00 b4 00 1c 00 9d 9c 8e 06 22 45 6c 75 6e ng........."Elun
03d0 69 75 6d 20 69 73 20 6e 65 65 64 65 64 22 00 b4 ium is needed"..
03e0 00 34 00 9d 9c 8e 06 59 6f 75 20 68 61 76 65 20 .4.....You have
03f0 31 20 74 72 69 65 73 20 72 65 6d 61 69 6e 69 6e 1 tries remainin
0400 67 20 74 6f 20 67 65 74 20 69 74 20 72 69 67 68 g to get it righ
0410 74 2e 00 78 00 00 9d 9c 8e 06 00 00 00 00 00 00 t..x............
...
Code: Select all
0000 00 0f b5 55 a5 b2 00 e0 4d a9 9d 7b 08 00 45 00 ...U....M..{..E.
0010 00 42 5f ae 40 00 80 06 e3 e7 c0 a8 00 02 d0 64 .B_.@..........d
0020 26 11 09 8e 14 01 96 70 02 eb 35 14 07 f4 50 18 &......p..5...P.
0030 ff b1 b7 54 00 00 d5 01 1a 00 9d 9c 8e 06 45 6c ...T..........El
0040 75 6e 69 75 6d 20 69 73 20 6e 65 65 64 65 64 00 unium is needed.
"d5 01 1a 00 9d 9c 8e 06 45 6c 75 6e 69 75 6d 20 69 73 20 6e 65 65 64 65 64 00" stands for "Elunium is needed" and the correct confirmation.
So i wrote a simple macro (using macro plugin):
Code: Select all
automacro password {
console /Stuck during route/
call enterPassword
}
macro enterPassword {
do send d5 01 1a 00 9d 9c 8e 06 45 6c 75 6e 69 75 6d 20 69 73 20 6e 65 65 64 65 64 00
}
And here is my question:
How can i capture packets using openkore to scan them for containing the srting "please enter the following password" and tell openkore what to do? Which are these source files? So i actually need to write a simple if else if esle if statement for captured packets.
Any idea how to make it?
Regards,
eXtreem