CurrentPlayTracker

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
optic delusion
Special Forces
Special Forces
Posts: 995
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

CurrentPlayTracker

Post by optic delusion » Fri Sep 23, 2005 1:02 am

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.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Fri Sep 23, 2005 1:55 am

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.

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Fri Sep 23, 2005 2:48 am

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.

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Fri Sep 23, 2005 3:30 am

...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.
...This has been a recording.

User avatar
optic delusion
Special Forces
Special Forces
Posts: 995
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Fri Sep 23, 2005 9:40 pm

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.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Fri Sep 23, 2005 10:18 pm

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

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Masterbot

Post by RPG » Sat Sep 24, 2005 2:55 am

Here's a sample logfile from Masterbot, which is in development.

Masterbot logs

User avatar
optic delusion
Special Forces
Special Forces
Posts: 995
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

possible

Post by optic delusion » Sat Sep 24, 2005 7:04 pm

So is it even possible to record who picked up what flag, and when?
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Sat Sep 24, 2005 8:23 pm

not yet.

User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux » Sun Sep 25, 2005 6:25 pm

After a quick browse of the bzfs man file, I found this:

/flaghistory

Great for finding flag cheaters!

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sun Sep 25, 2005 6:44 pm

the API exposes flag history, but does not track times, bzfs does not track pickup times.

Post Reply