can't start a solo game: connection to server has been lost

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Message
Author
yohann
Space Krill
Posts: 5
Joined: Tue Mar 18, 2014 8:36 pm

can't start a solo game: connection to server has been lost

#1 Post by yohann »

i use v0.4.3+ [SVN 6981] CMake on archlinux installed via AUR (freeorion-svn)


after i try to launch a solo game, i get the genérating universe message, then another message and the a window "connection to server has been lost" and i got back to the main menu.


here are the logs:

freeoriond.log

Code: Select all

...
2014-03-18 21:31:59,569 DEBUG Server : Special SUPERCONDUCTOR_SPECIAL added to Atria β III
2014-03-18 21:31:59,570 DEBUG Server : Special STARSPAWN_NEBULA_SPECIAL added to Hyades
2014-03-18 21:31:59,570 DEBUG Server : Special STARSPAWN_NEBULA_SPECIAL added to Normalus
2014-03-18 21:31:59,570 DEBUG Server : Special DERELICT_SPECIAL3 added to Triumph
2014-03-18 21:31:59,576 DEBUG Server : Special STARSPAWN_NEBULA_SPECIAL added to Jophekka
2014-03-18 21:31:59,585 DEBUG Server : Growth Special Summary:
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: CRYSTALS_SPECIAL to 8 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: FRUIT_SPECIAL to 3 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: ELERIUM_SPECIAL to 3 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: MINERALS_SPECIAL to 6 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: MONOPOLE_SPECIAL to 1 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: POSITRONIUM_SPECIAL to 1 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: PROBIOTIC_SPECIAL to 5 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: SPICE_SPECIAL to 2 planets
2014-03-18 21:31:59,585 DEBUG Server : ... Applied Special: SUPERCONDUCTOR_SPECIAL to 3 planets
2014-03-18 21:31:59,585 DEBUG Server : Applying first turn effects and updating meters
2014-03-18 21:31:59,690 DEBUG Server : Issue times: planet species: 0.465 ship species: 0.098 specials: 1.494 techs: 5.207 buildings: 0.125 hulls/parts: 1.777 fields: 6.327
2014-03-18 21:31:59,690 DEBUG Server : Evaluation time: 119.28 reorder time: 1.471
2014-03-18 21:31:59,722 DEBUG Server : Universe::ExecuteEffects time: 12.111
freeorion.log

Code: Select all

