Raised This Month: $ Target: $400
 0% 

Map stats showing drops and full server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrXtramean
Senior Member
Join Date: Jun 2005
Old 05-20-2007 , 14:33   Map stats showing drops and full server
Reply With Quote #1

What I'm looking for is also a server map ranking/stats. I know there's a plugin to "Rate this Map", but what about a stat that shows how many players play the maps in your map cycle. This way admins can see which maps in their mapcycle fill the server up and which ones drop players.

I look at http://www.game-monitor.com/GameServ..._NdN_Game.html for server stats. It tells me the average player per hour and shows me a graph that has ups and downs all through the day, but it doesn't tell me which maps were played during those down spikes.
Do you follow? Basically a map stats. Not sure how I'd want it outputted.
I guess, maybe something like:
Your mapcycle:
dust-----dust2-----fy_iceworld------fy_snow-----awp_india-----35hp
Avg. player during the maps:
15/20----19/20------17/20-----------16/20--------15/20-------10/20

And this is per map, not per hour!!!! Or this can be a setting to set this per hour or time, depending on your mapcycle timelimit, or like I really want is per map. I'm really wanting this for our GunGame server and of course, the timelimit really doesn't apply there.

Or something that basic we could look at and see which maps were/are most popular running on our server(s).

Map Cycle----Avg per map
dust----------15/50
dust2---------19/20
fy_iceworld----17/20
fy_snow------16/20
awp_india-----15/20
35hp----------10/20

Average player per map can be based on 24 hour day stats which updates on every map change for the map server is on.

Last edited by MrXtramean; 05-20-2007 at 14:40.
MrXtramean is offline
xconrob
Member
Join Date: Mar 2007
Old 05-20-2007 , 15:55   Re: Map stats showing drops and full server
Reply With Quote #2

this would be very useful for my server as well
xconrob is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-20-2007 , 16:00   Re: Map stats showing drops and full server
Reply With Quote #3

I think it would be possible to make it write to a .ini file... Though it wouldn't be organized like:

Code:
Map Cycle----Avg per map
dust----------15/50
dust2---------19/20
fy_iceworld----17/20
fy_snow------16/20
awp_india-----15/20
35hp----------10/20
More like:

Code:
de_dust 15
de_dust2 19 
fy_iceworld 17
fy_snow 16
awp_india 15
35hp 10
I doubt the plugin could put everything in columns for you unless it was written to a .html file.

But then again... it might be able to...
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
MrXtramean
Senior Member
Join Date: Jun 2005
Old 05-21-2007 , 07:48   Re: Map stats showing drops and full server
Reply With Quote #4

I guess it doesn't matter if it says
dust 15/20
Just the average number of players "PER MAP" # would be ok. I know that our servers have 20 slots so if it just said
dust 15
I'd get it.

I have about 60+ maps in our gungame mapcycle and growing. So is it possible that this plugin could be openned ended? Meaning not limited to the amount of maps it can record.

The log files could be saved to server addons/configs/ in a folder named something like: mapstats

Can it be written to not only average the "per player per map" but also retain all averages for the 24 hours, then compile one full days worth of map stats for each map?

Tricky?!??! Can it be written to continue overwrite the existing map log?

What would be best to get the info we're looking for? hmmm
MrXtramean is offline
MHz
Member
Join Date: May 2007
Old 05-21-2007 , 08:10   Re: Map stats showing drops and full server
Reply With Quote #5

How can i make to my server?
MHz is offline
MrXtramean
Senior Member
Join Date: Jun 2005
Old 05-22-2007 , 22:16   Re: Map stats showing drops and full server
Reply With Quote #6

This forum is for request. So hopefully, this request will be picked and coded.
MrXtramean is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-22-2007 , 23:02   Re: Map stats showing drops and full server
Reply With Quote #7

File will be found at addons/amxmodx/data/mapstats.txt
Attached Files
File Type: sma Get Plugin or Get Source (mapstats.sma - 924 views - 584 Bytes)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
MrXtramean
Senior Member
Join Date: Jun 2005
Old 05-23-2007 , 18:07   Re: Map stats showing drops and full server
Reply With Quote #8

I'll give it a test. Thanks.
MrXtramean is offline
MrXtramean
Senior Member
Join Date: Jun 2005
Old 05-23-2007 , 22:19   Re: Map stats showing drops and full server
Reply With Quote #9

Well...er...
I played on HLDS with a bot on dust2 map and no bot on iceworld. I guess maybe the error is the word "average" among other things.

Plugin should show total average players per map till map change.

The way it writes now is right and wrong. This is what I got:
de_dust2 -- 26 (only 6 bots max)
fy_iceworld -- 3 (just 1 player)
de_dust2 -- 6 (2 players)
fy_iceworld -- 3 (1 player)
de_aztec -- 6 (2 players)
de_dust2 -- 10 ""
fy_iceworld -- 0 (1 player)

Strange numbers^^

The way it's written is ok, as in, dust--#, but the #'s are way off.

???? They all should be 1 and 2 and the first one should be 6 (Not the average, but the total on server from start (connects) to finish (disconnects).

Maybe take the average number of connects during the first round and the average number of disconnects at map change. i.e. 14 connects + 16 disconnects = avg 14+16=30 /2 = 15 avg players per that map.

And the way this plugin is written it will write a figure for every map, everytime the map is played. I guess this is ok. It will create a large file which will be viewed often and then once the tweaking is done to the mapcycle, the plugin should have an on/off (0/1). Once data is collected then plugin is not needed again until new maps are added to mapcycle.

It would also be nice if the each map's output had a time stamp or somewhere in the plugin, every hour...something was written to show the time so we can look at the stats, see the players avg per map and a rough time when they played.
MrXtramean is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-24-2007 , 02:10   Re: Map stats showing drops and full server
Reply With Quote #10

I am counting the number of players actually put into the server. I do not count how many leave, I see no need to.

I can add a timestamp to each line that is outputed.

I guess I will have to double check my math. I was sure it worked fine when I tested it.

Anyways, I will work on this some more in the morning. Kinda tired right now.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode