The distance between 2 consecutive movement packets must always be less then 0.137, because of this the speed of XYZ is limited by the frequency at which you can send movement packets to the server.
Currently I'm just nudging (using CInputControl::SetFlags to force a packet) every 50 ms and it's an acceptable speed, I've managed to do this every 10 ms but it wasn't stable enough and NOT recommenable without a parachute cloak.[
Maclone, for simplicity and usabilty's sake I recommend you adjust the hack to move forward/backward/left/right (relative to the player) instead of absolute directions. Simple trig yo.
Edit: And handle your exceptions.
Edit2: And re-acquire the player base every nudge, it's not a costy operation and should avoid the restarting after the player changes...
Last edited by Robske; 02-10-2010 at 06:59 PM.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
Nice one
soo how much chance i get to get banned for this ?
Great 2x +rep
on adventures i go! :P
ty for this, makes getting gear for my 69 twink warrior much faster.
Nice work, used it to move around BRD, but please like the other XYZ releases can you INCREASE the speed of down and up movement, takes quite a while to get to places -.-
Otherwise awesome work man!
+3
He is already said that is was meant to be a simple release and something to continue to work on, also it has been mentioned that it can cause more disconnects with speed changes. Also the likliness of someone getting disconnected a lot can throw up flags. So I would say for now it's rather to be safe than sorry without a speed increase.