Bug Reports / gameplayercontrol.lua runtime error

Author
Message
SAR1
6
Years of Service
User Offline
Joined: 9th Jun 2017
Location:
Posted: 6th Aug 2017 00:06

When attempting to connect a wireless xbox 360 controller to use in gameguru I encounter the following error on script initialisation:

.\scriptbank\gameplayercontrol.lua: 553: attempt to call global 'JoystickTwistY' (a nil value)

the apparently offending line is:

ttjoyroty=((JoystickTwistY()+0.0)-32768.0)/32768.0

Having looked in my global.lua, JoystickTwistX (and Z) is defined but not JoystickTwistY which seems to be the cause ?

I'm not certain whether this is a bug or an error on my part (apologies if it's the latter).

Many thanks for any help in advance.

I'm runing build 2017.05.12 of Gameguru on the following:

Windows 7 Pro 64-bit. Sp. 1
Intel Core i7-4790 @ 3.6GHz
16 Gb HyperX RAM
NVidia GTX 970
DirectX ver. 11

Setup.ini is configured:

xbox=1
xboxinvert=0
xboxcontrollertype=0



PM

Login to post a reply

Server time is: 2024-04-23 11:57:20
Your offset time is: 2024-04-23 11:57:20