
sh1ny
Posts: 0
Joined: 06/22/2004
Credibility: 0 pts
|
Since i admin gameservers from alot of time now ( about 5-6 years now ) i am pretty happy with how utcomp does stuff for me :) But there is one thing that i really miss. When i had my QW servers brought back up after several years i've found that ppl have done a great deal of work with serverside recordings there. One cool thing was that the server would execute a custom script after each match end, that had a serverside demo recorded ( that's under linux, anyway running windoze servers sux ). That would allow ppl to put some commands in the server, so the demos would be archived (optionally) and a link for the demo can be put in a mysql db. This is usefull so you can do a simple php page that will list all the demos, recorded on that server. I am pasting a simple example of this :
| CODE |
if [ $1 != 0 ]; then
exit
fi
gzip $2/$3
# example of mysql
# mysql -u mvd -p passtodb -D dema -e \"insert into dema(link, name, server, team1, team2, map, type, nametxt) values('$5', '$3.gz', '$5', '$7', '$8', '$6', '$9', '$4')\"
|
I dont know what limitations does UTScript have, but i am sure it will be very usefull if some of this can be made.
Thnx for the time spend on reading this :)
|
| 06/22/04 18:31 |
Login to rate this user's post! |

dnx3
Posts: 0
Joined: 05/16/2004
Credibility: 0 pts
|
| Re: About Serverside Demorec |
|
|
|
I am not sure about this as I don't code myself, but I do not beleive it's possible to have a mutator modify anything but .ini and .log files, for security reasons.
(You could connect to a server which autodownloads a mutator when then decides to run a del *.* on your /windows/system32 folder, or whatever the -rm equivalent is in linux)
I'm pretty sure this also applies to running any scripts, for the same reasons...
|
| 06/23/04 11:51 |
Login to rate this user's post! |

sh1ny
Posts: 0
Joined: 06/22/2004
Credibility: 0 pts
|
| Re: About Serverside Demorec |
|
|
|
Hmmm i think i didnt make myself clear. The script is runned on the server machine not on the client side :P And it was halded by a script in QW, but i dont know if you can make it trough the game itself here ;P
***THIS POST HAS BEEN EDITED***
|
| 06/25/04 19:05 |
Login to rate this user's post! |