Author Topic: number of users, servers, and time  (Read 1248 times)

Would someone please make a script that refreshed the servers every 30 minutes and gathered the time, the number of users online, and the number of servers online?

The data should appear in a text file, formatted into three columns, with entries for a period of time separated by tabs, and different times separated by a new line.

That way we can stick it in excel and see how the number of users changes over 24 hours.

I have a computer that I can devote to running it (for a day anyway, I can't really run it for a week), if we need one.

I can't imagine that it would be difficult to script at all.

Here's the master server info data. You'll need something to format it correctly...

http://master.blockland.us/master/index.asp

I could if I knew how to get the current amount of Players and Servers

I'll do it when I get back in if somebody hasn't already, I should be back soon.


Ok I'm back, looks like I'll do it.

[Edit] It's all working now, I'm just finding out if the HTTPObject gets deleted when disconnected

[Edit] Okay here you go, put this in Add-Ons/Client/ and call recordServers(); to start the script. You can also do endRecordServers();
« Last Edit: December 10, 2007, 02:51:57 PM by Randy »

Thanks, it's working great. 388 people were on at one point, with 115 servers. I've never see that many on before.

Hmm, now it's telling me there are 700 people on. I'm thinking there might be an error.

Yeah, it looks like its adding the previous number with the current number. Its pretty easy to fix though. Since I already started collecting the data, I'll just fix it when put it in excel.
« Last Edit: December 10, 2007, 09:18:46 PM by Wedge »