Forum rules


Before adding a bug or feature request please check it is not already in the bug tracker or answered in the FAQ.



Flight path freezing

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Flight path freezing
PostPosted: Sat Nov 26, 2011 7:38 am 
User avatar
Obliterated

Current Scorched3D Rank: 2





Joined: Sun Oct 21, 2007 5:44 am
Posts: 1753
Location: Bournemouth, South England
I have filed a bug report here, but I could use some help from others with tracking the times of it.

I'm sure many of you will have experienced this, unless it's a time specific thing, in which case those that don't play at that time won't :D

If you have a shot and the projectile freezes mid air, then suddenly appears further along its flight path and the game continues as normal afterwards, plus report the time of the event here (including your time zone and if you're feeling very helpful, the UTC aswell to make it easier on us), so we can see if it is happening at a specific time of the day and therefore being caused by a server process.

Thanks.

For initial reference, the one today occurred @ 05:00:06 GMT/UTC
Chopper wrote:
You mean the one where i'm surrounded by all these little peanuts....they all have hatchets....they're chasing me...and then there's this BIG peanut....and he's all purple and green ...he's trying to grab me....AArrYYYHHHGGGGG... [-o<


Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sat Nov 26, 2011 7:49 am 
User avatar
Obliterated

Current Scorched3D Rank: Unranked



Joined: Mon Jun 22, 2009 6:26 pm
Posts: 1596
I believe I have had this happen locally too though nut. :)

Armor
Image

Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sat Nov 26, 2011 6:00 pm 
User avatar
Obliterated

Current Scorched3D Rank: 125





Joined: Sat Nov 05, 2005 9:29 am
Posts: 1969
Location: In a Rental.
PeanutsRevenge wrote:
I have filed a bug report here, but I could use some help from others with tracking the times of it.

I'm sure many of you will have experienced this, unless it's a time specific thing, in which case those that don't play at that time won't :D

If you have a shot and the projectile freezes mid air, then suddenly appears further along its flight path and the game continues as normal afterwards, plus report the time of the event here (including your time zone and if you're feeling very helpful, the UTC aswell to make it easier on us), so we can see if it is happening at a specific time of the day and therefore being caused by a server process.

Thanks.

For initial reference, the one today occurred @ 05:00:06 GMT/UTC


This is not a bug per-se, but the result of a feature.

So that all server/client links could be propperly timed and sync'd, they had to be
made to keep all action in the propper place. When a client is lagging, or the
server-link is delayed, it can't keep up as smoothly, and Skips a few frames in
one flicker.. making the projectiles display at thier new propperly timed location.

Folks with slower pc's see this all the time. The fact that you see it now is just
because you've always had a pc smooth enough, except for a few rare moments.



Short-version - Frame Skipping to sync action during lag. Not bug.
Scorched3D Mod-Servers
Forum
Stats
Mods-Page


Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sat Nov 26, 2011 10:16 pm 
User avatar
Obliterated

Current Scorched3D Rank: 2





Joined: Sun Oct 21, 2007 5:44 am
Posts: 1753
Location: Bournemouth, South England
Then why when it happens to me does it happen to other and, it seems, when it happens to other does it happen to me?
Chopper wrote:
You mean the one where i'm surrounded by all these little peanuts....they all have hatchets....they're chasing me...and then there's this BIG peanut....and he's all purple and green ...he's trying to grab me....AArrYYYHHHGGGGG... [-o<


Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sun Nov 27, 2011 3:21 pm 
User avatar
Site Admin
Not Signed Up For Stats

Joined: Mon Aug 04, 2003 4:09 pm
Posts: 4771
Location: Scotland
Thrax has it correct.

All of the clients are kept roughly in sync. So when you fire a shot (or make a move) all of the other connected players fire a shot at roughly the same time. The game does this to allow the more fluid game modes (like the free modes) to work. In those modes the game plays more like an RTS (real time strategy) than a TBS (turn based strategy).

Now, before your client makes a move it needs to know if anyone else has made a move at that point in time. The server lets the clients know whats happening constantly. If the client doesn't hear from the server (due to lag or server issues) it waits until it hears. This is the pause you can see. Once it hears from the server the client tries to catch up with where it should be. This is the jump you see.

So the pausing and jumping isn't a bug its your connection lagging. And generally only affects the person with the lag. This is different from the previous versions of S3D where one persons lag affected everyone.


Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sun Nov 27, 2011 6:43 pm 
User avatar
Charred

Current Scorched3D Rank: 78





Joined: Tue Sep 27, 2011 12:40 am
Posts: 105
Location: The Great White North(east)
gcamp wrote:
So the pausing and jumping isn't a bug its your connection lagging. And generally only affects the person with the lag. This is different from the previous versions of S3D where one persons lag affected everyone.



In a few games I had with Peanut we had freezes happenning pretty much at the same time, and were the only two players in main, so is it a return of that lag bug?
The impossible often has a kind of integrity which the merely improbable lacks.

Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sun Nov 27, 2011 9:07 pm 
User avatar
Obliterated

Current Scorched3D Rank: Unranked



Joined: Wed Jun 14, 2006 11:18 pm
Posts: 1481
Location: United Kingdom
could nice values/priority for the server process make a difference at all?


Top
 Profile  
 
 Post subject: Re: Flight path freezing
PostPosted: Sun Nov 27, 2011 11:30 pm 
User avatar
Obliterated

Current Scorched3D Rank: 2





Joined: Sun Oct 21, 2007 5:44 am
Posts: 1753
Location: Bournemouth, South England
Laptops Daddy wrote:
could nice values/priority for the server process make a difference at all?


I have been trying to watch the server loads while playing, but not had the flight freeze since keeping it up.
I did have the camera 'stall' when i pressed cam 4 yesterday (which i've had a fair few time), looked across and CPU wait was @ 9x% for that second or so.

When I gather more data will post properly. I'm sure it is the server, mysqld/httpd/scorched3ds(and a couple of other processes happening here n there) all doing stuff at the same time causing it the server to take a second.

I'll report back when I have more conclusive data.

EDIT:
Had the freeze again today while playing Hayt.
It is server load. At the time of the freeze, MySQL was using a lot of CPU (6x% I think) and had high wait time (9x% I think).
I can't give exact figures as I have only 5 seconds to notice the freeze, look across to the other screen, focus on the numebers I need, read them and remember them.

I shall try to replicate this, I've tried previously, but mysql just shrugged off my attempts to trip it up, maybe cos I'm a mysql newb.
Chopper wrote:
You mean the one where i'm surrounded by all these little peanuts....they all have hatchets....they're chasing me...and then there's this BIG peanut....and he's all purple and green ...he's trying to grab me....AArrYYYHHHGGGGG... [-o<


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group