Started by jamespetts, December 05, 2017, 09:03:46 PM
0 Members and 1 Guest are viewing this topic.
Quote from: jamespetts on January 09, 2020, 06:44:43 PMThat is useful to know. May I ask what the performance is like once you do manage to login?
Quote from: CK on January 09, 2020, 07:11:20 PMSluggish, to summarise.
Quote from: jamespetts on January 09, 2020, 07:55:19 PMThank you. Are you able to elaborate on this; is it unresponsive to commands; is the speed inconsistent; are there regular pauses? The particular type of sluggishness can help to narrow down how best to deal with a high load.
Quote from: CK on January 09, 2020, 08:28:32 PMThe speed appears to be consistent, but the pauses are regular, and the game is occasionally unresponsive to commands.
root@438242:~# cat rotate-backup.sh# Rotation and backup script for the Simutrans-Experimental server# Written by James E. Petts, December 2012# Modified September 2018 to add thd date/time# This script is designed to:# (1) check whether the saved game has been modified in the last hour;# (2) if it has not, run the force-sync command;# (3) check again whether the saved game has been modified in the last hour# (the force-sync command might or might not modify it depending on whether -# (a) Simutrans-Experimental is running; and# (b) there are any players connected); and# (4) if it has, rotate the saved games using the rotate.sh script.echoecho "******"echoecho "Running the backup and rotation script..."echoecho "The current date and time is"dateechoSAVEGAME="/usr/share/games/simutrans-extended/server13353-network.sve"# Check that the server saved game exists at allif [ ! -e $SAVEGAME ]thenecho "Error: saved game not found at $SAVEGAME"echoexit 1fi# Check the current time and the last modification time of the saved game file# Use Unix time (seconds since 1 Jan. 1970)NOWTIME=$(date +%s)NOWTIME_FRIENDLY=dateSAVEMODTIME=$(stat -c %Y $SAVEGAME)SAVEMODTIME_FRIENDLY="stat -c %y $SAVEGAME"HOURAGO=$(expr $NOWTIME - 3600)HALFHOURAGO=$(expr $NOWTIME - 1800)echo "Current time:"$NOWTIME_FRIENDLYechoecho "Game last saved:"$SAVEMODTIME_FRIENDLYecho# Check whether the saved game was modified more than an hour agoif [ $HALFHOURAGO -gt $SAVEMODTIME ]thenecho "The game was last saved more than half an hour ago. Run a force sync."echo/root/force-sync.sh# Check again whether the saved game was modified more than an hour ago.# But first, wait two minutes, as it might take a while to execute the# force-sync command.sleep 120elseecho "The game was last saved within half an hour - do not run a force sync."echofiNEWSAVEMODTIME=$(stat -c %Y $SAVEGAME)if [ $HOURAGO -gt $NEWSAVEMODTIME ]thenecho "The game was not updated with a force-sync. Either the server is not running, or no clients are connected."echoexit 2elseecho "The saved game has been updated in the last hour. Rotate the backups."echo/root/rotate.shfisync
# Shell script to run a force-sync on the running Simutrans-Experimental server# Written by James E. Petts, December 2012# Modified September 2018 to add the date/time for logging purposesecho "Running a force-sync..."dateecho/usr/share/games/simutrans-extended/nettool -s bridgewater-brunel.me.uk -p [PASSWORD REDACTED] clientsecho/usr/share/games/simutrans-extended/nettool -s bridgewater-brunel.me.uk -p [PASSWORD REDACTED] -q force-syncsleep 3msync
Quote from: freddyhayward on February 01, 2020, 10:51:04 PMHopefully this link works:
Quote from: VOLVO on May 14, 2020, 04:21:44 AMWow, haven't been able to do anything to the company for a very long time due to hardware unable to cope, almost forgot how the network looks like.The Circular line hardly see any passengers since the opening of the underground lines. Blandinglow line is even worse, but that's what they call community service I guess.
Quote from: freddyhayward on May 14, 2020, 06:17:47 AMOut of interest, how do you know this? were you a player on the server, perhaps the founder of the BTG? did you open a downloaded save, or is this from memory? what time period was this?
Quote from: VOLVO on May 14, 2020, 01:57:08 PMThe company founder is nuhgl, who has disappeared for a very long time, then I took over the company in 190x I think, then until 195x I couldn't connect to the server reliably anymore.Also the company has become a bit too big to manage. The modernisation of using modern signal boxes and signal systems, modern rolling stock and high speed tracks has took me ages.I don't have a local save copy anymore unfortunately.
Quote from: jamespetts on May 16, 2020, 10:38:27 AMThis game has now been terminated and replaced with a new game on this server, starting in 1750 and with plenty of industry. The save for this game in its final, May 2004 state can be downloaded here.
Quote from: VOLVO on May 17, 2020, 03:23:35 AM1.3GB of savegame. No wonder I couldn't connect.
Quote from: jamespetts on May 17, 2020, 11:27:11 AMThe new map has been made with considerably fewer towns, so hopefully the saved game size should remain manageable.