UT2Vote: Game and Map Recovery

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Gioggiolo

New Member
Jun 21, 2008
11
0
0
hello again :)
my linux server sometimes crashes, i think because of utcomp... but i need it :(
So, please I would like to know if it's possible to recover the last state of the server before the crash(i mean the game and the map were running before the crash). I found nothing about and atm, after the crash, UT2Vote starts the server with the DefaultGameName and the DefaultMap of that DefaultGameName.

Pls, is that possible?
 

Gioggiolo

New Member
Jun 21, 2008
11
0
0
i thought to make a linux script that replaces the DefaultGameName(and the map) with the last one used before the crash(by looking in the server log)... but so the DefaultGameName could become that i dont want :( because i have the autoswitch to DefaultGameName when the server is empty :(
 
Last edited:

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
Its just the way UT works, it only reads its ini files and scripts at server startup then caches them in memory.
Saving only takes place you you exit the server in the normal manner.
Therefore it will always start with the default map and game regardless.
 

tdw-socke

Member
Nov 21, 2003
994
0
16
hmm, but making a linux-script in that way could work. You need to add some if/then/else requests, to check if the last gametype/map is on your blacklist ;)

don't ask me how to do that, but shell-scripts can do a lot of things, as long as the ut-server is not started :)
 

Gioggiolo

New Member
Jun 21, 2008
11
0
0
thank you
yesterday i made the script. It catches from the server.log the last commandline excuted by the server and so it restarts the server from the last status(map and settings). :)

Now I'm trying the Tickrate mutate, but can i use it through "Voting GameConfig"?
I added it in the Mutators list of the GameProfile and then i added ?Tickrate=50 in the Options field, but the tickrate remains 35 :(
This is my options line:
PlayersBalanceTeams=False?BalanceTeams=False?AllowBehindView=True?AllowWeaponThrowing=True?MaxIdleTime=120?MaxPlayers=12?MaxSpectators=4?TimeLimit=999?AllowTaunts=True?Tickrate=50
 

Gioggiolo

New Member
Jun 21, 2008
11
0
0
i don't know what,when and how happened, but it worked. Yesterday i tried the command "inject userflag 1" and the tickrate was 50.
This is a mystery :D I will make some tests to understand what happened :)