No wait. What if he were to get the eye point, and get the location at a certain distance in front of the player. And if the player walks toward that direction, then wouldn't that work?
Or you could be a normal person and get the forward vector.
Then what do you suggest? At least it will detect that you are holding W if you ARE moving. So that solution is better than nothing.
There's also being pushed by things that aren't holding W.
Couldn't you look at the Grapple Rope's code?
The grapple hook doesn't even do anything similar to this. It just keeps the player a certain distance away from it and the aircontrol built into the game does the rest of the work.
Why doesn't he just make it so the player needs to join a client-sided mod to play, which will send the information to the server of him holding W.
Could be a good idea.
Because I can send fake info to the server
In what situation would faking a forward movement be more convenient than actually moving forward?
They could just encrypt it, so the client sends a encrypted message. And then the server receives and decrypts it. But even that COULD be broken.
Easily, by taking the exact same encrypted code and sending it.