[Project] NS2 Round based player stats

1246

Comments

  • slaynishslaynish Join Date: 2012-11-11 Member: 169697Members
    edited November 2012
    yeah ive been looking at them, the only thing I am unable to (or don't know how to) do is the first step. haven't found a config.txt and not sure exactly how to edit the "executable line" which i assumed was server.exe
  • ZeikkoZeikko Join Date: 2007-12-16 Member: 63179Members, Squad Five Blue, NS2 Map Tester
    <!--quoteo(post=2025759:date=Nov 16 2012, 04:29 PM:name=slaynish)--><div class='quotetop'>QUOTE (slaynish @ Nov 16 2012, 04:29 PM) <a href="index.php?act=findpost&pid=2025759"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->yeah ive been looking at them, the only thing I am unable to (or don't know how to) do is the first step. haven't found a config.txt and not sure exactly how to edit the "executable line" which i assumed was server.exe<!--QuoteEnd--></div><!--QuoteEEnd-->

    Check the part of this manual that talks about server.txt: <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Dedicated_Server" target="_blank">http://www.unknownworlds.com/ns2/wiki/inde...edicated_Server</a>

    Basically you need to add a parameter to your shortcut / startup script that defines where the server.txt is located. Then in the txt-file you can define more parameters like the ones required by ns2stats.
  • 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
    You don't actually need to do that anymore, you can install NS2Stats (and any other workshop mod) through the "Mods" tab from your web admin interface, after clicking the "+" sign, refresh the page, go to the mapcycle tab, and enable NS2Stats in the mod list, when you change map it will be enabled.
  • MiniH0wieMiniH0wie Join Date: 2007-11-25 Member: 63013Members
    Did something recently change on NS2Stats.org?

    I used to have stats listed there and I just checked today and it's all gone.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <!--quoteo(post=2025803:date=Nov 16 2012, 07:16 PM:name=MiniH0wie)--><div class='quotetop'>QUOTE (MiniH0wie @ Nov 16 2012, 07:16 PM) <a href="index.php?act=findpost&pid=2025803"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Did something recently change on NS2Stats.org?

    I used to have stats listed there and I just checked today and it's all gone.<!--QuoteEnd--></div><!--QuoteEEnd-->

    New NS2 build happed yesterday about, if you want to see your stats on old build too, you need to press more filters and select build 228 also. We might make some changes thou that it will show all builds by default. But currently it only shows last.
  • MiniH0wieMiniH0wie Join Date: 2007-11-25 Member: 63013Members
    <!--quoteo(post=2025942:date=Nov 16 2012, 12:02 PM:name=Sint)--><div class='quotetop'>QUOTE (Sint @ Nov 16 2012, 12:02 PM) <a href="index.php?act=findpost&pid=2025942"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->New NS2 build happed yesterday about, if you want to see your stats on old build too, you need to press more filters and select build 228 also. We might make some changes thou that it will show all builds by default. But currently it only shows last.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks,

    I tried unchecking 229 and selecting 228 but when I select my name, it still shows blank?

    How long does it take for stats to update because I've played 229 for a while since it came out.
  • slaynishslaynish Join Date: 2012-11-11 Member: 169697Members
    <!--quoteo(post=2025800:date=Nov 16 2012, 09:14 AM:name=Mendasp)--><div class='quotetop'>QUOTE (Mendasp @ Nov 16 2012, 09:14 AM) <a href="index.php?act=findpost&pid=2025800"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You don't actually need to do that anymore, you can install NS2Stats (and any other workshop mod) through the "Mods" tab from your web admin interface, after clicking the "+" sign, refresh the page, go to the mapcycle tab, and enable NS2Stats in the mod list, when you change map it will be enabled.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks! Took awhile to scroll through the list looking for it though lol
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    edited November 2012
    <!--quoteo(post=2026055:date=Nov 16 2012, 11:13 PM:name=MiniH0wie)--><div class='quotetop'>QUOTE (MiniH0wie @ Nov 16 2012, 11:13 PM) <a href="index.php?act=findpost&pid=2026055"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Thanks,

    I tried unchecking 229 and selecting 228 but when I select my name, it still shows blank?

    How long does it take for stats to update because I've played 229 for a while since it came out.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Have you played on ns2stats enabled servers? You can see servers which use ns2stats mod at <a href="http://ns2stats.org/server/index" target="_blank">http://ns2stats.org/server/index</a>

    There was hard disk failure thou, but it was bit over week ago, we lost all data when that happened.
  • MiniH0wieMiniH0wie Join Date: 2007-11-25 Member: 63013Members
    I used to a lot but after UWE came out with their official servers, I might not have been much anymore. I do know that I just played on a KKG server yesterday.

    Thanks for the help and info.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]

    V0.38 available in workshop. Install instructions available in <a href="http://ns2stats.org" target="_blank">http://ns2stats.org</a> my servers page and in workshop.
    - Fixed sv_killstreaks admin command, it was not working.
    - Fixed problem with motd when old ns2stats_config file is in use.
    - Added ‘afkKickPlayersToEnable’ in ns2stats_config.json file, after player amount is greater than this value, AFK kick will get enabled, defaults to 8.
    - Added killstreak sounds. Enabled if killstreaks are enabled (defaults to false)
    - Added new awards.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]

    - Update mod to work with build 230
    - Server active mod list is now send to <a href="http://ns2stats.org" target="_blank">http://ns2stats.org</a> along with other round data, this should allow for filters based on mods. (experimental)
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]

    Version 0.39 available for build 223!

    Changelog:
    - Added feature to auto reload map every 30 minutes for mods, reload will only happen if server has no players during the check.
    - Added console command ‘players’, this command will show all players, their steam name, rating and their ranking. Data will later be used for team auto-arrange and player in-game icons.
    - NS2Stats mod will now automatically disable itself partly when it detects that new build has come. This should make it so you don’t have to disable it (as often at least) after new builds. So NS2Stats will get auto re-enabled after we update it.
  • ZeikkoZeikko Join Date: 2007-12-16 Member: 63179Members, Squad Five Blue, NS2 Map Tester
    I don't usually post what changes have been made to the website but now i'm having a multiple day code jam and I thought it would be cool to list the changes and fixes made so here's the result of the first day:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->•    Turned log parsing into a background job to make "check"-command to work
    •    Fixex line chart end time to update with filters
    •    Added separate round length graph
    •    Added top commander list
    •    Added player flags and steam images to the front page
    •    Added commander name highlight to round stats
    •    Added link from round stats to server stats
    •    Fix selected weapon graphs<!--c2--></div><!--ec2-->

    Also couple of other fixes and new features which are not visible yet.
  • GORGEousGORGEous Join Date: 2012-02-19 Member: 146762Members, NS2 Map Tester
    An ongoing bug with the NS2STATS system:

    Games are frequently not showing up in recently played matches on both the front page and in the personal page. Rantology and I played about 3 hours of NS2 (10+ games) on ns2stats servers (mostly KKG2) and I have a total of 2 games recorded.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <!--quoteo(post=2034077:date=Nov 25 2012, 09:59 AM:name=GORGEous)--><div class='quotetop'>QUOTE (GORGEous @ Nov 25 2012, 09:59 AM) <a href="index.php?act=findpost&pid=2034077"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->An ongoing bug with the NS2STATS system:

    Games are frequently not showing up in recently played matches on both the front page and in the personal page. Rantology and I played about 3 hours of NS2 (10+ games) on ns2stats servers (mostly KKG2) and I have a total of 2 games recorded.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks for informing, this has been ongoing issue really, sometimes better, sometimes worse and its also our first priority to fix. Problem is that parsing data from round takes really long time to save into database fully, it takes 30secs to 20minutes since we are even saving every bullet fired. So we parse some data right away to print round link in-game (which hopefully it starts working soonish), parsing this first data has to last less than 5 seconds, otherwise lua function will timeout and it does not print anything in-game. So we are working on it.
  • WukedWuked Join Date: 2003-01-15 Member: 12325Members
    I started thinking about doing exactly what you are doing already today. Glad to see that someone is already on the case :)

    Sint, I've added you on steam for a chat to see if you need any help at all.
  • FuTuRe1FuTuRe1 Join Date: 2005-01-09 Member: 34087Members, Constellation
    My server don't save data to website (multiplay server)
  • ZeikkoZeikko Join Date: 2007-12-16 Member: 63179Members, Squad Five Blue, NS2 Map Tester
    <!--quoteo(post=2035410:date=Nov 27 2012, 01:04 AM:name=FuTuRe1)--><div class='quotetop'>QUOTE (FuTuRe1 @ Nov 27 2012, 01:04 AM) <a href="index.php?act=findpost&pid=2035410"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->My server don't save data to website (multiplay server)<!--QuoteEnd--></div><!--QuoteEEnd-->

    Did you play a full round on it with more than 10 players?
    Is is sharing config files with another server?
    Is it one of these multiplay servers or some other:
    <a href="http://ns2stats.org/server/server/730" target="_blank">http://ns2stats.org/server/server/730</a>
    <a href="http://ns2stats.org/server/server/693" target="_blank">http://ns2stats.org/server/server/693</a>
    <a href="http://ns2stats.org/server/server/367" target="_blank">http://ns2stats.org/server/server/367</a>
    <a href="http://ns2stats.org/server/server/271" target="_blank">http://ns2stats.org/server/server/271</a>
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <a href="http://ns2stats.org" target="_blank">http://ns2stats.org</a> is down currently, until Zeikko restarts it (webserver is down), he's without internet atm because he's moving to another country, so dunno how long it will take.

    So while down; new installations will give error messages and old ones still work.
  • bHackbHack Join Date: 2010-03-23 Member: 71059Members
    Suggestion: add map filter. Would be useful info to filter competitive maps (although, by filtering competitive servers it already half-filters most of the crap maps) to see Win/Loose ration per side per specific map there.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    edited December 2012
    Quick question: does tournamentmode disable AFK kick or do you have to manually do that if you want it off? Thanks.

    Edit: Also, might be a good idea to rename this thread so that ns2stats is actually in the title, and maybe phase it to the modding forum?
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <!--quoteo(post=2042913:date=Dec 10 2012, 04:09 PM:name=YoungTrotsky)--><div class='quotetop'>QUOTE (YoungTrotsky @ Dec 10 2012, 04:09 PM) <a href="index.php?act=findpost&pid=2042913"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Quick question: does tournamentmode disable AFK kick or do you have to manually do that if you want it off? Thanks.

    Edit: Also, might be a good idea to rename this thread so that ns2stats is actually in the title, and maybe phase it to the modding forum?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Tournament mode doesn't seem to disable afk kick(can't really remember) it disables other things like mapcycle/game start counter/team join limits. Can't rename forum titles by myself, Forum moderator would need to do that, I guess we could post this on Modding forums too.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]

    Version 0.40 available.

    Changelog:

    - Updated mod for build 233.
    - Added new feature: auto-arrange by ELO, currently experimental, disabled by default and can be enabled with sv_autoarrange. Only gets enabled when minium of 8 peps on server. Attempts to balance teams using alien/marine win ELO ratings.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    <!--quoteo(post=2043663:date=Dec 11 2012, 04:52 PM:name=Sint)--><div class='quotetop'>QUOTE (Sint @ Dec 11 2012, 04:52 PM) <a href="index.php?act=findpost&pid=2043663"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Tournament mode doesn't seem to disable afk kick(can't really remember) it disables other things like mapcycle/game start counter/team join limits. Can't rename forum titles by myself, Forum moderator would need to do that, I guess we could post this on Modding forums too.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Cool, thanks for clearing that up, I'll just remember to do both. Another question: does ns2stats allow you to change the round start countdown when in public mode and if so, how do you do it? Thanks.
  • PässiPässi Join Date: 2012-11-11 Member: 169374Members
    How that afk kick should work? added my steam id there and still its kicking me out?
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <!--quoteo(post=2046575:date=Dec 16 2012, 12:49 PM:name=Pässi)--><div class='quotetop'>QUOTE (Pässi @ Dec 16 2012, 12:49 PM) <a href="index.php?act=findpost&pid=2046575"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->How that afk kick should work? added my steam id there and still its kicking me out?<!--QuoteEnd--></div><!--QuoteEEnd-->

    There was simple bug with adminSteamIdList check it seems, so it does not work atm. I'll make new version today where it will work or i will use serveradmins file for that. Also we just heard that AFKKick might be making zombie players on server, so will look into that too.

    Btw ns2stats.org is down atm due webserver crashing again, should get back up later today.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    And how about changing time delay before round starts in public mode? Is that possible or have to use DAK Admin pack? Thanks.
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    [UPDATE]

    Version 0.41 available.

    - Changed afk kick mechanics a bit. (If there was zombie players before then there should not be now)
    - Players who are listed in serverAdmin.json won't get kicked by AFK kick anymore. (steamIdAdminlist in ns2stats_config.json is not used anymore at all)
  • SintSint Join Date: 2007-01-09 Member: 59540Members, Squad Five Blue
    <!--quoteo(post=2046629:date=Dec 16 2012, 04:31 PM:name=YoungTrotsky)--><div class='quotetop'>QUOTE (YoungTrotsky @ Dec 16 2012, 04:31 PM) <a href="index.php?act=findpost&pid=2046629"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->And how about changing time delay before round starts in public mode? Is that possible or have to use DAK Admin pack? Thanks.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Well we could add that, but it should not be needed. I have heard at least that there will be commander selections before rounds start, this should help a bit with this issue.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    edited December 2012
    <!--quoteo(post=2046643:date=Dec 16 2012, 01:58 PM:name=Sint)--><div class='quotetop'>QUOTE (Sint @ Dec 16 2012, 01:58 PM) <a href="index.php?act=findpost&pid=2046643"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Well we could add that, but it should not be needed. I have heard at least that there will be commander selections before rounds start, this should help a bit with this issue.<!--QuoteEnd--></div><!--QuoteEEnd-->

    You mean that's going to be added to the official game? Sounds unlikely to me. I'd just like a way to make it so the round doesn't start for 30 seconds instead of the default 15 when players start joining. Or even better, have it so the round starts when 50% (or whatever %) of players have joined a team, it's annoying when a round start with 2v3 and there are 11 people in the ready room!
Sign In or Register to comment.