save ship bug

sometimes (often and repeatedly) GSB will crash when saving a ship design. I havent found any consistent pattern, other than if I try to repeat the design it will do it again. It seems more likely to crash if there are module boxes left unfilled, but it has crashed on full designs, and allowed ships with blank spaces.

Im not running any mods of any kind, other than the official DLCs
any ideas?

I have a few ideas on possible errors for when it crashes as you change the hull in ship design, but nothing comes to mind for when you hit save.

If i could ask for you to provide some extra information to help identify what is tripping up GSB, we should be able to find out what the issue is. For example:

  • Any ideas on what may have changed to your system when the error started happening.
  • The error message itself when the game crashes
  • The debug files generated by GSB (\My Documents\My Games\GratuitousSpaceBattles\debug)

Few suggestions of the top of my head

  • Have you tried a partial reset ? (Delete or move the \My Documents\My Games\GratuitousSpaceBattles\ directory and start the game. This will force GSB to rebuild this directory)
  • Have you tried a complete reinstall (delete the game and the my docs directory and reinstall from scratch)

----DEBUG FILE----
Windows Vista detected
GSB Debug File. App version Full 1.62
Desktop resolution is 1024 x 768
Initialising Direct3D
Initialising global vertex buffer
creating render targets
success in initialising 3D
Checking for application update
gratuitousspacebattles/server/getlatestpatch.php?&version=162
Start of SIM_Internet::OpenLink
End of SIM_Internet::OpenLink
SIM_Internet::DownloadFile(C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/web/tmp168.html)
SIM_Internet::DownloadFile ends
response,true,

message,gratuitousspacebattles/server/patches/SS647298673/GSBPatch163.exe

message,gratuitousspacebattles/server/patches/SS647298673/GSBPatch163.exe

Initialising Direct Input
Finished Initialising Direct Input
Initialising Sound Engine
Initialised Sound System with 512 channels

Finished Initialising Sound Engine
Design [Tribe Harmony Cruiser] deleted because it was not valid with this version
Design [Tribe Paradise Cruiser] deleted because it was not valid with this version
Design [Tribe Utopia Cruiser] deleted because it was not valid with this version
Design [courtier] deleted because it was not valid with this version
Design [escort frigate] deleted because it was not valid with this version
Design [frog] deleted because it was not valid with this version
Design [snapper] deleted because it was not valid with this version
Design [supporter] deleted because it was not valid with this version
Design [a shielded shielder 1] deleted because it was not valid with this version
Design [Support frig] deleted because it was not valid with this version
Design [Imp Ion Fgt] deleted because it was not valid with this version
GBufferedFile failed to open file
gratuitousspacebattles/server/getmymessages.php?&lastmessageid=0
gratuitousspacebattles/server/getmymessages.php?&lastmessageid=0
SIM_Internet::DownloadFile(C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/web/messages.txt)
SIM_Internet::DownloadFile ends
Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/courtier.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/escort frigate.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/frog.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/snapper.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/supporter.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/courtier.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/escort frigate.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/frog.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/snapper.txt:…\src\SIM_ShipDesign.cpp 598

Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/supporter.txt:…\src\SIM_ShipDesign.cpp 598

Design [Tribe Harmony Cruiser] deleted because it was not valid with this version
Design [Tribe Paradise Cruiser] deleted because it was not valid with this version
Design [Tribe Utopia Cruiser] deleted because it was not valid with this version
Design [courtier] deleted because it was not valid with this version
Design [coutesan] deleted because it was not valid with this version
Design [escort frigate] deleted because it was not valid with this version
Design [frog] deleted because it was not valid with this version
Design [snapper] deleted because it was not valid with this version
Design [supporter] deleted because it was not valid with this version
Design [a shielded shielder 1] deleted because it was not valid with this version
Design [Support frig] deleted because it was not valid with this version
Design [Imp Ion Fgt] deleted because it was not valid with this version
Ship Design not found ->C:\Users[redacted]\Documents/My Games/GratuitousSpaceBattles/ships/coutesan.txt:…\src\SIM_ShipDesign.cpp 598

error is
3/10/2013 - 16::28 - Assertion failure:filename:…\src\GUI_ShipDesignSummary.cpp,linenum:470,build:Full 1.62

partial reinstall did not fix it

When you say partial install do you mean

  • You deleted the folder /Documents/My Games/GratuitousSpaceBattles/
  • Ran the game again.
  • When you created a new ship design, it still crashed with the error ?
    Reason why I ask is that the game is looking for several ships, so either there is some form of mod active or the folder was not deleted.

Observations from the debug

  • I see that your on version 1.62 the current version is 1.63
    The game appears to be trying to download the patch did it update ?

Suggestions:
- Ensure the game patches to 1.63
Check the \My Documents\My Games\GratuitousSpaceBattles\patches\ for GSBPatch163.exe
If it is there, please run it. If not - check your firewall settings and try again.

- Search and Remove all custom ship designs.
The objective of removing \My Documents\My Games\GratuitousSpaceBattles was do remove any possible ships that were causing errors. If you have done that and pain persists, check the game directories for any ship designs that are not part of the initial install.

(The quickest way to complete the above 2 suggestions is to download th game again and completely uninstall and reinstall)

I dont have any patch or patcher, where do I get it from?

thanks

GSB will download the patch all by itself.
If you look at your debug file, you will see that the game is trying to download the latest patch.

Normally when the game downloads any of the patches they end up in \My Documents\My Games\GratuitousSpaceBattles\patches\

Now if there is no Patch in that directory, you will need to check your internet and firewall settings to ensure that GSB can download the files.

If you believe that the is no issue with the internet connection, another solution is to use the link you were issued and redownload the game

I think its working now, hasnt bugged out on me anyway, but reinstalling has caused it to “forget” Im registered, Im going to need a new key :confused:

Your key should be somewhere in one of the emails with the link to download the install file

not from 6+ months ago its not, automatic clearout of old mail :frowning:

Ouch. That’s a pretty user-hostile default setting you have there; why not change it to avoid getting burned like this again?

Concerning your present problem, you should send an email to Cliff Harris, GSB’s developer, via cliff $at$ positech %dot% co &dot& uk (Without the anti-spam characters). Make certain that you send your email request for lost keycode help to him from that same email address which you used when you purchased the game. There’s a stickied thread about that very same topic right here.

Very True Archduke.

Alternately if you purchased the game through Positech, you can email BMT Micro direct and they should be able to find your details based on your email and method of payment. (When I had lost my Key, they have responded to my requests within 24 hours)