A Funny Wingman Bug

These are old bug reports that have been closed.
Locked
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Funny, yet somewhat annoying...

Was in a small battle when one of my wingmen got disabled (spinning in circles) then I made a jump back to a previous system. Everything seemed fine, my wingmen jumped as well, including the disabled one.

But, the disabled wingman never recovered! He sat in the gate just spinning away pretty as you please so I waited...and waited and...nothing, still spinning! I wandered around for quite a while and went back to check on him. Yep, still spinning!

No matter what system I jump to, he follows but remains disabled... been that way for over an hour.
User avatar
Cardinal
Militia Commander
Militia Commander
Posts: 258
Joined: Wed Jun 20, 2007 6:10 pm
Location: New Zealand

Too much martian nori...
I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered. My life is my own.
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

does he have an infinite EMP effect or is it just an AI problem?
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

It's the EMP effect that's carried over. He's completely disabled no matter where I jump to.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Maybe shoot it with another EMP and see if it wears off with a fresh blast.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Definitely a bug.

My theory is that the "paralysis timer" overflowed. Currently I use a 16-bit number to keep track of the number of ticks that a ship is paralyzed for.

If the paralyzed time went over ~8 minutes (32,767 ticks) then the value goes negative and (I think) we never recover.

Thanks for the report!
Desolator
Commonwealth Pilot
Commonwealth Pilot
Posts: 73
Joined: Tue Dec 18, 2007 6:31 pm
Location: Romania

george moromisato wrote:Currently I use a 16-bit number to keep track of the number of ticks that a ship is paralyzed for.
Today most people have over 256 megs of RAM, so what exactly prevents you from using a long int? A few bytes isn't a big deal and it would prevent overflow bugs. Or you could as well make it unsigned and you have ~16 mins then, with the same memory.
Kamikaze
Commonwealth Pilot
Commonwealth Pilot
Posts: 78
Joined: Mon Apr 23, 2007 4:41 am
Location: Canton, MI/Redford, MI (Home/School)

Desolator wrote:Today most people have over 256 megs of RAM
No, no we don't.

With my ram-sucking onboard video card that can't be disabled, I have all of 248mb of ram.

:P

But while the timer may have overflowed in this case, that doesn't mean that it was the fault. The fault was somewhere in the jump... Possibly the timer gets forced negative in the jump?

Just an idea.

~Kyle
I never said I was sane.

I said I was perfectly insane.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Desolator wrote:Today most people have over 256 megs of RAM...
True.

But, I started working on Transcendence in 1998-1999. I added the EMP (and the paralysis timer) in 2001.

Back then, fewer people had enough RAM...
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

george moromisato wrote:
Desolator wrote:Today most people have over 256 megs of RAM...
True.

But, I started working on Transcendence in 1998-1999. I added the EMP (and the paralysis timer) in 2001.

Back then, fewer people had enough RAM...

luckily times have changed. :)

We now can have those better effects.
Image
Image
Desolator
Commonwealth Pilot
Commonwealth Pilot
Posts: 73
Joined: Tue Dec 18, 2007 6:31 pm
Location: Romania

george moromisato wrote:
Desolator wrote:Today most people have over 256 megs of RAM...
True.

But, I started working on Transcendence in 1998-1999. I added the EMP (and the paralysis timer) in 2001.

Back then, fewer people had enough RAM...
Still 2 more bytes didn't mean much :)
Czert
Militia Lieutenant
Militia Lieutenant
Posts: 164
Joined: Tue Mar 14, 2006 5:21 pm
Location: Milky way galaxy, third rock from sun

256 kb of memory will be sufficient for everbody.

Bill Gates.
My English, may be poor, but better than yours Czechs.

Do you chalenge me ? But be nice :-)) http://czert1938.mybrute.com
User avatar
Charon Mass of Goo
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Wed Jan 02, 2008 12:26 am
Location: Creating Inappropriate "Signature Dialouge" since yestermorrow!
Contact:

LoL?

Yeah, that happened to me too once. it was really annoying, so I decided just to destroy the wingman. that took care of it...
Charon Fizz-Soda! It's Red! It tastes like Awesomness! AND PIRATES MADE IT! Better than Eridani Mineral Water too!
Image
Desolator
Commonwealth Pilot
Commonwealth Pilot
Posts: 73
Joined: Tue Dec 18, 2007 6:31 pm
Location: Romania

Czert wrote:256 kb of memory will be sufficient for everbody.

Bill Gates.
:lol: :lol: :lol: :lol: :lol:
Locked