Node UTStats 2 Version 2.13.1

Discussions about UT99
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.5.1

Post by UT Sniper (SJA94) »

Just a few screenshost of the updated importer manager, I have also added options that are applied directly to the website's /Logs folder instead of importing everything in that folder(an oversight on my behalf), also added options for ACE imports.

Image

Image

Image
Dennis
Average
Posts: 72
Joined: Tue Jan 12, 2021 9:18 pm

Re: Node UTStats 2 Version 2.5.1

Post by Dennis »

Updates are always nice now please update thos 3 last links in your signiatur they point to a dead website :-)
Fraggers hangout place: http://fraggers.online/
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.5.1

Post by UT Sniper (SJA94) »

Yeah that host deleted my account without telling me, but I didn't touch it for nearly 2 years and have backups I can put on my server.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.6.0 - SFTP Support

Post by UT Sniper (SJA94) »

New Build Available: https://github.com/scottadkin/node-utst ... tag/v2.6.0

## TO UPGRADE FROM v2.5.1:
- Turn off your website service, run the command node upgrade in your website's directory, then rebuild your site.
- You must replace your ut server's nodeutstats mutator's if you are upgrading.

## Change Log:
- General website style changes.
- Logs placed in the website's folder(not using sftp/ftp import) now have their own settings instead of just importing everything.
- Duplicate logs placed in the website's logs folder can be ignored.
- Added SFTP support to importer.
- Added option to ftp importer enable/disable ACE imports.
- Added option to ftp importer to delete ACE logs.
- Added option to ftp importer to delete ACE screenshots.
- Added option to ftp importer to enable/disable a server.
- Placing ACE screenshots in the websites Logs folder will now be imported in non ftp mode.
- ACE importer will check for duplicates before downloading now.
- Updated FTP tools that includes support for SFTP.
- Fixed s/ftp importer total stats.
- Updated Navigation design.
- Removed pointless red this is a beta message from top of nav.
- Fixed country flag error if country is undefined.
- Replaced MonsterHunt match monster components.
- Fixed importer crash if spawnpoint regular expression failed.
- Fixed importer crash if updateCurrentUpdatedStats argurment is undefined.
- Added MonsterHunt monster stats to player pages.
- Monster hunt now tracks kills on players by monsters.
- Logs under minimum players limit no longer insert a log history with match_id of 0.
- Updated the design of player profile weapons display.
- Updated the design of player profile general summary.
- Fixed page order settings being in wrong order.
- defaultpageorder now sets improved page order values(run node defaultpageorder to change).
- Redesigned admin nexgenstatsviewer tool.
- Added NexgenStatsViewer preview tab.



![alt text](
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.8.0 - ACE HWID & CTF rework

Post by UT Sniper (SJA94) »

Build v2.8.0: https://github.com/scottadkin/node-utst ... tag/v2.8.0

Build highlights:

- ACE HWID player merging, if enabled in the ftp importer settings, players will automatically be merged by ACE player HWID, taking the latest used name for that HWID.
- CTF Rework, most of the CTF stuff has been redone and includes a lot more additional stats.
- Match pages have been rewritten and most of the components have been replaced or updated, majority of stats tables are sortable by clicking the column headers.
- Addition admin tools.

Active sites: https://stats.utctfpug.com/, http://stats.ut99tdm.com/


-- Edit --
Check the first post for the most up to date version.
User avatar
nickelo
Average
Posts: 32
Joined: Thu Dec 15, 2022 11:49 am

Re: Node UTStats 2 Version 2.11.2

Post by nickelo »

Hello, its good script, but how to disable stats of bots? ignore_bots? where?
Image
UT Server in Spain, home served @ 1GB symmetrical fiber :rock: http://ut99server.kozow.com (The Black&Decker Server.)
=================================
-Easy downloads, up to date, "ready to run" for friends in webpage of server.
-"Realistic" BOT configuration, autofill an adecuate amount of bot when you connect, good for practice, 10 humans allowed.
-MapVote, "t" and write "!vote" to test maps.
-More 300 Maps...
-UZ compression, faster downloads.
-UTStats 2 page.
Enjoy.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.11.2

Post by UT Sniper (SJA94) »

If you login as admin you can specify for each ftp server(and the logs folder if you drag and drop manually) if you ignore or enable them. (I need to add an option to set a global setting at some point you can toggle [also need to add to readme how to disable bots]).
Image
User avatar
nickelo
Average
Posts: 32
Joined: Thu Dec 15, 2022 11:49 am

Re: Node UTStats 2 Version 2.11.2

Post by nickelo »

Thanks!!   
Auto merged new post submitted 10 hours 3 minutes later
I probably set ftp server locally to this...

I run your script in Ubuntu with no problems, but I installed your script in Debian 12, at 3 o 4 seconds of run, obtain "Internal server error" in brownser.

Code: Select all

ut-server@ut99:~/node-utstats-2-2.11.2$ npm run start

> start
> node server.js production

> Ready on http://localhost:6969
Failed to proxy http://127.0.0.1:43347/_next/image?url=%2Fimages%2Floading.png&w=32&q=75 Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Error occurred handling /_next/image?url=%2Fimages%2Floading.png&w=32&q=75 Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Failed to proxy http://127.0.0.1:43347/api/home Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Error occurred handling /api/home Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Failed to proxy http://127.0.0.1:43347/api/home Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Error occurred handling /api/home Error: socket hang up
    at connResetException (node:internal/errors:705:14)
    at Socket.socketCloseListener (node:_http_client:467:25)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:301:12) {
  code: 'ECONNRESET'
}
Probably this is SO issue, but it strange Ubuntu and Debian it the same thing...

