Posted: Thu Apr 28, 2005 11:06 pm Post subject: "latest serverdoc.exe" info
This thread will contain news on the changes to the latest serverdoc.exe when it has been uploaded. Those who wish to receive updates to this thread click on the "watch this topic for replies" link at bottom of page (Because updates to serverdoc.exe can happen often I'd rather not send emails out every time a change is made or newer serverdoc.exe uploaded - would feel like spam . Emails will be sent about version releases. )
If you have a question please ask it in a new thread, via email or instant message (icq/msn etc)
Last edited by sanderso on Fri Apr 29, 2005 5:58 am; edited 2 times in total
I'll just over the last few releases starting at V0.83b
V0.83b Added command line editing (CD pro)
You can now allow clients restricted access to edit parts of the command line. Spaces can not be in submitted values (stops extra values being entered). In those cases where you wish to allow spaces use the keyword *SDCOMMANDLINE*
c:\server\ucc server *SDMYKEY=spacesnotallowed* ini=UT2004.ini
c:\server\ucc server *SDCOMMANDLINE=spaces are allowed* ini=UT2004.ini
Please see user guide for more info
Added /SC command option (saves command line changes to wwwconfig.cfg) Also see LOAD option below.
Starting serverdoc with command line option /SC will save the command line to the RUN line in wwwconfig.cfg. This allows serverdoc on startup to run the command line it was last running (ie server reboots, power fail). When used together with the "load" command this allows you to save current command line when offering multiple command lines or command line editing.
setting it up:
First edit your wwwconfig.cfg (menu - config - remote access) add the run line, example
RUN C:\server\hlds.exe -console -options
Now start serverdoc with:
SERVERDOC.EXE /SC LOAD
Added LOAD command option (loads command from wwwconfig.cfg) Also see /SC option above.
When used with the /SC option will load the command line listed on the "run" line in wwwconfig.cfg
user me me
Any changes to the command line will be saved to wwwconfig.cfg - on next startup the saved command line will be used.
Added "OPEN" button - to show more info
Shows more info in the serverdoc window, more will be added over time.
Fixed problem with serverdoc not fully closing when closed.
Fixed a remote console bug.
Fixed wwwconfig.cfg bug (saving command line).
Fixed bug - Form post start/stop now working again.
Added more hlds crash detection.
Last edited by sanderso on Fri Apr 29, 2005 5:31 am; edited 1 time in total
Added <SD_APP_program.exe> condition to template system (SD PRO)
This works like the other conditions, program.exe is the .exe filename in command line.
for example, in template.html
<SDSERVERRUNNING><img src="http://mywebserver/greenlight.gif"></SD> shows greenlight.gif if the server is running,
<SD_APP_HLDS.EXE><img src="http://mywebserver/hldsicon.gif.gif"></SD> shows hldsicon.gif if the exe serverdoc is running is hlds.exe
Added maxclients/private server (SD pro)
Enforce private servers and / or maxclient settings, will restart a server to return to correct settings if client changes the server out side what they are allowed (ie, paid for a 15 slot but via rcon made it a 20 slot). Query checks must be enabled (see below), Contact me to check / add support for a game.
Added "busy" file templatebusy.html (SD PRO)
replaces the "serverdoc is busy" page to fully brand your serverdoc as your own. Ensure you have
<meta http-equiv="refresh" content="5;url=/">
between the <head> and </head> of the html. Save in same directory as template.html
Added Cancel option when quitting serverdoc from taskbar
Added "User *AutoName* *NoPassword*" in wwwconfig.cfg = no user/pass reqd
Good for showing off your remote control panel to clients without needing a user/pass.
Added new template keyword - *SDIP* (IP addy from wwwconfig.cfg) (SD PRO)
Displayes the IP address listed in wwwconfig.cfg on the html page.
Added SRCDS.EXE, SOF2MP.EXE query checks
Contact me if you would like support for a .exe added.
Updated COD/CODUO query checks
Query checks add a second line of defence in detecting crashed/frozen servers. They also allow extra features such as enforcing max players and/or private servers. If you are not using the default port and IP these must be set on the command line, ie for hlds.exe
hlds.exe +port 20200 +IP 220.127.116.11
Click "open" in serverdoc window to see query status. SD pro is required if binding to an IP.
Fixed error if wwwconfig.cfg did not exist
Fixed past history search not quite getting full year - FIXED
When starting serverdoc with no command line serverdoc looks in schedule.txt file to see what command would of been running last, and runs it.
Last edited by sanderso on Fri Apr 29, 2005 6:24 am; edited 1 time in total
V0.85b Added new "update serverdoc" - now works with multiple instances. Update serverdoc without stopping your servers
Update option now allows you to upgrade serverdoc.exe when there are multiple instances running from the single .exe, just download serverdoc and save the serverdoc.exe as serverdoc.bin in the serverdoc directory and select update.
Added Show window to Menu - Easy locate the window serverdoc is running.
Great when running a lot of servers and trying to find the window serverdoc is running. Selecting show window will show and flash the window serverdoc is running.
Added Webserver start up problem no longer displays pop-up box but continues to try and start webserver every 60sec.
Bind problems now notified in serverdoc window and do not require interaction. Serverdoc will continue to try and open port for webserver.
Added Trayicon now returns on explorer crash.
Serverdoc tray icon now returns once explorer is restarted if explorer crashes.
Added /restart url - performs a stop and start (remote control)
Added SYSTRAY idstring - in wwwconfig.cfg is shown in taskbar text.
Make it easier to keep track of serverdoc's and servers by giving serverdoc a ID tag. This might be a username, number or other id string.
SYSTRAY Client #0330
would show with mouse over tray icon:
Added Serverdoc control over Linux servers now back in and working.
Enter details of linux server in serverdoc config and prefix the command with LX:
Added Taskbar icon now warns if Serverdoc will soon expire.
Changed - restart delay only effects START in schedule. Changed - Vietcong was being wrongly detected as crashed (may effect other games, contact me). Fixed network event problem that could lead to remote access to fail.
Added remote file editing, can also restrict access to single variables in file. (sd pro)
See userguide for info. (Here)
Added BF2SERVERSETTINGSFILE command in wwwconfig.cfg, selects the .con file to use for BF2
If using the retail version of BF2 as a server you will need to tell serverdoc the location of your serversettings.con file, this is done in wwwconfig.cfg
Added *sdautomap* keyword - restart game server on the map that was being played.
Serverdoc can now restart the server on the map that was being played. Example - if your command line is
c:\server\hlds.exe -console +map datacore
change it to:
c:\server\hlds.exe -console +map *sdautomap=datacore*
The sdautomap value will be updated with current map being played. Ensure query checks are enabled in serverdoc config.
Added support for schedule event 99 99 99 99 99 (run on serverdoc startup)
Fixed update problem if serverdoc.exe was in folder path containing space.
Updated Enemy Territory query support - etded.exe (private server & maxclients enforcement).
Added user selectable failed query settings to trigger restarting server (# fails etc)
Added auth disable option in wwwconfig.cfg - no user/password prompting (sd pro)
Removes username / password prompting.
Added option to reduce email crash notifications (better for SMS)
Added optional delay on startup (can be used to allow modem to connect on boot etc)
Added schedule event 98 98 98 98 98 (run on application crash)
This will allow you to rotate commands on a crash. This can be used to check for updates when a hl server crashes
Updated pid file[/b]
In older versions if you copied the pid file into a new config folder sdcontrol would think that server was already running if the serverdoc of the source folder was running.
Changed srcds.exe crash detection + added new one
Added Query check restarts auto disable if checks fail after server has been restarted twice.
Added *sdautomap* keyword - restart game server on the map that was being played at time of crash. (SDPro)
Query checks must be enabled for this to work.
Added Query support for Americas Army.
(also fixed a restart bug from 0.86b2.9)
Added Sdcontrol.exe now included with serverdoc.zip
Starting all serverdocs on startup: add a a shortcut to sdcontrol.exe /start in your startup folder
Running server/program with serverdoc - run sdcontrol.exe and click on Add, Create or Select a configuration folder to use then select the server/program to run. Don't forget to add any command line options.
Added disable and enable modes in schedule to enable/disable serverdoc.
This will close the server and remote control panel displays templatedisabled.html. Remote stop/start etc is ignored in disable mode. example schedule.txt
0 9 * * * disable
0 17 * * * enable
Added user AllFromThisHost hostname or ip (case sensitive)- allows connection without user/pass authentication
user AllFromThisHost www.mygames.com
user AllFromThisHost 18.104.22.168
The above config would allow connections from above hosts without http authentication. Great if using the php script to display your serverdocs to clients.
Added more quake2 crash code
Added safe mode fix for cod2 - should stop server "safe mode" prompt
Added /restorecmdline - restores command line from "run" line in wwwconfig.cfg
Added COD2 query support
Added /start-keyword - runs run-keyword line in wwwconfig.cfg
example - if you have the line run-blah c:\blah.exe you can run it via the url http://ipaddress:port/run-blah
Added FEAR query support (fearserver.exe). NOTE: start server "normal", minimized/hidden may cause server startup to fail.
ip/port command line selection for fear server is -bindtoaddr -port
Added Doom3 query checking (+ maxplayer / private server enforcement)
Added query support for halo
Added Restart option when editing command line and files.
Add <INPUT TYPE=hidden NAME="RESTART" value="1"> just before the submit button in the html code.
Added PRERUN wwwconfig.cfg option - will always run this command before starting normal command
Just like the "run" line but this one is ran first when starting the server.
Changed First selection in Dropdown box is now current command.
Changed Free version of serverdoc query checking IP address no longer locked to 127.0.0.1
Fixed schedule day of week now back to values 1 - 7 (opps, was changed to 0-6 in V0.87b1)
Fixed softstart problem - could not disable
Fixed *sdcommandline* keyword (Not sure when I broke that)
Fixed aaops automap problem on SF maps
Fixed self closing issue
Fixed bug with forms using post method
Fixed issue with url encoding
Fixed strange bug - query checks where being enabled when they shouldn't of been
Fixed Date format issues (i think?)
Fixed | and ^ problem with file editing
Serverdoc V89b Added BANNEDINPUT \filename to wwwconfig.cfg - list of words to be ignored in command line edit.
used when you don't want clients to enter things like +maxplayers on full cmd line edit.
Added Maxclients enforcemt for ucc.exe command line ?maxplayers=
Added Auto add -console to command line if missing.
Added PID display ("Program running (pid)"
Added Serverdoc.log now trimmed to 2000 lines daily.
Added Vietcong2 query support (needs testing)
Added a Halo crash window detection
Added CODUOMP.EXE safe mode fix
Added <SDPAGE=pagename> condition and /page-pagename url.
You can now load different template files and/or use the <SDPAGE=pagename> condition. ie a hyperlink to /page-tem3 will load template-tem3.html (if it does not exist template.html is used) and also the condition <SDPAGE=tem3>(your html)</sd> is true.
Added *SDCEV-keyword* to editfile, replaced with command line keyword value.
With this you can always edit the correct server.cfg in mod folder, example your command line is
hlds.exe -console -game *SDGameMod=cstrike*
editfile servercfg *sdcev-gamemod*\server.cfg *sdcev-gamemod* is replaced with gamemod setting (ie the correct folder!!)
Added template keyword *SDINCLUDE=filename* - reads and include file into template, ie *SDINCLUDE=c:\html\cstrike.html* Changed Increased the size limit when remote editing files.
Fixed COD2 Private server enforcement
Fixed path problem for COD1/2 safe mode.
Last edited by sanderso on Sat Apr 07, 2007 5:33 am; edited 1 time in total
Added WolfMP.exe to query checks
Added single cpu start up for cod/cod2 - possible fix for "change config" start up prompt.
Added keyword *SDPORT* (replaced with port value from wwwconfig.cfg)
Added keywords can now be used in PORT, PRERUN and RUN lines on wwwconfig.cfg
This will allow you to do such things as
run C:\hlserver\hlds.exe +port 2*SDPORT* +ip *SDIP*
The command line executed would be (take note of the 2 before the *sdip*)
C:\hlserver\hlds.exe +port 27001 +ip 192.168.1.22
Added friendly shutdown for bf2ccd.exe so it shuts BF2 server down first
The BattleField2 Command and Control Daemon will now correctly close the BF2 server when closing BF2CCD.
Fixed bug causing SD to crash when starting some programs
Fixed bug with internal command SD_Reinstall.exe
Added show.cmd to show serverdoc window (sdcontrol)
Added Config folder name & Serverdoc ip:port now on subject of emails.
Added internal SD_RUN.EXE command, allows running a .exe from a folder other then current path.
example command: c:\hlserver001\sd_run.exe c:\hlds.exe -console +map bounce
Serverdoc would run c:\hlds.exe from the location c:\hlserver001
Added Quake2,3,4 query checks and private server enforcement.
Added killing process tree
This means you now can use batch files, serverdoc will kill anything the batch file started.
Added ability to stop/start other serverdoc "slaves"
scheduled event 98 98 98 00 xx is run when server starts
scheduled event 98 98 98 01 xx is run when server stops/crashes
(value of xx is 0 to 99)
example: I have two serverdocs running and my config folders are c:\serverdoc\master\ and c:\serverdoc\slave\
If I wanted start the slave serverdoc when master one starts its server I would create the following file - c:\serverdoc\master\schedule.txt
98 98 98 00 00 sdcmdstart c:\serverdoc\slave\
98 98 98 01 00 sdcmdstop c:\serverdoc\slave\
If I wanted the slave serverdoc to stop when the master starts and start when the master stops I would use
98 98 98 00 00 sdcmdstop c:\serverdoc\slave\
98 98 98 01 00 sdcmdstart c:\serverdoc\slave\
Changed hldsupdatetool.exe & sd_reinstall.exe now not saved to "run" line in wwwconfig.cfg
Updated code to save/load configs (faster)
Fixed memory leak in V0.90b04
Fixed runtime error 5 with strange http auth data
Fixed mohaa query problem for maxplayer enforcement.
Fixed Crash problem if the OS blocks serverdoc from receiving network information.
Added ability to define Mailserver port host:port
Added started update code.
Added telnet changes, added prompts for kill command and also "Kein passender Prozess gefunden"
Added telnet changes, added "asswort" and support for ">" prompt
Added fix for COD4 safe mode startup.
Added ports 32768 to 65535 now available to be used for remote access.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum