PDA

View Full Version : Stats Help please


Privategamb
08-08-2003, 01:44 PM
Hi guys

I was wondering if anyone could help me with setting up the stats for serverwatch. All it says when someone does a !stats or a !skills is the number of reloads and scoreboard views they had. I always says that they haven't played enough maps yet also. I was wondering if there was a way to set it up for thing like showing how many kills they had, how many deaths and how many rounds they have played. Thanks in advance for any help.

Private Gamb
Admin on Ping's Pad 64.202.96.69

I also get this error all the time [8/8/2003 2:18:33 PM] : THUserList.LoadUserFromFileName: can not load user from [C:\Program Files\ServerWatch\Data\History\C24D64B0836A326AE21 954CCB6C2A4B4] ErrorMessage:Cannot open file "C:\Program Files\ServerWatch\Data\History\C24D64B0836A326AE21 954CCB6C2A4B4". The system cannot find the file specified

If anyone knows how to fix this please let me know.

Enforcer
08-09-2003, 09:59 AM
1 problem: change the formula for the skills calculation
default is:

[code:1]
IIF((%DATAMapsPlayed%>20);((((%DATAhaskilled% - %DATAwaskilled%) * %DATAhaskilled%/%DATAwaskilled%))/%DATAMapsPlayed%) * 10000);"not enough maps played")
[/code:1]
so you have to play more then 20 maps to get a skill




2 problem: looks like someone has manipulated on the saved user history’s -
to fix the problem:
1. close ServerWatch
2. go in the data/history dir
3. delete the index.lst file
4. start it up again (can take some time because ServerWatch has to reindex the data)

Privategamb
08-22-2003, 11:22 AM
Ok, Enforcer I did what you said to do in the previous post. I deleted the list file and all the history files. I also figured out what the problem is and can't seem to get the stats to work. What serverwatch is doing is every time it goes to update the stats for all the players on the server all those errors pop up saying
Code:

THUserList.LoadUserFromFileName: can not load user from [C:\Program Files\ServerWatch\Data\History\C24D64B0836A326AE21 954CCB6C2A4B4] ErrorMessage:Cannot open file "C:\Program Files\ServerWatch\Data\History\C24D64B0836A326AE21 954CCB6C2A4B4". The system cannot find the file specified


What the number of players on the server is, is that number of errors that I get. It seems top me that every time the program goes to update the stats all the errors pop up. I know that the program is getting access to the qconsol.log file on the server because it tells me the reloads people had in the !stats and the language part of the program is working also. I'm connecting through the ftp part of the program to access the log file. Hope this info I gave you helps. Thanks in advance for any advice you can give to get this to work.

Private Gamb

PV62Walle
09-05-2003, 05:33 PM
I have problem with !stats to.
Can´t get it to work.

Enforcer
09-06-2003, 04:53 AM
That !stats problem looks like ServerWatch dont see the chat messages.

Maybe http://www.majorkillingforce.com/php/modules.php?name=Forums&file=viewtopic&t=484 helps

PV62Walle
09-06-2003, 07:30 AM
Ok thanks but the in the thred you said that it could be some sever config broblem. Any chanse that you know what it can be in the config ??

Enforcer
09-07-2003, 02:12 PM
Hehe did you look around in the forum ?
You would have found the links here:

http://www.daniel-rudolph.de/projekte/serverwatch/SWStartup.html
http://www.daniel-rudolph.de/projekte/serverwatch/Readme.html
http://www.daniel-rudolph.de/projekte/serverwatch/howto/

I hope they can help. Especially the last describes how to setup a MohAA server in one part.