So im currently working on a AutoHunting Function for 5165.
Im currently trying to work on the part that deals with auto movement
I was going to see if i can use
GC.MyChar.Loc.Jump(NX, NY);
GC.AddSend(Data);
And have the cords set to the mobs location but i dont fully understand the data structure
So i have manage to learn that
It's an array of bytes with a length of 40 bytes.
Each line represents one byte of data.
The numbers in square brackets represent the index or position of each byte in the array (0 to 39).
The hexadecimal values (e.g., 32, 0, 26) are the actual data stored in each byte.
The decimal values (e.g., 50, 0, 38) are the equivalent decimal representations of the hexadecimal values. but i have no idea how to make it think its sending the data to jump lol any help would be massively appreciated thank you
Im currently trying to work on the part that deals with auto movement
Code:
private void MoveTowards(Mob mob)
{
// Check if the character is already in range of the target mob
if (IsInRange(mob))
{
// The character is in range, so you can choose to attack the mob here
AttackMob(mob);
return; // Exit the method
}
}
GC.MyChar.Loc.Jump(NX, NY);
GC.AddSend(Data);
And have the cords set to the mobs location but i dont fully understand the data structure
Code:
- Data {byte[40]} byte[]
[0] 32 byte
[1] 0 byte
[2] 26 byte
[3] 39 byte
[4] 235 byte
[5] 70 byte
[6] 15 byte
[7] 0 byte
[8] 211 byte
[9] 1 byte
[10] 216 byte
[11] 1 byte
[12] 64 byte
[13] 134 byte
[14] 105 byte
[15] 91 byte
[16] 137 byte
[17] 0 byte
[18] 0 byte
[19] 0 byte
[20] 219 byte
[21] 1 byte
[22] 219 byte
[23] 1 byte
[24] 0 byte
[25] 0 byte
[26] 0 byte
[27] 0 byte
[28] 255 byte
[29] 255 byte
[30] 255 byte
[31] 255 byte
[32] 84 byte
[33] 81 byte
[34] 67 byte
[35] 108 byte
[36] 105 byte
[37] 101 byte
[38] 110 byte
[39] 116 byte
It's an array of bytes with a length of 40 bytes.
Each line represents one byte of data.
The numbers in square brackets represent the index or position of each byte in the array (0 to 39).
The hexadecimal values (e.g., 32, 0, 26) are the actual data stored in each byte.
The decimal values (e.g., 50, 0, 38) are the equivalent decimal representations of the hexadecimal values. but i have no idea how to make it think its sending the data to jump lol any help would be massively appreciated thank you