crash - galactic conquest


#1

It seams that GSB crashes every time I retreat in galactic conquest.
I have gsb 1.63 with evey dlc, but no mods (never touched that).
My computer is a samsung netbook.


#2

to many possibilities - hard to tell.
We will need some more info to help solve this one.

  • Can you screenshot the error or provide what the error message is when GSB crashes (you might have to move some windows)
  • In \My Documents\My Games\GratuitousSpaceBattles\debug there should be some text files. Post them here inside the code options

Random Suggestion for the day:
Rename the \My Documents\My Games\GratuitousSpaceBattles to something like GSBOffline.
Run the game again (note you will have to enter your reg key again)
Open the campaign and see if you can retreat without the game crashing.


#3

I have the same or very similar issue.

There is no error message, it’s a simple crash-to-desktop.

Out of all my attempts to retreat, I believe I’ve had one success, and maybe one additional “success” where my whole fleet was wiped out before they could escape. The rest have ended in a crash-to-desktop. Sometimes it’s a second or two after I give the retreat order, sometimes it’s a little longer. Often, I speed the battle up to ~4x because at the point I’ve decided to retreat, I figure it’s hopeless and not worth watching.

Associated content of errors.txt (two most recent crashes):

7/6/2014 - 4::47 - Untranslated HRESULT 7/6/2014 - 4::47 - D3DXCreateEffectFromFile failed 7/6/2014 - 4::47 - Untranslated HRESULT 7/6/2014 - 4::47 - D3DXCreateEffectFromFile failed

Contents of debug.txt:

[code]----DEBUG FILE----
Windows 7 detected
GSB Debug File. App version Full 1.63
Desktop resolution is 1280 x 800
Initialising Direct3D
Initialising global vertex buffer
creating render targets
success in initialising 3D
Initialising Direct Input
Finished Initialising Direct Input
Initialising Sound Engine
Initialised Sound System with 512 channels

Finished Initialising Sound Engine
GBufferedFile failed to open file
gratuitousspacebattles/server/getmymessages.php?&username=Mr. Wednesday&id=xxxx-xxxx-xxxx-x&lastmessageid=0
gratuitousspacebattles/server/getmymessages.php?&username=Mr. Wednesday&id=xxxx-xxxx-xxxx-x-1&lastmessageid=0
Start of SIM_Internet::OpenLink
End of SIM_Internet::OpenLink
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/messages.txt)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/onlinecheck.php?&id=xxxx-xxxx-xxxx-1&username=Mr. Wednesday
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp765.html)
SIM_Internet::DownloadFile ends
response,true,

message,

downloading enemy campaign fleet
gratuitousspacebattles/server/gsb_campaign_getopponentlist.php?&username=Mr. Wednesday&id=xxxx-xxxx-xxxx-1&playerrace=federation&mincost=15750&maxcost=28350
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/camp_chall.txt)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/challenges/5157760.gsb
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/challenges/5157760.gsb)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/gsb_campaign_getnewchallengeid.php?&user=Mr. Wednesday&id=xxxx-xxxx-xxxx-1
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp785.html)
SIM_Internet::DownloadFile ends
response,5163493

SIM_Internet::CopyFileToServer(/gratuitousspacebattles/server/postchallenge.php)
CopyFileToServer ends
gratuitousspacebattles/server/gsb_campaign_addcampaignchallenge.php?&username=Mr. Wednesday&id=xxxx-xxxx-xxxx-1&gsb=5163493
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp184.html)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/getcampaignchallengehistory.php?&gsbid=5157760
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/challenges/campaignoutcomes.txt)
SIM_Internet::DownloadFile ends
[/code]

Contents of drawdebug.txt:

