04-29-2014, 12:37 PM
(04-29-2014, 11:36 AM)derpf Wrote:(04-29-2014, 11:25 AM)ssshadow Wrote: (although I don't see why this would work, the cursor should never move like this, not even for a single frame).
Because I'm not sure if the D-pad also controls the cursor (also I'm tired), if it does and the window wasn't focused when you released the key then it will stay depressed. If it doesn't control that then you're still screwed.
I wish it wasn't too cumbersome to find out where the player's position is in memory so I could just warp to the professor dood. Maybe need to implement a memory scanner.
I figured out what's happening. On the d-pad:
- Pressing up - you move up
- Pressing right - you move right
- Pressing left - you move left
- Pressing nothing - you move down
- Pressing down - you move diagonally left (!) and down
- Pressing up + right or left - you move in the direction of the last key press, not diagonally. So either up or right or left
- Pressing down + right or left - you move right or left, but never down even if that is the last key press (this is a different behavior from up + right or left.), and not diagonally down and left either.
So there you go, diagonal d-pad is broke
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)