Page 3 of 8 FirstFirst 12345678 LastLast
Results 21 to 30 of 79

Thread: Stats

  1. Registered TeamPlayer
    Join Date
    10-29-07
    Posts
    4,953
    Post Thanks / Like
    Stat Links

    Stats
    #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()

  2. Administrator Bunni's Avatar
    Join Date
    08-29-07
    Posts
    14,279
    Post Thanks / Like
    Blog Entries
    7
    Stat Links

    Stats Stats Stats Stats Stats
    Gamer IDs

    Steam ID: bunni Bunni's Originid: Dr_Bunni
    #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
    just gotta fix the log written (note the: "[LS]" gotta figure out why thats printing) but:

    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")

  3. Administrator Bunni's Avatar
    Join Date
    08-29-07
    Posts
    14,279
    Post Thanks / Like
    Blog Entries
    7
    Stat Links

    Stats Stats Stats Stats Stats
    Gamer IDs

    Steam ID: bunni Bunni's Originid: Dr_Bunni
    #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,

    Quote Originally Posted by dod_control_point
    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"
    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:44: "Jeremizzle<75><STEAM_0:0:8190103><Axis>" triggered a "dod_control_point" - "alley"

    Quote Originally Posted by allies_capture_flag
    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"
    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: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"
    Quote Originally Posted by axis_capture_flag
    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"

    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....

    _________________________________________________
    Quote Originally Posted by Weapon Stats
    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")
    Which looks to be the same as css's



  4. Administrator Bunni's Avatar
    Join Date
    08-29-07
    Posts
    14,279
    Post Thanks / Like
    Blog Entries
    7
    Stat Links

    Stats Stats Stats Stats Stats
    Gamer IDs

    Steam ID: bunni Bunni's Originid: Dr_Bunni
    #24

    Re: Stats

    sob there are different gametypes arnt there? How many?

  5. Registered TeamPlayer Bulletshell's Avatar
    Join Date
    04-22-06
    Location
    CALI"freakin"I.A.
    Posts
    7,033
    Post Thanks / Like
    Stat Links

    Stats
    Gamer IDs

    Steam ID: bulletshell05
    #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.

  6. Registered TeamPlayer Bulletshell's Avatar
    Join Date
    04-22-06
    Location
    CALI"freakin"I.A.
    Posts
    7,033
    Post Thanks / Like
    Stat Links

    Stats
    Gamer IDs

    Steam ID: bulletshell05
    #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.

  7. Registered TeamPlayer Bulletshell's Avatar
    Join Date
    04-22-06
    Location
    CALI"freakin"I.A.
    Posts
    7,033
    Post Thanks / Like
    Stat Links

    Stats
    Gamer IDs

    Steam ID: bulletshell05
    #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.

  8. Administrator ...bigdog...'s Avatar
    Join Date
    06-10-05
    Posts
    51,240
    Post Thanks / Like
    Stat Links

    Stats Stats Stats
    Gamer IDs

    Steam ID: bigdogttp
    #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).
    Quote Originally Posted by ...bigdog... View Post
    If turd fergusons want to troll their lives away, that's the world's problem. Go read the CNN.com comments section, or any comments section, anywhere. All of the big threads are going to be the crazy people saying stupid shit.

  9. Administrator Bunni's Avatar
    Join Date
    08-29-07
    Posts
    14,279
    Post Thanks / Like
    Blog Entries
    7
    Stat Links

    Stats Stats Stats Stats Stats
    Gamer IDs

    Steam ID: bunni Bunni's Originid: Dr_Bunni
    #29

    Re: Stats

    Quote Originally Posted by Bulletshell
    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.
    Well you see, right now i am compairing two sets of logs: one set with manis event hooking (older logs), and another without (recent ones). Im trying to figure out what psychostats is looking for in the logs by seeing what was in old mani logsand is not in any current logs. However the logs nether tell me map nor gametype (the logs i received begin at the first round start so all info like map and gametype are in some other log that i do not have; no worries). What complicates things is when there are multiple game types, in which lets say log A from the old logs has
    Code:
    L 06/26/2008 - 00:34:13: "CēC^ ßullet§hell**<65><STEAM_0:0:9596324><Allies>" triggered a "dod_control_point" - "plaza"
    while log B from the newer logs, does not have any "triggered a "dod_control_point"" i then have to figure out if its due to a different game type or if it is a event which needs hooking.

  10. Administrator ...bigdog...'s Avatar
    Join Date
    06-10-05
    Posts
    51,240
    Post Thanks / Like
    Stat Links

    Stats Stats Stats
    Gamer IDs

    Steam ID: bigdogttp
    #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.
    Quote Originally Posted by ...bigdog... View Post
    If turd fergusons want to troll their lives away, that's the world's problem. Go read the CNN.com comments section, or any comments section, anywhere. All of the big threads are going to be the crazy people saying stupid shit.

Page 3 of 8 FirstFirst 12345678 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Title