2014-03-18 21:31:41,804 DEBUG Client : ProductionWindow:  app-width: 1280 ; windowed width: 1024
2014-03-18 21:31:41,826 DEBUG Client : DesignWnd::MainPanel::ReregisterDesigns
2014-03-18 21:31:43,065 DEBUG Client : Limited FPS to 60
2014-03-18 21:31:43,090 DEBUG Client : HumanClientApp::HumanClientApp window size: 1280x1024 at 0x0
2014-03-18 21:31:43,112 DEBUG Client : OpenGL Version Number: 2.1
2014-03-18 21:31:43,120 DEBUG Client : (HumanClientFSM) IntroMenu
2014-03-18 21:31:43,120 DEBUG Client : HumanClientApp::KillServer()
2014-03-18 21:31:43,120 DEBUG Client : ClientNetworking::SetPlayerID: player id set to: -1
2014-03-18 21:31:43,283 DEBUG Client : HumanClientApp::HandleFocusChange()
2014-03-18 21:31:43,283 DEBUG Client : HumanClientApp::HandleFocusChange()
2014-03-18 21:31:43,283 DEBUG Client : HumanClientApp::HandleFocusChange()
2014-03-18 21:31:43,395 DEBUG Client : HumanClientApp::Enter2DMode()
2014-03-18 21:31:45,279 DEBUG Client : HumanClientApp::StartServer: /usr/bin/freeoriond
2014-03-18 21:31:49,898 DEBUG Client : ClientNetworking::ConnectToServer : attempting to connect to server at 127.0.0.1
2014-03-18 21:31:49,898 DEBUG Client : tcp::resolver::iterator host_name: 127.0.0.1  address: 127.0.0.1  port: 12346
2014-03-18 21:31:49,905 DEBUG Client : ClientNetworking::ConnectToServer : connected to server
2014-03-18 21:31:49,905 DEBUG Client : ClientNetworking::ConnectToServer : starting networking thread
2014-03-18 21:31:49,905 DEBUG Client : HumanClientApp::NewSinglePlayerGame : Connected to server
2014-03-18 21:31:49,954 DEBUG Client : (HumanClientFSM) IntroMenu.HostSPGameRequested
2014-03-18 21:31:49,954 DEBUG Client : (HumanClientFSM) ~IntroMenu
2014-03-18 21:31:49,954 DEBUG Client : (HumanClientFSM) WaitingForSPHostAck
2014-03-18 21:31:49,954 DEBUG Client : (HumanClientFSM) WaitingForSPHostAck.HostSPGame
2014-03-18 21:31:49,954 DEBUG Client : ClientNetworking::SetPlayerID: player id set to: 1
2014-03-18 21:31:50,000 DEBUG Client : DesignWnd::MainPanel::ReregisterDesigns
2014-03-18 21:31:50,000 DEBUG Client : (HumanClientFSM) ~WaitingForSPHostAck
2014-03-18 21:31:50,000 DEBUG Client : (HumanClientFSM) PlayingGame
2014-03-18 21:31:50,000 DEBUG Client : (HumanClientFSM) WaitingForGameStart
2014-03-18 21:31:50,342 DEBUG Client : (HumanClientFSM) PlayingGame.TurnProgress
2014-03-18 21:31:56,159 DEBUG Client : (HumanClientFSM) PlayingGame.TurnProgress
2014-03-18 21:32:00,510 DEBUG Client : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to disconnect exception "End of file"
2014-03-18 21:32:00,518 DEBUG Client : HumanClientApp::DisconnectedFromServer
2014-03-18 21:32:00,518 DEBUG Client : (HumanClientFSM) PlayingGame.Disconnection
2014-03-18 21:32:00,518 DEBUG Client : HumanClientApp::EndGame
2014-03-18 21:32:00,518 DEBUG Client : HumanClientApp::EndGame Terminated server process.
2014-03-18 21:32:00,519 DEBUG Client : ClientNetworking::SetPlayerID: player id set to: -1
2014-03-18 21:32:00,525 DEBUG Client : DesignWnd::MainPanel::ReregisterDesigns
2014-03-18 21:32:02,279 DEBUG Client : (HumanClientFSM) ~WaitingForGameStart
2014-03-18 21:32:02,279 DEBUG Client : (HumanClientFSM) ~PlayingGame
2014-03-18 21:32:02,279 DEBUG Client : ClientNetworking::SetPlayerID: player id set to: -1
2014-03-18 21:32:02,279 DEBUG Client : (HumanClientFSM) IntroMenu
2014-03-18 21:32:02,279 DEBUG Client : HumanClientApp::KillServer()
2014-03-18 21:32:02,279 DEBUG Client : ClientNetworking::SetPlayerID: player id set to: -1
2014-03-18 21:32:04,272 DEBUG Client : Initiating Exit (code 0 - normal termination)
2014-03-18 21:32:04,329 DEBUG Client : (HumanClientFSM) ~IntroMenu


and config.xml

Code: Select all

<?xml version="1.0"?>
<XMLDoc>
  <GameSetup>
    <ai-aggression>MANIACAL</ai-aggression>
    <ai-players>6</ai-players>
    <empire-color>0</empire-color>
    <empire-name>Terran Imperium</empire-name>
    <galaxy-age>GALAXY_SETUP_MEDIUM</galaxy-age>
    <galaxy-shape>ELLIPTICAL</galaxy-shape>
    <monster-frequency>GALAXY_SETUP_MEDIUM</monster-frequency>
    <native-frequency>GALAXY_SETUP_MEDIUM</native-frequency>
    <planet-density>GALAXY_SETUP_MEDIUM</planet-density>
    <player-name>Yohann</player-name>
    <seed/>
    <specials-frequency>GALAXY_SETUP_MEDIUM</specials-frequency>
    <starlane-frequency>GALAXY_SETUP_MEDIUM</starlane-frequency>
    <stars>150</stars>
    <starting-species>SP_HUMAN</starting-species>
  </GameSetup>
  <UI>
    <autogenerated-effects-descriptions>0</autogenerated-effects-descriptions>
    <ctrl-border-color>(124,124,124,255)</ctrl-border-color>
    <ctrl-color>(15,15,15,255)</ctrl-color>
    <default-link-color>(80,255,128,255)</default-link-color>
    <detection-range-opacity>3</detection-range-opacity>
    <dropdownlist-arrow-color>(130,130,0,255)</dropdownlist-arrow-color>
    <edit-hilite>(43,81,102,255)</edit-hilite>
    <fleet-selection-indicator-size>1.625</fleet-selection-indicator-size>
    <fleet-supply-line-dot-rate>0.02</fleet-supply-line-dot-rate>
    <fleet-supply-line-dot-spacing>20</fleet-supply-line-dot-spacing>
    <fleet-supply-line-width>3</fleet-supply-line-width>
    <fleet-supply-lines>1</fleet-supply-lines>
    <font>/usr/share/freeorion/default/DejaVuSans.ttf</font>
    <font-bold>/usr/share/freeorion/default/DejaVuSans-Bold.ttf</font-bold>
    <font-size>12</font-size>
    <galaxy-gas-background>1</galaxy-gas-background>
    <galaxy-starfields>1</galaxy-starfields>
    <hotkeys>
      <combat>
        <end_turn>MOD_KEY_LCTRL | MOD_KEY_RCTRL+GGK_RETURN</end_turn>
        <menu>GGK_F10</menu>
        <open_chat>GGK_RETURN</open_chat>
        <zoom_in>GGK_e</zoom_in>
        <zoom_in_alt>GGK_KP_PLUS</zoom_in_alt>
        <zoom_next_idle_unit>GGK_g</zoom_next_idle_unit>
        <zoom_next_unit>GGK_b</zoom_next_unit>
        <zoom_out>GGK_r</zoom_out>
        <zoom_out_alt>GGK_KP_MINUS</zoom_out_alt>
        <zoom_prev_idle_unit>GGK_f</zoom_prev_idle_unit>
        <zoom_prev_unit>GGK_v</zoom_prev_unit>
      </combat>
      <copy>MOD_KEY_LCTRL | MOD_KEY_RCTRL+GGK_c</copy>
      <cut>MOD_KEY_LCTRL | MOD_KEY_RCTRL+GGK_x</cut>
      <map>
        <design>GGK_d</design>
        <end_turn>MOD_KEY_LCTRL | MOD_KEY_RCTRL+GGK_RETURN</end_turn>
        <menu>GGK_F10</menu>
        <open_chat>GGK_RETURN</open_chat>
        <production>GGK_p</production>
        <research>GGK_r</research>
        <return_to_map>GGK_ESCAPE</return_to_map>
        <sit_rep>GGK_n</sit_rep>
        <zoom_home_system>GGK_h</zoom_home_system>
        <zoom_in>GGK_z</zoom_in>
        <zoom_in_alt>GGK_KP_PLUS</zoom_in_alt>
        <zoom_next_fleet>GGK_g</zoom_next_fleet>
        <zoom_next_idle_fleet/>
        <zoom_next_system>GGK_GREATER</zoom_next_system>
        <zoom_out>GGK_x</zoom_out>
        <zoom_out_alt>GGK_KP_MINUS</zoom_out_alt>
        <zoom_prev_fleet>GGK_f</zoom_prev_fleet>
        <zoom_prev_idle_fleet/>
        <zoom_prev_system>GGK_LESS</zoom_prev_system>
      </map>
      <paste>MOD_KEY_LCTRL | MOD_KEY_RCTRL+GGK_v</paste>
    </hotkeys>
    <known-tech>(72,72,72,255)</known-tech>
    <known-tech-border>(164,164,164,255)</known-tech-border>
    <main-menu>
      <x>0.75</x>
      <y>0.5</y>
    </main-menu>
    <map-right-click-popup-menu>0</map-right-click-popup-menu>
    <medium-fleet-button-minimum-zoom>4</medium-fleet-button-minimum-zoom>
    <multiple-fleet-windows>0</multiple-fleet-windows>
    <optimized-system-rendering>1</optimized-system-rendering>
    <queue-width>300</queue-width>
    <researchable-tech>(48,48,48,255)</researchable-tech>
    <researchable-tech-border>(164,164,164,255)</researchable-tech-border>
    <resource-starlane-colouring>1</resource-starlane-colouring>
    <rollover-link-color>(192,80,255,255)</rollover-link-color>
    <scroll-width>14</scroll-width>
    <show-detection-range>1</show-detection-range>
    <show-galaxy-map-scale>1</show-galaxy-map-scale>
    <show-galaxy-map-zoom-slider>0</show-galaxy-map-zoom-slider>
    <show-production-location-on-queue>1</show-production-location-on-queue>
    <sidepanel-planet-max-diameter>128</sidepanel-planet-max-diameter>
    <sidepanel-planet-min-diameter>24</sidepanel-planet-min-diameter>
    <sidepanel-planet-shown>1</sidepanel-planet-shown>
    <sidepanel-width>384</sidepanel-width>
    <small-fleet-button-minimum-zoom>1.5</small-fleet-button-minimum-zoom>
    <sound>
      <alert>/usr/share/freeorion/default/data/sound/alert.ogg</alert>
      <balanced-focus>/usr/share/freeorion/default/data/sound/balanced_select.ogg</balanced-focus>
      <bg-music>/usr/share/freeorion/default/data/sound/artificial_intelligence_v3.ogg</bg-music>
      <button-click>/usr/share/freeorion/default/data/sound/button_click.ogg</button-click>
      <button-rollover>/usr/share/freeorion/default/data/sound/button_rollover.ogg</button-rollover>
      <enabled>1</enabled>
      <farming-focus>/usr/share/freeorion/default/data/sound/farm_select.ogg</farming-focus>
      <fleet-button-click>/usr/share/freeorion/default/data/sound/fleet_button_click.ogg</fleet-button-click>
      <fleet-button-rollover>/usr/share/freeorion/default/data/sound/fleet_button_rollover.ogg</fleet-button-rollover>
      <industry-focus>/usr/share/freeorion/default/data/sound/industry_select.ogg</industry-focus>
      <item-drop>/usr/share/freeorion/default/data/sound/list_select.ogg</item-drop>
      <list-pulldown>/usr/share/freeorion/default/data/sound/list_pulldown.ogg</list-pulldown>
      <list-select>/usr/share/freeorion/default/data/sound/list_select.ogg</list-select>
      <mining-focus>/usr/share/freeorion/default/data/sound/mining_select.ogg</mining-focus>
      <music-enabled>1</music-enabled>
      <music-volume>127</music-volume>
      <planet-button-click>/usr/share/freeorion/default/data/sound/button_click.ogg</planet-button-click>
      <research-focus>/usr/share/freeorion/default/data/sound/research_select.ogg</research-focus>
      <sidepanel-open>/usr/share/freeorion/default/data/sound/sidepanel_open.ogg</sidepanel-open>
      <system-icon-rollover>/usr/share/freeorion/default/data/sound/fleet_button_rollover.ogg</system-icon-rollover>
      <text-typing>/usr/share/freeorion/default/data/sound/text_typing.ogg</text-typing>
      <trade-focus>/usr/share/freeorion/default/data/sound/trade_select.ogg</trade-focus>
      <turn-button-click>/usr/share/freeorion/default/data/sound/turn_button_click.ogg</turn-button-click>
      <volume>255</volume>
      <window-close>/usr/share/freeorion/default/data/sound/window_close.ogg</window-close>
      <window-maximize>/usr/share/freeorion/default/data/sound/window_maximize.ogg</window-maximize>
      <window-minimize>/usr/share/freeorion/default/data/sound/window_minimize.ogg</window-minimize>
    </sound>
    <starlane-core-multiplier>4</starlane-core-multiplier>
    <starlane-thickness>2</starlane-thickness>
    <stat-decrease-color>(255,0,0,255)</stat-decrease-color>
    <stat-increase-color>(0,255,0,255)</stat-increase-color>
    <state-button-color>(0,127,0,255)</state-button-color>
    <swap-mouse-lr>0</swap-mouse-lr>
    <system-circle-size>1</system-circle-size>
    <system-circles>1</system-circles>
    <system-fog-of-war>1</system-fog-of-war>
    <system-fog-of-war-spacing>4</system-fog-of-war-spacing>
    <system-icon-size>14</system-icon-size>
    <system-name-unowned-color>(160,160,160,255)</system-name-unowned-color>
    <system-selection-indicator-fps>12</system-selection-indicator-fps>
    <system-selection-indicator-size>1.625</system-selection-indicator-size>
    <system-tiny-icon-size-threshold>10</system-tiny-icon-size-threshold>
    <tech-layout-horz-spacing>1</tech-layout-horz-spacing>
    <tech-layout-vert-spacing>0.75</tech-layout-vert-spacing>
    <tech-progress>(40,40,40,255)</tech-progress>
    <tech-progress-background>(72,72,72,255)</tech-progress-background>
    <text-color>(255,255,255,255)</text-color>
    <tiny-fleet-button-minimum-zoom>0.75</tiny-fleet-button-minimum-zoom>
    <title-font>/usr/share/freeorion/default/DejaVuSans.ttf</title-font>
    <title-font-size>12</title-font-size>
    <tooltip-delay>100</tooltip-delay>
    <unowned-starlane-colour>(72,72,72,255)</unowned-starlane-colour>
    <unresearchable-tech>(30,30,30,255)</unresearchable-tech>
    <unresearchable-tech-border>(86,86,86,255)</unresearchable-tech-border>
    <window-quickclose>0</window-quickclose>
    <wnd-color>(35,35,35,240)</wnd-color>
    <wnd-inner-border-color>(192,192,192,255)</wnd-inner-border-color>
    <wnd-outer-border-color>(64,64,64,255)</wnd-outer-border-color>
  </UI>
  <app-height>1024</app-height>
  <app-height-windowed>768</app-height-windowed>
  <app-left-windowed>0</app-left-windowed>
  <app-top-windowed>0</app-top-windowed>
  <app-width>1280</app-width>
  <app-width-windowed>1024</app-width-windowed>
  <autosave>
    <limit>10</limit>
    <multiplayer>0</multiplayer>
    <single-player>1</single-player>
    <turns>1</turns>
  </autosave>
  <checked-gl-version>1</checked-gl-version>
  <color-depth>32</color-depth>
  <combat>
    <enable-glow>1</enable-glow>
    <enable-lens-flare>1</enable-lens-flare>
    <enable-skybox>1</enable-skybox>
    <filled-selection>0</filled-selection>
  </combat>
  <external-server-address>localhost</external-server-address>
  <fullscreen/>
  <fullscreen-monitor-id>0</fullscreen-monitor-id>
  <limit-fps>1</limit-fps>
  <log-level>DEBUG</log-level>
  <max-fps>60</max-fps>
  <multiplayersetup>
    <host-address>localhost</host-address>
    <player-name>Human_Player</player-name>
  </multiplayersetup>
  <reset-fullscreen-size>0</reset-fullscreen-size>
  <resource-dir>/usr/share/freeorion/default</resource-dir>
  <save-dir>/home/yohann/.freeorion/save</save-dir>
  <show-fps>0</show-fps>
  <stringtable-filename>/usr/share/freeorion/default/stringtables/en.txt</stringtable-filename>
  <verbose-logging>0</verbose-logging>
  <verbose-sitrep>0</verbose-sitrep>
  <version-string>v0.4.3+ [SVN 6981] CMake</version-string>
