This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Multi Server CS 1.6 scorebot request.

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
u
uzi
Voice
Posts: 2
Joined: Fri Jun 30, 2006 7:02 pm

Multi Server CS 1.6 scorebot request.

Post by uzi »

Hi guys, as you can no doubt see by my mighty number of posts this would be my first request/comment here so if I miss something out or ask for something incorrectly - please dont hesitate with the discipline 8)


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"
Thats a short excerpt from a log anyway and they can be sent to the eggdrop automatically by the server, thats not a problem in the slightest. Nowmost scorebots out put something along these lines stright into an IRC channel:


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
Thats all well and good but its my understanding that if i had five servers being reported in real time that the bot would be kicked off quakenet for undue spamming (not to mention the confusion it would make in the channel). So what am I looing for? well from the same log output from the server I would like the following output to be sent to the channel...

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 ) **************
I'm sure you get the idea ;) . Now a CS server does know which players are on which team but to the best of my knowledge it doesnt show which clan is playing as which team so that would have to be "decided" by the script presumably by checking the tags of the players on the server and which team they are on. I do not know how possible that would be but if you dont ask you dont find out.

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"
I was kinda hoping that this would be enough of a trigger for the script to reset a score on any of the given "log streams" and start again from zero.

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.
R
R-WaT
Halfop
Posts: 79
Joined: Fri Jan 06, 2006 7:45 pm

Post by R-WaT »

I would also like a script like this. Couldn't find one ANYWHERE! :(
u
uzi
Voice
Posts: 2
Joined: Fri Jun 30, 2006 7:02 pm

Post by uzi »

May well have been asking too much this one. Fair do's fellas, if anyone picks up on this thread in the future, please don't hesitate to get in touch, I'm not going anywhere.
R
R-WaT
Halfop
Posts: 79
Joined: Fri Jan 06, 2006 7:45 pm

Post by R-WaT »

I want to bump this to see if anyone would be willing to do this one. Seems like a lot and I wouldn't expect anyone to do it, but if anyone gets bored and has some extra time if they wanted to do this script I would really appreciate it. :)
Post Reply