.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2002, 07:51 PM

derb derb is offline
Corporal
 
Join Date: Apr 2001
Location: London, UK
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
derb is on a distinguished road
Default Refit "sizes not identical" bug

It seems even in 1.67 Gold if you try to refit ships you often get told you can't because they are not the same size when they are. Very annoying! Does anyone know why this happens and if there is a work-around?
__________________
My SEIV code:SEIV code: L+++GdY$!-Fr-C-SdT++SfTCP+A---M-MP!R!-Pw++Fq++Nd*Rp-G++AuMm++
Reply With Quote
  #2  
Old May 21st, 2002, 08:44 PM
Wardad's Avatar

Wardad Wardad is offline
Lieutenant Colonel
 
Join Date: Dec 2001
Location: Scottsdale AZ
Posts: 1,277
Thanks: 0
Thanked 0 Times in 0 Posts
Wardad is on a distinguished road
Default Re: Refit "sizes not identical" bug

That happened to me too, with a small transport,a few turns back in a PBW game. I'm Curious, I just thought it the types (behavior) was different, a POP transport being refit to a Cargo transport.
__________________
So many ugly women, so little beer.
Reply With Quote
  #3  
Old May 21st, 2002, 11:59 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Refit "sizes not identical" bug

Are you are trying to retrofit to a design you have JUST created on that same turn?

If so, when the game gets processed, the design ID of the order is probably pointing to the wrong design.

For example (this is likely not how Aaron implemented it, but it shows the problems that the game has to face)

Player #1 has 5 designs, A,B,C,D,and E.
Player #2 (you) has 5 Designs, z,y,x,w, and v.

The host sees these designs as #1, through #5, and #6 through #10.
If both players create a design on the same turn, they will think their own design is #11 until they are told about the other player's design.

So, if you give a ship an order to retrofit to your new design, it will be an order to "retro to design #11"

When the host processes the turn, it will have to pick one of those designs to be #11. Say it picks Player #1's. Your design is given #12.

Now, your order is followed. "Retrofit to #11".
Whoops. That's player #1's design. And it happens to be a fighter or a base, or a different size ship.
Thus, the order fails.

If Player #1's design happened to be of the same size, and within a 50% price difference, you could quite possibly succeed in retrofitting to a wierd design that you can't build.
You will then end up with a useless ship containing big gaps that you do not have the tech levels to repair.
Reply With Quote
  #4  
Old May 22nd, 2002, 12:50 AM

derb derb is offline
Corporal
 
Join Date: Apr 2001
Location: London, UK
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
derb is on a distinguished road
Default Re: Refit "sizes not identical" bug

I am almost certain that this is a design I had made a new turns ago but I will try again this turn to refit and see what happens...
__________________
My SEIV code:SEIV code: L+++GdY$!-Fr-C-SdT++SfTCP+A---M-MP!R!-Pw++Fq++Nd*Rp-G++AuMm++
Reply With Quote
  #5  
Old May 22nd, 2002, 01:51 AM
Wardad's Avatar

Wardad Wardad is offline
Lieutenant Colonel
 
Join Date: Dec 2001
Location: Scottsdale AZ
Posts: 1,277
Thanks: 0
Thanked 0 Times in 0 Posts
Wardad is on a distinguished road
Default Re: Refit "sizes not identical" bug

I think Suicide Junkie came through again.

edit: So why aren't new ship builds having this problem?

--------------------------------------------------
We live for the WALK, we die for the WALK. ...Dog Rangers...

[ May 22, 2002, 00:53: Message edited by: Wardad ]
__________________
So many ugly women, so little beer.
Reply With Quote
  #6  
Old May 22nd, 2002, 03:28 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Refit "sizes not identical" bug

Well, retrofits are one of the first things to occur each turn. Ship construction comes later.

It may be that the retrofits happen before the host takes a look at the turns and sorts out all of the new designs.

It could be that the build queues are referenced by design name, or some other method.

As I said below, I have no way of knowing how Aaron actually went about implementing all that code; the examples are to show how very easy it is to have wonky things happen when you're doing things simultaneously.
Reply With Quote
  #7  
Old May 22nd, 2002, 05:19 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Refit "sizes not identical" bug

Something just occurred to me while re-reading this thread... why is there even an error message for retrofitting to the wrong size? The retrofit window should only show choices that match the hull size of the ship you're trying to retrofit, so why bother with an error message for retrofitting to a different size?
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #8  
Old May 22nd, 2002, 06:40 PM
Wardad's Avatar

Wardad Wardad is offline
Lieutenant Colonel
 
Join Date: Dec 2001
Location: Scottsdale AZ
Posts: 1,277
Thanks: 0
Thanked 0 Times in 0 Posts
Wardad is on a distinguished road
Default Re: Refit "sizes not identical" bug

There are too many possible errors and never enough error codes. I never take error codes at their face values.

edit: I was wondering about a possible work-around. Like placing the design in the back of a build que (but not building it), since it would then become locked in as new design. Possibly allowing retrofit to work on first turn. But.. I guess this will have to be tested.

[ May 22, 2002, 17:47: Message edited by: Wardad ]
__________________
So many ugly women, so little beer.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.