Need help with captcha solver

In my server trade captcha is a bit different from what I’ve seen on the forum.
We have to enter the correct answer to the message box in order to buy/sell goods from the trader shop.

Here are the 2 examples of each type of that are asked in the captcha

Q= 1 plus 4
Server:(Opcode) 0x5055 (Data) 10 00 57 68 61 74 20 69 73 20 31 20 70 6C 75 73 20 34

Correct Answer =
Client:(Opcode) 0x7055 (Data) 01 00 35 20 00 62 33 36 35 38 65 34 30 37 30 36 62 35 34 39 34 61 38 35 62 35 31 31 31 35 31 64 61 36 62 36 62

Q= 7 plus 6
Server: (Opcode) 0x5055 (Data) 10 00 57 68 61 74 20 69 73 20 37 20 70 6C 75 73 20 36

Correct Answer =
Client: (Opcode) 0x7055 (Data) 02 00 31 33 20 00 35 34 65 65 38 65 39 39 66 31 66 63 35 33 34 64 37 34 64 34 38 35 39 62 32 37 37 61 61 63 61 33

Q= 8*4
Server: (Opcode) 0x5055 (Data) 0D 00 57 68 61 74 20 69 73 20 38 20 2A 20 34

Correct Answer =
Client: (Opcode) 0x7055 (Data) 02 00 33 32 20 00 35 34 65 65 38 65 39 39 66 31 66 63 35 33 34 64 37 34 64 34 38 35 39 62 32 37 37 61 61 63 61 33

Q= 5*2
0x5055 (Data) 0D 00 57 68 61 74 20 69 73 20 35 20 2A 20 32

Correct Answer =
Client: (Opcode) 0x7055 (Data) 02 00 31 30 20 00 35 34 65 65 38 65 39 39 66 31 66 63 35 33 34 64 37 34 64 34 38 35 39 62 32 37 37 61 61 63 61 33

Questions only include addition and multiplication. Using the numbers from 1 to 9.
Now just need to automate the process that injects the corresponding answer.
But I’m struggling to automate the process. Could you help me please.

Show us what you have so far

Edit: does the answer packet change everytime you teleport?

I only tried to create a condition that executes the same code over and over again. Just to see if it’d work. It did.

Yes code changes after every teleport. Up to second 00 are always the same. Depending on the answer, of course.

Even after you teleported? the code from the pervious teleport worked? That would be strange

It doesn’t

Ya good luck then, extracting the question and getting the answer is very easy. But all this data after the answer is the problem, it’s gibberish unless you can figure out how it’s calculated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.