nodeJS UTStats

Discussions about UT99

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Tue Apr 23, 2019 4:01 pm

Just a screenshot of a match page to show project isn't dead, still tweaking the style: Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Mon Apr 29, 2019 9:57 pm

Video of a more updated match replay system:


















-----------------------edit--------------------



Added simple system for map background images for match replay, just need to create a .jpg with the same filenmae as the map minus .unr ;

Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Fri May 10, 2019 3:41 am

Just a quick update.

This project isn't dead, the last few days I started recoding the server/import module from almost scratch, for better performance, better error handling, better management(making the code more readable and more ordered) , and make it easier to add new features without breaking other stuff.


When it's done I will upload it to my github.

Image


There is also a test build running here if you want to looks at the very basic stuff: http://cut99.ddns.net:1337/
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Fri May 24, 2019 9:49 pm

I'm remaking the website module, a lot of the basic stuff is done and I've tried to make the website as easy as possible to change the style/colors:


Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Thu May 30, 2019 9:22 pm

Just a quick updated:

Teamgame match report page:
Image

Assault match report page:
Image

Domination:
Image

Team kill performance graph with special events below it:
Image

Team change history for a match:
Image




------------edit---------------------


Added graphs for LMS games:

Image
Last edited by UT Sniper (SJA94) on Sun Jun 02, 2019 10:58 pm, edited 1 time in total.
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby CoN_Dentures » Fri May 31, 2019 5:14 am

Very NICE, great job! I too took on re-writing UT Stats for our server because quite frankly the script is out of date. My domain would not accept the deprecated MySql statements, but I love where your going with this using NodeJS!
CoN_Dentures
Novice
 
Posts: 3
Joined: Mon Aug 27, 2018 9:15 pm

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Mon Jun 03, 2019 12:24 am

I've been adding support for open graph so you get more detailed links when you share them on discord, facebook, and co.

Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby anth » Mon Jun 03, 2019 11:02 am

Nice project! Are you using the UTStats UScript package or are you rewriting that from scratch too?
User avatar
anth
Skilled
 
Posts: 183
Joined: Thu May 13, 2010 2:23 am

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Mon Jun 03, 2019 3:34 pm

anth wrote:Nice project! Are you using the UTStats UScript package or are you rewriting that from scratch too?

It currently uses the utstats actor, but it can work without it just wont have weapon stats and a few other things. I did have a little tinker with it so it saves player faces information to the log but dont use it, im a novice at uscript, even though uscript was the reason I became a programmer.








-----edit-----


it's worth noting the current website I'm making will possibly be one of two different versions. I want to make a higher end version with react and other stuff for modern browsers.


------edit-----


Image



------------edit-----------------------------------------------
Ranking page:
Image
Last edited by UT Sniper (SJA94) on Sun Jun 09, 2019 12:32 am, edited 1 time in total.
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby Qwerty » Thu Jun 06, 2019 6:25 pm

looking forward to this release!
https://www.vulpinemission.com
Image ROCKET-X8 Server
Image MONSTERHUNT w/ NALI WEAPONS 3 + RX8
Image BUNNYTRACK NY
Image SNIPER DEATHMATCH
Image ROSEBUM ROCKET-X RB
Qwerty
Masterful
 
Posts: 676
Joined: Wed Mar 12, 2008 7:14 pm
Location: New York
Personal rank: I.T Master

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Sun Jun 09, 2019 2:19 am

Yay or nay on the colour scheme?


Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby RetroEpoch » Wed Jun 12, 2019 7:52 am

My man... What a project!

yay for the color scheme!

Is it a replacement for the old Stats website for UT?
User avatar
RetroEpoch
Average
 
Posts: 51
Joined: Wed Oct 03, 2018 3:02 pm
Personal rank: The more the merrier

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Wed Jun 12, 2019 8:35 pm

captainepoch wrote:My man... What a project!

yay for the color scheme!

Is it a replacement for the old Stats website for UT?


It's a complete replacement of the old system, only thing that is the previous version is the UTStats server actor. I am thinking of doing this with php as well so people have a choice of if they want to use node.js or php. I do plan on making a discord bot for this system first before making the php version.



I finished the records page last night, instead of having the best 1 player for each category like the old utstats system, you can view all top 5 on one page or search through all the records for x type.


Image










----------------------------edit------------------


I added an option to ignore importing bot data.
I added an option to ignore importing duplicate logs.
I changed the process of storing the imported logs, now it moves it to /logs/imported/logs-<year>-<month>-<day>

Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: nodeJS UTStats

Postby RetroEpoch » Thu Jun 13, 2019 7:32 am

UT Sniper (SJA94) wrote:
captainepoch wrote:My man... What a project!

yay for the color scheme!

Is it a replacement for the old Stats website for UT?


It's a complete replacement of the old system, only thing that is the previous version is the UTStats server actor. I am thinking of doing this with php as well so people have a choice of if they want to use node.js or php. I do plan on making a discord bot for this system first before making the php version.


Are you planning to open source this and doing a php version of the same thing you're doing with NodeJS? Man... I bow to you!

If I can self-host this for my friend's server it'll be cool, because we can get angry with each other and try to win the other friends :)
User avatar
RetroEpoch
Average
 
Posts: 51
Joined: Wed Oct 03, 2018 3:02 pm
Personal rank: The more the merrier

Re: nodeJS UTStats

Postby UT Sniper (SJA94) » Thu Jun 13, 2019 9:20 am

captainepoch wrote:
UT Sniper (SJA94) wrote:
captainepoch wrote:My man... What a project!

yay for the color scheme!

Is it a replacement for the old Stats website for UT?


It's a complete replacement of the old system, only thing that is the previous version is the UTStats server actor. I am thinking of doing this with php as well so people have a choice of if they want to use node.js or php. I do plan on making a discord bot for this system first before making the php version.


Are you planning to open source this and doing a php version of the same thing you're doing with NodeJS? Man... I bow to you!

If I can self-host this for my friend's server it'll be cool, because we can get angry with each other and try to win the other friends :)



Yeah it will be open source, its on my github atm and I will upload to npm for easy installation. I had a coding binge last night until 4am where I created an install script that creates all the needed folders, databases and tables. There is a few things I need to do before release like making documentation on how to install and run the two modules.
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 453
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests