Page 4 of 11

Re: nodeJS UTStats

Posted: Wed Jul 10, 2019 7:43 pm
by UT Sniper (SJA94)
Start of bunnytrack support:

Image

Re: nodeJS UTStats

Posted: Thu Jul 11, 2019 9:26 pm
by RocketJedi
SOOO EXCITED!!!

Re: nodeJS UTStats

Posted: Mon Jul 15, 2019 7:24 pm
by UT Sniper (SJA94)
Sneakpeak at start of monsterhunt match report, as well as new player settings area:

Image



Image

Re: nodeJS UTStats

Posted: Thu Jul 18, 2019 11:14 pm
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.

Re: nodeJS UTStats

Posted: Wed Jul 31, 2019 10:28 pm
by UT Sniper (SJA94)
Been making a new graph api using SVG instead of HTML5 canvas, they are interactive:


Image

Image

Re: nodeJS UTStats

Posted: Sat Aug 03, 2019 3:54 am
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

Re: nodeJS UTStats

Posted: Mon Aug 05, 2019 5:43 pm
by RocketJedi
in for server beta testing ;)

Re: nodeJS UTStats

Posted: Mon Aug 05, 2019 9:24 pm
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.

Re: nodeJS UTStats

Posted: Wed Aug 07, 2019 3:42 pm
by UT Sniper (SJA94)
Added a ranking summary to every match page:

Image

Re: nodeJS UTStats

Posted: Thu Aug 08, 2019 10:34 pm
by UnrealGGecko
Soooo all the bots are british, despite the fact some of them are from other planets?

:loool:

Lookin good. :tu:

Re: nodeJS UTStats

Posted: Fri Aug 09, 2019 12:38 am
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

Re: nodeJS UTStats

Posted: Mon Sep 02, 2019 8:18 pm
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/"
};

Re: nodeJS UTStats

Posted: Tue Sep 03, 2019 4:05 pm
by RocketJedi
looking good! cant wait to try this out

Re: nodeJS UTStats

Posted: Wed Sep 04, 2019 10:25 am
by esnesi
This project is becoming more and more complete every week!
Great work.

Re: nodeJS UTStats

Posted: Wed Sep 04, 2019 9:25 pm
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.