Page 1 of 1

GG's Data?

PostPosted: Sat Jul 17, 2010 12:11 am
by CTS_AE
I was just wondering where the GG data is stored like the wins and places
and if there's a way to make GG use a database.
Because I'd like to have a deal on our web site so you can look @ the top winners.

also I've seen servers with a /place command, and I was wondering what does that?

Re: GG's Data?

PostPosted: Sun Jul 18, 2010 1:52 pm
by CTS_AE
I'd like to restructure what I asked,
GG does use a database, but I was wondering if I could have it use an external database,
and if at all possible a mysql data base

and if there's already like a top command/plugin to see the top GG players

PostPosted: Mon Jul 19, 2010 2:51 am
by pyro
Most of this is done via addons while an external data may sound nice it will put
More strain on the server as it has to send and revive the data logs.

E.g. Mani admin or a sourcemod addon can collect this information for you.

Alternativly you can use hlstatsx which will give you more stats than the above nominated.

PostPosted: Mon Jul 19, 2010 5:38 am
by CTS_AE
How would you get the top kills for GG though with something like mani?
I do have mani running it's stats

does hlstatsx cost money?
isn't that the best one out there

Right now I'm trying to write page in php that will read the sqlite database, but I found out that my web server was a bit out dated and I needed to upgrade my php so it could handle sqlite3
I dont think it will put too much of a strain on the server, since the db is probably like 7 kb right now or 65 bytes idr, but surely it will grow as more people win and play, but still steam alone takes up more of a bandwidth just playing on the server than that.

PostPosted: Mon Jul 19, 2010 6:51 am
by XE_ManUp
We don't keep track of kills in our database. The only thing we do keep track of is their names, uniqueid, and win count.

We do have a GunGame !rank command...or is it !place ...? :roll:

We have a method to get the rank of a particular uniqueid, etc...I'm not entirely sure what all you want.

Re: GG's Data?

PostPosted: Mon Jul 19, 2010 10:49 pm
by CTS_AE
Sorry about that I meant wins not kills :oops:

I guess I'll have to give those commands a shot.

I'm just trying to make a php page that will show the top players