/flag show

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

/flag show

Post by tadd » Mon May 14, 2007 11:54 am

If I do the /flag show command I get a response that looks like this:

[SERVER->] #426 i:GM p:-1 r:1 g:1 s:1 p:{331.1, 238.4, 0.0}
[SERVER->] #427 i:GM p:-1 r:1 g:1 s:1 p:{347.1, 327.7, 20.0}
[SERVER->] #428 i:GM p:-1 r:1 g:1 s:1 p:{311.2, 388.5, 20.0}


What do the p: r: g: and s: fields mean?

Thanks.
Tadd
This is a block of text that can be added to posts you make. There is a 800 character limit

anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Post by anomaly » Mon May 14, 2007 6:22 pm

p = player id
r = required
g = grabs
s = status

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Tue May 15, 2007 6:25 pm

Anomaly is correct. For a bit more info:
p is the id of the player holding the flag (-1 means not held)
r is 1 if the flag was added with +f (mandatory superflags), 0 if it was added with +s or -s (random superflags)
g is the number of times the flag has been picked up
s is 0 if the flag doesn't exist, 1 if the flag is on the ground, 2 if the flag is in a tank, 3 if the flag is in the air (dropped or falling), 4 if the flag is entering the world (dropping in), and 5 if the flag is exiting the world (being zapped).

User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

thanks

Post by tadd » Tue May 15, 2007 7:53 pm

thanks anomaly and DTRemenak
That's what I needed
Tadd
This is a block of text that can be added to posts you make. There is a 800 character limit

Post Reply