PDA

View Full Version : L4D Scorebot


rehpyc
03-27-2009, 03:56 PM
I'm just curious how many of you would enjoy having a scorebot that could cast numerous matches at once in designated channels. I once had an old scorebot that could do this for CS and was used by GotFrag with LAN matches, and I enjoy how detailed the L4D server logs can be. I'm trying to think of some ideas as to if a player's additives (ie, pills, pipe bombs, etc) should be listed with the player's name when he kills an infected or not, and how it should be displayed in irc if people feel it should. For now, I'm thinking of using colored asterisks in brackets in front of their name, each color denoting what they're carrying.

Give thoughts, ideas, or criticisms.

FredroO
03-27-2009, 04:05 PM
If you have the time to flesh one out, I'm sure the community would appreciate it....not to mention L4DTV but that's another issue.

Ravager
03-27-2009, 09:36 PM
If you're making a full-fledged scorebot, make the options toggleable. You probably won't need it showing in-game chat. Maybe say whether a player was incapped or bleeding, and show their current health on kill. You also don't need it spamming kills on common infected. Maybe show who heals who, or who passes pills to who.

hmm


<survivorname> [<HP>/<pickup>/<pills/medkit(y/n)>] killed <specinfname> with <weapon>
<specinfname> [<HP>] incapped <survivorname>
<specinfname> [<HP>] killed <survivorname> with <weapon>
<survivorname> [<HP> (BLEED/LIMPING)/<pickup>/<pills/medkit>] killed <specinfname> with <weapon>
<survivorname1> [<HP>] healed <survivorname2>
<survivorname1> [<HP>] gave pills to <survivor2>
Round End: <survivornum> survivors made it to the saferoom: <survivorname1>, <survivorname2>,..,<survivorname4>
Round End: All survivors dead/incapped
<survivorname> triggered crescendo

Just an example. :P

Jerkstore
03-27-2009, 09:54 PM
You could also write a script to convert the log data into a pretty php/html page, which would be handy because it could serve as a permanent match report to use as a reference. Live IRC reports would be cool just for the round scores in big games, but I don't think anyone will want to see everytime someone gets incapped or passes pills in irc.

Ravager
03-27-2009, 10:44 PM
That would be toggleable..

rehpyc
03-27-2009, 10:58 PM
Yeah, killing the common infected would be useless to display. I've moreso contemplated if/how to display items that a survivor is carrying with them.

Once the scorebot itself is completed, expanding to other things is relatively easy. For example, a database could be kept with all the matches captured for people to view to see how everything transpired if they couldn't be there to watch the scorebot (or don't care to sit there).

