I'm looking to accquire a scorebot for cs 1.6 that will parse multiple servers from their log in real time. I do not require it to provide detailed stats on who killed who and when and what with as normal scorebots work, I'm thinking of something much much simpler but not something that the server reports as standard either so a little trickery may be in order to get the right output.
For those of you unfamilar with a counterstrike 1.6 log it looks like this :
Code: Select all
L 06/10/2000 - 21:39:30: "Instinct | RaidenX<4><STEAM_0:0:54883><CT>" killed "my gaming (_|_) tobz<21><STEAM_0:0:472935><TERRORIST>" with "awp"
L 06/10/2000 - 21:39:30: "my gaming (_|_) tobz<21><STEAM_0:0:472935><TERRORIST>" triggered "Dropped_The_Bomb"
L 06/10/2000 - 21:39:33: "my gaming (_|_) MICKSTAINS<9><STEAM_0:1:1583678><TERRORIST>" triggered "Got_The_Bomb"
L 06/10/2000 - 21:39:41: "Instinct | IntermaN (' ' .)<8><STEAM_0:0:231665><CT>" killed "my gaming (_|_) MICKSTAINS<9><STEAM_0:1:1583678><TERRORIST>" with "grenade"
L 06/10/2000 - 21:39:41: "my gaming (_|_) MICKSTAINS<9><STEAM_0:1:1583678><TERRORIST>" triggered "Dropped_The_Bomb"
L 06/10/2000 - 21:39:44: "my gaming (_|_) isE`<15><STEAM_0:1:4574235><TERRORIST>" killed "Instinct | RaidenX<4><STEAM_0:0:54883><CT>" with "deagle"
L 06/10/2000 - 21:39:53: "Instinct | IntermaN (' ' .)<8><STEAM_0:0:231665><CT>" killed "my gaming (_|_) isE`<15><STEAM_0:1:4574235><TERRORIST>" with "awp"
L 06/10/2000 - 21:39:53: Team "CT" triggered "CTs_Win" (CT "4") (T "3")
L 06/10/2000 - 21:39:53: World triggered "Round_End"
L 06/10/2000 - 21:39:58: "my gaming (_|_) daN<14><STEAM_0:1:137178><TERRORIST>" triggered "Spawned_With_The_Bomb"
L 06/10/2000 - 21:39:59: "my gaming (_|_) tobz<21><STEAM_0:0:472935><TERRORIST>" say_team "53"
L 06/10/2000 - 21:39:59: "my gaming (_|_) pie0r<12><STEAM_0:1:9899438><TERRORIST>" say_team "51"
L 06/10/2000 - 21:39:59: "Instinct | virus50ae`aembak<5><STEAM_0:1:234693><CT>" say_team "i got well slow reactions lol"
L 06/10/2000 - 21:40:08: World triggered "Round_Start"
L 06/10/2000 - 21:40:43: "Instinct | IntermaN (' ' .)<8><STEAM_0:0:231665><CT>" killed "my gaming (_|_) isE`<15><STEAM_0:1:4574235><TERRORIST>" with "awp"
L 06/10/2000 - 21:40:47: "Instinct | tubbeh<6><STEAM_0:1:424265><CT>" killed "my gaming (_|_) MICKSTAINS<9><STEAM_0:1:1583678><TERRORIST>" with "m4a1"
L 06/10/2000 - 21:40:58: "Instinct | IntermaN (' ' .)<8><STEAM_0:0:231665><CT>" killed "my gaming (_|_) pie0r<12><STEAM_0:1:9899438><TERRORIST>" with "awp"
L 06/10/2000 - 21:41:00: "my gaming (_|_) daN<14><STEAM_0:1:137178><TERRORIST>" killed "Instinct | IntermaN (' ' .)<8><STEAM_0:0:231665><CT>" with "ak47"
L 06/10/2000 - 21:41:05: "Instinct | milkeh <3 ApoK<1><STEAM_0:0:1748405><CT>" killed "my gaming (_|_) daN<14><STEAM_0:1:137178><TERRORIST>" with "m4a1"
L 06/10/2000 - 21:41:05: "my gaming (_|_) daN<14><STEAM_0:1:137178><TERRORIST>" triggered "Dropped_The_Bomb"
L 06/10/2000 - 21:41:06: "Instinct | virus50ae`aembak<5><STEAM_0:1:234693><CT>" killed "my gaming (_|_) tobz<21><STEAM_0:0:472935><TERRORIST>" with "m4a1"
L 06/10/2000 - 21:41:06: Team "CT" triggered "CTs_Win" (CT "5") (T "3")
L 06/10/2000 - 21:41:06: World triggered "Round_End"
Code: Select all
@ SCOREBOT: ImaGine | danceM begins bomb defuse with kit
@ SCOREBOT: ImaGine | Reality.M» [3/0] killed AcM AlesKi ' steels» [0/1] with usp
@ SCOREBOT: ImaGine | danceM defused the bomb
@ SCOREBOT: ****** Round End: CTs WIN (bomb defused) (CT: 1, T: 0) *******
@ SCOREBOT: ***** de_inferno Round Start (AcM RedH ' steelseries has the bomb) *****
@ SCOREBOT: AcM sLy ' steelseri» [2/1] killed ImaGine | Realf1re » [0/2] with deagle
@ SCOREBOT: ImaGine | adep7 [3/1] killed AcM Kurt1s ' steels» [2/3] with m4a1
@ SCOREBOT: ImaGine | adep7 [4/1] killed AcM AlesKi ' steels» [0/2] with m4a1
@ SCOREBOT: AcM RedH ' steelser» [1/1] killed ImaGine | adep7 [4/2] with deagle
@ SCOREBOT: ImaGine | ONSCREEN » [2/1] killed AcM RedH ' steelser» [1/2] with m4a1
@ SCOREBOT: ImaGine | ONSCREEN » [3/1] killed AcM sLy ' steelseri» [2/2] with m4a1
@ SCOREBOT: AcM Headshot^Man [0/1] got the bomb
@ SCOREBOT: ImaGine | Reality.M» [4/0] killed AcM Headshot^Man [0/2] with m4a1
@ SCOREBOT: ************** Round End: CTs WIN (CT: 2, T: 0) **************
@ SCOREBOT: ***** de_inferno Round Start (AcM AlesKi ' steelseries has the bomb) *****
@ SCOREBOT: ImaGine | Reality.M» [5/0] killed AcM sLy ' steelseri» [2/3] with grenade
@ SCOREBOT: ImaGine | Reality.M» [6/0] killed AcM RedH ' steelser» [1/3] with grenade
Code: Select all
@ SCOREBOT: ************** Round End: CTs WIN ( ImaGine CT : 2 - 0 T AcuMen ) **************
@ SCOREBOT: ************** Round End: CTs WIN ( ImaGine CT : 3 - 0 T AcuMen ) **************
@ SCOREBOT: ************** Round End: Ts WIN ( ImaGine CT : 3 - 1 T AcuMen ) **************
The script would also need to recognise key phrases in teh log file so it "knows whats going on" for eg a typical log file would include set texts that define the start of a match or second half for eg :
Code: Select all
L 06/10/2000 - 21:52:21: Rcon: "rcon 4156327395 "password" exec lo3.cfg" from "87.25.217.190:27005"
Finally I just wanted to say that I honestly dont know if you guys do these scripts for the love of doing them and the satisfaction of a job well done, or if these requests are rewarded in kind with payment of some shape or form, either way this is something I would dearly love to get going and working and would certainly bring great enjoyment to our irc room.
I thank you for your time and if anyone fancies giving this a go or requires more info please email me on uzi@theSGL.com and I will happy to discuss payment and/or any further details you may require.
cheers again guys.