</XMLDoc>

when launching freeorion from terminal i get :

Code: Select all

~/.freeorion> freeorion 
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
FreeOrion server waiting for network events
freeoriond": /usr/include/boost/thread/pthread/mutex.hpp:108: boost::mutex::~mutex(): Assertion `!posix::pthread_mutex_destroy(&m)' failed.
mainSetupAndRunOgre caught CleanQuit
AL lib: (EE) alc_cleanup: 1 device not closed
fish: Tâche 1, 'freeorion ' terminée par le signal SIGSEGV (Erreur de frontière d'adresse)

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: can't start a solo game: connection to server has been l

#2 Post by Geoff the Medio »

Does this happen every time, or just once?

If every time, could you start the game, and turn on verbose logging in the options, then try again to start a game? If / when it crashes, could you post the logs again? These may be quite a bit larger, so might need to be compressed to upload.
Attachments
verbose logging
verbose logging
verbose.png (22.99 KiB) Viewed 4300 times

yohann
Space Krill
Posts: 5
Joined: Tue Mar 18, 2014 8:36 pm

Re: can't start a solo game: connection to server has been l

#3 Post by yohann »

it happen everytimes
full verbose debug attached

thanks
Attachments
freeorion.tar.gz
full logs
(68.72 KiB) Downloaded 138 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: can't start a solo game: connection to server has been l

#4 Post by Geoff the Medio »

Would you be able to install and test an older build?

It would be useful to know if this issue persists on the most recent build with a number of 6973 or less.

yohann
Space Krill
Posts: 5
Joined: Tue Mar 18, 2014 8:36 pm

Re: can't start a solo game: connection to server has been l

#5 Post by yohann »

sure, so i should install build 6973 ?
lets go for it

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: can't start a solo game: connection to server has been l

#6 Post by Geoff the Medio »

yohann wrote:sure, so i should install build 6973 ?
If there's a build of 6793 available, or you can compile one, yes. If not, the next lower build that is.

SEM
Space Krill
Posts: 1
Joined: Thu Mar 20, 2014 1:12 pm

Re: can't start a solo game: connection to server has been l

#7 Post by SEM »

Getting a similar problem on ubuntu 12.04 (32 bit)

I use the repo at http://www.nagilum.org/repo/ to get updates, and last night was prompted to install 6981. Tried it this morning, and I get the server stop as described above. Happens in single player mode, or when trying to host a multiplayer game on localhost. The previous version from that repo (which I was playing last night before the download) would have been 6956 judging by /var/cache/apt/archives.

DanCorri
Space Krill
Posts: 1
Joined: Sun Mar 23, 2014 3:57 am

Re: can't start a solo game: connection to server has been l

#8 Post by DanCorri »

I'm having the same problem with starting a game but I'm using Win 7. Everything goes ok until I click the button to begin a game and then almost straight away it pops up a message saying the connection to the server has been lost. Very frustrating. :(

yohann
Space Krill
Posts: 5
Joined: Tue Mar 18, 2014 8:36 pm

Re: can't start a solo game: connection to server has been l

#9 Post by yohann »

hello, sorry for the long silence,
it took me a fair amount of time to compile from svn but the build 6793 works well:
i have a problem because i get place holders instead of strings but i think it's because i didnt run make install after the compilatino, but i can start a game).

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: can't start a solo game: connection to server has been l

#10 Post by Geoff the Medio »

Could you also try the latest SVN, but before starting the game, go into the options, Other tab, and set the effects processing threads to 1?

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: can't start a solo game: connection to server has been l

#11 Post by Dilvish »

yohann wrote:i have a problem because i get place holders instead of strings but i think it's because i didnt run make install after the compilation, but i can start a game).
Sounds like you built the new version in a different location than you had before, and so the options file is still pointing to the old location. You are correct that it would be updated if you ran cmake again, but that also resets all the other options, which you might not want. If you wanted to avoid that you could manually change the directory locations via the options window. The font and stringtable location are specified in the UI tab of the options window, and then there is also a separate "Directories" tab in the options window that specifies the main content location.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

yohann
Space Krill
Posts: 5
Joined: Tue Mar 18, 2014 8:36 pm

Re: can't start a solo game: connection to server has been l

#12 Post by yohann »

the last svn (7002) have the same error : connection to server has been lost after world generation.
even after i setted the thread number tu 1 in the other option tab

edit: i'm totally lost now, i tried to reuse the build 6973 and forgot to recompile before lanching the game : string errors are back but no more connection to the server has been lost

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: can't start a solo game: connection to server has been l

#13 Post by Dilvish »

yohann wrote:edit: i'm totally lost now, i tried to reuse the build 6973 and forgot to recompile before lanching the game : string errors are back but no more connection to the server has been lost
if you already have 6973 built and installed in a different directory tree, then you shouldn't have to rebuild; you could just run cmake from the 6973 directory to rest the config.xml (should no need to recompile afterwards), or manually adjust the paths in the UI and Directories Options tabs, or also I think simply deleting config.xml should cause it to get rebuilt the next time FO is run. So I'm hopeful you don't need to stay lost :)
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

planetbaker
Space Floater
Posts: 29
Joined: Sun Jan 24, 2010 11:42 am
Location: Sol d

Re: can't start a solo game: connection to server has been l

#14 Post by planetbaker »

I get the same error in r7001 and r7005. With r6973 the game starts and for a single player game the connection to the server is not lost for me.

(btw, the displayed svn version within the game is not properly updated when I use svn up -rXXXX && make)
Unless stated explicitly and differently, any patches or artwork I should post in this forum are licensed under GPL v2 or - at your discretion - any later version of the GPL.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: can't start a solo game: connection to server has been l

#15 Post by Dilvish »

planetbaker wrote:(btw, the displayed svn version within the game is not properly updated when I use svn up -rXXXX && make)
the version needs to be updated by cmake to update the file used by make, so try running cmake after the svn up -rXXXX.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply