[LCP] input needed

Zach netrek at gmail.com
Fri Jul 20 18:48:33 UTC 2007


On 7/20/07, Arjun satish <arjun.satish at gmail.com> wrote:
>
> Can you give an example of the text file and the messages you are looking
> for? Then probably we can you more core info.

Sure. There is 2 different log formats. I will show each (each
corresponds to a different type of game server):

Type 1:

Server sending PING packets at 2 second intervals 21:51:59
Welcome aboard Ensign! 21:52:00
Sending short packet request 21:52:00
RSA v2.0 CLIENT 21:52:01
You have very important messages, Captain! 21:52:01
21:52:01:  F5->ALL  Ensign Yoda is now F5 (Yoda at pitts-69-72-109-139.dynamic-dial
)
21:52:01: GOD->F5   ************* READ THIS ** READ THIS ** READ THIS **********
********
21:52:01: GOD->F5   This is a clue server, you MUST read messages on the game
21:52:01: GOD->F5   To verify, send the answer of the following question to your
self.
21:52:01: GOD->F5   How many core planets does each team start with?
21:52:01: GOD->F5   1, 5, 10
21:52:01: GOD->F5   ************************************************************
********
Sending variable and short packets.  21:52:01
Sent request for small update (weapons+planets+kills) 21:52:01
21:52:01:  F5->F5   @4.4.0.3
RSA v2.0 SERVER 21:52:01
UDP connection established 21:52:01
21:52:01:  GOD->ALL Yoda --> NetrekXP Mod.--- Win32.
21:52:02:  Rq->ALL  good.  see ya there, 1.
21:53:14:  F1->ALL  lol
21:53:16:  F5->FED  hello team!
21:55:26:  F1->F5   boot 7, he cant read

Player slots either begin with F, R, K or O (case sensitive) in first
part and [a-z] or [0-9] in second part, such as F1 is player Feds on
slot 1.
There is 3 types of message fields recorded in the log which I am interested in:
Rq->ALL player sends message to ALL (global board everyone can see)
F5->FED player sends message to team board (only F* players can see it)
F1->F5 player sends message to another player (personal board)

The other stuff in the log I wish to just ignore and not save into my
final HTML files.
So I will have 3 sets of HTML files. One for each message type. Sorted
by the timecode marker with earliest on top and latest on bottom.

Here is the other message log format: It is basically same as Type 1
except the time is recorded in ticks (1/10th of a second) instead of
in military 24-hour time as in Type 1:

Type 2:

0: INL->ALL  ###############################
    0: INL->ALL  #  The INL robot has entered  #
    0: INL->ALL  ###############################
   10: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Mira (18) [KLI]
   40: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Alpha Centauri (20) [FED]
   80: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Capella (19) [ROM]
  343:  F0->ALL  Ensign meeper is now F0 (meeper at 64.180.103.229)
  343: GOD->F0   ************* READ THIS ** READ THIS ** READ THIS
******************
  343: GOD->F0   This is a clue server, you MUST read messages on the game
  343: GOD->F0   To verify, send the answer of the following question
to yourself.
  343: GOD->F0   How many armies can a Starbase carry?
  343: GOD->F0
********************************************************************
  344:  F0->     @1.1
  360:  GOD->ALL meeper --> NetrekXP 2006.--- Win32.
  370: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Herculis (18) [ORI]
  400: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Procyon (20) [ORI]
  430:  R8->ALL  Ensign DotFlyer is now R8 (dotman at 66.157.33.65.cfl.res.rr.com)
  431: GOD->R8   ************* READ THIS ** READ THIS ** READ THIS
******************
  431: GOD->R8   This is a clue server, you MUST read messages on the game
  431: GOD->R8   To verify, send the answer of the following question
to yourself.
  431: GOD->R8   How do you stop a cloaked enemy from taking a planet
he's orbiting?
  431: GOD->R8   a) Fire at the planet.
  431: GOD->R8   b) Fire at the ?? on the galactic map.
  431: GOD->R8   c) Tractor him off the planet.
  431: GOD->R8
********************************************************************
  431:  R8->     @1.2
  433:  GOD->ALL DotFlyer --> NetrekXP 2006.--- Win32.
  480: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Mira (19) [KLI]
  500: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Capella (19) [ROM]
  549:  R8->R8   b
  549: INL->R8   Not an INL command.  Send yourself 'help' for help.
  567:  R8->R8   a
  567: GOD->R8   Thank you, DotFlyer, you have been verified as possible clue.
  567: INL->R8   Not an INL command.  Send yourself 'help' for help.
  590:  F0->F0   25
  590: GOD->F0   Thank you, meeper, you have been verified as possible clue.
  590: INL->F0   Not an INL command.  Send yourself 'help' for help.
  629:  R8->R8   captain
  629: INL->ALL  DotFlyer (R8) is captain of away team.
  652:  R8->R8   confine
  652: INL->ALL  Away team (R8) has toggled confine ON (confine is an
OR function)
  703:  R8->R8   uncaptain
  703: INL->ALL  DotFlyer (R8) relinquishes captain control of away team.
  710: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Deneb (17) [FED]
  750: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Rigel (17) [FED]
  760: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Altair (19) [FED]
  830: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Indi (18) [ROM]
  850: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Mira (22) [KLI]
  860: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Antares (18) [ORI]
  880: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Vega (17) [FED]
  960: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Romulus (20) [ROM]
 1000: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Tauri (18) [ROM]
 1030: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Orion (20) [ORI]
 1060: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Organia (17) [FED]
 1090: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at El Nath (17) [ORI]
 1110: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Lyrae (17) [KLI]
 1188:  F0->F0   help
 1188: GOD->F0   Possible commands are:
 1188: GOD->F0   |      HELP - Show this help information
 1188: GOD->F0   |    CLIENT - Show player's client         e.g. 'CLIENT 0'
 1188: GOD->F0   |      PING - Show player's ping (lag)     e.g. 'PING 0'
 1188: GOD->F0   |     STATS - Show player's t-mode stats   e.g. 'STATS 0'
 1188: GOD->F0   |     WHOIS - Show player's login info     e.g. 'WHOIS 0'
 1188: GOD->F0   |   SBSTATS - Show player's base stats     e.g. 'SBSTATS 0'
 1188: GOD->F0   |     QUEUE - Show how many people are on the queue.
 1188: GOD->F0   (type QUEUE HOSTS to see the addresses of those on queue)
 1188: GOD->F0   |  NOWOBBLE - Test new wobble on planet lock fix.
 1188: GOD->F0   |    SBTIME - Show time until the Starbase is available.
 1188: INL->F0   Possible INL commands are:
 1188: INL->F0   |   CAPTAIN - Make yourself captain of team.
 1188: INL->F0   |Pregame commands:
 1188: INL->F0   |      HOME - Switch to home team.
 1188: INL->F0   |      AWAY - Switch to away team.
 1210: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Sirius (18) [ROM]
 1353:  R9->ALL  Ensign InJRDWeTrust! is now R9 (RPI
BLOWS!	@pool-141-153-236-42.mad.e
 1353:  R9->     @3.00.0
 1354: GOD->R9   ************* READ THIS ** READ THIS ** READ THIS
******************
 1354: GOD->R9   This is a clue server, you MUST read messages on the game
 1354: GOD->R9   To verify, send the answer of the following question
to yourself.
 1354: GOD->R9   How many armies can a Starbase carry?
 1354: GOD->R9
********************************************************************
 1355:  GOD->ALL InJRDWeTrust! --> NetrekXP.--- Win32.
 1391:  R9->R9   25
 1391: GOD->R9   Thank you, InJRDWeTrust!, you have been verified as
possible clue.
 1391: INL->R9   Not an INL command.  Send yourself 'help' for help.
 1420: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Organia (19) [FED]
 1452:  R9->R9   captain
 1452: INL->ALL  InJRDWeTrust! (R9) is captain of away team.
 1480:  R9->R9   confine on
 1480: INL->ALL  Away team (R9) has toggled confine OFF (confine is an
OR function)
 1490: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Eridani (19) [ROM]
 1500: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Rigel (16) [FED]
 1520: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at El Nath (19) [ORI]
 1540: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Earth (17) [FED]
 1552:  R9->R9   confine on
 1552: INL->ALL  Away team (R9) has toggled confine ON (confine is an
OR function)
 1570: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Cygni (19) [KLI]
 1583:  R9->R9   uncaptain
 1583: INL->ALL  InJRDWeTrust! (R9) relinquishes captain control of away team.
 1600: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Pliedes V (17) [KLI]
 1630: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Polaris (20) [ORI]
 1650: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Herculis (19) [ORI]
 1760: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Vega (18) [FED]
 1920: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at El Nath (19) [ORI]
 1940: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Earth (19) [FED]
 1960: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Organia (19) [FED]
 1990: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Regulus (17) [ROM]
 1998:  F0->F0   stats 0
 1998:           ?
 1998: GOD->F0   Session stats are only available during t-mode.
 2040: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Cygni (20) [KLI]
 2080: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Earth (22) [FED]
 2100: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Altair (21) [FED]
 2110: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Deneb (19) [FED]
 2180: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Romulus (20) [ROM]
 2190: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Aldeberan (20) [ROM]
 2290: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Sirius (21) [ROM]
 2350: WRN->GOD  ARMYTRACK -- -- -- popped 2 armies at Lalande (19) [KLI]
 2356:  Ro->ALL  Ensign Anyone here?  is now Ro
(Lee at 74-136-150-146.dhcp.insightbb.co
 2356: GOD->Ro   Lock onto a teammate or planet to see the action.
 2356:  Ro->     @2.10.4566760
 2357: GOD->Ro
 2357: GOD->Ro   Observers don't need cluechecking.
 2357: GOD->Ro   Because if they don't read, they'll be very bored anyway.
 2357: GOD->Ro
 2359:  GOD->ALL Anyone here?  --> Client Of Win.--- Intel/Win32.
 2400: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at El Nath (19) [ORI]
 2410: WRN->GOD  ARMYTRACK -- -- -- popped 3 armies at Alpha Centauri (23) [FED]
 2420: WRN->GOD  ARMYTRACK -- -- -- plagued 1 armies at Cassiopeia (17) [ORI]
 2429:  Ro->ALL  Ensign Anyone here?  (Ro) leaving game
(Lee at 74-136-150-146.dhcp.insi
 2566:  Ra->ALL  Ensign PotFlyer is now Ra
(Lee at 74-136-150-146.dhcp.insightbb.co)
 2567: GOD->Ra   ************* READ THIS ** READ THIS ** READ THIS
******************
 2567: GOD->Ra   This is a clue server, you MUST read messages on the game
 2567: GOD->Ra   To verify, send the answer of the following question
to yourself.
 2567: GOD->Ra   How many core planets does each team start with?
 2567: GOD->Ra   1, 5, 10
 2567: GOD->Ra
********************************************************************
 2567:  Ra->     @2.10.4566760
 2570:  GOD->ALL PotFlyer --> Client Of Win.--- Intel/Win32.
 2590: WRN->GOD  ARMYTRACK -- -- -- popped 1 armies at Achernar (18) [KLI]
 2611:  Ra->Ra   5
 2611: GOD->Ra   Thank you, PotFlyer, you have been verified as possible clue.

Regards,
Zach



More information about the linuxCprogramming mailing list