• Changes to Server go to this thread http://overzealousgamers.com/threads/etpub-changelog.6665/

ET stats

gemanix

Well-Known Member
spent a few minutes tonight. knocked this together.
you run this in the background, minimise et, then click refresh.



http://gemanix.orcon.net.nz/files/ETStats.zip

you need etconsole.log output. get et outputting console logs by setting logfile 2 in your config.
once you know the location of the etconsole.log, open "ET Stats.exe.config" in notepad, and type the location.

it'll crash if you got the location wrong.

i'll probably do more with the stats bit later, like ratios, etc
 

keith

Well-Known Member
Oh hey, while you're here, could you link to that GUID database application you posted on GA like a year ago? And does said program work with etpub too? Thanks in advance.

Stats program looks nifty, nice work. Was it compiled in Python or like C or something.
 

Messenjah

Well-Known Member
I'll give it a go tomorrow - seems cool.

But in future host your image at tinypic or imageshack or something.. that place was funky!
 

Trigger Happy

Moderator
-OZ-keith said:
Stats program looks nifty, nice work. Was it compiled in Python or like C or something.
My guess is C# since his server has an etconsole.cs file :p
Also, since .NET Reflector disassembles it, it is C# ;)
Messy variable names gema, makes it hard to understand what your strings are doing :p
Just a couple of questions about it though:
Are you reading from an old log file or do you read it "as it comes" (I know they are the same but what is it you are aiming for?). To clarify, does it only get the last game played or does it do a continual tracking of the stats?
I was thinking of making some small ET related projects in my spare time in the hols, seems gema might beat me to all the good ones :eek:

Cheers
 

gemanix

Well-Known Member
-OZ-keith said:
Oh hey, while you're here, could you link to that GUID database application you posted on GA like a year ago? And does said program work with etpub too? Thanks in advance.

Stats program looks nifty, nice work. Was it compiled in Python or like C or something.
etpub doesnt do the guids command. the other program was written for etpro, and more specifically, for identifying aliased players in my admin role.

-OZ-Trigger Happy said:
My guess is C# since his server has an etconsole.cs file :p
Also, since .NET Reflector disassembles it, it is C# ;)
correct. if you wanted the source code, should have asked me.

-OZ-Trigger Happy said:
Just a couple of questions about it though:
Are you reading from an old log file or do you read it "as it comes" (I know they are the same but what is it you are aiming for?). To clarify, does it only get the last game played or does it do a continual tracking of the stats?
it's a polling routine (by timer) that activates every 100ms. it checks for new content in the etconsole.log file. if there is new content, it processes. so it's continual tracking.

i have another stats program that also tracks the obituaries as they appeared. it told me the pecking order of players. i ran it on GA7 sometimes to announce killing sprees and multikills... i often got a mute for it haha.
 

Trigger Happy

Moderator
Yeah I just wanted to have a quick look so reflector served its purpose ;) Gotta love that program.
Sounds interesting, the multikill idea sounds cool haha. I take it it would have to manually write it to the screen unless there is some hidden ET API :p.
Kajah back in the day made a vb script that ran daily that took the rankings from splatter ladder to show how your ranking went day by day. Was kind of cool except it was pretty basic since it didn't have any filters. You would end up getting 50 excel files with data on the top 50 players. Something like that wouldn't work now that sl knows we use bots and sessions aren't ranked.

Cheers
 

gemanix

Well-Known Member
-OZ-Trigger Happy said:
Yeah I just wanted to have a quick look so reflector served its purpose
well, let me know if you want the source posted.

-OZ-Trigger Happy said:
I take it it would have to manually write it to the screen unless there is some hidden ET API
there's actually a hidden window when you play et. its the same window as when you run etded.exe. it's got a text box at the bottom, so you can write commands, so i find the window, and the textbox and use it to communicate to et. it's the same process Yawn uses.
 

HaPpY

Well-Known Member
set guidcheck "clear; wait 130;guids; wait 130;condump guidcheck.txt"

just a piece from my cfg if anybody would like
has come in handy many times
 

gemanix

Well-Known Member
HaPpY said:
set guidcheck "clear; wait 130;guids; wait 130;condump guidcheck.txt"

just a piece from my cfg if anybody would like
has come in handy many times
i thought guids was not a valid command under etpub? only under etpro...
 

Trigger Happy

Moderator
Could you post the source for your program gema? :)
I might dabble with some of the tools I want to make in the coming weeks and it'll save me having to reinvent the wheel on things like inputting to ET.

Cheers
 
Top