eAi Posted October 27, 2010 Share Posted October 27, 2010 Just played on the server a bit earlier and noticed that the away detection doesn't work properly if you use a controller (e.g. xbox 360 controller). It pops up the message asking you to press a movement key every minute or so even though I'm moving. Pressing a keyboard key fixes that, but that's hardly ideal... Quote Link to comment
Ywa Posted October 27, 2010 Share Posted October 27, 2010 There was a thread about it recently. I heard horning every time you see the warning 'resolves' it.However, we'll look into other ways of supporting controllers with the AFK detector. Quote Link to comment
MoshPit Posted October 27, 2010 Share Posted October 27, 2010 (edited) Just played on the server a bit earlier and noticed that the away detection doesn't work properly if you use a controller (e.g. xbox 360 controller). It pops up the message asking you to press a movement key every minute or so even though I'm moving. Pressing a keyboard key fixes that, but that's hardly ideal...If you program the acelerater into one of the controller uper buttons and just tap it every once and a while. it's the small joysticks the game doesn't reconize Edited October 27, 2010 by MoshPit Quote Link to comment
eAi Posted October 28, 2010 Author Share Posted October 28, 2010 How about using getControlState on the server? That should work with whatever input method is used. Quote Link to comment
BinSlayer Posted October 28, 2010 Share Posted October 28, 2010 it already uses getControlStateso the problem is within getControlState Quote Link to comment
eAi Posted October 28, 2010 Author Share Posted October 28, 2010 You may find getAnalogControlState works better, but yes, this seems to be a bug. Quote Link to comment
eAi Posted November 29, 2010 Author Share Posted November 29, 2010 You may find getAnalogControlState works better, but yes, this seems to be a bug.I've committed a possible fix for this bug:http://code.google.com/p/mtasa-blue/source/detail?r=2099 Quote Link to comment
BinSlayer Posted November 29, 2010 Share Posted November 29, 2010 That's pretty awesome, but we've already switched to detecting vehicle velocity instead of key pressing which seems so far to be working great Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.