Why does air cause lag?

Why does air cause lag?

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
Aether_0001
Posts: 228
Joined: 25 Feb 2008, 03:41

Why does air cause lag?

Post by Aether_0001 »

I know this is a taken-for-granted question, but i don't understand why.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Why does air cause lag?

Post by Argh »

Because of collision detection for aircraft, and sometimes because they use a really long LOS.

We've already talked about this around here, and different mods / games have shut off detection of aircraft collisions, after a change was made to Spring to allow that.

Further solutions to this would have to include rewriting the aircraft code, which has already been done to some extent by ILMTitan. IOW, it's being fixed, insofar as people feel like fixing it.
User avatar
Aether_0001
Posts: 228
Joined: 25 Feb 2008, 03:41

Re: Why does air cause lag?

Post by Aether_0001 »

Oh thanks. I always thought that it was either the large amount of new types of units being used taking up memory, or that its something with the camera.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Why does air cause lag?

Post by smoth »

because transfering data over wireless can cause ample packet loss. you are luck you have not lost connection outright :P.

/end joke post.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Why does air cause lag?

Post by Caydr »

You should be glad the air's there at all, or else you wouldn't even hear it.
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Why does air cause lag?

Post by [Krogoth86] »

Buying a WLAN cable helps in those cases...
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Why does air cause lag?

Post by ginekolog »

we discused this here:
viewtopic.php?f=11&t=13828

And also found temporary solution: reduce sight distance of fighters to 500.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Why does air cause lag?

Post by Caydr »

That is a horrible temporary solution. Their missile range is actually longer than that iirc, this is madness.
User avatar
Aether_0001
Posts: 228
Joined: 25 Feb 2008, 03:41

Re: Why does air cause lag?

Post by Aether_0001 »

Air lag, i guess a solution is to add an option onto the lobby that tells it to have a max number of aircraft, next to the slider that sets the max number of units in general allowed.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Why does air cause lag?

Post by ginekolog »

Caydr wrote:That is a horrible temporary solution. Their missile range is actually longer than that iirc, this is madness.
you are just wrong. Many units have longer range than sight and are fine, especially figters where 1 can get in los and other 40 fire. Also XTA figters have 500 los and work fine doh..

BTW its not air units that lag but sight distance over 550. Try bombing with 500 BA bombers.. wont lag at all.

Noize will fix los in next ba so no more lag :)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Why does air cause lag?

Post by Forboding Angel »

Is this still an active issue?

If so I need to do some lookin. What about scouts? Suckage :-(
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Why does air cause lag?

Post by Argh »

The main issue, now that I've tested, is that AirLos, set in Sensors.tdf, doesn't seem to be doing anything anymore...
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Why does air cause lag?

Post by ginekolog »

Forboding Angel wrote:Is this still an active issue?

If so I need to do some lookin. What about scouts? Suckage :-(
BA's 6.21 figters are fine now with reduced LOS. Try with 500 armfig.. before i got 2 fps, now 15. :)
User avatar
Aeon_Illuminate
Posts: 42
Joined: 14 Feb 2008, 20:30

Re: Why does air cause lag?

Post by Aeon_Illuminate »

Air is not the only one. Having massive amount of nano turrets in speedmetal does cause quite a lag.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Why does air cause lag?

Post by Neddie »

Aeon_Illuminate wrote:Air is not the only one. Having massive amount of nano turrets in speedmetal does cause quite a lag.
Particle issue.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Why does air cause lag?

Post by CarRepairer »

http://en.wikipedia.org/wiki/Jet_lag
Jet lag, also jetlag or jet-lag, is a physiological condition which is a consequence of alterations to the circadian rhythm. Such disturbances result from shift work, daylight saving time, altered day length, or as the name implies, transmeridian travel as on a jet plane.
User avatar
cong06
Posts: 140
Joined: 15 Mar 2007, 22:03

Re: Why does air cause lag?

Post by cong06 »

Argh wrote:Because of collision detection for aircraft, and sometimes because they use a really long LOS.
Sort of a side question:
When was Collision detection ever used? I remember nukes flying into my planes (oh it was so annoying...great way to clear your base...have construction planes repair a nuke fac, while you're firing them...)
But I remember no incident where collision was used between aircraft...

Or did it simply keep them from flying on top of each other?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Why does air cause lag?

Post by Tobi »

Yeah, more like collision prevention. (Aircraft steer away if there's another aircraft directly in front, IIRC.)

(So it's would-be-collision detection, and then steering to prevent the collision ;-))
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Why does air cause lag?

Post by lurker »

How long has that been in? Because planes have a long history of crashing into each other.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Why does air cause lag?

Post by Tobi »

AFAIK it's been there from the start, but I wouldn't be surprised at all if it totally doesn't work and just consumes CPU.
Post Reply

Return to “General Discussion”