Puny slaves require assistance


(murka) #1

Download: latest

Project is discontinued!
Latest version is given above, all others have been removed.

Usage:

[ul]
[li]The following commands, global chat will print globally, team/ft chat will print in fireteam:
[/li][LIST]
[li] !top - displays kills top
[/li] [li] !display <player> - displays detailed information on player, case-insensitive
[/li][/ul]
[li]config.cfg holds info on top/display template, spree incrementation, top length and spree display
[/li][/LIST]

History:
16.05.10: link

[ul]
[li]Filter chars that break printed output(example: ’ )
[/li][li]Indicator on top to show if etqw running(moving) and if app is reading log(red) or idle(green).
[/li][li]Fixed some smaller bugs.
[/li][/ul]
10.05.10: link

[ul]
[li]User config:
[/li][LIST]
[li]Template for printing top/display command
[/li][li]Spree incrementation
[/li][li]Spree display (off/fireteam/team/global/private)
[/li][li]length of top
[/li][/ul]
[li]Removed undocumented feature
[/li][/LIST]
[strike]09.05.10[/strike]
07.05.10: link

[ul]
[li]Simpler search function for !display
[/li][li]Allow usage of filename with parameters and timestamps
[/li][li]Fixed bug where players were removed when disconnected and rejoined in same map
[/li][li]Fixed bug where renaming caused player to be duplicated(kills for you not counted at all)
[/li][/ul]
03.05.10: link

[ul]
[li]Reload app after engine restart/ETQW quit
[/li][li]Forcing log settings and game reload.
[/li][li]Stop counting frags after map ends and warmup of next map begins
[/li][/ul]
02.05.10: link

[ul]
[li]Initial public release
[/li][/ul]

ToDo:

[ul]
[li]Write a config file if one is missing and fill it with default values and comments. Currently, missing config just uses default values. – NEXT
[/li][li]Print notification when joined mid-map and stats may be off.
[/li][li]Detect cvars incompatible to server and fix them. After disconnect reset old status. – NEXT
[/li][li]New statistic: kills per minute
[/li][LIST]
[li]Calculate using time – NEXT
[/li][li]Calculate using timestamp in logfile
[/li][/ul]
[/LIST]

Bugs:

[ul]
[li]Non english versions of etqw are unsupported. Will give pk4 file with required messages changed to english(join, enter, rename and all forms of disconnect(kick, ban, timeout etc…)
[/li][li]Joining on map change(in a way that you will load previous, then next map) will result in failure to construct player list properly. – NEXT
[/li][/ul]

Not bugs:
Frags dealt after map ends(~2sec cooldown) are registered by this app, but not by etqw.
Game removes a death when revived, which this app rightfully doesn’t.

I will try to release new versions very quickly. All things in ToDo/bugs list marked as NEXT will be in next ver.


(DrFunkenstein) #2

Thanks for posting this, will definitely try it out!

Dr. Funkenstein


(AnthonyDa) #3


(yes, old)


(signofzeta) #4

[quote=AnthonyDa;225006]
(yes, old)[/quote]

like straferunning and trickjumping in ET, which in turn was there in Quake 3?


(DrFunkenstein) #5

I tested it a couple of times and those puny slaves seem to do whatever pleases them, which is not the way slaves should behave!

The killing spree:

  • worked almost every time, today it didn’t for some reason, but a restart of the program made the slaves do what they’re supposed to do.
  • The spree messages are shown in warm-up as well. Is this intended or is it a “feature”?
  • I didn’t realize those sprees messages were printed over global till someone made a comment about it today :slight_smile: . Could this be made optional?
  • The program prints a message for every 3, 6, 9 etc kills in a row, is it possible to change this? Perhaps by using a simple configuration file? More on that below

The !top command:

  • sometimes it works, sometimes it doesn’t, no idea what’s causing this
  • it would be nice if you could change the number of players that is displayed, so you could see a top 5 or whatever you want to see.

The !display command:

  • I haven’t been able to get this to work at all. Do I need to include clantags? Do I need to use quotes around the name? I tried a couple of things, but nothing seemed to work.
  • I noticed the output of pb_plist several times in the logfile. It looks like your program issues this command every time a new player enters the server. Would it be possible to use the PB client numbers together with the !display command? Might make things a bit easier since a lot of people like to put dots, numbers and lots of other silly stuff in their nicks :slight_smile: .

It might be an idea to use a simple configuration file for your program so people can change a couple of settings. Things you could include are:

  • The threshold for killing sprees
  • The number of players shown when you use the !top command
  • A toggle to change the way killing sprees are shown, “on” would mean a print over global chat, “off” would mean it’s only printed to the console so I’m the only one who can see it.

There’s one big drawback to your program for me and that’s the fact that I have to use a specific and fixed name for the log file. For various reasons I like to keep a log file file for every time I play and I use these settings for that:

seta logfile “2”
seta logFileName “console_$Y-$M-$D_$h.$m.$s.log”
seta logtimestamps “1”

The timestamps aren’t really important, I could live without those, but it’s nice to have the date and time in the name of the file. The problem with this is that the name of the file keeps changing and although I’m not a programmer, I can see the difficulty here. You would have to figure out a way to find out what the current name is and I don’t know if that’s possible. The program AnthonyDa made had similar limitations. I would be nice if someone could think of a way around that.

Thanks for taking the trouble to write a program like this and sorry for the long post :slight_smile: .

Dr. Funkenstein


(AnthonyDa) #6

It’s not that hard bth. Just need to find the who is the most recently modified and looking like the cvar name for log for example.

The best solution would be to read the console only instead of the log, but you can’t be 100% sure to get all the console line.


(murka) #7

The killing spree:

  • worked almost every time, today it didn’t for some reason, but a restart of the program made the slaves do what they’re supposed to do.
    Them slaves do indeed need rest. But i’m unsure what caused it.
  • The spree messages are shown in warm-up as well. Is this intended or is it a “feature”?
    Fixed in latest ver
  • I didn’t realize those sprees messages were printed over global till someone made a comment about it today :slight_smile: . Could this be made optional?
    They are printed in fireteam chat. If you aren’t part of a fireteam, i think it prints for people having same task. I’ll try to provide customizations soon.
    Also i did implement two strings it would trigger on.
    addChatLine “Displaying top list…” will do the same as !top, but in chatline, nobody will ever notice.
    addChatLine “Displaying your stats…” well… should explain itself.
  • The program prints a message for every 3, 6, 9 etc kills in a row, is it possible to change this? Perhaps by using a simple configuration file? More on that below
    Will do in a future release

The !top command:

  • sometimes it works, sometimes it doesn’t, no idea what’s causing this
    Should add more debug prints but probably hasn’t extracted your name properly.
  • it would be nice if you could change the number of players that is displayed, so you could see a top 5 or whatever you want to see.
    Good idea

The !display command:

  • I haven’t been able to get this to work at all. Do I need to include clantags? Do I need to use quotes around the name? I tried a couple of things, but nothing seemed to work.
    There are many ways to use it. ex if name is “[TAG]-player” and account name is “player”. you can use “!display yer” or “play” etc. No need for quotes. I know it’s a pretty weird system…
  • I noticed the output of pb_plist several times in the logfile. It looks like your program issues this command every time a new player enters the server. Would it be possible to use the PB client numbers together with the !display command?
    It does that to get account name and store guid(for possible future extension), but i can probably make it get the client number too.

There’s one big drawback to your program for me and that’s the fact that I have to use a specific and fixed name for the log file.
Yes, i used to have logs set up like that also. It’s actually possible to go to the folder and find files that are changing and well, compare it to the filename template.

Thanks for taking the trouble to write a program like this and sorry for the long post :slight_smile: .

Dr. Funkenstein
Any reports/request are welcome, especially long ones.

First off, console size can decrease(losing start). Something important might be lost.
Secondly, if you’d remember some 50lines it would still not be enough to pin-point the current position.
Tried to implement this, but was also uber slow.


(Apoc) #8

I liked the old version, where when you did the !top command it showed the top 3 players kills and k/d. Could you put that back in?

Also was wondering if you could slap accuracy into the !display < > bit

Very nice app tho :slight_smile:


(DrFunkenstein) #9

Thanks for the detailed explanation, looking forward to a new version!

Dr. Funkenstein


(murka) #10

I will probably make the print user defined. Like you can change the order of them or what is shown.


(DrFunkenstein) #11

I didn’t realize you released a new version already, I tested that one today and the !display command is working for me now. The puny slaves still do as they please though. I tried starting the game first and the program after that and the other way around. Program first and then ET:QW seemed to work best.

Dr. Funkenstein


(Dthy) #12

New one doesn’t let me play :frowning: If i have it running, it enters the game, brings up the console fullscreen and goes through every command in my cfg, then i exits and repeats. Any help/ideas?


(murka) #13

seems like you have set logfile 0 in your cfg as it keeps setting it and restarting etqw to take effect. There is no other reason it should do that.


(Dthy) #14

Just did a search in my cfg, “could not find log” “could not find logfile” :S


(murka) #15

Well, go in game and see what value “logFile” holds. it shouldn’t force restart if it isn’t 0.


(Dthy) #16

Checked it, was set to 0, changed to 1 now and it works :smiley:


(murka) #17

Well, the app is capable of setting the value to 2 itself so i can’t see how it was unable to do so(i did try it myself, setting it to 0 and launching app triggered a restart after which it had been set to 2).


(Azuvector) #18

New to me. saves image for future use


(murka) #19

New version with date/time param in logfile support and more.


(murka) #20

The 09.05 version was broken, specifically the top command caused memory corruption and probably a crash. Fix released.