Changeset 239 for scripts/usr/local


Ignore:
Timestamp:
Jul 3, 2015, 4:16:25 PM (9 years ago)
Author:
alloc
Message:

Scripts for A12

Location:
scripts/usr/local/lib/7dtd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/VERSION

    r236 r239  
    1 Version: 88
    2 Release: 2015-06-12
    3 DediBuild: 658147
     1Version: 89
     2Release: 2015-07-03
     3DediBuild: ???
    44
  • scripts/usr/local/lib/7dtd/commands/updateengine.sh

    r231 r239  
    8585                ./steamcmd.sh +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine +app_update 294420 validate +quit
    8686
    87                 cp $SDTD_BASE/engine/7DaysToDie_Data/Managed/Assembly-CSharp.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/Assembly-CSharp.dll_orig
    8887                cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/ -R
    8988
  • scripts/usr/local/lib/7dtd/serverconfig.sh

    r204 r239  
    320320
    321321
    322 serverconfig_DisableNAT_QueryName() {
    323         echo "Disable NAT"
    324 }
    325 serverconfig_DisableNAT_Type() {
    326         echo "boolean"
    327 }
    328 serverconfig_DisableNAT_Default() {
    329         echo "true"
    330 }
    331 serverconfig_DisableNAT_ErrorMessage() {
    332         echo "Not a valid boolean given (true/false or yes/no or y/n)."
    333 }
    334 
    335 
    336 
    337 
    338322serverconfig_DropOnDeath_QueryName() {
    339323        echo "Drop on Death"
     
    455439
    456440
    457 serverconfig_NightPercentage_QueryName() {
     441serverconfig_DayLightLength_QueryName() {
    458442        echo "Night percentage"
    459443}
    460 serverconfig_NightPercentage_Type() {
    461         echo "number"
    462 }
    463 serverconfig_NightPercentage_Default() {
    464         echo "35"
    465 }
    466 serverconfig_NightPercentage_Range() {
    467         echo "10-90"
     444serverconfig_DayLightLength_Type() {
     445        echo "number"
     446}
     447serverconfig_DayLightLength_Default() {
     448        echo "18"
     449}
     450serverconfig_DayLightLength_Range() {
     451        echo "0-24"
    468452}
    469453
     
    629613        for CV in \
    630614                        ServerName ServerPassword ServerIsPublic ServerPort ServerMaxPlayerCount ServerDescription ServerWebsiteURL \
    631                         DisableNAT EACEnabled MaxSpawnedZombies \
     615                        EACEnabled MaxSpawnedZombies \
    632616                        ; do
    633617                $1 $CV
     
    705689        for CV in \
    706690                        CraftTimer LootTimer \
    707                         DayNightLength NightPercentage \
     691                        DayNightLength DayLightLength \
    708692                        ; do
    709693                $1 $CV
Note: See TracChangeset for help on using the changeset viewer.