Script Name: ServerVisits
Script Description Keeps track of daily/weekly/over-all server visits. This script is powered by MySSQL.
Author: CurryWurst (http://forums.soldat.pl/index.php?action=profile;u=10539)
Compile Test: (http://soldatcentral.com/images/pass.gif) Passed
Core Version: 2.6.5
Full Description:
(http://dualcorepower.du.funpic.de/ServerVisits.png)
You may change the weekday when the weekly visits statistic will be set to zero by opening your database and replacing the default weekday with your favorite weekday. The default weekday is always the day when you first started the script on your server. For instance if my weekday is set to Friday all weekly stats will be set to zero on Fridays. Weekdays have to be written in the language of the operating system the soldat server runs on.
Server visits will be displayed all 5 minutes. Edit the interval by changing the following line in the code:
if (Ticks mod (3600 * 5) = 0) then
Visit EnEsCe's help page (http://enesce.com/help/) to understand how ticks are calculated.
The basic idea has been stolen from Curt`s Number of Visits (http://forums.soldat.pl/index.php?topic=18968.0) script.
(http://reauq.com/misc/soldat/sf/buynow.gif) (http://reauq.com/misc/soldat/scripts/ServerVisits+v1.1.zip)