Skip to content

Releases: scottadkin/node-utstats-2

Additional Match Weapon & Item Stats Tabs

19 Jan 16:37
Compare
Choose a tag to compare

Upgrading from V 2.14.0:

  • Stop website and importer.
  • Replace your installed files with the ones from the archive.
  • Run npm run build to rebuild the website.
  • Run npm run start to start the webiste.
  • Restart the importer if required, node importer in another terminal.

Change Log:

  • Added a new tab to match weapon stats, you can now view data by stats type, for example just kills for all weapons in one table.
  • Added missing team total item usage tables.
  • Item usage tables will now only show selected item table instead of all of the same type.
  • Fixed dropdowns not being set to correct value on page refresh.
  • Clicking on a Country in Most Popular Countries will now take you to the player search page with said country pre-selected.
  • Fixed wrong player profiles being displayed in recent players(sometimes it would show the gametype or map profile instead of the real profile).

Screenshot 2024-01-19 163203

Screenshot 2024-01-19 163314

If you have enabled min player limit there is a bug that can stop the match being imported with the importer thinking there is less players than the min limit, you can fix this by stopping your importer and replacing two files in the /api/importer folder from the minplayerfix.zip below.

Experimental player HWID admin tools

15 Jan 13:52
Compare
Choose a tag to compare

Upgrading from V 2.13.2:

  • Stop website and importer.
  • Replace your installed files with the ones from the archive.
  • Run npm update to update packages.
  • Run npm run build to rebuild the website.
  • Run npm run start to start the webiste.
  • Restart the importer if required, node importer in another terminal.

V 2.14.0 Change Log:

  • New experimental player HWID admin tools(needs testing):
  • Added force HWID to use a selected player name admin tool, you can assign a hwid to always import as a certain player name no matter the used name in the match.
  • Added merge HWID usage into a single player, this will merge all player data with the selected HWID no matter what name is used, into a single player profile.
  • Added HWID usage tool to admin area, shows hwid info and what names have been linked to it.
  • Rewrote most of the player merging tools.
  • Rewrote admin servers tools.
  • Added new servers tool, merge servers, use this to combine two server stats into one.
  • Servers are now updated by name instead of ip:port combination.
  • Admins must now manually set server ip/port and passwords for the join servers url to be displayed.
  • Rewrote the DropDown component as a function component.
  • Fixed some country flags info being too big when you hover over a few country flags.
  • Updated next.js to version 14

Force HWID to Name Admin Tool

05 Dec 13:50
Compare
Choose a tag to compare

Upgrading from version V 2.13.1

  • Stop the website and importer processes.
  • Replace your installed files with the new ones from the archive.
  • In a terminal run the command node upgrade to update database tables.
  • In a terminal run the command npm run build to rebuild the website, then npm run start to start the website.
  • In a terminal run the command node importer to restart the importer if required.

V 2.13.2 Change Log:

  • Fixed efficiency column being type INT instead of FLOAT in table nstats_player_weapon_totals(node upgrade required).
  • Fixed backup creator reporting it was finished before it was done.
  • Added force HWID to use a player name admin tool.
  • Added HWID usage tool to admin area.
  • Added view current settings to view applied hwid to name settings.
    Screenshot 2023-12-03 165428
    Screenshot 2023-12-04 210152

Multi Kill Fixes

28 Nov 21:20
Compare
Choose a tag to compare

Just a minor release fixing more stupid mistakes I've made...

Upgrading from v2.13.0

  • Stop the website and importer processes.
  • Replace your installed files with the new ones from the archive.
  • In a terminal run the command node multikillfix to start the script that will fix existing multi kill data using the stored kills data.
  • In a terminal run the command npm run build to rebuild the website, then npm run start to start the website.

V 2.13.1 Change Log:

  • Fixed multi kill being set to 0 instead of 1 if a player killed two players in a greater time frame then the multi kill time limit…
  • Scale times between multi kills in hardcore mode.
  • Scale times between telefrag, and teledisc multi kills in hardcore mode.
  • Added multi kill script to fix existing data without the need for re import.

Added fix for importer

  • If you are having issues with a can't read properties of undefined when importing logs.
  • Stop the importer.
  • Replace /api/importer/importer.js with the file in importerfix.zip
  • Start the importer.

Additional Admin Map Tools

21 Nov 14:41
Compare
Choose a tag to compare

Upgrading from v2.12.0

  • Stop the website and importer processes.
  • Replace your installed files with the new ones from the archive.
  • In a terminal run the command node upgrade to update database tables.
  • In a terminal run the command npm update to update required packages.
  • In a terminal run the command npm run build to rebuild the website, then npm run start to start the website.
  • In a terminal run the command node importer to restart the importer if required.

V 2.13.0 Change Log:

  • Fixed missing map images on map pages when maps had hyphens in their name.
  • Fixed match item picks & admin items manager having confusing labels(Armour on one page and Health on the other).
  • Fixed timestamps for CTF Returns and CTF Caps not being scaled for hardcore games(Match pages, Player Match pages).
  • Match summary items will now hide tabs that have no data.
  • Fixed an issue when merging players where a player would appear as a spectator even if they played in the match.
  • Fixed another issue causing players to appear as spectators when merging players(stupid mistake on my part, not merging total playtime for match data, only team playtime and spec playtime).
  • Importer will now place failed imported logs into a reject folder inside the imported folder.
  • Fixed undefined is not valid JSON error when trying to view a player profile that doesn’t exist.
  • Fixed undefined is not valid JSON error when trying to view a player’s match report if the player wasn’t in that match.
  • Fixed error when importing ACE logs where the game version is not just an integer(requires node upgrade to fix)
  • Fixed error when trying to view ACE kick log.
  • Fixed an issue where player ctf totals was update solo captures with the data for self flag covers.
  • Rewrote Admin Map Image uploader, added partial matching info stats to map image uploads.
  • Fixed an issue with player winrate history not being inserted after a gametype merge.
  • Added create map admin tool.
  • Added rename map admin tool.
  • Admins can now set maps to import as another map, this is useful if for example you have the maps CTF-FaceLE01, CTF-FaceLE02,... and just want all the different name variations to be imported as CTF-Face.
  • Admins can now merge one map into another.
  • Admins can now delete maps.
  • Re-added tables for match items summary.

New Player Search & Graphs & Additional Damage Stats

06 Oct 15:05
Compare
Choose a tag to compare

Upgrading from V 2.11.3

  • Stop the website and importer processes.
  • Replace your installed files with the new ones from the archive.
  • In a terminal run the command npm update to update required packages.
  • In a terminal run the command npm run build to rebuild the website, then npm run start to start the website.
  • In a terminal run the command node importer to restart the importer if required.

V 2.12.0 Change Log:

  • Replaced many of the site's graphs, graph tabs with no data are automatically hidden, and many general improvements.
  • Fixed an issue where the import would hang indefinitely on a ftp error, now if there is an ftp error it will only affect said ftp importer and log an error message, then continue on the next.
  • Fixed an issue with Domination table nstats_dom_match_caps column team always being -1 instead of a valid team id.
  • Added the “Control Point Captures” tab to match domination graphs, this will display the total times the point has been capped over time.
  • Added the “Team ” tab to match domination graphs, this will display the team’s total captures for each point over time.
  • Added team icons to match result scores(non table version).
  • Fixed bNoMouseOver not being applied to country flags if enabled.
  • Hide telefrags in match reports if there is no data.
  • Hide gametypes with no telefrags events, hide telefrags area completely if there is no data at all on player profile pages.
  • Fixed admin user agents not displaying correctly.
  • Added site hits graph to admin area, includes hits past 24 hours, 7, 28, 365 days, unique views and total page views.
  • Fixed another issue with the importer hanging indefinitely.
  • Fixed an issue where a player’s team is not correctly assigned making them not appear in match reports.
  • Added new “best stats” to match weapon statistics, you can view who has gotten the best damage and or kills with each weapon.
  • Added total damage tab to match weapon statistics, you can view who got the most damage and percentage of their team’s damage.
  • Fixed team games screenshot displaying one team as the winner in the if a match result was a draw.

2.11.3 - Additional Admin Tools

24 Aug 15:13
Compare
Choose a tag to compare

Patch Features

  • Added a new admin tool where you can delete matches in bulk.
  • Remade all the admin gametype tools and added two new ones.
  • You can now make gametypes automatically import as another gametype.
  • You can now create new gametypes manually.
  • Remade the admin player search tool.

Upgrading for v2.11.2

  • Stop the website and importer services.
  • Replace your installed files with the new ones from the archive.
  • In a terminal run the command node upgrade to update the database tables.
  • Rebuild the website with npm run build, then start it with npm run start
  • Restart the importer with node importer

V 2.11.3 Change Log:

  • Fixed issue with player gametype stats being double of the correct value after merging gametypes.
  • Fixed mysql error when distance to cap is null/undefined.
  • Moved log id being set to the end of a match import to prevent it being counted as imported if there is an error.
  • Added aliases by HWID to admin player search.
  • Added servers page tab to admin site settings.(Requires node upgrade to be run for settings to appear)
  • Added a new admin tool where users can delete selected matches in bulk. https://i.imgur.com/R5mqlRA.png
  • Remade the pre existing gametype admin tools.
  • Added create gametype tool to admin area.
  • Added auto merge gametype tool, use this if you want to import gametype A as gametype B. https://i.imgur.com/TmkbxFh.png
  • Fixed an issue with admin gametype delete not deleting win rate data for the deleted gametype.
  • Fixed an issue with most popular countries displaying incorrect values for unknown countries.

image
image

V2.11.2 Importer Optimizations + Fixed Gametype Merge

27 Jul 17:04
Compare
Choose a tag to compare

Upgrade from V 2.11.1

  • Stop the website and importer services.
  • Replace your installed files with the new ones from the archive.
  • Rebuild the website with npm run build, then start it with npm run start
  • Restart the importer with node importer

V 2.11.2 Change Log:

  • Fixed player totals HWID not being updated after the first match.
  • Fixed issue with importer taking excessive amount of time to process weapon stats, after a few 100 logs it would take multiple seconds, now it takes less than 0.1 seconds to process weapon stats on the same machine.
  • Fixed some dropdowns not hiding after the user’s mouse leaves its area.
  • Fixed many issues with gametype merging tools.

Please Note:

  • The admin player search tools are currently being remade, this version it's not in a useable state, the importer and gametype merge features took priority.

2.11.1 Improved Player Merge Tool

20 Jul 20:27
Compare
Choose a tag to compare

Upgrade from V 2.11.0

  • Stop the website & importer.
  • Replace your installed files with the new ones from the archive.
  • Rebuild your website using the npm run build.
  • Run npm run start to restart the website.
  • Run node importer if you wish to restart the log file import process.

A sshot of new merge tool
image

V 2.11.1 Change Log:

  • Fixed issue with players being auto merged into one player if two players have the same HWID in a match.
  • Fixed can not read properties of undefined error on CTF Cap Records Page.
  • Filter out non CTF maps for map list for CTF cap records.
  • Removed merge players by HWID admin tool.
  • Remade the admin's merge player tool, you can now merge multiple players into a single instead of just one by one, there are also new search player name boxes for more ease of use.
  • Fixed issue with the importer failing in the event a player was waiting at a flag stand as it was timeout returned(flag_taken is logged before flag_returned_timeout but the timestamps are the same)
  • Fixed issue with the importer throwing an error if distanceToCap is NaN.
  • Added recalculate players’ win rate admin tool, you can find it in the players section of the admin area.

Updated Maps Search Page

07 Jul 17:21
Compare
Choose a tag to compare

image

Recommend a fresh install if you want full kill location data for the upcoming interactive map feature, if you are not interested in that feature you can just perform the upgrade steps.

Upgrading from v2.10.X

  • Turn off Importer and Website services.
  • Replace the NodeUTstats2 mutator on your UT Server, restart UT server for changes to take effect.
  • Place the contents of the archive into your current website/importer folder.
  • In a terminal run the command node upgrade to update the database structure.
  • Now restart the importer and rebuild the website,

V 2.11.0 Change Log:

  • Remade the Maps page, you can now search, order by, name, first match, last match, total playtime, and total matches.
  • Disabled auto merging players by HWID didn't work out as planned, people using each other's names and other stuff would cause some strange results.
  • Stats Mutator now logs suicide location for suicides that are not caused by weapons.
  • Fixed missing pagination on records page for player total records where the gametype is anything other than all gametypes.
  • Fixed issue with FTP importer not deleting log files from ut-server after the first download if delete files was enabled, causing files to be unnecessarily downloaded a second time, if the log didn’t have a match start it would be downloaded endlessly.. Users should see significant reduction in bandwidth usage. This also fixes the logs that linger in the /Logs folder of UT Servers.
  • Fixed CTF cap/return kills not being saved to the database.
  • Fixed issue with player win rate history not being created after merging two players.

Winrate recalculate script

  • If you wish to recalculate player winrates, extract the contents of recalculatewinrates.zip into your installation, then run node recalculatewinrates in a terminal.