Initialising 3D Engine in fullscreen mode Driver : nvd3dum.dll Description : NVIDIA GeForce 9200M GS DeviceName : \\.\DISPLAY1 Getting fullscreen refresh rate Found 8 adapter modes at 1280 x 800 Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Using 60 as refresh rate Checking For Shader Support NumSimultaneousRTs:4 hal_caps.PixelShaderVersion >= D3DPS_VERSION(2, 0) About to Create 3D Device with width: 1280 and height : 800 Attempting hardware Vertex Processing Finished initialising 3D Engine Initialising Render target of 512 X 512 rt_ship rt_ship Initialising Render target of 2048 X 1024 rt_offscreen1 rt_offscreen1 Initialising Render target of 2048 X 1024 rt_offscreen2 rt_offscreen2 Initialising Render target of 2048 X 1024 rt_transition rt_transition Initialising Render target of 2048 X 1024 rt_distortion rt_distortion Initialising Render target of 2048 X 1024 rt_selection rt_selection campaign_title_2048.bmp cwfont20.dds zekton16.dds debris.dds contrails.dds escapepod.dds escapepodengines.dds shield_impact.dds client_interlace.dds dialog_client.dds 19px_highlight.dds 19px_highlight_black.dds smokeclouds.dds runninglight.dds shield_collapse.dds border_depth.dds box_background.jpg textbutton.dds textbutton_h.dds teaser.bmp circular_wipe.dds dialog_titlebar.dds button_close.dds button_close_h.dds gui_scrollup.dds gui_scrollup_h.dds gui_scrolldown.dds gui_scrolldown_h.dds andromeda.jpg hexpattern.dds star.dds camp_cpl_bottom.dds camp_cpl_bottom_buttons.dds wormhole.dds planet_unknown.dds encounter_icon.dds Federation Buffalo Cruiser.dds campaign_icons.dds Federation Eagle Cruiser.dds facility_smallfactory.dds territory.dds planet_indicator.dds map_indicator.dds satelite.dds menu_backdrop.jpg gui_dragbutton.dds facility_smallacademy.dds facility_shipyardb.dds facility_largefactory.dds facility_largeacademy.dds facility_repairyard.dds facility_mediumfactory.dds spindle_planet1.dds spindle_planet10.dds spindle_planet12.dds spindle_planet13.dds facility_shipyarda.dds spindle_planet14.dds spindle_planet15.dds facility_shipyardc.dds spindle_planet16.dds spindle_planet17.dds spindle_planet18.dds spindle_planet19.dds spindle_planet2.dds spindle_planet20.dds spindle_planet3.dds spindle_planet4.dds spindle_planet5.dds spindle_planet6.dds spindle_planet7.dds spindle_planet8.dds spindle_planet9.dds wormhole_ships.dds attack_arrow.dds tooltip.dds textbox_darken.dds battleicon.dds camp_bd2.jpg Tribe Utopia Cruiser.dds square_box.dds square_box_h.dds Federation Falcon Fighter.dds Federation Puma Frigate.dds Federation Fox Frigate.dds campaign_backdrop.bmp deployment_range.dds checkbox.dds fed_turret_bull_v1.dds fed_turret_las_v4.dds fed_turret_las_v3.dds module_crew2.dds federation_turret_pd_v1.dds module_shield_v5.dds module_shield_v6.dds module_armour_v7.dds module_repair.dds module_engine_1.dds module_powergen_v9.dds module_engine_3.dds module_pdscanner_v2.dds gui_sliderbar.dds plasma_turret_v2.dds fed_turret_miss_v3.dds fed_turret_miss_v2.dds module_pdscanner_v1.dds fed_turret_miss_v5.dds module_crew3.dds plasma_turret_v3.dds module_powergen_v8.dds tractor_turret_v1.dds module_armour_v10.dds module_crew.dds fed_turret_miss_v1.dds module_shield_v3.dds federation_turret_pd_v2.dds module_powergen_v6.dds fed_turret_auto_v1.dds module_armour_v3.dds module_powergen_v3.dds progress_bar.jpg turret_blast_red.dds beam_green_atlas.dds beam_purple_atlas.dds beam_orange_atlas.dds turrets_federation.dds lightning.dds repairbots.dds shield_blast.dds shield_scroll.dds shield_blast2.dds normal_shield.dds shield_distortion2.dds armourglow.dds radiation.dds Federation Buffalo Cruiser_damaged.dds particles.dds engineglow.dds engine_colors.dds Federation Buffalo Cruiser_hulk.dds breakup_alpha.dds target_painter_beam.dds beam_blue_atlas.dds plasma.dds Federation Eagle Cruiser_damaged.dds Federation Eagle Cruiser_hulk.dds tractor_beam.dds tractor_beam_alpha.dds Federation Puma Frigate_damaged.dds Federation Puma Frigate_hulk.dds turret_blast_yellow.dds Federation Fox Frigate_damaged.dds Federation Fox Frigate_hulk.dds Federation Falcon Fighter_sprite.dds federation_hulks.dds beam_red_atlas.dds ecmshockbeam.dds turrets_tribe.dds alliance_shield.dds Tribe Utopia Cruiser_damaged.dds tribe_engineglow.dds Tribe Utopia Cruiser_hulk.dds minimap.dds battle_buttons.dds fleet_overlay_icon.dds gui_target.dds green_score.dds red_score.dds missile_flare.dds missile.dds bullets.dds target_overlay_line.dds range_marker.dds


