Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: KappaWing on October 28, 2008, 02:33:37 pm

Title: Quick Question on Table Limits
Post by: KappaWing on October 28, 2008, 02:33:37 pm
Whats the ship table limit, either number of entries or size, for the latest nightly build of the SCP?
Title: Re: Quick Question on Table Limits
Post by: chief1983 on October 28, 2008, 02:39:41 pm
Not sure, but it should probably be added here (http://www.hard-light.net/wiki/index.php/Ships.tbl).
Title: Re: Quick Question on Table Limits
Post by: karajorma on October 28, 2008, 04:38:14 pm
130 ships

If you can find/build an Inferno build it's 250.
Title: Re: Quick Question on Table Limits
Post by: General Battuta on October 28, 2008, 04:47:23 pm
This is an absurd question, I'm sure, but I do genuinely mean it out of curiosity: why aren't all builds Inferno builds? What's the primary disadvantage to them?
Title: Re: Quick Question on Table Limits
Post by: Mobius on October 28, 2008, 04:51:28 pm
This has been discussed many times. Boosting the limit is one hell of a task for coders to do and, if I remember well, causes problems with Multi(right?).
Title: Re: Quick Question on Table Limits
Post by: FUBAR-BDHR on October 28, 2008, 05:01:49 pm
Breaks multi and if I recall pilot files.  That's why theres a separate directory for inferno pilot files. 
Title: Re: Quick Question on Table Limits
Post by: General Battuta on October 28, 2008, 05:27:42 pm
Ah, very clear. Thank you!

I'm sorry I hadn't seen any of these discussions before.
Title: Re: Quick Question on Table Limits
Post by: TrashMan on October 28, 2008, 08:02:20 pm
The pilot files thing by itself is insignificant.
It's the multi breaking that's the problem.
Title: Re: Quick Question on Table Limits
Post by: Topgun on October 28, 2008, 08:11:18 pm
why not malloc it?
Title: Re: Quick Question on Table Limits
Post by: karajorma on October 29, 2008, 03:02:55 am
And just how's that going help with the multiplayer breakage?
Title: Re: Quick Question on Table Limits
Post by: Goober5000 on October 29, 2008, 01:46:18 pm
The pilot files thing by itself is insignificant.
The pilot files thing by itself is incredibly significant.  Why do you think 3.7 has been delayed so much?
Title: Re: Quick Question on Table Limits
Post by: Mobius on October 29, 2008, 01:50:53 pm
Breaks multi and if I recall pilot files.  That's why theres a separate directory for inferno pilot files. 

Yes. If that directory doesn't exist you get a memory error.
Title: Re: Quick Question on Table Limits
Post by: TrashMan on October 29, 2008, 05:10:46 pm
The pilot files thing by itself is insignificant.
The pilot files thing by itself is incredibly significant.  Why do you think 3.7 has been delayed so much?

Singificant? Why? cause it breaks older pilot files?
Oh ,worries me! My medals are all gone and I'll have to make a new pilot.*
Really tragic. Not like I had to do it a million times already.

Guess I'm not that attacked to my pilot files.




*unless of course, you're reffering to something incredibly difficult from a coders perspective. but since INF build are out there and working, I'd say that's taken care off.
Title: Re: Quick Question on Table Limits
Post by: Goober5000 on October 29, 2008, 05:29:07 pm
Do you have Asberger's or something?  Because honestly, you seem to have no common sense. :rolleyes:
Title: Re: Quick Question on Table Limits
Post by: blowfish on October 29, 2008, 06:54:55 pm
The pilot files thing by itself is insignificant.
The pilot files thing by itself is incredibly significant.  Why do you think 3.7 has been delayed so much?

Singificant? Why? cause it breaks older pilot files?
Oh ,worries me! My medals are all gone and I'll have to make a new pilot.*
Really tragic. Not like I had to do it a million times already.

Guess I'm not that attacked to my pilot files.




*unless of course, you're reffering to something incredibly difficult from a coders perspective. but since INF build are out there and working, I'd say that's taken care off.

I think there is quite a misunderstanding here.  The FACT that it breaks previous pilot files is insignificant, but the improvements that will be made to the pilot file code will be VERY significant.
Title: Re: Quick Question on Table Limits
Post by: Goober5000 on October 29, 2008, 07:49:16 pm
I think there is quite a misunderstanding here.  The FACT that it breaks previous pilot files is insignificant, but the improvements that will be made to the pilot file code will be VERY significant.
The improvements will be significant, yes.  But there's far more to it than that.

For instance, the ship limit determines the size of the scoring struct, the campaign status struct, the multiplayer packet struct, and a host of other things.  Every time it changes, the pilot file gets completely corrupted.  Which means your pilot would break (and possibly crash the game, though taylor has mostly taken care of that) every time you loaded a mod with a different number of ships, or even a new ship TBM.

This essentially means the entire pilot file has to be redesigned.  And we figured, while we're doing that, we may as well fix the design flaw where your pilot stats get hosed every time you switch mods in the middle of a campaign.

Taylor has gone a long way toward fixing all these flaws, but there is still quite a bit of work left to be done.
Title: Re: Quick Question on Table Limits
Post by: redsniper on October 29, 2008, 08:22:19 pm
Hey yeah, I was just wondering the other day: Why does Inferno get special treatment? I mean, I understand that they have a frakton of ships, thus need a build with a higher ship limit, but why did the coders make a special build in the first place instead of just telling them to deal? It's sort of been my observation that the coders' stance is something like "If you can't make do with all these nice things we gave you , then too bad. Code it yourself or do without." Which I have no problem with, btw.

Actually, in the time it's taken me to type this, I've realized that I'm pretty sure many of the prominent coders are also on the INF team, so... yeah.
Title: Re: Quick Question on Table Limits
Post by: Goober5000 on October 29, 2008, 08:27:50 pm
Not really.  Someone recognized the need for a build with higher limits, but one that would STAY at higher limits, with no jumping around.  It breaks compatibility with just about everything, but we thought that was tolerable if it remains separate and clearly distinct from other builds.

It was just called the Inferno Build because Inferno was the most well-known campaign that used it.  But other campaigns have used it too.
Title: Re: Quick Question on Table Limits
Post by: karajorma on October 30, 2008, 01:43:27 am
TBP is a good example of that. They simply have users switch builds if they want to play a campaign that needs anything after the 130th ship.