Page 1 of 1

CurrentPlayTracker

Posted: Fri Sep 23, 2005 1:02 am
by optic delusion
It seems that many plugin Ideas are dependant upon current server status, and at present there is no way to produce a snapshot of the current players. As opposed to PlayHISTORYTracker, a plugin should be devised that does nothing but track CURRENT players, and can be called upon at any time to produce information, in a standard format, ready for digestion by other plugins.

Posted: Fri Sep 23, 2005 1:55 am
by JeffM
the problem is the server dosn't HAVE the current data, so there is no current data to track. The server can not interpolate a tanks position inbetween updates like a client can.

Posted: Fri Sep 23, 2005 2:48 am
by RPG
A-Delusion
Are you saying a plugin taht can take a "virtual screenshot" of the current playfield? Like an image?

Or do you mean something that tracks player's scores and teams?

The latter of the two is possible. The "virtual Screenshot", most likely out of the picture.

Posted: Fri Sep 23, 2005 3:30 am
by I_Died_Once
...or does he mean something that'll go to the tune of "Sir Pants is kicking @$$ over at the Octagon Map" and "L4m3r is losing badly over at GamesUnited"

"Darth Vader just capped another flag at Viper's"

...with buddy lists & cross server messaging?

& make it cook breakfast. woot.

Posted: Fri Sep 23, 2005 9:40 pm
by optic delusion
Snapshot was a poor choice of words. I don't want any screen capture or tank position data. As usual with me, I'm not sure exactly what I'm thinking of, I just got a general concept.

Here's what I got.
A plugin that keeps track of who is on, and what team they are on.
It could also track who killed who.
I don't know if it's possible to track how many times they picked up which superflag or team flags.
My thought was it could produce information on demand, for example, if racetoseven needed to check if teams were even.
Or it could produce a simple text file that could be anylyzed at a later time, for many reasons.

It just seems to me that other plugin development would benefit from having this type of info readily available, in a standard format.

Posted: Fri Sep 23, 2005 10:18 pm
by JeffM
it would be trivial for any plugin that needed that data to track it.

the play history tracker just likes to shout out "multi kill" that's all

Masterbot

Posted: Sat Sep 24, 2005 2:55 am
by RPG
Here's a sample logfile from Masterbot, which is in development.

Masterbot logs

possible

Posted: Sat Sep 24, 2005 7:04 pm
by optic delusion
So is it even possible to record who picked up what flag, and when?

Posted: Sat Sep 24, 2005 8:23 pm
by RPG
not yet.

Posted: Sun Sep 25, 2005 6:25 pm
by TD-Linux
After a quick browse of the bzfs man file, I found this:

/flaghistory

Great for finding flag cheaters!

Posted: Sun Sep 25, 2005 6:44 pm
by JeffM
the API exposes flag history, but does not track times, bzfs does not track pickup times.