An example of a stats system that I've written prior was used for DoD and resembled GotFrag's GameSense in a way. (EXAMPLE (http://web.archive.org/web/20070512204005/stats.dodsource.com/players/?id=1)) Be forewarned, a lot of it is now broken due to being old and at the mercy of whatever the web has archived.

If you'd like to help out with the project and have access to your server via rcon AND ftp, feel free to message me here or on irc as jettyrehpyc

Ridley
03-28-2009, 12:00 AM
Well... there should be a "horde" display...

As in, random horde starts / ends

Alex
03-28-2009, 01:10 AM
You could also write a script to convert the log data into a pretty php/html page, which would be handy because it could serve as a permanent match report to use as a reference. Live IRC reports would be cool just for the round scores in big games, but I don't think anyone will want to see everytime someone gets incapped or passes pills in irc.

scorebots are huge. what dead game did you come from?

Jerkstore
03-28-2009, 01:22 AM
He's only talking about IRC bots in the OP, and he asked for thoughts and ideas. Apologies for trying to help!

MadYak
03-28-2009, 01:38 AM
Scorebots would be an excellent thing to have until STV comes out.

Alex
03-28-2009, 01:43 AM
He's only talking about IRC bots in the OP, and he asked for thoughts and ideas. Apologies for trying to help!

scorebots are irc bots, lol? its ususaly named scorebot, hence the name. They sit in w/e irc channel you want and post scores. in cod for example

Alex(kill/death ratio) killed jerkstore(kill/death ratio) ak47u headshot.
Alex(KDR) other player (KDR) poop gun
etc
Round end
Team 1: 6 - Team 2: 4

blah you get the picture.

similar would show up in irc, except round's don't exist so all that stuff would need to be changed.

rehpyc
03-28-2009, 04:33 AM
Some things to note about how the server logs things:

Can see when a pipe bomb or molotov is thrown, but not when either are picked up by a survivor
Can see how much damage a smoker does to a tongue'd survivor and when the tongue is broken by a survivor
Can see how much damage a hunter does in the process of pouncing a survivor from a high altitude, but you cannot see how much damage is done to the pounced survivor
Can see when a boomer got at least one survivor, but can't tell how many or who got boom'd
Can see who spawns as the tank and when/if the tank is passed on to another survivor
Can see when a survivor is incapacitated, and by which infected (even if it's the common infected)
Can see when one survivor attempts to revive an incapacitated survivor and stops, but you can't necessarily denote if he successfully revives a survivor (will just have to take it as implied if not interrupted)
Can see when a player is limping due to low health
Can't directly see when a player uses pills or heals with a health pack


There's potentially a few details I may have missed as I only had 2 shorter logs to review (getting a few more will help), but at least the logs are pretty detailed to let a scorebot viewer know what's going on.

However, there's one funny thing that I noticed with at least these 2 logs.. Valve decided it be best to not actually put the proper scores at the end of each round and instead always shows both teams scoring 0. Hopefully this is just something that's been fixed in more recent updates, as my logs are rather old?

dmonixed
03-28-2009, 05:40 AM
I enjoy how detailed the L4D server logs can be.

Give thoughts, ideas, or criticisms.

my thoughts, you are a fucking nerd sean :D



<3

Ravager
03-28-2009, 11:20 AM
my thoughts, you are a fucking nerd sean :D



<3
Asshat. :o

twirk
03-28-2009, 12:32 PM
my thoughts, you are a fucking nerd sean :D



<3

Asshat. :o

I 2nd both of these statements.

Jerkstore
03-28-2009, 01:02 PM
Alex(kill/death ratio) killed jerkstore(kill/death ratio) ak47u headshot.

I think you got that mixed up.

dmonixed
03-28-2009, 01:26 PM
Asshat. :o

oh you

docphilosophy
03-28-2009, 02:35 PM
would you boys stop flirting with each other, gosh

Alex
03-28-2009, 02:36 PM
I think you got that mixed up.

n0pe

BooDuh
03-28-2009, 03:51 PM
I'm currently working on this project. If you would like to join me, please message me on IRC

BooDuh
03-28-2009, 05:47 PM
For the good of the community.

PLAYER HEAL
N/A

PLAYER PILLS
03:17:33 L 03/09/2009 - 02:15:26: "trinity.Booduh<2><STEAM_1:0:60254><Survivor><Manager><ALIVE><91+9><setpos_exact 6226.03 3263.31 -238.70; setang 6.00 -47.98 0.00><Area 33075>" used pills on "trinity.Booduh<2><STEAM_1:0:60254><Survivor><Manager><ALIVE><91+9><setpos_exact 6226.03 3263.31

PLAYER KILL
03:18:46 L 03/09/2009 - 02:16:38: (DEATH)"trinity.Booduh<2><STEAM_1:0:60254><Survivor><Manager><ALIVE><91+0><setpos_exact 8275.86 3872.28 -82.02; setang 17.62 -78.83 0.00><Area 27988>" killed "Hunter<66><BOT><Infected><HUNTER><DEAD><1+0><setpos 8300.61 3745.64 -142.09; setang 321.11 101.06 0.00><Area 27980>" with "autoshotgun"

PLAYER DEATH
03:19:55 L 03/09/2009 - 02:17:47: (DEATH)"Hunter<69><BOT><Infected><HUNTER><ALIVE><250+0><setpos_exact 8299.77 3409.75 -103.03; setang 270.00 0.00 0.00><Area 27953>" killed "trinity.Booduh<2><STEAM_1:0:60254><Survivor><Manager><DEAD><1+0><setpos 8299.77 3409.75 -147.03; setang 21.54 -109.27 0.00><Area 27953>" with "hunter_claw"

PLAYER REVIVE
L 03/09/2009 - 01:55:25: (INCAP) "Bill<39><BOT><Survivor><NamVet><ALIVE><100+0><setpos_exact 536.03 2107.29 78.03; setang 3.47 358.09 0.00><Area 39019>" starts reviving "Louis<40><BOT><Survivor><Manager><INCAP><291+0><setpos_exact 619.14 2064.03 40.03; setang 348.35 17.03 -20.00><Area 3

PLAYER SUICIDE
L 03/09/2009 - 00:54:31: (INCAP) "trinity.Booduh<2><STEAM_1:0:60254><Survivor><NamVet><ALIVE><100+0><setpos_exact 1262.28 824.82 82.30; setang 30.40 -179.46 0.00><Area 33552>" is dying instead of incapping because they fell too far.
L 03/09/2009 - 00:54:31: (DEATH)"trinity.Booduh<2><STEAM_1:0:60254><Survivor><NamVet><DEAD><1+0><setpos 1262.28 824.82 38.30; setang 30.40 -179.46 0.00><Area 33552>" died from unknown attacker (probably World)


TANK PUNCH
N/A

TANK KILL
02:52:56 L 03/09/2009 - 01:50:49: (DEATH)"Francis<41><BOT><Survivor><Biker><DEAD><1+0><setpos 782.03 2619.65 16.03; setang 0.76 10.48 0.00><Area 38064>" died from unknown attacker (probably World)

TANK DEATH
02:56:09 L 03/09/2009 - 01:54:02: (DEATH)"Zoey<38><BOT><Survivor><TeenGirl><ALIVE><100+0><setpos_exact 536.03 2127.97 78.03; setang 3.44 352.29 0.00><Area 39019>" killed "trinity.Booduh<2><STEAM_1:0:60254><Infected><TANK><DEAD><1+0><setpos 738.43 2100.57 16.03; setang 9.92 173.81 0.00><Area 39017>" with "smg"

TANK CAR/DUMPSTER HIT
02:53:57 L 03/09/2009 - 01:51:50: (INCAP)"Louis<40><BOT><Survivor><Manager><INCAP><300+0><setpos_exact 1241.11 2578.52 70.03; setang 0.30 89.49 0.00><Area 42566>" was incapped by "trinity.Booduh<2><STEAM_1:0:60254><Infected><TANK><ALIVE><6000+0><setpos_exact 1369.55 2471.37 70.03; setang 20.38 139.13 0.00><Area 24855>" with "prop_physics"
02:53:58 L 03/09/2009 - 01:51:50: (PHYSICS) Louis was hit for 100.0 damage by a physics obs of mass 1000.00(1.00), moving at a relative speed 100.00(1.00), moved by trinity.Booduh

TANK INCAP
02:51:28 L 03/09/2009 - 01:49:20: (INCAP)"Francis<41><BOT><Survivor><Biker><INCAP><300+0><setpos_exact 782.03 2619.65 78.03; setang 0.76 10.48 0.00><Area 38064>" was incapped by "trinity.Booduh<2><STEAM_1:0:60254><Infected><TANK><ALIVE><6000+0><setpos_exact 834.90 2636.19 78.03; setang 30.35 -160.56 0.00><Area 38064>" with "tank_claw"



AI TANK PUNCH
N/A

AI TANK KILL
N/A

AI TANK DEATH
N/A

AI TANK INCAP
02:41:45 L 03/09/2009 - 01:39:38: (INCAP)"Zoey<25><BOT><Survivor><TeenGirl><INCAP><300+0><setpos_exact 536.03 2127.97 78.03; setang 11.12 343.28 0.00><Area 39019>" was incapped by "Tank<27><BOT><Infected><TANK><ALIVE><5012+0><setpos_exact 595.97 2109.96 78.03; setang 11.12 163.28 0.00><Area 39017>" with "tank_claw"


BOOMER SWIPE
N/A

BOOMER SPIT
L 03/09/2009 - 01:57:13: (MOB) 0 wanderers grabbed for an IT mob of desired size 30.
L 03/09/2009 - 01:57:13: 541.53: (MOB) SpawnITMob requested of size 30.
L 03/09/2009 - 01:57:13: 541.53: (MOB) SpawnITMob will make 30.

BOOMER DEATH
L 03/09/2009 - 01:58:29: (DEATH)"Zoey<38><BOT><Survivor><TeenGirl><ALIVE><96+0><setpos_exact 1462.03 2560.21 78.03; setang 3.32 175.53 0.00><Area 28755>" killed "trinity.Booduh<2><STEAM_1:0:60254><Infected><EXPLODING><DEAD><1+0><setpos 1111.97 2595.86 8.03; setang 339.44 354.19 0.00><Area 42562>" with "smg"

BOOMER INCAP
03:12:00 L 03/09/2009 - 02:09:53: (INCAP)"trinity.Booduh<2><STEAM_1:0:60254><Survivor><Biker><INCAP><300+0><setpos_exact 1912.37 1138.16 422.03; setang -2.60 179.47 0.00><Area 40021>" was incapped by "infected<209><><Infected><infected><ALIVE><50><setpos_exact 1955.48 1117.95 328.03; setang 0.00 154.88 0.00><Area 40021>" with ""

HUNTER POUNCE
L 03/09/2009 - 01:14:09: trinity.Booduh pounced on Zoey, 250 damage interrupts

HUNTER DMG POUNCE
nce by trinity.Booduh dealt 25.0 damage from a 2d distance of 1476

HUNTER SWIPE
N/A

HUNTER DEATH

HUNTER INCAP
L 03/09/2009 - 01:24:15: trinity.Booduh pounced on Francis, 250 damage interrupts
L 03/09/2009 - 01:24:21: (INCAP) "Francis<9><BOT><Survivor><Biker><INCAP><4+0><setpos_exact 1163.88 2504.62 20.03; setang 7.33 29.75 0.00><Area 41883>" is incapacitated
L 03/09/2009 - 01:24:21: (INCAP)"Francis<9><BOT><Survivor><Biker><INCAP><300+0><setpos_exact 1163.88 2504.62 20.03; setang 7.33 29.75 0.00><Area 41883>" was incapped by "trinity.Booduh<2><STEAM_1:0:60254><Infected><HUNTER><ALIVE><250+0><setpos_exact 1163.88 2504.62 52.03; setang 45.01 47.07 0.00><Area 41883>" with "hunter_claw"

HUNTER KILL
02:32:53 L 03/09/2009 - 01:30:45: (DEATH)"trinity.Booduh<2><STEAM_1:0:60254><Infected><HUNTER><ALIVE><250+0><setpos_exact 1232.29 2596.50 52.03; setang 20.00 -168.54 0.00><Area 42566>" killed "Francis<26><BOT><Survivor><Biker><DEAD><1+0><setpos 1232.29 2596.50 8.03; setang 2.15 229.36 0.00><Area 42566>" with "hunter_claw"


SMOKER PULL
L 03/09/2009 - 00:59:48: (TONGUE) Tongue grab starting. Smoker:"trinity.Booduh<2><STEAM_1:0:60254><Infected><GAS><ALIVE><250+0><setpos_exact 2172.77 4306.97 72.08; setang 1.21 18.37 0.00><Area 35816>". Victim:"Louis<11><BOT><Survivor><Manager><ALIVE><81+0><setpos_exact 2545.14 4426.05 70.03; setang 349.40 247.36 0.00><Area 42075>".
L 03/09/2009 - 00:59:50: (TONGUE) Tongue choke starting. Smoker:"trinity.Booduh<2><STEAM_1:0:60254><Infected><GAS><ALIVE><250+0><setpos_exact 2172.77 4306.97 72.08; setang 1.21 18.37 0.00><Area 35816>". Victim:"Louis<11><BOT><Survivor><Manager><ALIVE><75+0><setpos_exact 2295.47 4343.83 70.03; setang 328.06 294.34 0.00><Area 35821>".

SMOKER SWIPE
N/A

SMOKER DEATH
03:14:25 L 03/09/2009 - 02:12:17: (DEATH)"Louis<62><BOT><Survivor><Manager><ALIVE><100+0><setpos_exact 2902.06 2911.96 78.03; setang 359.54 1.31 0.00><Area 40391>" killed "trinity.Booduh<2><STEAM_1:0:60254><Infected><GAS><DEAD><1+0><setpos 3060.15 2915.58 16.03; setang 321.90 181.31 0.00><Area 33562>" with "pumpshotgun"

SMOKER INCAP
L 03/09/2009 - 01:07:13: (INCAP) "Louis<11><BOT><Survivor><Manager><INCAP><2+0><setpos_exact 2336.19 4298.07 48.03; setang 2.18 64.28 0.00><Area 42076>" is incapacitated
L 03/09/2009 - 01:07:13: (INCAP)"Louis<11><BOT><Survivor><Manager><INCAP><300+0><setpos_exact 2336.19 4298.07 48.03; setang 2.18 64.28 0.00><Area 42076>" was incapped by "trinity.Booduh<2><STEAM_1:0:60254><Infected><GAS><ALIVE><250+0><setpos_exact 2368.23 4298.04 70.03; setang 6.05 152.76 0.00><Area 42076>" with "smoker_claw"

SMOKER KILL
N/A



WITCH INCAP
03:02:13 L 03/09/2009 - 02:00:05: (INCAP)"Zoey<38><BOT><Survivor><TeenGirl><INCAP><300+0><setpos_exact 790.48 2260.73 78.03; setang 59.48 53.03 0.00><Area 39020>" was incapped by "witch<169><><Infected><witch><ALIVE><898><setpos_exact 831.85 2260.53 16.03; setang 0.00 178.57 0.00><Area 39020>" with ""

WITCH KILL
03:02:59 L 03/09/2009 - 02:00:51: (DEATH)"witch<169><><Infected><witch><ALIVE><615><setpos_exact 812.71 2272.06 16.03; setang 0.00 207.63 0.00><Area 39020>" killed "Zoey<38><BOT><Survivor><TeenGirl><DEAD><1+0><setpos 782.03 2256.00 16.03; setang 11.43 27.63 -20.00><Area 39020>" with "witch"

WITCH DEATH
03:06:15 L 03/09/2009 - 02:04:08: (DEATH)"Louis<40><BOT><Survivor><Manager><ALIVE><74+0><setpos_exact 2276.09 3798.98 70.03; setang 8.00 198.33 0.00><Area 42591>" killed "witch<208><><Infected><witch><DEAD><-5><setpos_exact 1965.62 3695.39 8.03; setang 0.00 121.54 0.00><Area 24838>" with "autoshotgun"


DIRECTOR HORDE
L 03/09/2009 - 00:58:29: 315.73: (MOB) SpawnMob requested of size 30.
L 03/09/2009 - 00:58:29: 315.73: (MOB) SpawnMob pending count is now 30.
L 03/09/2009 - 00:58:45: 331.13: (MOB) Pending mob done.