Mirage Source
Freezing on new maps - 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: Freezing on new maps (/showthread.php?tid=1577)



Freezing on new maps - Coke - 23-02-2008

Hmm.. this may of been an issue with Mirage since forever, but I'm only just noticing it now I'm doing a lot of mapping.

Very, very frequently (more often than not) when I walk off the edge onto a new map I will get stuck, the bizarre thing is I have a position confirm command and when I use it I'm actually on the same square the client is showing me anyway... o.0

Is there any confirmed tried and tested method that stops this from happening? I am assuming when you switch maps it checks and confirms your position already?

I swear it never used to do it this much... only usually if I warp around a single map or send the map editor with people running around and things... o.0

Makes it unplayable *tear*


Re: Freezing on new maps - Coke - 23-02-2008

Going to put location confirmation packets in the canmove sub... for example:

Code:
' Check if they can warp to a new map
            If Map.Right > 0 Then
                Call SendPlayerRequestNewMap
                GettingMap = True
            End If
            CanMove = False

'-----------------------------------------------------
         'Fix the thing?
        Call SendData("fix" & SEP_CHAR & END_CHAR)
'-----------------------------------------------------

            Exit Function

Should work if I do it for all dirs... o.0


Re: Freezing on new maps - Coke - 23-02-2008

Seems to of worked, and doesn't seem to be putting any map change lag in either :>

Huzaa!


Re: Freezing on new maps - Rezeyu - 23-02-2008

I had the same problem, I added a boolean and checked after a second or two if they were frozen, then warped them.

I posted a long time ago, and nobody had any idea what I was talking about. At least I know it wasn't just me.. XD


Re: Freezing on new maps - Coke - 23-02-2008

I'd be interested in that fix too dude, freezing is a king size pain in the lemon with Mirage :]


Re: Freezing on new maps - Coke - 26-02-2008

Right that fix is useless on a live server, it actually makes things worse. Can I grab that if player isn't moving for 5 seconds location request code please?