[WIP] Node UTStats 1.12C

Discussions about UT99
User avatar
Hitman
Skilled
Posts: 183
Joined: Mon Aug 16, 2010 11:01 am
Location: Sweden

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by Hitman » Wed May 12, 2021 10:04 pm

Still struggling to get it to work, now we get this error
You do not have the required permissions to view the files attached to this post.

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Thu May 13, 2021 1:45 am

For the commands with node.js you either have to put node or npm before the file name or command, like the readme says . I know the install process is stupid for node utstats, but it will be much simpler when node utstats 2 comes out.

Examples:
npm install
node install

Image

User avatar
StalkS
Novice
Posts: 10
Joined: Fri May 07, 2021 3:26 pm
Personal rank: =-5t4lk3rZ=-

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by StalkS » Fri Jun 04, 2021 1:01 pm

Ok, This looks to be a great update to the original - thank you

Has anyone had any joy integrating this into an existing website hosted on Linux? I have a website running Apache2 and for the life of me, I cannot get it to play nicely! It installs, but I have no idea how to configure the Virtual hosts to display the site as a subsection of the main site (if that makes sense)

I was hoping that I could do the following 'https://www.existingsite.com/UTSTATS' as I can with the original UTStatS but with my limited JS knowledge, I'm left banging my head.

Any pointer would be appreciated!

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Fri Jun 04, 2021 5:15 pm

I'm not sure how to do that, I've never done that before. You might have to use a sub domain or something like that and point to node utstats.

User avatar
StalkS
Novice
Posts: 10
Joined: Fri May 07, 2021 3:26 pm
Personal rank: =-5t4lk3rZ=-

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by StalkS » Fri Jun 04, 2021 5:19 pm

I did try that, but the requirement for the port '1337' or whichever one you setup in the config causes an issue. I'll do some digging!

CPan
Novice
Posts: 15
Joined: Sat Mar 10, 2012 5:28 am

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by CPan » Fri Jun 04, 2021 5:31 pm

StalkS wrote:
Fri Jun 04, 2021 5:19 pm
I did try that, but the requirement for the port '1337' or whichever one you setup in the config causes an issue. I'll do some digging!
It looks like Apache2 works like NGINX which is what I'm using. You'll want to do a ProxyPass to the internal_IP:1337.
CPan

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Wed Jun 16, 2021 12:34 am

Thought this would be a much more user friendly way of managing ftp servers access, instead of the current, find both config files, edit both config files, restart importer, restart website. You can also see other admin tool categories that have been added:

Image

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Fri Jun 25, 2021 5:17 pm

I have added to node utstats 2 experimental IpToCountry support:

Image

I set unknown to usa for a test,
Image

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by Piter » Sat Jun 26, 2021 12:54 pm

UT Sniper (SJA94) wrote:
Fri Jun 25, 2021 5:17 pm
I have added to node utstats 2 experimental IpToCountry support:

Image

I set unknown to usa for a test,
Image
it's great what's you doing for UT community. We looking forward for next realases of Node :]
http://unreal.pl
Polish UT Community servers
Powered by Node UTStats2 - http://unreal.pl:3000

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Sun Jun 27, 2021 2:21 am

Today's project was to add nexgenstatsviewer to Node Utstats 2, it's much easier compared to old node utstats, no more editing config files:




Image

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Mon Jul 05, 2021 9:36 pm

I wasn't intending to add custom gametypes until after the first releases of node utstats 2, but after preparing database tables for MonsterHunt for future releases I got sucked into making it.

Image

Image

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

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Wed Jul 21, 2021 7:25 pm

Updated the homepage of node utstats 2:

Image