Dec 212009

New versions of the beta dedicated server and client are now available for testing: 1.5.1c (build 10)

The dedicated server now features an Auto Updater for both Linux and Windows, and it will require extensive testing by server owners. Due to the nature of Linux systems, it may not work under certain circumstances (I am referring to folder and file permissions).

Read the full article for the download links and more details.

The client itself seems to be pretty close to reaching a release candidate state, so if you think I am wrong PLEASE report any major issues on the bug tracker! I am looking for things that definitely can not be in the first release version – minor things can be patched after release using the client updater.

The major features of the Portal are still yet to come. I have been trying to think of a way to implement some kind of “Gather” into the Portal, but haven’t thought of a great way. If anyone has a concept idea, feel free to contact me. Or any kind of useful Portal idea.

Why has the version number changed to 1.5.1 ‘c’ ?
It is because there are vital packet structure changes that were required to fix certain bugs.

Client 1.5.1b -> 1.5.1c Changelog:

- Fixed "Crouch Float" bug
- Fixed InterfaceText/Image custom resolution scaling
- Fixed Flamer weapon stats having invalid icon
- Fixed Spas12 weapon stats being added to Ruger
- Fixed weapon stats 'hits' increasing by bots
- Fixed invalid tooltips on login panel
- Fixed M72 LAW Hits not counting
- Fixed IP field being selected after exiting a game in fullscreen
- Fixed Survival/Realistic game freezes
- Modified pressing escape while typing will now clear chat buffer
- Fixed Registered/Bot icons not working correctly when joining
- Fixed 24 character player names being unable to authenticate

Server 2.7.0b -> 2.7.0c Changelog:

- Added Server Auto Updater for Windows and Linux (BETA)
- Fixed Registered/Bot icons not working correctly when joining a server
- Fixed 24 character player names being unable to authenticate
- Fixed M72 LAW Hits not counting on weapon stats
- Fixed ReadFile script function not working
- Added TagID to RefreshX (Array[1..32] placed after player name, 10 byte string)

Okay, so the server auto updater. You will notice there are 2 new executable files in the server zip, ‘svrupgrader’ (Linux) and ‘svrupgrader.exe’ (Windows). This is where most of the update magical goodness happens. On windows, the auto update should function out-of-the-box, however Linux admins may have to perform some changes to their folder permissions.

In order for updating to work, your entire soldatserver folder have full write access to the user running the server. The update binary (svrupgrader) must have execute permissions. The soldatserver binary won’t need write permissions, since it is deleted and replaced with the new binary.  I recommend recursively setting the permissions to 0666, so things like map .PMS files can be updated too. If you have shell access, you can use this command to set the permissions:

chmod -R 666 /path/to/soldatserver

Here is a rundown of how the update process works.
1) soldatserver checks if update available
2) soldatserver downloads list of updated files and saves to temp text file
3) soldatserver chmod’s svrupgrader to 555
4) svrupgrader is launched in background, server remains running
5) svrupgrader downloads the new files with a temp name, waits until all downloaded then:
6) svrupgrader shuts down the soldatserver process (so it may be written to)
7) svrupgrader moves the downloaded files to their proper destination
8) svrupgrader will chmod all new/updated files to 666, but 555 to soldatserver binary.
9) svrupgrader executes the new soldatserver, update complete.

Before you ask, the startup parameters you originally used to start soldatserver WILL be also be applied to the re-executed soldatserver; and the update will work with non-default server binaries (ex: sldsvr270 instead of soldatserver)

Questions? Comments? Whine about the update method used? Leave a comment or contact me.

8 Responses to “Soldat Beta 1.5.1c + Server Auto Updater”

  1. WhatAHead says:

    Ok…so when is this new version going to come out now? It’s been ages and we haven’t heard any new or content from you regarding the beta progress. If you could just post a bit about it, that would be cool.

  2. VirtualTT says:

    Yet another suggestion would be moving players coordinates data from REFRESHX to another packet. And adding some additional info into it – alive/dead, has flag status. Adding this new packet can be used to organize a proper SolTV.

  3. Mike says:

    NOOOOOOOOOOOO!!!!!!!!!!!! WHY DID YOU FIX THE CROUCH BUG?!?!?!????? Please put it back in as at least optional, cause there were complete mods centered around that! MM didn’t want it removed cause its funny, too!

  4. VirtualTT says:

    It’s nice to see further progress on soldat server development. However i want to point on several issues with soldat server remote administration:
    It’s impossible to get information whether realistic/survival/advance modes are on (and friendly fire as well without command), whether game is paused, whether some weapons are disabled/enabled. Server doesn’t even respond on /pause or /weaponoff commands anyhow… And there is no way to get mapslist or botslist from the server…
    So here are my suggestions:
    1. Adding REQUESTMAPSLIST and REQUESTBOTSLIST raw commands to get mapslist and botslist.
    2. REFRESHX modification:
    - GameStyle byte should also contain gamestate flags
    bits 1,2,3 – gamestyle (0-6)
    bit 4 – paused state (0/1)
    bit 5 – realistic mode on (0/1)
    bit 6 – survival mode on (0/1)
    bit 7 – advance mode on (0/1)
    bit 8 – friendly fire on (0/1)
    - adding new WeaponStates (dword) item that will contain bitflags to indicate current enabled/disabled weapons states
    bit 1 – stat guns are enabled (0/1)
    bits 2, 3, 4 – max nades (0-5)
    bit 5 – desert eagles are enabled (0/1)
    bit 6 – MP5 is enabled/disabled (0/1)

    - adding new BonusStates (byte) item that will contain bitflags to indicate bonus settings
    bits 1,2,3 – bonus frequency (0-5)
    bit 4 – berserk enabled (0/1)
    bit 5 – predator enabled (0/1)
    bit 6 – vest bonus enabled (0/1)
    bit 7 – cluster nades enabled (0/1)
    bit 8 – flame god enabled (0/1)
    - adding new HighestID (byte) item in the beginning of the REFRESHX packet so all arrays in it will have only HighestID items

  5. w0hl says:

    nice thing :) i like the login-thing ^^

  6. SpiltCoffee says:

    Would it be possible to specify when the Server checks for an update? Because it would be a pain for the server to suddenly update and restart during it’s peak period, throwing everyone out of the server (especially if there isn’t a client update to match).

  7. Curt says:

    Nice auto update idea for the server :) There may be problems though when it comes to scripting, as scripting core changes may cause scripts to not work properly, or be unable to compile. Just some ideas are to either 1) have multiple core versions, and somehow allow scripts to choose what core version to use or 2) simply on compile, if unsuccessful, if server.ini’s [NETWORK] ScriptingCompilationFailure=disable, disable that script; if =shutdown (default?), shutdown the server, or 3) ability to separate scripting core from soldat server so that u can update everything except the scripting core (and thus use old versions of core in new versions of server, unless internals of server changed a lo, not sure how that could be made smooth).

Leave a Reply

(required)

(required)

Buy valium uk
Valium without prescription australia
Viagra for sale usa
How to buy viagra in uk
Levitra lowest price
Buy generic valium online
Order cialis online without prescription
Best way to take valium
Non prescription viagra
Order valium cheap
Xanax online without prescription
Buy phentermine hcl without prescription
Xanax 2mg bars
Cialis professional online
Order viagra online canada
Get phentermine without prescription
Where to buy phentermine
Viagra purchase uk
Viagra overnight delivery us
Doses of prednisone
Order tramadol cod
Buy real viagra
Valium overnight delivery
Buy prednisone no prescription
Xanax pills online
Generic phentermine 37.5 without prescription
Viagra free samples
Buying generic viagra
Propecia online
Low price cialis
Tramadol 100 mg
Best place to buy viagra uk
Valium generic
Best generic viagra review
Purchase xanax online without prescription
Buying tramadol in australia
Cheapest viagra professional
Prednisone cheap
Cheap viagra and cialis
Cheap phentermine without a prescription
Xanax pills for sale
Canada cialis online
Buy viagra 100mg online
Generic levitra from india
Buying propecia
Prednisone prescription
Buy cheap viagra uk
Cheap generic xanax
Cheap tramadol overnight delivery
Non prescription cialis
Buy 30mg phentermine
Phentermine hcl 37.5mg
Generic viagra for sale
Cialis over the counter in canada
Levitra uk
Cheap viagra generic
Cheap viagra uk
Australia viagra prescription
Canadian cialis no prescription
Canada viagra online without prescription
Buy xanax bars no prescription
Where can i buy levitra
Xanax
Cheap phentermine no rx
Canadian pharmacy phentermine
Viagra to buy in uk
Viagra india
Cheap viagra in india
Cialis 20 mg tablets
Order xanax cheap
Buy viagra generic
Buy xanax cod
About phentermine 37.5 mg
Purchase valium without prescription
Buy viagra online from canada
Buy cheap tramadol without prescription
Viagra suppliers australia
Prednisone online
Order xanax
Phentermine hcl without prescription
Cheapest place to buy viagra online
Antidepressant tramadol
Online prescription propecia
Generic 2mg xanax
Viagra ordering
Best price for phentermine
Medication phentermine
Cheapest generic viagra online
Viagra prescription free
Generic viagra professional
Viagra online overnight
Cialis online without prescription
Cialis 5mg tablets
Phentermine 37.5mg tablets
Overnight delivery of phentermine
Best generic cialis
Valium prescription uk
Viagra suppliers
Valium online reviews
Valium online without prescription