#4

Greetings Mr. Wednesday,

Looking through the error files the only think i can really think of is that it has downloaded a challenge / fleet that it does not like. At this point in time my only suggestions are:

- Needle in a haystack
Delete the debug files and run the game again. Retreat as soon as possible and have a look at the debug files again. See if you can find what it was doing when it crashed.

Rebuild the GSB Directory
Rename your /Documents/My Games/GratuitousSpaceBattles/ to /GratuitousSpaceBattleoffline/
Restart the game and it will rebuild the /GratuitousSpaceBattles/ directory again.
Re-enter your online code and play the campaign again, see if you can get it to crash.


#5

Is there anything I can do to get a more verbose log of what it’s doing?

I can enter a battle and retreat immediately easily enough. I don’t think it has anything to do with my opponent, because it only happens when I retreat, not any other time.

I also noted on one of my more recent retreats where I got a crash, it appeared as though multiple of my ships did depart the scene.

Just tried doing the rebuild-directory trick. It crashed almost immediately when I retreated.

Errors.txt complete contents:

7/6/2014 - 20::48 - Untranslated HRESULT 7/6/2014 - 20::48 - D3DXCreateEffectFromFile failed 7/6/2014 - 20::48 - Untranslated HRESULT 7/6/2014 - 20::48 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::11 - Untranslated HRESULT 7/6/2014 - 21::11 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::11 - Untranslated HRESULT 7/6/2014 - 21::11 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::24 - Untranslated HRESULT 7/6/2014 - 21::24 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::24 - Untranslated HRESULT 7/6/2014 - 21::24 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::26 - Untranslated HRESULT 7/6/2014 - 21::26 - D3DXCreateEffectFromFile failed 7/6/2014 - 21::26 - Untranslated HRESULT 7/6/2014 - 21::26 - D3DXCreateEffectFromFile failed

Debug.txt complete contents:

[code]----DEBUG FILE----
Windows 7 detected
GSB Debug File. App version Full 1.63
Desktop resolution is 1280 x 800
Initialising Direct3D
Initialising global vertex buffer
creating render targets
success in initialising 3D
Checking for application update
gratuitousspacebattles/server/getlatestpatch.php?&id=XXXX-XXXX-XXXX-1&username=Mr. Wednesday&version=163
Start of SIM_Internet::OpenLink
End of SIM_Internet::OpenLink
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp481.html)
SIM_Internet::DownloadFile ends
Up to date

response,false,
Initialising Direct Input
Finished Initialising Direct Input
Initialising Sound Engine
Initialised Sound System with 512 channels

