hello im ive made a dll file for all botcheck replies and was in the process of making the code to re-construct packet before sending it, Im sure its placing the Answers at bytes 13 to 16 in the F3 02 and F2 03 packets, I used 3 sample packets to give me this result:
So basically if say I wanted to send the reply E4 FF FF FF I would build the packet around that placing it at the 13th to 16th byte... would that be correct?
Would anyone be able to confirm or advise me where Ive gone wrong if possible, thanks.
Ok here I answer my own question I think,,,
haha silly me, I just notice at byte 21 of all the botcheck packets its always either 1,2 or 3, anyone know the importance of this?
haha silly me again, byte 21 as 0 is the question :D 1,2 and 3 are the responce types :) How do i make use of this ???
Code:
'18 00 F2 03 89 A3 83 00 F4 5B 14 00 F2 30 34 00 AA 00 6D 00 02 00 80 00 = botcheck F2 30 34 00
'19 01 F3 02 41 3C FA 05 A0 D9 14 01 6D FE FE FE C5 00 53 00 03 01 81 01
' = Botcheck answer 6D FF FF FF = (11,3)
'19 01 F3 02 A9 37 B4 01 A0 D9 14 01 01 01 01 01 01 01 01 01 01 01 4B 01 21
' = Botcheck answer bc(11, 0) = "99 BD 18 00"
Would anyone be able to confirm or advise me where Ive gone wrong if possible, thanks.
Ok here I answer my own question I think,,,
Ok where it starts with (strx, 1, 12) that means its building 12 bytes of a packet from byte 1, the (strx, 17, 8) is building 8 bytes from the 17th byte,,, meaning the MakeHex2 command in the middle builds a packet to fill Bytes 13 to 16... hope this helps others :)Quote:
pack = Mid(strx, 1, 12) & MakeHex2(getbcid(bc_byte, bc_sector)) & Mid(strx, 17, 8)
haha silly me, I just notice at byte 21 of all the botcheck packets its always either 1,2 or 3, anyone know the importance of this?
haha silly me again, byte 21 as 0 is the question :D 1,2 and 3 are the responce types :) How do i make use of this ???