GhoulofGSG9Join Date: 2013-03-31Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
edited September 2013
The .org domain is down but as i said google didn't got this. You can reach ns2stats now only via www.ns2stats.com. And i agree, it's a really a problem that ns2stats is not used by more server. But there were issues caused by this mod that made a high popularity impossible. Hopefully they will be gone in the future. I am still waiting for a statement from uwe what they are planning in the future. But it seems like that it is depending on the reinforcement program and sold copies of this weekend.
Could you please make it so you can only ready when you have a comm in the chair, also the game won't auto start with comms in the chairs, need ready up.
Could you please make it so you can only ready when you have a comm in the chair, also the game won't auto start with comms in the chairs, need ready up.
I think I'll not include this atm since ns2stats is moving to be shine mod plugin, it has also tournament system which we are planning to base ns2stats on. So lets see those changes then.
In fact the new tournamentmode plugin is already finished written but atm i am more focused at finally getting ns2stats version 1.0 finished. But im open for any other idea. Atm another modder is writting a nsl gather site base on the tournament mode plugin (will take some more time)
SintJoin Date: 2007-01-09Member: 59540Members, Squad Five Blue
[Website UPDATE]
- http://ns2stats.com is now significantly faster to use. There has been loads of optimizations done and filtering on some pages has been simplified to reduce load. If you find pages which are too slow, please report.
- Front page's "All recent rounds", is not affected by filtering anymore. And always shows latest games.
- Fixed 'white page'-bug which has been there for a long time. It appeared as random and disappeared as random. Reason was out of memory error, but reason for that out of memory error was updating of rankings, which caused update in player status, which caused all players in database to become 'active', which caused ns2stats.com to try and show ~170 000 players at bottom of the page for 5 minutes (time which 'white screen' lasted.
- Rounds page added, which will later include more specific info about games which have been recently played. stats tag -console command can be used to tag rounds. Tagged text will be shown on rounds page and can be searched. We will prob add server setting for some automated every round tags like ensl.
SintJoin Date: 2007-01-09Member: 59540Members, Squad Five Blue
edited September 2013
[UPDATE]
- Mod tested to work with 257
- Added extended scoreboard, works with console command 'es' or 'extendedscoreboard'. Shows extended stats for players who are currently playing on the server. Shows up in stats-console command too.
- Update status interval changed from 120 seconds to 30 seconds. This will update extended scoreboard stats every 30 seconds.
- sv_tournamentmode-command doesn't crash server anymore.
Also improvement on website speed again. Status updates caused ns2stats.com server CPU load to raise sometimes, fixed now.
Edit:
Extended scoreboard example, which can be seen ingame by console command es.
If you use steam overlay browser then it can be left open on background and it automatically updates every 20 seconds, for faster checking. We are still planning to add stuff on extended scoreboard like highlighting of own name and prob who has killed who.
SintJoin Date: 2007-01-09Member: 59540Members, Squad Five Blue
edited September 2013
[NS2Stats.com update]
- Search player on front page is now fixed, doesn't take 30 seconds to complete anymore, which made it look like it doesn't work at all. Thou now it only searches by steam names.
- Round listings does not show rounds which fail initial parsing anymore. So there will now always be at least scoreboard on round's page.
- Fixed commander detection issue with round parsing => less failed parsing of rounds.
Edit:
- Connect to server -links have been fixed.
Note: If you are using outdated version of Shine NS2stats beta, then all rounds from it fail to parse. Currently its still recommended to use normal ns2stats mod until issues with NS2Stats Shine plugin are fixed.
fanaticThis post has been edited.Join Date: 2003-07-23Member: 18377Members, Constellation, Squad Five Blue
Any idea when the filtering will work again? I'm trying to check the stats of matches some months ago, but can't find them because it only shows public games.
Any idea when the filtering will work again? I'm trying to check the stats of matches some months ago, but can't find them because it only shows public games.
fanaticThis post has been edited.Join Date: 2003-07-23Member: 18377Members, Constellation, Squad Five Blue
edited September 2013
Looks the the filtering technically works, but it's practically useless because it only shows rounds from about 15 different servers. I guess it needs an "any/don't filter" box under the different filtering options.
(filtering doesn't work at all on the frontpage, which is why I thought it was still broken)
Looks the the filtering technically works, but it's practically useless because it only shows rounds from about 15 different servers. I guess it needs an "any/don't filter" box under the different filtering options.
(filtering doesn't work at all on the frontpage, which is why I thought it was still broken)
Its working as intended on frontpage, but it was changed so that Rounds are not affected by filters on frontpage. So every game played will show on that All recent rounds list. Thou it needs improvement, and re-enabling filters for it might happen too. Currently there is no way to filter rounds by mods, that will be later included too.
fanaticThis post has been edited.Join Date: 2003-07-23Member: 18377Members, Constellation, Squad Five Blue
edited September 2013
Perhaps if I explain the problem better: I'm trying to find the stats for a match I played in a few months back, but it doesn't seem like that is currently possible? Previously I could just go to my player page ( http://ns2stats.com/player/player/1740 ), set competitive filter and the correct date, and I would be able to find it in the recent rounds box. Now when I do that, the box is just empty. The rounds page is no better; if I set the correct filters it only displays rounds from 3 or so different servers, none of which is what I'm looking for.
Perhaps if I explain the problem better: I'm trying to find the stats for a match I played in a few months back, but it doesn't seem like that is currently possible? Previously I could just go to my player page ( http://ns2stats.com/player/player/1740 ), set competitive filter and the correct date, and I would be able to find it in the recent rounds box. Now when I do that, the box is just empty. The rounds page is no better; if I set the correct filters it only displays rounds from 3 or so different servers, none of which is what I'm looking for.
Reason is(was) prob because that server is not active anymore, so it doesn't show up in the filters list. Server filter list was not showing servers which have not been active in last 7 days. I changed it 90 days for now but prob need to do something about that still. Prob would be good when 'All servers' would be selected then it would actually consider all servers instead of listed and selected ones. Or to only show servers where player has played. I think it was like that before, but the query was slow so I changed it to general server list query. But I guess it could be done.
fanaticThis post has been edited.Join Date: 2003-07-23Member: 18377Members, Constellation, Squad Five Blue
edited September 2013
What if you added a "show inactive servers" checkbox that had to be manually selected? That would preserve your faster queries for most searches, while still make it possible to find old games.
SintJoin Date: 2007-01-09Member: 59540Members, Squad Five Blue
[UPDATE]
- Changing nationality is now possible on my account page.
- Added API function http://ns2stats.com/api/oneplayer?steam_name=synomi
steam_name(array) | ns2_id(single object) | steam_id(single object) parameters are usable.
NS2Stats is still looking for coders/graphical artist. Coder would be required to have php or lua experience.
NS2stats database data is now publicly available through model based json API. Only server key, player ip/code are nulled.
- Data can be accessed with get requests.
- Data can be ordered by any field either asc or desc. Asc or desc must be included. By default data is ordered by id asc.
- Data offset can be used.
- There is always hard limit of maximum of 100 results. But lower limit can be defined.
- If there is an error, error is returned in json format and contains error attribute.
Examples:
List of available database models: http://ns2stats.com/apiv1/list
Returns:
["ChatMessage","Death","Hit","Lifeform","LivePlayer","LiveRound","Map","Mod","ModRound","Pickable","Player","PlayerLifeform","PlayerRound","PlayerTeam","PlayerWeapon","Resources","Round","RoundStructure","RoundUpgrade","Server","Team","Upgrade","Weapon"]
Another bug report... I've noticed that it's counting spectators as players (maybe due to how first person spec works? dunno), this is really easy to spot in actual matches, and it does some weird things to the names in the match details (repeated names), here's an example match: http://ns2stats.com/round/round/145282
Another bug report... I've noticed that it's counting spectators as players (maybe due to how first person spec works? dunno), this is really easy to spot in actual matches, and it does some weird things to the names in the match details (repeated names), here's an example match: http://ns2stats.com/round/round/145282
Keep up the good work
The name bug is allready been fixed. Will look into the spectator bug later. BTW a easy way to see if its a website bug is to look at the extended scoreboard
Edit: Also fixed first person spectator :S ( deleted to much in one of the latest patches )
Previous server had 4 cores, 4GT ram and was located in Finland, current has 32GB ram and better CPU with 8 cores and is located in Germany. Currently not permanent solution (previous server was free, this is not), more like experiment to see how NS2Stats runs on new hardware+software.
There are still more plans to improve performance, like creating replicated read-only database for API, so API doesn't slow down the site.
There should be some pretty big changes coming to filters in next weeks, which include all-time stats for players but also more restricted filtering.
SintJoin Date: 2007-01-09Member: 59540Members, Squad Five Blue
edited February 2014
Added dynamic player signatures
- You can have up to 3 different signatures
- You can have 1 default signature which has static url. You can change default signature anytime.
- You can freely change what dynamic values are displayed
- Currently following dynamic values are supported:
- Currently signatures update once per 20 minutes when loaded but are cached in browser's memory for 30 minutes.
- You can use custom background and image size but atm you cannot define steam image or logo location.
- Dynamic values are using all-time data and are only place to see that data for now.
- Automatic country flag option
- There are few settings and more settings to come.
If you have any ideas what would be cool to have feel free to post here. We are also planning to add server signatures which server admins could use to see their server stats.
To create yourself a signature go to http://ns2stats.com/player/signature and press create signature. There will be ready code snippet for Unknown worlds forum signature available after creation.
Holey post batman. We have updated the signature size to 40kb. The rest stays the same. So, the new rules look like: All signature images must be at most 75 pixels high, at most 400 pixels wide, and less than 40 KB. Avatars must be at most 90 pixels x 90 pixels, and less than 22KB in filesize.
Holey post batman. We have updated the signature size to 40kb. The rest stays the same. So, the new rules look like: All signature images must be at most 75 pixels high, at most 400 pixels wide, and less than 40 KB. Avatars must be at most 90 pixels x 90 pixels, and less than 22KB in filesize.
Forum Sig rules...
That is a post from 4-5 years ago by non moderator. Why would it work if its not allowed, and what does size have to do with it? Since its loaded from ns2stats.com. Originally default signature size for ns2stats.com signatures was 180px but that reached heigth limit. So i made it 160px which works. And you can create 10x10 signatures in ns2stats.com if you want. Thou default is currently that 478x160.
Comments
- Changed mod's internal build number changed to 255, so it does not show warning (aka. no other updating needed)
I think I'll not include this atm since ns2stats is moving to be shine mod plugin, it has also tournament system which we are planning to base ns2stats on. So lets see those changes then.
In fact the new tournamentmode plugin is already finished written but atm i am more focused at finally getting ns2stats version 1.0 finished. But im open for any other idea. Atm another modder is writting a nsl gather site base on the tournament mode plugin (will take some more time)
- http://ns2stats.com is now significantly faster to use. There has been loads of optimizations done and filtering on some pages has been simplified to reduce load. If you find pages which are too slow, please report.
- Front page's "All recent rounds", is not affected by filtering anymore. And always shows latest games.
- Fixed 'white page'-bug which has been there for a long time. It appeared as random and disappeared as random. Reason was out of memory error, but reason for that out of memory error was updating of rankings, which caused update in player status, which caused all players in database to become 'active', which caused ns2stats.com to try and show ~170 000 players at bottom of the page for 5 minutes (time which 'white screen' lasted.
- Rounds page added, which will later include more specific info about games which have been recently played. stats tag -console command can be used to tag rounds. Tagged text will be shown on rounds page and can be searched. We will prob add server setting for some automated every round tags like ensl.
- Mod tested to work with 257
- Added extended scoreboard, works with console command 'es' or 'extendedscoreboard'. Shows extended stats for players who are currently playing on the server. Shows up in stats-console command too.
- Update status interval changed from 120 seconds to 30 seconds. This will update extended scoreboard stats every 30 seconds.
- sv_tournamentmode-command doesn't crash server anymore.
Also improvement on website speed again. Status updates caused ns2stats.com server CPU load to raise sometimes, fixed now.
Edit:
Extended scoreboard example, which can be seen ingame by console command es.
If you use steam overlay browser then it can be left open on background and it automatically updates every 20 seconds, for faster checking. We are still planning to add stuff on extended scoreboard like highlighting of own name and prob who has killed who.
- Search player on front page is now fixed, doesn't take 30 seconds to complete anymore, which made it look like it doesn't work at all. Thou now it only searches by steam names.
- Round listings does not show rounds which fail initial parsing anymore. So there will now always be at least scoreboard on round's page.
- Fixed commander detection issue with round parsing => less failed parsing of rounds.
Edit:
- Connect to server -links have been fixed.
Note: If you are using outdated version of Shine NS2stats beta, then all rounds from it fail to parse. Currently its still recommended to use normal ns2stats mod until issues with NS2Stats Shine plugin are fixed.
- Improved death heatmaps based on maps.
- Increased maximum shown deaths to 3000.
ns2_summit example (link):
You can use sliders to modify the view. Uses WebGl, tested to work in Firefox and Chrome (windows 7). For unsupported browsers old version is shown.
Edit: Added more options. Like only show marine wins. If you mouse over checkbox, there is toolbox to show little help.
Isn't it working already? http://ns2stats.com/round/rounds
(filtering doesn't work at all on the frontpage, which is why I thought it was still broken)
Its working as intended on frontpage, but it was changed so that Rounds are not affected by filters on frontpage. So every game played will show on that All recent rounds list. Thou it needs improvement, and re-enabling filters for it might happen too. Currently there is no way to filter rounds by mods, that will be later included too.
Reason is(was) prob because that server is not active anymore, so it doesn't show up in the filters list. Server filter list was not showing servers which have not been active in last 7 days. I changed it 90 days for now but prob need to do something about that still. Prob would be good when 'All servers' would be selected then it would actually consider all servers instead of listed and selected ones. Or to only show servers where player has played. I think it was like that before, but the query was slow so I changed it to general server list query. But I guess it could be done.
- Mod tested to work with 258
NS2Stats Shine plugin ready for use, you should start using NS2Stats Shine version instead, since we are making it the main NS2Stats mod: http://forums.unknownworlds.com/discussion/132378/ns2stats-shine-plugin
- Changing nationality is now possible on my account page.
- Added API function http://ns2stats.com/api/oneplayer?steam_name=synomi
steam_name(array) | ns2_id(single object) | steam_id(single object) parameters are usable.
NS2Stats is still looking for coders/graphical artist. Coder would be required to have php or lua experience.
Added NS2Stats model based API Document available at Google Docs
NS2stats database data is now publicly available through model based json API. Only server key, player ip/code are nulled.
- Data can be accessed with get requests.
- Data can be ordered by any field either asc or desc. Asc or desc must be included. By default data is ordered by id asc.
- Data offset can be used.
- There is always hard limit of maximum of 100 results. But lower limit can be defined.
- If there is an error, error is returned in json format and contains error attribute.
API request structure:
http://ns2stats.com/apiv<version> / <database model> | list ? <parameters>
Examples:
List of available database models:
http://ns2stats.com/apiv1/list
Returns:
["ChatMessage","Death","Hit","Lifeform","LivePlayer","LiveRound","Map","Mod","ModRound","Pickable","Player","PlayerLifeform","PlayerRound","PlayerTeam","PlayerWeapon","Resources","Round","RoundStructure","RoundUpgrade","Server","Team","Upgrade","Weapon"]
Request to receive 100 first rows:
http://ns2stats.com/apiv1/Player
Request to receive 100 first rows ordered by id desc
http://ns2stats.com/apiv1/Player?order=id desc
Active servers, with send status enabled
http://ns2stats.com/apiv1/Liveround?order=last_updated desc
Request to receive first 10 rows
http://ns2stats.com/apiv1/Player?limit=10
Request to receive top 10 marine commanders
http://ns2stats.com/apiv1/Player?limit=10&order=marine_commander_elo desc
Request to receive top 11-21 marine players
http://ns2stats.com/apiv1/Player?order=marine_win_elo desc&limit=10&offset=10
Example error:
http://ns2stats.com/apiv1/Player?order=dmarine_win_elo desc&limit=10&offset=10
Returns:
{"error":{"errorInfo":["42S22",1054,"Unknown column 'dmarine_win_elo' in 'order clause'"]}}
Using field & value to find data
http://ns2stats.com/apiv1/Player?field=steam_name&value=Synomi
Please post bug reports/new feature requests at ns2 forums:
http://forums.unknownworlds.com/discussion/129495/ns2stats-com-statistics-for-natural-selection-2#latest
Edit: added field&value feature
I have fixed it now.
Keep up the good work
The name bug is allready been fixed. Will look into the spectator bug later. BTW a easy way to see if its a website bug is to look at the extended scoreboard
Edit: Also fixed first person spectator :S ( deleted to much in one of the latest patches )
example
click on ▼ NS2Stats ▼
http://ns2stats.com
Previous server had 4 cores, 4GT ram and was located in Finland, current has 32GB ram and better CPU with 8 cores and is located in Germany. Currently not permanent solution (previous server was free, this is not), more like experiment to see how NS2Stats runs on new hardware+software.
There are still more plans to improve performance, like creating replicated read-only database for API, so API doesn't slow down the site.
There should be some pretty big changes coming to filters in next weeks, which include all-time stats for players but also more restricted filtering.
- You can have up to 3 different signatures
- You can have 1 default signature which has static url. You can change default signature anytime.
- You can freely change what dynamic values are displayed
- Currently following dynamic values are supported: - Currently signatures update once per 20 minutes when loaded but are cached in browser's memory for 30 minutes.
- You can use custom background and image size but atm you cannot define steam image or logo location.
- Dynamic values are using all-time data and are only place to see that data for now.
- Automatic country flag option
- There are few settings and more settings to come.
If you have any ideas what would be cool to have feel free to post here. We are also planning to add server signatures which server admins could use to see their server stats.
To create yourself a signature go to http://ns2stats.com/player/signature and press create signature. There will be ready code snippet for Unknown worlds forum signature available after creation.
Forum Sig rules...
That is a post from 4-5 years ago by non moderator. Why would it work if its not allowed, and what does size have to do with it? Since its loaded from ns2stats.com. Originally default signature size for ns2stats.com signatures was 180px but that reached heigth limit. So i made it 160px which works. And you can create 10x10 signatures in ns2stats.com if you want. Thou default is currently that 478x160.