BMS OnPlayerRunCmd strange value on mouse parameter
PlayBoy31 opened this issue · 2 comments
PlayBoy31 commented
on native OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon, &subtype, &cmdnum, &tickcount, &seed, mouse[2])
i got strange value on mouse parameter
like this:
...
mouse X=-13411 Y=19121
mouse X=-13349 Y=19121
...
X the value increase from -32000 to 32000 (not sure of the range)
Y value increase all 30s!
normally those values are 0 if we dont move mouse and change when we move the mouse
a new parameter in this function on sdk ?
PlayBoy31 commented
I have found the issue solution.
The class CUserCmd have a missing member on sdk bms "server_random_seed = 0;"
see #72
PlayBoy31 commented
Fix with the merge from fork validated