Mirage Source
Getting Stuck - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Getting Stuck (/showthread.php?tid=1378)



Getting Stuck - Matt2 - 06-11-2007

When you load a new map, sometimes... Your character gets stuck...

Well, it's like that on PDoA...

Anyone know why? And if you do... Did you fix it, or do you know what causes it..?

If you need more explanation, I'll give it... It's so odd... =/


Re: Getting Stuck - William - 06-11-2007

I dunno the fox for it, but you could add a refresh/resync/respawn button.


Re: Getting Stuck - Coke - 06-11-2007

William Wrote:I dunno the fox for it, but you could add a refresh/resync/respawn button.

Thats me =D

refresh/resync is really annoying,

something i did that made quite a nice huge difference is every 10 arrow key presses it checks the player position against what the server things - it does not refresh it unless there is a difference two key presses in a row, so the players dont notice :]


Re: Getting Stuck - Matt - 06-11-2007

Could do a check on the client every step and if you can't move in the direction of a non-blocked tile, warp the player to his position.

Would prolly suffice in fixing it.


Re: Getting Stuck - Matt2 - 06-11-2007

I just sacked 'GettingMap'

It's an annoying control, anyways. When the map loads, it realligns the player anyhow. So, that ends that problem...

Only, on slower machines, it tends to lag a bit... Oh well. Not my fault. xD