Ladderlog

From Tronwiki
(Difference between revisions)
Jump to: navigation, search
Line 27: Line 27:
 
* Team Score
 
* Team Score
 
==ONLINE_PLAYER==
 
==ONLINE_PLAYER==
ONLINE_PLAYER player_1 0.108046 1.2.3.4 2 team_gold
+
ONLINE_PLAYER player_1 0.108046 1.2.3.4 2 team_gold
ONLINE_PLAYER player_2 0.161067 1.2.3.5 team_blue
+
ONLINE_PLAYER player_2 0.161067 1.2.3.5 team_blue
 
Written before each round starts, Displaying:
 
Written before each round starts, Displaying:
 
* Player Name
 
* Player Name
Line 35: Line 35:
 
* The Team the player is on
 
* The Team the player is on
 
==NUM_HUMANS==
 
==NUM_HUMANS==
NUM_HUMANS 2
+
NUM_HUMANS 2
 
Number of actual human players at the beginning of the round. AI's and spectators not included.
 
Number of actual human players at the beginning of the round. AI's and spectators not included.
 
==NEXT_ROUND==
 
==NEXT_ROUND==
NEXT_ROUND 3 12 ed/wildfort/octa_who-0.0.1.aamap.xml Round 3 - Octa Who?
+
NEXT_ROUND 3 12 ed/wildfort/octa_who-0.0.1.aamap.xml Round 3 - Octa Who?
 
Written before the round countdow. Displays:
 
Written before the round countdow. Displays:
 
* Number of the Round to be played
 
* Number of the Round to be played
 
* Maximun number of rounds in the match
 
* Maximun number of rounds in the match
 
* Map to be played
 
* Map to be played

Revision as of 13:17, 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:

Contents

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 team_gold 12
ROUND_SCORE 4 player_2 1.2.3.5 4 team_blue 16

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

  • The points accumulated for the round
  • Player Name
  • Ip address
  • The Team the player is on
  • Team Score

ONLINE_PLAYER

ONLINE_PLAYER player_1 0.108046 1.2.3.4 2 team_gold
ONLINE_PLAYER player_2 0.161067 1.2.3.5 team_blue

Written before each round starts, Displaying:

  • Player Name
  • Ping
  • Ip address
  • The Team the player is on

NUM_HUMANS

NUM_HUMANS 2

Number of actual human players at the beginning of the round. AI's and spectators not included.

NEXT_ROUND

NEXT_ROUND 3 12 ed/wildfort/octa_who-0.0.1.aamap.xml Round 3 - Octa Who?

Written before the round countdow. Displays:

  • Number of the Round to be played
  • Maximun number of rounds in the match
  • Map to be played
Personal tools