[WIP] NodeUTStats Beta 2

Discussions about UT99
User avatar
UT Sniper (SJA94)
Adept
Posts: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Wed Jul 10, 2019 7:43 pm

Start of bunnytrack support:

Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game

Qwerty
Masterful
Posts: 692
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by Qwerty » Thu Jul 11, 2019 9:26 pm

SOOO EXCITED!!!
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

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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Mon Jul 15, 2019 7:24 pm

Sneakpeak at start of monsterhunt match report, as well as new player settings area:

Image



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: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Thu Jul 18, 2019 11:14 pm

Just a screenshots of a bit of a bunnytrack match report:

Image



---edit notice time of capped, forgot to change capped to cap after changing title.
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: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Wed Jul 31, 2019 10:28 pm

Been making a new graph api using SVG instead of HTML5 canvas, they are interactive:


Image

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: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Sat Aug 03, 2019 3:54 am

Made a scoreboard for match screenshots for bunnytrack(need to update the footer message to include date of match and other stuff):

Image





forgot to post monsterhunt one:

Image
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game

Qwerty
Masterful
Posts: 692
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by Qwerty » Mon Aug 05, 2019 5:43 pm

in for server beta testing ;)
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

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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Mon Aug 05, 2019 9:24 pm

Ive got to add a map page, and swap the graphs for my new system, then I could release a early beta version without admin tools.
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: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Wed Aug 07, 2019 3:42 pm

Added a ranking summary to every match page:

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
UnrealGGecko
Godlike
Posts: 2212
Joined: Wed Feb 01, 2012 11:26 am
Personal rank: GEx the Gecko
Location: Kaunas, Lithuania
Contact:

Re: nodeJS UTStats

Post by UnrealGGecko » Thu Aug 08, 2019 10:34 pm

Soooo all the bots are british, despite the fact some of them are from other planets?

:loool:

Lookin good. :tu:

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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Fri Aug 09, 2019 12:38 am

UnrealGGecko wrote:Soooo all the bots are british, despite the fact some of them are from other planets?

:loool:

Lookin good. :tu:
I was lazy, I was going to do a randomizer test script so the screenshots and other stuff look better, but instead I just changed every single one that was 'xx' to uk with a mysql query.


Screenshots of the new map page:

Image


Match result not done yet:
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: 480
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Mon Sep 02, 2019 8:18 pm

This project isn't dead:

Test build here: http://cut99.ddns.net:1337/ (not online everyday)

I've updated the match screenshots, you can now select a screen resolution from 1024x768 up to 16K(for some reason :| ), you can also now click on the image to make it fullscreen.
Image

Here is a 9600x5400 sshot: https://i.imgur.com/GZrKMYA.jpg


I've added faces from the bonus packs.

There has been tonnes of bug fixes and optimizations.

There are many more config variables for both website and server side modules, there will be more added soon so you can customise what is displayed and not.


Server module:

Code: Select all

const Config = {
    host:"localhost",
    user:"root",
    password:"",
    database:"node_utstats",
    port: "3306",
    bIgnoreBots: false,
    bIgnoreDuplicates: false,
    bMoveTmpFiles: true,
    tmpFileTimeMoveLimit: 300 * 60 , // minutes * seconds
    bMoveLogFiles: false,
    multiKillTimeLimit: 3,
    minCaps: 1, //Ignore matches that don't have any caps (BT and CTF)
    minPlayers: 0, // set this to 2 if you want to ignore matches that only have 1 human player
    importInterval: 60 * 1000,
    tmpDir: "../Logs/tmpfiles/",
    logDir: "../Logs/",
    btMaxCapTime: 600000
};
Website module:

Code: Select all

const Config = {

    "port": 1337,

    "mysqlHost": "localhost",
    "mysqlUser": "root",
    "mysqlPassword": "",
    "mysqlDatabase": "node_utstats",
    "mysqlPort": 3306,
    "sessonTable": "nutstats_sessions",



    "matchesPerPage":25,
    "playersPerPage":50,
    "rankingsHomePerPage":10,
    "rankingsPerPage":50,
    "mapsPerPage":10,
    "defaultMap":"default",
    "recordsPerPage": 25,
    "recordsPerPageDefault": 5,

    "mapsDir": "public/files/maps/",
    "mapsExt": ".jpg",

    "facesDir": "public/files/faces/",
    "facesExt": ".png",
    "defaultFace": "faceless",

    "bHomeDisplayFaces": true,
    "bHomeDisplayMonsters": true,
    "bHomeDisplayCountries": true,
    "bHomeDisplayPlayers": true,
    "bHomeDisplayRecent": true,
    "bHomeDisplayGametypes": true,
    "bHomeDisplayMaps": true,
    "bHomeDisplayServers": true,

    "homeMaxMonsters": 5,
    "homeMaxFaces": 5,
    "homeMaxVoices": 5,
    "homeMaxCountires":5,

    "btRecentTimes": 10,
    "btRecentRecords": 10,
    "btTimesPerPage": 50,

    "mapsResultsPerPage":25,


    "minPlayers": 0,
    "minMatchLength": 0 //how many seconds a match needs to be to be displayed

    //"monsterImagesDir": "../public/files/monsters/"
};
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game

Qwerty
Masterful
Posts: 692
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by Qwerty » Tue Sep 03, 2019 4:05 pm

looking good! cant wait to try this out
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

User avatar
esnesi
Adept
Posts: 418
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: on it!

Re: nodeJS UTStats

Post by esnesi » Wed Sep 04, 2019 10:25 am

This project is becoming more and more complete every week!
Great work.

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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) » Wed Sep 04, 2019 9:25 pm

I've been implementing an admin system, so far:

- First time setup(admin account creater), in api/config.js there is now two one use options, one is an admin username, the other is an admin password(By default they are admin and password, but they must be changed to start the first time setup). After you changed these two values to something other then their default values you will gain access to the "first setup login", here you enter in the admin username, and admin password created earlier. Here you will create an admin account that is then the one you will use to login to the admin area of the site after setup is complete(does not have to be same as adminusername and adminpassword). After this you must restart the website module, the site will be accessible to the public after you have completed this step.

Planning on add comments and likes to matches, maps, and player profiles, that's why the steps above have been added, otherwise would of just used adminusername and adminpassword to login to admin area.



I will be adding tools for admins to find out all missing map files, faces, and such for match and map reports.
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game

Post Reply