.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Logging question (http://forums.bots-united.com/showthread.php?t=1883)

roachfood 05-06-2004 13:02

Logging question
 
Howdy. I used to have POD BOT 2.5 installed on my LAN server in my room. I have about 3 weeks of logs generated with this version. I have since installed 2.6, and I like it a lot more, but there is one thing that isn't working like i had hoped.

All the logs with 2.5 have the bots logged as <BOT> in the counter strike logs. However after upgrading to 2.6, the bots no longer are <BOT>... they are <0> as if the WONID or STEAMID is 0 instead of BOT.

This poses a problem with psychostats 2.0 because it completely skips over the 2.6 logs that I have generated. I picked a log and replaced all the <0>'s with <BOT>'s and the stats generated perfectly for those maps.

So my question is... is it POD BOT that causes the players to join as:

L 06/05/2004 - 05:20:04: "Jeff Bridges<2341><0><>" entered the game

instead of:

L 06/05/2004 - 05:20:04: "Jeff Bridges<2341><BOT><>" entered the game

And if this is a pod bot thing, is there a way i can make it put <BOT> instead of just a <0>?

Oh by the way, all of the statsme logging logs the bots as <BOT> because the stats for damage all log correctly.

Thanks for any help!

sPlOrYgOn 05-06-2004 13:12

Re: Logging question
 
i don't know but when i was using the bots they seemed to join as BOT and 0..
so i thought it was just random but you say 2.5 always has BOT and not 0?

roachfood 05-06-2004 13:23

Re: Logging question
 
yeah, i picked 20 random log files from the 2.5 collection, and they all have BOT and not 0.

*edit*
The 2.6 bots ONLY have BOT when they spawn with the bomb....

it will log

"Jennifer Love Hewitt<2150><BOT><TERRORIST>" triggered "Spawned_With_The_Bomb"

if they drop the bomb, it does the <0>

*edit 2*
I also tried setting my server as a lan server, then not as one. Oh I am running CS 1.5 by the way, but logging shouldnt have changed that much between 1.5 and 1.6 should it have?

roachfood 05-06-2004 22:05

Re: Logging question
 
I've been diggin through the psychostats source lookin for some kind of work around, but haven't found anything yet. I guess this will be an excuse for me to write a program that is executed at the end of each map that opens the last log and changes all the <0> to <BOT> until this gets resolved. hehe good excuse to program!

[+Duracell-] 05-06-2004 23:43

Re: Logging question
 
EDIT: Note to self: Read post before answering.

sPlOrYgOn 13-06-2004 22:41

Re: Logging question
 
Okay I've found it :D
Code:

const char *pfnGetPlayerAuthId (edict_t *e)
{
  if (e->v.flags & FL_FAKECLIENT)
      RETURN_META_VALUE (MRES_SUPERCEDE, "0");

  RETURN_META_VALUE (MRES_IGNORED, NULL);
}

this was causing it... I don't know if it protects from anything.. but when I remove it the bots' WONID become BOT..
It hasn't crashed on me so I guess it's okay to remove it..


All times are GMT +2. The time now is 17:50.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.