2nd parameter of hidn packet

09/04/2020 16:36 Roxeez#1
Hi, i'm wondering if somebody know how can we get a hidden area position using hidn packet

hidn 0 1.49 23 105

Since 3rd & 4th parameters is character position, i need a way to find hidden area "position" using 2nd parameter.

If somebody know how it's calculated or something, i would like to know thanks :feelsbadman:
09/04/2020 17:00 romdrak#2
Hey, I had the same problem, when I worked on pts bot. It's the angle of the arrow in radians from +x axis (clockwise). Took me few hours to figure it out:lul:

and then you can calculate coordinates using matrix or something like that
(again python example :))

09/04/2020 21:59 Roxeez#3
Quote:
Originally Posted by romdrak View Post
Hey, I had the same problem, when I worked on pts bot. It's the angle of the arrow in radians from +x axis (clockwise). Took me few hours to figure it out:lul:

and then you can calculate coordinates using matrix or something like that
(again python example :))

Thanks for your help :pogchamp:
09/15/2020 14:46 ctyjason2#4
Quote:
Originally Posted by romdrak View Post
Hey, I had the same problem, when I worked on pts bot. It's the angle of the arrow in radians from +x axis (clockwise). Took me few hours to figure it out:lul:

and then you can calculate coordinates using matrix or something like that
(again python example :))

what is a_angle and b_angle
09/15/2020 16:31 romdrak#5
You need to have at least 2 these packets from different positions to get the final position of pts. (a - first, b - second)
09/16/2020 02:41 ctyjason2#6
Quote:
Originally Posted by romdrak View Post
You need to have at least 2 these packets from different positions to get the final position of pts. (a - first, b - second)
is that means we need to calculate the angle first?
the angle a is the angle of point a to b and angle b is the angle of point b to a?
09/16/2020 06:31 romdrak#7
Quote:
Originally Posted by ctyjason2 View Post
is that means we need to calculate the angle first?
the angle a is the angle of point a to b and angle b is the angle of point b to a?
No, you need 2 hidn packets which looks like hidn 0 {angle} {pos_x} {pos_y} (they need to have different positions and angles)