Finished Initialising Sound Engine
GBufferedFile failed to open file
gratuitousspacebattles/server/getmymessages.php?&username=Mr. Wednesday&id=XXXX-XXXX-XXXX-1&lastmessageid=0
gratuitousspacebattles/server/getmymessages.php?&username=Mr. Wednesday&id=XXXX-XXXX-XXXX-1&lastmessageid=0
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/messages.txt)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/onlinecheck.php?&id=XXXX-XXXX-XXXX-1&username=Mr. Wednesday
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp754.html)
SIM_Internet::DownloadFile ends
response,true,

message,

downloading enemy campaign fleet
gratuitousspacebattles/server/gsb_campaign_getopponentlist.php?&username=Mr. Wednesday&id=XXXX-XXXX-XXXX-1&playerrace=federation&mincost=8750&maxcost=15750
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/camp_chall.txt)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/challenges/4966300.gsb
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/challenges/4966300.gsb)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/gsb_campaign_getnewchallengeid.php?&user=Mr. Wednesday&id=XXXX-XXXX-XXXX-1
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp785.html)
SIM_Internet::DownloadFile ends
response,5163588

SIM_Internet::CopyFileToServer(/gratuitousspacebattles/server/postchallenge.php)
CopyFileToServer ends
gratuitousspacebattles/server/gsb_campaign_addcampaignchallenge.php?&username=Mr. Wednesday&id=XXXX-XXXX-XXXX-1&gsb=5163588
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/tmp184.html)
SIM_Internet::DownloadFile ends
gratuitousspacebattles/server/getcampaignchallengehistory.php?&gsbid=4966300
SIM_Internet::DownloadFile(C:\Users\Craig\Documents/My Games/GratuitousSpaceBattles/web/challenges/campaignoutcomes.txt)
SIM_Internet::DownloadFile ends
[/code]

DrawDebug.txt complete contents:

Initialising 3D Engine in fullscreen mode Driver : nvd3dum.dll Description : NVIDIA GeForce 9200M GS DeviceName : \\.\DISPLAY1 Getting fullscreen refresh rate Found 8 adapter modes at 1280 x 800 Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Found adapter modes at 1280 x 800 refresh[60] Using 60 as refresh rate Checking For Shader Support NumSimultaneousRTs:4 hal_caps.PixelShaderVersion >= D3DPS_VERSION(2, 0) About to Create 3D Device with width: 1280 and height : 800 Attempting hardware Vertex Processing Finished initialising 3D Engine Initialising Render target of 512 X 512 rt_ship rt_ship Initialising Render target of 2048 X 1024 rt_offscreen1 rt_offscreen1 Initialising Render target of 2048 X 1024 rt_offscreen2 rt_offscreen2 Initialising Render target of 2048 X 1024 rt_transition rt_transition Initialising Render target of 2048 X 1024 rt_distortion rt_distortion Initialising Render target of 2048 X 1024 rt_selection rt_selection campaign_title_2048.bmp cwfont20.dds zekton16.dds debris.dds contrails.dds escapepod.dds escapepodengines.dds shield_impact.dds client_interlace.dds dialog_client.dds 19px_highlight.dds 19px_highlight_black.dds smokeclouds.dds runninglight.dds shield_collapse.dds border_depth.dds box_background.jpg textbutton.dds textbutton_h.dds teaser.bmp circular_wipe.dds dialog_titlebar.dds button_close.dds button_close_h.dds gui_scrollup.dds gui_scrollup_h.dds gui_scrolldown.dds gui_scrolldown_h.dds andromeda.jpg hexpattern.dds star.dds camp_cpl_bottom.dds camp_cpl_bottom_buttons.dds wormhole.dds menu_backdrop.jpg gui_dragbutton.dds planet_unknown.dds encounter_icon.dds facility_smallfactory.dds campaign_icons.dds territory.dds planet_indicator.dds map_indicator.dds satelite.dds facility_smallacademy.dds facility_shipyardb.dds facility_largefactory.dds facility_largeacademy.dds facility_repairyard.dds facility_mediumfactory.dds spindle_planet1.dds spindle_planet10.dds spindle_planet12.dds spindle_planet13.dds facility_shipyarda.dds spindle_planet14.dds spindle_planet15.dds facility_shipyardc.dds spindle_planet16.dds spindle_planet17.dds spindle_planet18.dds spindle_planet19.dds spindle_planet2.dds spindle_planet20.dds spindle_planet3.dds spindle_planet4.dds spindle_planet5.dds Federation Eagle Cruiser.dds spindle_planet6.dds spindle_planet7.dds spindle_planet8.dds spindle_planet9.dds wormhole_ships.dds attack_arrow.dds tooltip.dds battleicon.dds camp_bd7.jpg Tribe Paradise Cruiser.dds Tribe Utopia Cruiser.dds Tribe Serenity Fighter.dds square_box.dds square_box_h.dds Federation Leopard Fighter.dds Federation Buffalo Cruiser.dds Federation Fox Frigate.dds campaign_backdrop.bmp deployment_range.dds checkbox.dds progress_bar.jpg target_painter_beam.dds turrets_federation.dds plasma.dds lightning.dds repairbots.dds shield_blast.dds shield_scroll.dds shield_blast2.dds normal_shield.dds shield_distortion2.dds armourglow.dds radiation.dds Federation Buffalo Cruiser_damaged.dds particles.dds engineglow.dds engine_colors.dds Federation Buffalo Cruiser_hulk.dds breakup_alpha.dds turret_blast_red.dds beam_red_atlas.dds beam_green_atlas.dds beam_greenish_atlas.dds ecmshockbeam.dds Federation Eagle Cruiser_damaged.dds Federation Eagle Cruiser_hulk.dds turret_blast_yellow.dds Federation Fox Frigate_damaged.dds Federation Fox Frigate_hulk.dds Federation Leopard Fighter_sprite.dds federation_hulks.dds turrets_tribe.dds alliance_shield.dds Tribe Paradise Cruiser_damaged.dds tribe_engineglow.dds Tribe Paradise Cruiser_hulk.dds kinetic_blast.dds Tribe Utopia Cruiser_damaged.dds Tribe Utopia Cruiser_hulk.dds Tribe Serenity Fighter_sprite.dds tribe_hulks.dds minimap.dds battle_buttons.dds fleet_overlay_icon.dds gui_target.dds green_score.dds red_score.dds missile_flare.dds missile.dds bullets.dds target_overlay_line.dds range_marker.dds


