[WIP] Node UTStats 1.12C

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: nodeJS UTStats

Post by UT Sniper (SJA94) »

Start of bunnytrack support:

Image
RocketJedi
Inhuman
Posts: 850
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by RocketJedi »

SOOO EXCITED!!!
https://www.vulpinemission.com
Image ROCKET-X8 Server
Image MONSTERHUNT w/ NALI WEAPONS 3 + RX8
Image BUNNYTRACK NY
Image SNIPER DEATHMATCH
Image InstaGib + ComboGib + Jailbreak
Image ROSEBUM ROCKET-X RB
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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

Image



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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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


Image

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

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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
RocketJedi
Inhuman
Posts: 850
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by RocketJedi »

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 InstaGib + ComboGib + Jailbreak
Image ROSEBUM ROCKET-X RB
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

Added a ranking summary to every match page:

Image
User avatar
UnrealGGecko
Godlike
Posts: 2900
Joined: Wed Feb 01, 2012 11:26 am
Personal rank: GEx the Gecko
Location: Kaunas, Lithuania
Contact:

Re: nodeJS UTStats

Post by UnrealGGecko »

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)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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/"
};
RocketJedi
Inhuman
Posts: 850
Joined: Wed Mar 12, 2008 7:14 pm
Personal rank: I.T Master
Location: New York
Contact:

Re: nodeJS UTStats

Post by RocketJedi »

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 InstaGib + ComboGib + Jailbreak
Image ROSEBUM ROCKET-X RB
User avatar
esnesi
Godlike
Posts: 1018
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: nodeJS UTStats

Post by esnesi »

This project is becoming more and more complete every week!
Great work.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: nodeJS UTStats

Post by UT Sniper (SJA94) »

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