Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: WMCoolmon on June 07, 2004, 02:36:14 am

Title: Warpout failure fix
Post by: WMCoolmon on June 07, 2004, 02:36:14 am
This should fix the warpout failure bug that's come up since 3.6 was released. It also contains some HUD code. Yes, the shield icon appears in the corner, this will be fixed sometime.

Edit: Attachment got FUBARed, will post in reply.

Edit 2: Screw that.

(URL removed because...)

Edit 3: Removed this build because there's a newer one (http://www.hard-light.net/forums/index.php/topic,24223.0.html). Get the first build in the thread for Maximum Reliability.
Title: Warpout failure fix
Post by: WMCoolmon on June 07, 2004, 05:45:49 pm
Is this working for people? There's been over fourty views but no replies. :)
Title: Warpout failure fix
Post by: karajorma on June 07, 2004, 05:53:00 pm
What were the conditions that caused the problem in the first place? Was it simply playing on very easy?
Title: Warpout failure fix
Post by: WMCoolmon on June 07, 2004, 06:03:09 pm
I think so, this build changes the line of code that was causing "very easy" to disable warp.
Title: Re: Warpout failure fix
Post by: mrduckman on June 07, 2004, 07:04:10 pm
It works well now.

Quote
Originally posted by WMCoolmon
Yes, the shield icon appears in the corner, this will be fixed sometime.


Soon I hope :)
Title: Warpout failure fix
Post by: WMCoolmon on June 07, 2004, 08:15:04 pm
I just commited the fix to CVS. :D
Title: Warpout failure fix
Post by: Darkhill on June 07, 2004, 10:32:40 pm
Where and what file did you change to fix the problem?  I've already got a new interface in the 3.6 version and I really don't want to redo it all over.  If you could please tell what file and where the change is I could just get that file from the CVS and update my version.
Title: Warpout failure fix
Post by: WMCoolmon on June 07, 2004, 11:01:55 pm
ship.cpp, in the ship_can_warp function or something like that.
Title: Warpout failure fix
Post by: Darkhill on June 17, 2004, 08:10:49 pm
Sorry I didn't thank you earlier but I've been on a bit of a vacation.
Title: Warpout failure fix
Post by: WMCoolmon on June 17, 2004, 09:02:37 pm
:)
Title: Warpout failure fix
Post by: Silent Warrior on June 18, 2004, 10:23:36 am
"#¤%&"¤%£$€! I can't download that .exe! (Too late?) Grrah! Oh well, maybe I'll just have to learn to fly without training wheels for a while longer...
Title: Warpout failure fix
Post by: mrduckman on June 18, 2004, 10:50:16 am
You can download the lastest build from fs2source.warpcore.org/exes/lastest/ anyway. The warpout bug is already been fixed.
Title: Warpout failure fix
Post by: Darkhill on June 18, 2004, 08:02:31 pm
I got a question about the warpout fix.  With the way it is now:  Game_skill_level == 0, the only time you can warp out is if the game is set to very easy any other level and you can't warp out.  Was it meant to be this way to keep wimps from warping out on the harder levels?  Because I changed the line to Game_skill_level >= 0 and all difficulty levels can warp out.
Title: Warpout failure fix
Post by: Goober5000 on June 18, 2004, 08:24:17 pm
This is how it's supposed to be:
Code: [Select]
if ( (Game_skill_level == 0) ||  (engine_str >= SHIP_MIN_ENGINES_TO_WARP) ){This way you can warp out *always* on Very Easy, but only on other skill levels if your engine is healthy.
Title: Warpout failure fix
Post by: Darkhill on June 18, 2004, 08:39:07 pm
I forgot to change the logical operator.
Title: Warpout failure fix
Post by: Annorax on June 20, 2004, 09:31:05 pm
Link's as fubared as the attachment. Where else is this build mirrored? :P
Title: Warpout failure fix
Post by: WMCoolmon on June 21, 2004, 02:13:45 am
http://www.hard-light.net/forums/index.php/topic,24223.0.html
:)