NS2Stats.com - Statistics for Natural Selection 2

1235

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 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.
  • Ghosthree3Ghosthree3 Join Date: 2010-02-13 Member: 70557Members, Reinforced - Supporter
    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.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    edited September 2013
    [UPDATE]
    - Changed mod's internal build number changed to 255, so it does not show warning (aka. no other updating needed)
    Ghosthree3 wrote: »
    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.
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 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
    @Ghosthree3:

    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)
  • SintSint Join Date: 2007-01-09 Member: 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.
  • SintSint Join Date: 2007-01-09 Member: 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.
    scoreboard_example.jpg
    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.
  • SintSint Join Date: 2007-01-09 Member: 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.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    edited September 2013
    [NS2Stats.com update]

    - Improved death heatmaps based on maps.
    - Increased maximum shown deaths to 3000.

    ns2_summit example (link):

    heatmap_example.jpg

    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.
  • PaLaGiPaLaGi Join Date: 2008-01-03 Member: 63331Members, Constellation
    Thanks for keeping this updated. Always fun to look at the stats after each round.
  • fanaticfanatic This post has been edited. Join Date: 2003-07-23 Member: 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.
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    fanatic wrote: »
    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.

    Isn't it working already? http://ns2stats.com/round/rounds
  • fanaticfanatic This post has been edited. Join Date: 2003-07-23 Member: 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)
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    fanatic wrote: »
    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.
  • fanaticfanatic This post has been edited. Join Date: 2003-07-23 Member: 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.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    edited September 2013
    fanatic wrote: »
    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.
  • fanaticfanatic This post has been edited. Join Date: 2003-07-23 Member: 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.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]
    - 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
  • SintSint Join Date: 2007-01-09 Member: 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.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    edited November 2013
    [UPDATE]
    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&gt; / <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&amp;order=marine_commander_elo desc

    Request to receive top 11-21 marine players
    http://ns2stats.com/apiv1/Player?order=marine_win_elo desc&amp;limit=10&amp;offset=10

    Example error:
    http://ns2stats.com/apiv1/Player?order=dmarine_win_elo desc&amp;limit=10&amp;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
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    I am not sure if this is a NS2Stats thing or a shine thing but the weapons were not disappearing after the marines died.
  • Ghosthree3Ghosthree3 Join Date: 2010-02-13 Member: 70557Members, Reinforced - Supporter
    I noticed this in a pug the other day. Losing shotguns a minute ago across the map, still recovered them, kind of game breaking.
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited November 2013
    First of all thanks for the report.

    I have fixed it now.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    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 :)
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited November 2013
    Mendasp wrote: »
    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 )
  • CarNagE1CarNagE1 Poland Join Date: 2003-05-14 Member: 16298Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter, Subnautica Playtester
    I have just implemented ns2stats API to our forum. Great stuff, very easy to use. Thank You.

    example

    click on ▼ NS2Stats ▼
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    - Mod tested to work with 261
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    NS2Stats is now running on new server. There are some issues, but mostly seems to work ok.

    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.
  • SintSint Join Date: 2007-01-09 Member: 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:
    [rank] [ranked_players] [rounds_played] [score_per_minute] [score_per_death] [score]
    [kpd] [best_kill_streak] [kills] [deaths] [longest_survival] [time_played] [rounds_played]
    [alien_ranking] [marine_ranking]  [marine_commander_ranking] [alien_commander_ranking]
    [kills_by_rifle] [kills_by_shotgun] [kills_by_pistol] [kills_by_bite] [kills_by_swipe] [kills_by_spit]
    [last_server]
    
    Raw values:
    [id] [rating] [marine_commander_elo] [steam_id] [steam_name] [steam_url] [steam_image]
    [country] [rating] [kill_elo_rating] [win_elo_rating] [commander_elo_rating] [marine_win_elo] 
    [alien_win_elo] [marine_commander_elo] [alien_commander_elo] [last_seen] [last_server_id]
    
    - 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.


  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    @Sint
    Comprox wrote: »
    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...
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    Soul_Rider wrote: »
    @Sint
    Comprox wrote: »
    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.
Sign In or Register to comment.