#6

The only way to get a more detail is to run the Debug version which only Cliff can send.

Questions:

  • When you retreat do you select OK or View Statistics ?
  • Are there any other battles that are about to take place ?
  • Did you lose ships ?

When you say crashed almost immediately, where abouts exactly ?

For example when I hit the retreat Button

  • The count down timer starts and all the ships execute an about face
  • Since all ships have a speed greater than 0.15 they all escape before the timer hits zero.
  • Once I have retreated from battle I have an option to select OK or View Statistics ?

#7

As best I recall, it doesn’t change when there are other battles about to take place.

It doesn’t even get to the point of choosing OK or View Statistics.

The most recent save at the point of the crash is from before the battle, so in that sense, I don’t lose ships.

When I hit the retreat button, the countdown timer starts and ships begin to about-face.

Sometimes, some escape.

When two to ten seconds have run off the timer, assuming that ships remain in play, the game abruptly crashes to desktop.


#8

The best solution for this is to wrap up all of your \my games\gratuitous space battles folder (unless its full of screenshots, pls don’t include them!) into a zip file and email me a link to the zip at cliff AT positech.co.uk (gmail might filter out the zip otherwise, or just rename it).
I can then launch one of your campaigns and get the crash to happen in debug (hopefully).
It could be bad data in a challenge somewhere in your campaign.


#9

E-mail sent. I sent the “test” version of my game directory, which is much trimmed down. If it doesn’t go through, I’ll try to find somewhere to host it.


#10

Tentatively, the fix was to download a fresh install package for the base game and re-install. I was doing it to get the shield support beam, and it looks like something relating to retreating was having similar issues of not having been patched and/or not having been installed in a patch.