Pine icon indicating copy to clipboard operation
Pine copied to clipboard

In some fps, pine resets the set_pos(x, y)

Open geostergiop opened this issue 5 years ago • 8 comments

Hi there,

First of all great job. Im studying the project for research analysis also. FYI in some fps (apex, Pubg), pine seems to work on main menu (autoaims main character selected) but aiming seems to reset to the ground in-game, when cursor comes across an enemy.

If I would take a guess, I would say that object detection returns null coordinates (?) and maybe give no input to said function. Didnt check code or input received, just brainstorming.

G

geostergiop avatar Jan 19 '20 16:01 geostergiop

I think i could fix that by changing the main loop and if the Aimbot/object detection detects none it will do nothing or I could set the cursor pos to the current position

FidgetySo avatar Jan 22 '20 12:01 FidgetySo

And also in some games i think it works better with relative coordinates not absolute

FidgetySo avatar Jan 22 '20 12:01 FidgetySo

I think i could fix that by changing the main loop and if the Aimbot/object detection detects none it will do nothing or I could set the cursor pos to the current position

Probably I should clarify that when the aforementioned issue happens in-game, object detection is not working in general (i.e. object is next to you, aiming doesnt work, when you manually target the object, aiming resets to the ground).

I think I didnt explain it very thoroughly on my first post. I dont think it has to do with relative coords tbh.

geostergiop avatar Jan 22 '20 12:01 geostergiop

What game are you using anyway?

FidgetySo avatar Jan 22 '20 15:01 FidgetySo

The code works for me I don't why it would not for you. I can't think of a reason that it might not work besides those right now.

FidgetySo avatar Jan 22 '20 15:01 FidgetySo

The code works for me I don't why it would not for you. I can't think of a reason that it might not work besides those right now.

It always happens in Apex legends (100% rate) and sometimes (albeit only 1-2 times) in Pubg. If I can make some space between projects, I might have a look at the code myself. Still, intuitively it's my firm belief that this type of issue also has something to do with object detection output. At least, it is not only an issue with stuff on the main loop or what the program does if null coordinates are sent. If that was the case, Pine would execute while objects are within rendered view of the box but not target correctly (e.g. move and target the ground). As I said this is not the case in-game (at least on Apex).

Anyway, thank you for your time, G

geostergiop avatar Jan 23 '20 08:01 geostergiop

No Problem just post on here if you need any more help with this.

FidgetySo avatar Jan 23 '20 15:01 FidgetySo

It happens with me too. If I press escape mouse is going to enemy, but if I not in Escape menu, it's resets mouse (0,0) when I looking to the enemy.

Game is CS:GO

I fixed it by disabling Raw Input in settings

tumkas avatar Feb 01 '20 19:02 tumkas