Ladderlog

From Tronwiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
It is based on ladderlog.txt to feed ladder information into the mysql database. With some extra features to enable us to have more information that the current ladderlog.txt gave us. It kind of evolved from there.<br>
 
It is based on ladderlog.txt to feed ladder information into the mysql database. With some extra features to enable us to have more information that the current ladderlog.txt gave us. It kind of evolved from there.<br>
 
Here are the details:
 
Here are the details:
 +
 +
==START_IN==
 +
START_IN 3
 +
START_IN 2
 +
START_IN 1
 +
START_IN 0
 +
This is the countdown to a round starting. One use is to spawn zones.
 +
==GAME_TIME==
 +
GAME_TIME 0
 +
GAME_TIME 1
 +
GAME_TIME 2
 +
GAME_TIME 3
 +
0 At the beginning of each round. Each second it is increased by one.<br>
 +
Allows the script to do things to effect the grid based on time.
 +
==ROUND_SCORE==
 +
ROUND_SCORE 2 player_1 1.2.3.4 2 gold_fleshbiters 12
 +
ROUND_SCORE 4 player_2 1.2.3.5 4 blue_braineaters 16
 +
Written at the end of each round. A record is written for each player present.<br>
 +
It shows:
 +
*The points accumulated for the round
 +
*Player Name
 +
*ip address
 +
*The Team the player is on
 +
*Team Score

Revision as of 13:09, 8 August 2007

edlog.txt is the log file where we throw any information that is needed by our script.
It is based on ladderlog.txt to feed ladder information into the mysql database. With some extra features to enable us to have more information that the current ladderlog.txt gave us. It kind of evolved from there.
Here are the details:

START_IN

START_IN 3
START_IN 2
START_IN 1
START_IN 0

This is the countdown to a round starting. One use is to spawn zones.

GAME_TIME

GAME_TIME 0
GAME_TIME 1
GAME_TIME 2
GAME_TIME 3

0 At the beginning of each round. Each second it is increased by one.
Allows the script to do things to effect the grid based on time.

ROUND_SCORE

ROUND_SCORE 2 player_1 1.2.3.4 2 gold_fleshbiters 12
ROUND_SCORE 4 player_2 1.2.3.5 4 blue_braineaters 16

Written at the end of each round. A record is written for each player present.
It shows:

  • The points accumulated for the round
  • Player Name
  • ip address
  • The Team the player is on
  • Team Score
Personal tools