Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: BlueFlames on December 30, 2007, 03:38:04 pm

Title: You bloody idiot!
Post by: BlueFlames on December 30, 2007, 03:38:04 pm
I tend to agree. Mission debugging for me tends to consist of 2-3 playthroughs  of a mission followed by a loud shout of "You bloody idiot!"

Seems that there isn't a compilation thread of such moments, or if there is, it's quite well and truly dead.  In light of that, let this thread be our (new?) confessional, where we may relate to each other our sins of idiocy committed in FRED, as we spot them.

My most recent forehead-slapping moment occurred last night, while checking over the last mission of Artifice once again to find out why some fire-beam events weren't causing any beams to fire.  The following code seemed correct (with a little anti-spoiler censorship) for a chained event....

Code: [Select]
$Formula: ( when
   ( true )
   ( fire-beam
      "GTD [ship name]"
      "turret09"
      "[target name]"
   )
   ( fire-beam
      "GTD [ship name]"
      "turret14"
      "[target name]"
   )
)

The targets were certainly in range of the beams....  The firing ship had free beams and unlocked turrets....  I just couldn't wrap my head around why this wasn't working for the last three or four runs through the campaign.

Finally, the problem hit me, like it was the most obvious thing in the world.  GTD [ship name] was gone.  GTD [ship name] departs midway through the mission, and GTD•[ship name] arrives to go all beam-happy on its target.

Lesson(s) learned:  Always watch those ship names, when scripting events around ships that perform tactical jumps.
Title: Re: You bloody idiot!
Post by: haloboy100 on December 30, 2007, 04:04:31 pm
Lol....amazing things happen to FREDers :D
Title: Re: You bloody idiot!
Post by: FUBAR-BDHR on December 30, 2007, 04:13:20 pm
My current one since starting to use FRED2_Open and especially switching back and forth between TBP and FS2 is saving the newest version of the file in the wrong dang directory and wondering why your changes don't show up in game.

Then there's always the making a simple name change in notepad and either making a typo or forgetting to change all the events that reference that name.
Title: Re: You bloody idiot!
Post by: Clawandfang on February 19, 2008, 05:42:46 pm
Yes...
I used to make a load of changes, and then forget to save at all before loading up Freespace. Hours of my finite time on this world wasted...
Title: Re: You bloody idiot!
Post by: Dark Hunter on February 19, 2008, 05:45:32 pm
Nothing tops the "URA Moron 1" code.  :lol:
Title: Re: You bloody idiot!
Post by: Clawandfang on February 19, 2008, 05:51:18 pm
Nothing tops the "URA Moron 1" code.  :lol:
Um...
I'm guessing that this is a code given to people with the intention of annoying them, and is incredibally funny when they complain that it doesn't work?
Title: Re: You bloody idiot!
Post by: Flipside on February 19, 2008, 05:57:07 pm
Nope, it's something automatically inserted by the Fred code, I think it's if you forget to name a ship or the like...
Title: Re: You bloody idiot!
Post by: colecampbell666 on February 19, 2008, 08:34:06 pm
What about the one that happens when you put two Saths two close together?
Title: Re: You bloody idiot!
Post by: Dark Hunter on February 19, 2008, 09:43:24 pm
Nothing tops the "URA Moron 1" code.  :lol:
Um...
I'm guessing that this is a code given to people with the intention of annoying them, and is incredibally funny when they complain that it doesn't work?

It was discovered by someone trying to crash FRED, IIRC. You know that if you do not name a ship, FRED will just call it "<class of ship> 1" or something similar? Well, he tried renaming Ulysses 1 to Ulysses 2 before placing a new Ulysses, thinking that when FRED encountered a ship already called "Ulysses 2", it wouldn't know what to do with the ship being placed. FRED just called the new ship "URA Moron 1". :D

Essentially, FRED calls the user a moron for trying to trick it. ;7
Title: Re: You bloody idiot!
Post by: blowfish on February 19, 2008, 09:45:36 pm
What about the one that happens when you put two Saths two close together?

What happens when you put two Saths too close together?

Do you get a third Sathanas? :nervous: *runs*
Title: Re: You bloody idiot!
Post by: haloboy100 on February 19, 2008, 09:51:50 pm
What about the one that happens when you put two Saths two close together?

What happens when you put two Saths too close together?

Do you get a third Sathanas? :nervous: *runs*
LOL!
Title: Re: You bloody idiot!
Post by: Nuclear1 on February 20, 2008, 12:04:46 am
Ugh, I've fallen victim to the loss of two hours+ of work when I forgot to save. I save now pretty much after every event/message/ship placed out of paranoia/habit.
Title: Re: You bloody idiot!
Post by: FUBAR-BDHR on February 20, 2008, 01:01:30 am
You do know FRED makes backups when you go in and out of certain areas.  Look for the backup.00* files. 
Title: Re: You bloody idiot!
Post by: colecampbell666 on February 20, 2008, 07:39:35 am
That's what those are!

