Script Stats

Soldat Central :: Index > Administrative > View Script

MEMBER LOGIN

Username:

Password:

Remember me?

Not a member? Register now!

Lost Password? Click here

LATEST SCRIPTS

Private Knife Only S... by Mighty

Function ReadLine by Squiddy

Accuracy Script for... by Mighty

TOP SCRIPTS

Curts Script Update... by DorkeyDear

Soldat Portal by MetalWarrior

Unpause Countdown by SpiltCoffee

FEATURED SCRIPTS

- Script of the Week -

Accuracy Script for...

by Mighty

- Script of the Month -

Accuracy Script for...

by Mighty

RECENTLY VIEWED

Curts Script Update... by DorkeyDear

Soldat Portal by MetalWarrior

PredOnSeekerDisarm (... by Timer

QUICK SEARCH

IRC Channel

#soldat.central on QuakeNet


Soldat Top 100
Donate towards my web hosting bill!

Curts Script Update Service by DorkeyDear

Script Name: Curts Script Update Service Add Favorite
Author: DorkeyDear
Release Date: 29th of August 2008 (2 years ago)
Compile Test: Passed
Total Score: 9.2 (12 Ratings) - Ratings -
5
4
3
2
1
Rate Script:
Server Version: 2.6.3
Last View: 8th of September 2010 @ 02:09:06 PM
Last Download: 8th of September 2010 @ 02:09:29 PM

Total Views: 2,875
Total Downloads: 296
Bandwidth: 945.81 KB (estimate)
Total Size: 3.2 KB
   

Script Description
CSUS is a service that automatically updates scripts. This is more of an experimentation, but because it does work, I am releasing it.
Note that this may be a slow process, and keeping the autoupdate.txt file small would be wise.

Requirements:
Safemode must be disabled
GetURL function availability (unavailable when server owner disables it)

Admin Commands:
/update <scriptname>
Updates the specified script if it can

CSUSInfo.ini
This file is used to determine information about the script (depending on where its located) used by this script for updating.
[General]
Name= The name of the script to search for when updating (so you can rename the folder to whatever you wish and it will still work)
Version= The version of the script (0.0 may cause false tests).
CoreVersions= List of core versions supported by this script (delimiter "|").

ignore.txt
A list of files (script determined by it's location) to not update. This is good for configuration and settings files.

To do:
Folder support (using shell_exec (linux/windows differences))
Getting a list of scripts on the server

CSUS Support:
This script is supported by Curts Script Update Service script, which uses the CSUSInfo.ini and ignore.txt files. If you wish to disable the update support of this script, remove these files. If you do not have the CSUS script, removing or renaming these files will have no harm to this script.






Script Contents
Name Size Note
readme.txt 1.55 KB
CSUSInfo.ini 65 B
autoupdate.txt 4 B
Includes.txt 8 B
core.pas 6.85 KB
ignore.txt 26 B





Comments
DorkeyDear
Posted 1 year ago |

Scripter
For those who would like to see a list of scripts on the site, go to http://curt.soldatrs.com/scripts and ignore the .zip files, only the folders themselves are the supported ones..

Spkka
Posted 1 year ago |

very nice idea! i didn't test it but i guess you know what your doing :)

DorkeyDear
Posted 2 years ago |

Scripter
Update:
• Removed an error when the file is blank (caused the disable of recompiling)
• CSUSInfo.ini CoreVersions requires "quotes" around versions (modified all scripts)


Add Comment

Not a member? Register now!




"Most people have the will to win, few have the will to prepare to win."