Zdoom stats logger?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Curunir
Posts: 1032
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Zdoom stats logger?

Post by Curunir »

I know it's probably silly and possibly cannot be done without it being integrated in zdoom (the game outputting log files and all)...

But I've been thinking. It would own a whole lot if there was a program which logged weapon use, ammo used up, frags, deaths and stuff throughout deathmatches and single player levels. Sort of like the Quake/Counter Strike/foo loggers. I understand that Zdoom doesn't spit out a games.log file where this all is recorded and that's probably the greatest problem.

My knowledge of coding programs is limited to C, Java and a few other high-tech words, so I have no idea how this could be done without the log file. And it would still be great if it's possible. I don't think this is essential enough to bug Randy with it, but if anyone has any idea how this can be done, it'd be sweet to hear it.
User avatar
Hirogen2
Posts: 2030
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Why would you want to log?
User avatar
bimshwel
Posts: 636
Joined: Tue Jul 15, 2003 5:15 pm
Location: misplaced

Post by bimshwel »

I'm sure whatever it is, it's really boring.
User avatar
Curunir
Posts: 1032
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

To analyse in detail my playing style in single player, to know the ways of my enemy in dm, to see how many imps were killed with the shotgun and how many with berserk. :roll:

Man, you're no fun! Logs are good for you and have always been. I mean, don't you have a log analyser program for the newer games you play? If not, that'd be evil!
User avatar
bimshwel
Posts: 636
Joined: Tue Jul 15, 2003 5:15 pm
Location: misplaced

Post by bimshwel »

You'll have to excuse me. My personal experience encountering the word "log" on the internet has found them to be suicidally uninteresting chat session transcripts, the things you get after chopping down a tree, or, in rare instances, perfectly formed pieces of excrement. With that in mind, surely you can understand why I have trouble reading the sentence "logs are good for you and have always been."
User avatar
Enjay
 
 
Posts: 26418
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: Zdoom stats logger?

Post by The Ultimate DooMer »

Curunir wrote:I know it's probably silly and possibly cannot be done without it being integrated in zdoom (the game outputting log files and all)...
ZDoom does have logging ability, but it's limited to only what the console produces. So you could log the items picked up, and how often you die (and how often you cheat, heh) but that's about it. Type this at the console:

logfile log.txt

to start a log called (wait for it...) log.txt
User avatar
Curunir
Posts: 1032
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

The Ultimate Doomer is being amazingly useful and helpful twice in a day! I say, a toast to that fine gentleman! :D

Even that would be enough. But that would still leave me with the .txt file itself. HTML output is going to be nice. But that must require a parser again. Bah! The .txt file will have to make do!
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Curunir wrote:The Ultimate Doomer is being amazingly useful and helpful twice in a day! I say, a toast to that fine gentleman! :D

Even that would be enough. But that would still leave me with the .txt file itself. HTML output is going to be nice. But that must require a parser again. Bah! The .txt file will have to make do!
Put a script in each level you want logging for that prints a one-line message to the screen (and thus the console) telling you what you just killed. Then turn on logging.
User avatar
Curunir
Posts: 1032
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

I don't think I am going to go through the trouble of putting such a script (even if I could write it) in a gazillion levels. And monsters killed isn't such an important stat. Accuracy, time spent with this and this weapon are what interests me more. Anyway, as I said, item pickups will suffice.

Return to “General”