JIVA's games.log parser

1 reply [Last post]
JIVA
Jiva's picture
Offline
Joined: Jun 2006
Posts:
CZ Czech Republic

----------------------------------
JIVA's games.log parser
----------------------------------

I have short linux bash script

function = it take file qconsole.log in path and search inside wins of teams read and blue

it is for tracking team games gametypes , it count score of battles

example : play freeze , red wins ( 9 : 1 ) , then next match red wins ( 8 : 0 ) and third match blue wins ( 5 : 10 ) ok

my script show ( 2 : 1 ) in html file

my script run all time in background

it create scoreboard.html file with wins red and blue team

example : when you play 3 hours it is cca 18 battles , so scorebaord show html file where is ( 18 : 0 ) red 18 times win

my english is my barriere

you can create windows version of script file on google AI mode > ask convert to windows version

html file scoreboard.html can be used for streaming in obs studio as widget

DOWNLOAD

Anabolic 007
Vladimir Putin's picture
Offline
Joined: Oct 2024
Posts:
US United States
Re: JIVA's games.log parser

I’m glad to see you’ve started putting AI to good use. I don’t recall which thread it was in, but you once asked about separate referee permissions-specifically, how to grant different rights to different players based on the payment system. Now I know how to implement that.

1. The quake3-rcon utility is required. It allows you to remotely execute any Quake III Arena server commands.

2. You set up a short alias in your Linux or WSL2 (Windows) terminal to make logging in easier. In the file `home > exampleuser > .bashrc`:
Something like this for easy login:
alias q3-rcon="quake3-rcon 185.180.2.21 examplepassword 27195"
And to avoid entering login details manually every time, any short command you come up with—such as `q3-rcon`—will allow you to manage the server remotely.

3. Okay, we’ve established that it works; since the source code for the quake3-rcon utility is available on GitHub, we can use it in a custom desktop application or integrate it into our website—wrapping it in a nice UI with attractive buttons.

4. Essentially, you can restrict the set of server management commands for each player individually and provide them with this functionality via a web interface on the site.