LFA Posted January 19, 2013 Share Posted January 19, 2013 Bug Fixes Capturing a script value was only working if "Save script parameter value" was checked. Fixed game server mover on Linux broken in the previous update. FastDownload.db is always excluded from fast download sync. Removed some code that caused service start errors on Linux. If you keep getting this error stop the monitor and service manager services. Execute "killall mono" and start the services again. Link to comment Share on other sites More sharing options...
Bubka3 Posted January 19, 2013 Share Posted January 19, 2013 Good work! Really loving your increased presence on this forum and faster development cycle! Link to comment Share on other sites More sharing options...
icekohl Posted January 19, 2013 Share Posted January 19, 2013 Really loving your increased presence on this forum and faster development cycle! When is he not here? Luis is a workhorse. Link to comment Share on other sites More sharing options...
CloudCUBE Posted January 19, 2013 Share Posted January 19, 2013 When is he not here? Luis is a workhorse. +1 Everytime he replies to a ticket i just hear Enrique Iglesias - Hero. Capturing a script value was only working if "Save script parameter value" was checked. I was wondering why it wasn't inserting into the script! thankyou. I've done this pretty quickly but i'll share it anyway. just make a custom variable and a custom script. --Custom Script-- @echo off echo zipping the '%ThisService_WorldName%' folder. C:\modules\zip\7za.exe a "C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\%ThisService_WorldName%_backup.zip" "C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\%ThisService_WorldName%" -mx0 -xr!java -xr!plugins -xr!*.jar -xr!*.yml -xr!*.bat echo your file is now available in your root directory '%ThisService_WorldName%_backup.zip' Operating System: Windows (it's a batch command) Batch Prompt for variables values Stop service before executing Execute as the service's user User access --Variable-- Variable Name: WorldName Default Value: Blank - Variable Options Script Parameter User/Admin access Value is required Required message: please select a world Item Type: Combobox Label: Select the world folder you want zipped. Source: File system Filter Type: Directories Exclude Filter: plugins*;java*;config*;coremods*;lib*;miscperipherals*;mods* Item Value and Display: Name Modules needed is 7za command line (http://www.7-zip.org/download.html) You can also change the store options (compression) with -mx 1-9 Enjoy Link to comment Share on other sites More sharing options...
Ben-EdgeGameServers.com Posted January 19, 2013 Share Posted January 19, 2013 Good work! Really loving your increased presence on this forum and faster development cycle! How dare you!! Just messing Link to comment Share on other sites More sharing options...
LFA Posted January 19, 2013 Author Share Posted January 19, 2013 There have been some new bugs caught after yesterday's update. I will upload a new update in a few days. If you want the bug fixes now I added them to the 2.0.70 update. You can update again to get these fixes: The script's stderr wasn't redirected to the browser (errors from executed commands were not being shown) Fixed sharing violation error on Linux when creating the service start script. The web console/log viewer was loading the whole file instead of the last 3KB. --Custom Script-- @echo off echo zipping the '%ThisService_WorldName%' folder. C:\modules\zip\7za.exe a "C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\%ThisService_WorldName%_backup.zip" "C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\%ThisService_WorldName%" -mx0 -xr!java -xr!plugins -xr!*.jar -xr!*.yml -xr!*.bat echo your file is now available in your root directory '%ThisService_WorldName%_backup.zip' Operating System: Windows (it's a batch command) Batch Prompt for variables values Stop service before executing Execute as the service's user User access --Variable-- Variable Name: WorldName Default Value: Blank - Variable Options Script Parameter User/Admin access Value is required Required message: please select a world Item Type: Combobox Label: Select the world folder you want zipped. Source: File system Filter Type: Directories Exclude Filter: plugins*;java*;config*;coremods*;lib*;miscperipherals*;mods* Item Value and Display: Name Modules needed is 7za command line (http://www.7-zip.org/download.html) You can also change the store options (compression) with -mx 1-9 Enjoy Please post that info in the tips & tricks forums. Instead of all this: C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId% use this: %ThisService_RootDirectory% Link to comment Share on other sites More sharing options...
Bubka3 Posted January 19, 2013 Share Posted January 19, 2013 @Luis, can you look into performance for FastDL since the compression update? Files seem to compress longer then they would If I did it manually. I know I pointed this out before compression support and you were able to do major performance improvements. This guy has 3GB of maps and I've been syncing them for about 3 hours now. No, we don't overload our servers. Link to comment Share on other sites More sharing options...
LFA Posted January 20, 2013 Author Share Posted January 20, 2013 The compression speed depends on the .net compression library that we use. I will be adding support for commandline compression tools so you can use any tool you want. You will be able to create uz2 files or anything else with that feature. Link to comment Share on other sites More sharing options...
Bubka3 Posted January 20, 2013 Share Posted January 20, 2013 Alright, any ideas with that exclude files thing bumping the load/save times? Very hard to enable compression with that ... :| Link to comment Share on other sites More sharing options...
LFA Posted January 20, 2013 Author Share Posted January 20, 2013 I haven't checked yet. Link to comment Share on other sites More sharing options...
VoiceServers Posted January 20, 2013 Share Posted January 20, 2013 Just updated , no problems Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now