Forum


Latest Message: 8 minutes ago

Notifications
Clear all

ET stats

11 Posts
5 Users
0 Reactions
1,558 Views
(@gemanix)
Estimable Member
Joined: 16 years ago
Posts: 92
Topic starter  

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

[url][/url]

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


   
Quote
(@keith)
Estimable Member
Joined: 16 years ago
Posts: 151
 

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.


   
ReplyQuote
(@messenjah)
Prominent Member
Joined: 16 years ago
Posts: 641
 

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!


   
ReplyQuote
(@trigger-happy)
Noble Member
Joined: 16 years ago
Posts: 1460
 

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 ๐Ÿ˜›
Also, since .NET Reflector disassembles it, it is C# ๐Ÿ˜‰
Messy variable names gema, makes it hard to understand what your strings are doing ๐Ÿ˜›
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 ๐Ÿ˜ฎ

Cheers


   
ReplyQuote
(@gemanix)
Estimable Member
Joined: 16 years ago
Posts: 92
Topic starter  

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.

My guess is C# since his server has an etconsole.cs file ๐Ÿ˜›
Also, since .NET Reflector disassembles it, it is C# ๐Ÿ˜‰

correct. if you wanted the source code, should have asked me.

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.


   
ReplyQuote
(@trigger-happy)
Noble Member
Joined: 16 years ago
Posts: 1460
 

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


   
ReplyQuote
(@gemanix)
Estimable Member
Joined: 16 years ago
Posts: 92
Topic starter  

Yeah I just wanted to have a quick look so reflector served its purpose

well, let me know if you want the source posted.

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.


   
ReplyQuote
(@happy)
Honorable Member
Joined: 16 years ago
Posts: 522
 

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


   
ReplyQuote
(@gemanix)
Estimable Member
Joined: 16 years ago
Posts: 92
Topic starter  

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…


   
ReplyQuote
(@trigger-happy)
Noble Member
Joined: 16 years ago
Posts: 1460
 

Ah I see. So that is what that utility function was doing.
It all makes sense now ๐Ÿ™‚

Cheers


   
ReplyQuote
(@trigger-happy)
Noble Member
Joined: 16 years ago
Posts: 1460
 

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


   
ReplyQuote
Share: