Author Topic: Afterburners...  (Read 7488 times)

0 Members and 2 Guests are viewing this topic.

Offline Krackers87

  • 158 crew
  • 29
before i reinstalled windows i was having that bug on XP, the button was on the keyboard, tried switching it, no avail.
Put this in your profile if you know someone who is fighting, has survived, or has died from an awp no scope.

just like seventies goofballs
he's waiting on last calls
well listen method man
'cause if you leave on the last line
don't leave on the ground kind
born just a little too slow

 
A test exe perhaps?
When will I learn?  The answer to life's problems aren't at the bottom of a bottle, they're on TV! -- Homer,  "There's No Disgrace Like Home''
I sometimes find myself here on this forum, late at night constantly pressing "Reload" over and over again

 

Offline Beowulf

  • 27
Impressive! :yes:
Never Forget

"It is always better to avenge dear ones than to induldge in mourning. For every one of us, living in this world means waiting for our end. Let whoever can win glory before death. When a warrior is gone, that will be his best and only bulwark."
                               --Beowulf


"... and no, real life sex is not just a myth. You just need to come out of your house once every while..." ~Tiara

YeeeeHoooooh! is the mood of the day. :p

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Quote
Originally posted by Gravaton
tmp is an int, and the problem SEEMS to be that, on my system, at the end of this block eax is equal to a number around 33,000,000.  This, when moved into tmp (which is a regular int) gets taken to be a negative number of about -9,000,000.  And at that point everyone gets all sad.  The solution I've found is to turn tmp into an unsigned int (as there's no way any of the system timer functions would EVER be returning a value less then zero according to MSDN specs), and also turn the "now" variable (in code/ship/afterburner.cpp line ) for the afterburner into an unsigned int as well.  This worked.
Are you sure you didn't drop a couple decimal places?  Why would 33M roll over to -9M ?  I'm confused.  If it was 3300M rolling over to -900M I would understand:
Code: [Select]
3,300,000,000 (unsigned) = 0xc4b20100
 -900,000,000 (signed)   = 0xca5b1700
Nice catch, in any case :yes:  Now check it to make sure it doesn't break anything else :D  

For example, see if any timing-related sexps get hosed, make sure beams don't stay on for 5 minutes (ow), make sure the HUD clock seems reasonable...
your source code slave

 
Hmm, you're right, the numbers do seem a little off.  Sorry I haven't been exactly around, school re-started and ate my soul for a bit :)  I'll take a look at things tonight and get some more exact figures.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
penguin: he rounded ... but the bug totally makes sense

i wish i would have been reading this thread a long time ago -- the moment i noticed a time_get_milleseconds() i figured it was a sign problem
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Quote
Originally posted by Kazan
penguin: he rounded ... but the bug totally makes sense
Heh, the rounding I get, it was the two order of magnitude (33M vs 3.3G) that puzzled me.  A number like 33M would be the same, regardless of whether it's signed or not.

To pick a nice round (hex) number:
0xc800 0000 == (unsigned)  3,355,443,200 == (signed) -939,524,096.

And you're right -- makes sense; signed vs. unsigned is a major PITA.
your source code slave

 

Offline Rga_Noris

  • 29
  • What?
erm... just out of curiosity, how goes work on this? This problem seems like a big one to me, especially because I suffer from it. I'm a WinXp Pro user, and this is greatly cramping my FS2ing...

--Rga
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Have you tried the compatability options fix from my FAQ? It never really worked well for Win2k users but it solved the problem for most XP people.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Rga_Noris

  • 29
  • What?
Yeup. Still all buggered up.

--Rga
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Wait for someone to post a build.  I think Phreak put this in recently, but we have to check if it's correct.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
I'm win2k and have never _ever_ had a problem with my afterburners. Hell, I use them instead of my primary thrusters.
Freelance Modeler | Amateur Artist

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Quote
Originally posted by Raa Tor'h
I'm win2k and have never _ever_ had a problem with my afterburners. Hell, I use them instead of my primary thrusters.


If you're on about my above comment I was talking about the fix never solving the problem on 2K not that everyone on 2K has the problem.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Is there any chance of this making it into the 3.6 build???

I don't think that there has been a build posted with this fix in place?

PLEASE PLEASE PLEASE?? :)
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
it's already in.....
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
look at any of the recent builds in the recent build forum, I think they should all have it in.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Yes, this was my moistake, I had an older build selected in the launcher. The afterburner bug is indeed fixed in the march 5th build.  :yes:

Thanks very much!
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 
-nevermind-
« Last Edit: March 08, 2004, 12:18:37 pm by 1654 »

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
there is a table defind max AB speed wich generaly is well above the max cruiseing speed (though Silent Threat showed that wasn't required (Loki))
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Once again, I should look around more before I post.  The craft I was using had no afterburners installed.  I took the afterburner key increasing my speed as the burners actually working.  Beat me with a stupid stick.