Author Topic: A bug that needs fixing  (Read 2062 times)

0 Members and 1 Guest are viewing this topic.

Offline LAM3O

  • 25
A bug that needs fixing
i thought it was jus me but:

Rarely, enemy ships won't be affected by my weapons. My weapons hit sheilds, i can collide with them, hit them with missiles, but my primaries pass right through them. After forcing myself to collide with an enemy ship the problem usually goes away, then it might come back, then go away, and eventually it stays away after a few minutes.

It doesn't happen very often, i think i remember it happening in the main freespace 2 campaign as well as user campaigns.

I posted this on the hard light forum but now that i know it's not just me maybe it's something you guys could look into, thanks.

 

Offline Fury

  • The Curmudgeon
  • 213
Also remember to report this via bugzilla.
http://fs2source.warpcore.org/bugzilla/index.cgi

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Explanation of the problem given in your original thread, Lam3o.  

Limits can be raised, but then people try to exceed the new ceilings, and the same problems happen again.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 
What is this collision pairs list? Is it just a very large finite array? Because if it is we could try and replace it with something like a linked list which is only limited by the amount of memory on your system, and the speed your computer can traverse the list.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
But then you have to change the interface of every instance of that data structure and every access method to deal with your new list.  There are data structures that may be more appropriate, but simply switching to linked lists is not the answer.  They are horrendously slow when you are trying to look up specific data.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Fry_Day

  • 28
##Unknown Player##, volition had very good reasons for not using linked lists for these things, and they can be summed up in four words - "linked lists are slow".
That might nto always be true, but for their cases, seraching through a linked list would be slower than through an array, and as it's something that's done very often, even a small speed difference would cause the run=time to increase a lot.

 

Offline vyper

  • 210
  • The Sexy Scotsman
Quote
Originally posted by Fry_Day
##Unknown Player##, volition had very good reasons for not using linked lists for these things, and they can be summed up in four words - "linked lists are slow".
That might nto always be true, but for their cases, seraching through a linked list would be slower than through an array, and as it's something that's done very often, even a small speed difference would cause the run=time to increase a lot.


Yes it would be slower, but would it be slower-enough to cause the game to suffer significant performance?:nervous:
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by vyper


Yes it would be slower, but would it be slower-enough to cause the game to suffer significant performance?:nervous:

Thats what he is saying.  A "minor" change would hinder performance alot.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."