Node UTStats 2 Version 2.1.0

Discussions about UT99
User avatar
Piter
Novice
Posts: 13
Joined: Sun Jan 31, 2021 10:17 am

Re: Node UTStats 2 Public Beta

Post by Piter » Sat Oct 02, 2021 10:25 pm

esnesi wrote:
Sat Sep 25, 2021 12:30 am
Piter wrote:
Fri Sep 24, 2021 7:41 am
Simple script to start/restart Node UTStats 2 on your Linux machine.

Code: Select all

#!/bin/sh
echo Killing all existing screens...

screen -X -S website quit
sleep 2
screen -X -S importer quit

echo Loading Website screen...
cd /full/patch/to/your/node-utstats-2 # for example - /home/unrealstats2/node-utstats-2
screen -S website -d -m bash -c  "npm run start"
sleep 2
echo Loading Importer screen...
screen -S importer -d -m bash -c  "node importer"
echo All done.
After start, you can simply access website and importer console by typing

screen -r importer
screen -r website

CTRL+A D disconnects console being called by screen command.
Ah nice, i'll take a look when i got some time.
Atm iam using PM2 for this.
https://pm2.keymetrics.io/
you did not help anything :D
http://unreal.pl
Polish UT Community servers
Powered by Node UTStats2 - http://unreal.pl:3000

User avatar
esnesi
Inhuman
Posts: 880
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: Node UTStats 2 Public Beta

Post by esnesi » Sat Oct 02, 2021 11:33 pm

Piter wrote:
Sat Oct 02, 2021 10:25 pm
you did not help anything :D
I sincerely apologize Piter! :D
Quite busy testing alot of things, i do hope to get back on you still but can't promise as PM2 does its thing for me.

User avatar
Piter
Novice
Posts: 13
Joined: Sun Jan 31, 2021 10:17 am

Re: Node UTStats 2 Public Beta

Post by Piter » Sat Oct 16, 2021 1:49 pm

@UT Sniper: please, publish changelog. because maybe many people would like to install utstats2, but they don't know what to expect:]
http://unreal.pl
Polish UT Community servers
Powered by Node UTStats2 - http://unreal.pl:3000

User avatar
UT Sniper (SJA94)
Masterful
Posts: 701
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: Node UTStats 2 Public Beta

Post by UT Sniper (SJA94) » Sat Oct 16, 2021 5:39 pm

Ok will start doing releases since many of the original bugs have been fixed.

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

Change Log
**** Build v2.0.0 16/10/21
- Changed map screenshots system.
- Added new admin tools for uploading map screenshots.
- Many bug fixes(been lazy and haven't kept track, but will keep track from now on)
-----------------------------------------------------------

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

Change Log
**** Build v2.0.1 17/10/21
- Fixed upgrade script not adding new columns, if there is another node utstats 2 database that has been upgraded.
- Fixed weaponsManager is undefined error.
- Fixed CTF4 Errors while inserting ctf cap data(May result in some data being missing such as caps).

User avatar
UT Sniper (SJA94)
Masterful
Posts: 701
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: Node UTStats 2 Version 2.1.0

Post by UT Sniper (SJA94) » Wed Oct 20, 2021 5:38 pm

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

Change Log
**** Build v2.1.0 20/10/21
- IMPORTANT! You now have to run another service when you run the website, you now have to also run **node images** to create a tiny webserver to host the sites images.
- Fixed broken images of newly uploaded files(see below).
- Images are now fetched from a seperate file server on port 3001, this is because if you uploaded images in production mode the site wouldn't be able to use them until you rebuild the website.
- Update thumbs list on each file creation(Create Missing Thumbnails).
- Updated packages so Jimp is now included.
- Removed screenshot download buttons, you can still right click download images.
- Country flag components now display the name of the country while being hovered over.

User avatar
NemesisNeS
Average
Posts: 41
Joined: Tue Nov 23, 2021 7:24 pm
Personal rank: GOD, not Godlike
Location: Under someones bed

Re: Node UTStats 2 Version 2.1.0

Post by NemesisNeS » Sun Nov 28, 2021 1:35 am

Thanks mate, seems to be running flawlessy with me. Will report any bugs I catch on your repository.
I miss $1.99 movie theaters, .25 cent candy bars, and a bucket of popcorn bigger then your head for $2.75. I miss going into a magical carnival with tattoo covered contortionists, big breasted bearded ladies, and a half man/half woman exhibitionist named Taylor handing out tickets for the latest roller coaster ride, instead of having all three of these either taking my coffee order, ringing my groceries up at the super market, or deciding whether or not I get a bank loan today. Shims and Shmoos, Herms and Hawombs. Everything changes (good or bad).

User avatar
UT Sniper (SJA94)
Masterful
Posts: 701
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: Node UTStats 2 Version 2.1.0

Post by UT Sniper (SJA94) » Sun Nov 28, 2021 2:06 am

Thanks, I'm currently rewriting the ctf importer to add support for multi ctf/ctf4, there are new pages/features for the next build (example of ctf cap records https://stats.xjon.me/ctfcaps) you can also see the new flag cap timings on matches, and maps pages on the same site.

Next build will also be running Next.js 12 which comes with significant performance gains.