You don´t have to, just send a manialink to all players with some maniascript (you are already able to get the pressed keys with ms, you just have no possibility to call back to the dedi server (my suggestion)).kremsy wrote:But not in all Modes, and as author for an Servercontroller I dont want customize all Modes! This are major things which should be done by the software and that would not be much work for xbx!Jojo_44 wrote:All three things can be done if we would have something like "OpenLink(actionid, ::LinkType::Action)" in Maniascript, so I would rather have this.kremsy wrote:I copyed my post from the 1.3 thread to hear, that it get not forget.
Hello Xbx,
It would be nice if you can give us a callback
ManiaPlanet.PlayerKeyPressed(string Login, short int Key); or something but without the most used keys while playing: A,S,W,D, space but including tab,alt and all other keys!
Edit:
got a Better Idea for it, it would be nice if you can set via a Methode the Keys which you want to get per Callback, so Key(array(255,212,223)); for example and each number stands for a Key, and you can put many values as you want into the array.
Also an Method to ask how long the Player havent Pressed A,S,W,D, space or Mouse for a defined time would be nice, it could look like this: PlayerIdle(string Login, int timeinseconds);
A Method to release the mouse on a defined key GiveMouseFree(string / short int key); would be nice too.
best regards, Jojo
regards, Jojo