Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Variable Max
Variable Max Tue, 16 December 2003 19:27 Go to next message
Lebaron is currently offline Lebaron

 
Crewman 3rd Class

Messages: 8
Registered: December 2003
Location: NY
While tinkering with my Stars.exe file using StarEd, i noticed a few things.
1) The max # of resources any ship(ship and components) can cost is around 32,500. After that, the cost goes negative.

2) The max Armor and ship/starbase can have is 60,000. Again, after that it goes negative.

3) The max minerals is also around 32,500. And yes, after that it goes negative.

I did not check these numbers to be exact but they are close. Here is my question: Is it possible to surpass these limits? If anyone has any info about this pls reply. Thank you.

Report message to a moderator

Re: Variable Max Tue, 16 December 2003 20:12 Go to previous messageGo to next message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
The're probably factors of 2 (probably -1 as well)

So, 32767, 65535, and 32767.



- LEit

Report message to a moderator

Re: Variable Max Wed, 17 December 2003 06:26 Go to previous messageGo to next message
gible

 
Commander

Messages: 1343
Registered: November 2002
Location: Wellington, New Zealand

Not without recompiling the program to using larger numbers.


edit: err woops...forgot the "out" in "without".


[Updated on: Thu, 18 December 2003 03:16]

Report message to a moderator

Re: Variable Max Wed, 17 December 2003 18:32 Go to previous messageGo to next message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

So what do you get if you build a ship that costs negative amounts of something? Doesn't that mean by building it you generate ore or RU? Or does STars ignore it?


Rule 1: "Pillage, THEN burn!"

Report message to a moderator

Re: Variable Max Thu, 18 December 2003 03:16 Go to previous messageGo to next message
gible

 
Commander

Messages: 1343
Registered: November 2002
Location: Wellington, New Zealand

I doubt you can design a ship that expensive without hacking the exe

Report message to a moderator

Re: Variable Max Thu, 18 December 2003 06:15 Go to previous message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

What? Of course you can't do it without hacking the exec. But even Stars Ed has imposed limits. Such as 30,000 is the limit they impose on most things. Just cause it's nice and round. And.. it's under the signed intiger limit. Though I'm still tempted to give it a try just to see what happens if I build or scrap a ship that's worth negative RU or Ore. If it behaves at all logically, then building the ship will give you ore and scrapping it will subtract ore. Course the other option is it just costs a whole lot more than anyone can ever spend.. Smile Either way is good I think...
-----------------
Addendum:

After doing a quick testbed... The answer is 1) if it's too expensive you can never build it, it's always "red" 2) if you DO build some and scrap them the scrap is worth less than if the part cost just 30k of any kind of resource. 3) As I recall from other tests, the RU you get back from scrapping is something up, 90% of the RU UPTO the current RU value of the planet your scrapping on. (Tried to scrap huge fleet of expensive ships to make a Genesis Device build really fast.... At best I could only double the RU on the planet. Never more. As far as I know that's how it all works out.)

Conclusion: Making the price negative is a waste of time. It's less lucrative than making the price 30k and it makes the part unbuildable. (though if you were banning spesific things on a non AH game that could be useful.)


[Updated on: Thu, 18 December 2003 06:28]




Rule 1: "Pillage, THEN burn!"

Report message to a moderator

Previous Topic: Making a backup of your Stars! turns
Next Topic: EEK! Poor observer...
Goto Forum:
  


Current Time: Fri Jun 07 22:53:37 EDT 2024