And the URA Moron 1 thing happens (I'm pretty sure) when you put two Saths exceedingly close together.
Title: Re: You bloody idiot!
Post by: Jeff Vader on February 20, 2008, 09:06:45 am
Didn't it include any big ships that were intersecting each other?
Title: Re: You bloody idiot!
Post by: karajorma on February 20, 2008, 09:20:57 am
That's what those are!

And the URA Moron 1 thing happens (I'm pretty sure) when you put two Saths exceedingly close together.

I suspect you misnamed one of the saths and caused it the regular way actually.
Title: Re: You bloody idiot!
Post by: colecampbell666 on February 20, 2008, 09:40:11 am
I haven't tried it, I read it on a forum somewhere.
Title: Re: You bloody idiot!
Post by: karajorma on February 20, 2008, 10:15:30 am
Then don't say you're pretty sure unless you know

1. Who said it
2. How likely they are to be wrong.

:p
Title: Re: You bloody idiot!
Post by: NGTM-1R on February 20, 2008, 12:46:20 pm
I think my favorite so far, and I get this more often then I'd like since I like to shut off a few turrets to simulate a ship taking damage, is forgetting how once a ship is in the process of blowing up previously turret-locked or beam-locked weapons will start shooting again. I know this, and I give a second set of sexps for it to "re-lock" them so they don't ruin my suspension of disbelief. But about half the time I forget and when I go to test the mission realize that.

Far more often then I like, it even mocks me by having that "last gasp" beam shot kill me or a ship I'm supposed to be protecting, thus triggering a mission failure just to add insult to injury.
Title: Re: You bloody idiot!
Post by: karajorma on February 20, 2008, 01:15:08 pm
That sounds suspiciously like a bug to me. I can't think of any good reason why locked beams should unlock on death.
Title: Re: You bloody idiot!
Post by: Retsof on February 20, 2008, 09:05:55 pm
I learned to be carefull when using chained events.  I got my mission all FREDed, then decided to add an extra piece of dialogue depending on the actions of the player.  So I did this and sent it to my colleague, and they said that nothing happened when you accomplished your goal.  I couldn't figure out what was going wrong.  Turns out the event was still chained and only worked if you failed.  :ick:
Title: Re: You bloody idiot!
Post by: Akalabeth Angel on February 20, 2008, 11:57:05 pm
It was discovered by someone trying to crash FRED, IIRC. You know that if you do not name a ship, FRED will just call it "<class of ship> 1" or something similar? Well, he tried renaming Ulysses 1 to Ulysses 2 before placing a new Ulysses, thinking that when FRED encountered a ship already called "Ulysses 2", it wouldn't know what to do with the ship being placed. FRED just called the new ship "URA Moron 1". :D

Essentially, FRED calls the user a moron for trying to trick it. ;7

     That's awesome, I don't think it would actually crash though. I just tried it, and got URA Moron 1,2,3 then I renamed one of them URA Moron 4 but it just made URA Moron 1 . . . :( Oh well. I thought there might be something else exciting after that.
Title: Re: You bloody idiot!
Post by: NGTM-1R on February 21, 2008, 12:59:04 am
That sounds suspiciously like a bug to me. I can't think of any good reason why locked beams should unlock on death.

Perhaps, but it's been doing it since Retail, I think. Certainly since 3.3.
Title: Re: You bloody idiot!
Post by: karajorma on February 21, 2008, 02:57:02 am
That sounds suspiciously like a retail bug to me then. :D I never said the SCP introduced the bug. :)

I don't think it would introduce a big balancing issue if it was fixed so give how ugly the hack required to circumvent it is then it probably needs fixing.
Title: Re: You bloody idiot!
Post by: haloboy100 on February 21, 2008, 08:59:38 am
*Typical FREDed mission*
"ZOMFGY!!!!! YOU KILLED ALPHA ONE!!!"
"FIRE ALL BEAMS!!!!!!@!@1111"
"Sir! But Fred said not to-"
"I DON'T CARE WHAT FRED SAID! I say FIIIIRE!!!"
Title: Re: You bloody idiot!
Post by: NGTM-1R on February 25, 2008, 03:10:27 am
Stupid waypoint tricks!

So I built this mission where I have two friendly wings engaged in "zone defense" escort duties, i.e. a ship comes in and they fly over and escort it until it leaves, then they wait around for another ship to show up they can escort. But I don't want these fools cluttering up my jumpnode and maybe ending up smeared across the front of a TC-TRI, so I give them waypoints where they go to when they're not escorting stuff.

Single waypoints.

I go into the mission to test it and stare, totally confused, utterly baffled, as they proceed to form a ball of colliding fighters. And then suddenly I realize the AI isn't smart enough to orbit a waypoint, it has to get to it, come hell or high water. I assigned whole wings a single waypoint.

"YOU BLOODY IDIOT!"
Title: Re: You bloody idiot!
Post by: Titan on February 27, 2008, 09:20:32 am
That sounds suspiciously like a bug to me. I can't think of any good reason why locked beams should unlock on death.

"Brothers, we drive a knife into the hearts of our enemies..."

Loooooooooo... ZZZZZZZZZZZ!!!!!!!!BOOM!!!