Thanks
Image
UT Server in Spain, home served @ 1GB symmetrical fiber :rock: http://ut99server.kozow.com (The Black&Decker Server.)
=================================
-Easy downloads, up to date, "ready to run" for friends in webpage of server.
-"Realistic" BOT configuration, autofill an adecuate amount of bot when you connect, good for practice, 10 humans allowed.
-MapVote, "t" and write "!vote" to test maps.
-More 300 Maps...
-UZ compression, faster downloads.
-UTStats 2 page.
Enjoy.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.11.2

Post by UT Sniper (SJA94) »

Did you make sure to run <b>npm run build</b> before running <b>npm run start</b>? It looks like something to do with Next.js's Image, I did a quick search but couldn't find anything useful to see what the problem is. It's not port 43347 being blocked by something?
User avatar
nickelo
Average
Posts: 32
Joined: Thu Dec 15, 2022 11:49 am

Re: Node UTStats 2 Version 2.11.2

Post by nickelo »

UT Sniper (SJA94) wrote: Mon Aug 14, 2023 12:44 pm Did you make sure to run <b>npm run build</b> before running <b>npm run start</b>? It looks like something to do with Next.js's Image, I did a quick search but couldn't find anything useful to see what the problem is. It's not port 43347 being blocked by something?
Hello, after many tests, I have found the problem, :rock: a ram module o similar from the old server, which only affects node.js... the rest of the things are fine, even unreal... it is very strange. ..

I have prepared a virtual machine with the same software, Ubuntu Server, nodejs 18 and mariadb and it works without problems... on the first installation.

I will have to repair the server at the hardware level :lol2: . :loool:

Thank you very much for the help.
Image
UT Server in Spain, home served @ 1GB symmetrical fiber :rock: http://ut99server.kozow.com (The Black&Decker Server.)
=================================
-Easy downloads, up to date, "ready to run" for friends in webpage of server.
-"Realistic" BOT configuration, autofill an adecuate amount of bot when you connect, good for practice, 10 humans allowed.
-MapVote, "t" and write "!vote" to test maps.
-More 300 Maps...
-UZ compression, faster downloads.
-UTStats 2 page.
Enjoy.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.11.2

Post by UT Sniper (SJA94) »

I had a bad RAM stick in my dev server for a while, in Windows it would crash the tab I was using in Chrome every so often and BSOD, in Ubuntu the UT Server using LGSM would randomly play up after a few days and the UT server would not auto reboot if it crashed and could not be started by the normal methods until I restarted the system.
User avatar
nickelo
Average
Posts: 32
Joined: Thu Dec 15, 2022 11:49 am

Re: Node UTStats 2 Version 2.11.2

Post by nickelo »

Normally I have used a desktop linux i5 server computer with 8 gb of ram... But I have discovered that for ut (ucc consumes 70mb of ram) apache for downloading maps and nodejs, enough with an old laptop of 15 years, a core 2 duo, with 1 or 2 GB of ram, and 120 SSD and it works at decent speed, and less power consumption, less noise...

Let's see that go to the location of the server and try to change the ram modules.
Image
UT Server in Spain, home served @ 1GB symmetrical fiber :rock: http://ut99server.kozow.com (The Black&Decker Server.)
=================================
-Easy downloads, up to date, "ready to run" for friends in webpage of server.
-"Realistic" BOT configuration, autofill an adecuate amount of bot when you connect, good for practice, 10 humans allowed.
-MapVote, "t" and write "!vote" to test maps.
-More 300 Maps...
-UZ compression, faster downloads.
-UTStats 2 page.
Enjoy.
User avatar
nickelo
Average
Posts: 32
Joined: Thu Dec 15, 2022 11:49 am

Re: Node UTStats 2 Version 2.11.2

Post by nickelo »

Up and running http://ut99server.kozow.com:6969 and logs migrated. Hardware issue, very rare.

Thanks.
Image
UT Server in Spain, home served @ 1GB symmetrical fiber :rock: http://ut99server.kozow.com (The Black&Decker Server.)
=================================
-Easy downloads, up to date, "ready to run" for friends in webpage of server.
-"Realistic" BOT configuration, autofill an adecuate amount of bot when you connect, good for practice, 10 humans allowed.
-MapVote, "t" and write "!vote" to test maps.
-More 300 Maps...
-UZ compression, faster downloads.
-UTStats 2 page.
Enjoy.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: Node UTStats 2 Version 2.11.3

Post by UT Sniper (SJA94) »

New release out: https://github.com/scottadkin/node-utst ... ag/v2.11.3

# 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.

- 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.

- 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.
Post Reply