Results 21 to 30 of 79
Thread: Stats
-
01-04-09, 04:38 PM #21
Re: Stats
Alright Bunni I figured out why it's printing that.
It's because .items() doesn't return just the values like I thought, it returns a list of key/value pairs (each pair is a tuple, which is what's being printed).
If you use .values() instead of .items() then you'll get just the values (stats objects) like you want.
Btw you have a stats accumulation bug. In your round end handler, after you print a players stats, you should assign them a brand new (and blank) player stats object so that you don't double-count the stats later.
In other words turn
#del player.data[_PDATA_KEY_STATS]
into
player.data[_PDATA_KEY_STATS] = PlayerStats()
-
01-04-09, 05:54 PM #22
Re: Stats
success :10
Code:L 01/04/2009 - 18:45:58: Log file started (file "logs\L0104017.log") (game "C:\Server\css\cstrike") (version "3531") L 01/04/2009 - 18:45:58: World triggered "Round_Start" L 01/04/2009 - 18:48:22: ":|EvO|: Bunni #teamevo<2><STEAM_ID_PENDING><>" connected, address "192.168.1.100:27005" L 01/04/2009 - 18:48:23: ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570><>" STEAM USERID validated L 01/04/2009 - 18:48:24: World triggered "Round_Start" L 01/04/2009 - 18:48:25: ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570><>" entered the game L 01/04/2009 - 18:48:28: ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570><Unassigned>" joined team "CT" L 01/04/2009 - 18:48:29: "Kevin<3><BOT><>" connected, address "none" L 01/04/2009 - 18:48:29: "Kevin<3><BOT><Unassigned>" joined team "TERRORIST" L 01/04/2009 - 18:48:29: World triggered "Game_Commencing" L 01/04/2009 - 18:48:29: "Kevin<3><BOT><>" entered the game L 01/04/2009 - 18:48:29: rcon from "192.168.1.100:3431": command "bot_add" L 01/04/2009 - 18:48:32: "Kevin<3><BOT><TERRORIST>" triggered "Got_The_Bomb" L 01/04/2009 - 18:48:34: World triggered "Round_Start" L 01/04/2009 - 18:48:39: ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570><CT>" attacked "Kevin<3><BOT><TERRORIST>" with "awp" (damage "426") (damage_armor "5") (health "0") (armor "94") (hitgroup "head") L 01/04/2009 - 18:48:39: "Kevin<3><BOT><TERRORIST>" triggered "Dropped_The_Bomb" L 01/04/2009 - 18:48:39: ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570><CT>" killed "Kevin<3><BOT><TERRORIST>" with "awp" (headshot) L 01/04/2009 - 18:48:39: Team "CT" triggered "CTs_Win" (CT "1") (T "0") L 01/04/2009 - 18:48:39: Team "CT" scored "1" with "1" players L 01/04/2009 - 18:48:39: Team "TERRORIST" scored "0" with "1" players L 01/04/2009 - 18:48:39: World triggered "Round_End" L 01/04/2009 - 18:48:39: [LS] ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570>" triggered "weaponstats" (weapon "awp") (shots "1") (hits "1") (kills "1") (headshots "1") (tks "0") (damage "431") (deaths "0") L 01/04/2009 - 18:48:39: [LS] ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570>" triggered "weaponstats2" (weapon "awp") (head "1") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0") L 01/04/2009 - 18:48:39: [LS] "Kevin<3><BOT>" triggered "weaponstats" (weapon "awp") (shots "0") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "1") L 01/04/2009 - 18:48:39: [LS] "Kevin<3><BOT>" triggered "weaponstats2" (weapon "awp") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0") L 01/04/2009 - 18:48:44: "Kevin<3><BOT><TERRORIST>" triggered "Got_The_Bomb" L 01/04/2009 - 18:48:46: World triggered "Round_Start" L 01/04/2009 - 18:48:55: rcon from "192.168.1.100:3431": command "changelevel cs_office" L 01/04/2009 - 18:48:55: [META] Failed to load plugin "Metamod Plugin. File not found: C:\Server\css\cstrike\Metamod Plugin.dll L 01/04/2009 - 18:48:55: [META] Loaded 0 plugins (1 already loaded) L 01/04/2009 - 18:48:55: [META] Failed to load plugin "Metamod Plugin. File not found: C:\Server\css\cstrike\Metamod Plugin.dll L 01/04/2009 - 18:48:55: [META] Loaded 0 plugins (1 already loaded) L 01/04/2009 - 18:48:55: Log file closed
lonestar:
Code:L 01/04/2009 - 18:48:39: [LS] ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570>" triggered "weaponstats" (weapon "awp") (shots "1") (hits "1") (kills "1") (headshots "1") (tks "0") (damage "431") (deaths "0") L 01/04/2009 - 18:48:39: [LS] ":|EvO|: Bunni #teamevo<2><STEAM_0:1:5597570>" triggered "weaponstats2" (weapon "awp") (head "1") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
mani:
Code:L 12/23/2008 - 22:50:31: "Willie<415><STEAM_0:0:8410670><CT>" triggered "weaponstats" (weapon "m4a1") (shots "17") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "0") L 12/23/2008 - 22:50:31: "Willie<415><STEAM_0:0:8410670><CT>" triggered "weaponstats2" (weapon "m4a1") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
-
01-04-09, 06:11 PM #23
Re: Stats
Notified of DODS issue:
Research:
From logs:
L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "dod_control_point" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "allies_capture_flag" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "dod_control_point" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "allies_capture_flag" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "allies_capture_flag" - "#map_flag_anzio_plaza"
L 06/26/2008 - 00:34:13: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "allies_capture_flag" - "#map_flag_anzio_plaza"
L 06/26/2008 - 00:34:17: "Jeremizzle<75><STEAM_0:0:8190103><Unassigned> " joined team "Axis"
L 06/26/2008 - 00:34:22: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "dod_control_point" - "alley"
L 06/26/2008 - 00:34:22: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "allies_capture_flag" - "alley"
L 06/26/2008 - 00:34:22: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "allies_capture_flag" - "#map_flag_anzio_alley"
L 06/26/2008 - 00:34:23: "Tester2.0<73><STEAM_0:0:9066269><Unassigned>" joined team "Axis"
L 06/26/2008 - 00:34:24: "-USMC-Poolee<76><STEAM_0:1:5185644><Axis>" killed "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" with "mg42"
L 06/26/2008 - 00:34:24: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered "weaponstats" (weapon "mg42") (shots "0") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "1")
L 06/26/2008 - 00:34:24: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered "weaponstats2" (weapon "mg42") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
L 06/26/2008 - 00:34:32: "Snoopy<78><STEAM_0:0:17048769><>" disconnected (reason "Disconnect by user.")
L 06/26/2008 - 00:34:33: "Crash<77><STEAM_0:1:11773228><Spectator>" joined team "Allies"
L 06/26/2008 - 00:34:36: "-[KB]-Damian<71><STEAM_0:0:17823427><Axis>" killed "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" with "mp44"
L 06/26/2008 - 00:34:36: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered "weaponstats" (weapon "mp44") (shots "0") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "1")
L 06/26/2008 - 00:34:36: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered "weaponstats2" (weapon "mp44") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
L 06/26/2008 - 00:34:39: "-USMC-Poolee<76><STEAM_0:1:5185644><Axis>" killed "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" with "p38"
L 06/26/2008 - 00:34:39: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered "weaponstats" (weapon "p38") (shots "0") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "1")
L 06/26/2008 - 00:34:39: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered "weaponstats2" (weapon "p38") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
L 06/26/2008 - 00:34:39: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered "weaponstats" (weapon "bar") (shots "5") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "0")
L 06/26/2008 - 00:34:39: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered "weaponstats2" (weapon "bar") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
L 06/26/2008 - 00:34:44: "Jeremizzle<75><STEAM_0:0:8190103><Axis>" triggered a "dod_control_point" - "alley"
L 06/26/2008 - 00:34:44: "Jeremizzle<75><STEAM_0:0:8190103><Axis>" triggered a "axis_capture_flag" - "alley"
L 06/26/2008 - 00:34:44: "Jeremizzle<75><STEAM_0:0:8190103><Axis>" triggered a "axis_capture_flag" - "#map_flag_anzio_alley"
Events which need hooking,
Originally Posted by dod_control_point
Originally Posted by allies_capture_flagOriginally Posted by axis_capture_flag
If there is anyone who plays dod that could explain dod_control_point for me, or if these anything else i need to do or watch out for, like different game types or something....
_________________________________________________
Originally Posted by Weapon Stats
-
-
01-04-09, 07:33 PM #25
Re: Stats
there really is just two game types regular flag control maps, and detination (or bomb) maps. Maps like jagd and colmar are detination, and the others like anzio that is in the records pulled are flag based map. Jagd is a counterstrike like detination style map one side on defense other offense...... Colmar however is a deuling detination where both sides are on offense and defense at the same time.
-
01-04-09, 07:41 PM #26
Re: Stats
as far as contol points not sure what you are asking like the names of the particular flags ? I will explain a little though usually most maps are a 5 based flag capture maps two assigned to allies and two to axis with a blank center capture flag.
example you posted from the logs
L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "allies_capture_flag" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "allies_capture_flag" - "plaza"
This is a two man capture point of which it takes two players or more to actually capture this flag the reason why both me and rock are shown capturing it mutiple times at the sametime shown.
-
01-04-09, 07:54 PM #27
Re: Stats
i see what you are saying now sorry, using the same example as the above post:
L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "dod_control_point" - "plaza"
L 06/26/2008 - 00:34:13: "CēC^rock lobster **<63><STEAM_0:0:6648656><Allies>" triggered a "dod_control_point" - "plaza"
allies_capture_flag and dod_control_point should be the same action in game.
-
01-04-09, 08:19 PM #28
Re: Stats
a control point is a flag. once you hold it long enough (like 2142 or BF2 or TF2) you capture it (but it calls it capturing a flag).
-
01-04-09, 08:48 PM #29
Re: Stats
Originally Posted by Bulletshell
Code:L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "dod_control_point" - "plaza"
-
01-04-09, 08:53 PM #30
Re: Stats
the reason mani was duplicating a lot of log entries and rewording them is becasue the source engine isn't logging using the same language/phrases that the old school HL1 engine was. So, pstats didn't understand when a flag was taken, or when a control point was touched, or when a team won, or when someone was shot in the leg, etc. So..some things mani adds to the logs, and other things, mani rephrases/rewords so pstats can read it.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks