Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Dedicated Server

Dedicated Server Discuss technical issues related to hosting your own servers.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2010, 07:32 AM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default Complete List of JSON Server Log Entry Types

When running a dedicated server, JSON-formatted log entries will be written to ~Altitude/servers/log.txt
When log.txt reaches 4 MB in size it is renamed to log_old.txt and a new log.txt file is created.

Each line in the log.txt file is a JSON-formatted entry. Do not write your own parser: http://json.org/ provides easy to use parsing libraries for a wide variety of programming languages.

Every JSON entry has the following name-value pairs:
time: elapsed time, in milliseconds, since the active server_launcher process started (note: server_launcher process restarts on auto-update)
port: uniquely identifies the server from which this entry originated, necessary when running multiple servers from a single server_launcher (note: the "sesssionStart" and "updatePrepareRestart" entries use port=-1 because they do not belong to a specific server, but rather to the shared server_launcher process)
type: uniquely identifies the entry format; all entries of a given type have the same name-value pairs

A list of all JSON entry types and their associated parameters follows:
Code:
assist
   player
   victim
   xp
chat
   message
   player
   server
clientAdd
   ip
   nickname
   player
   vaporId
clientNicknameChange
   ip
   newNickname
   oldNickname
   player
   vaporId
clientRemove
   ip
   nickname
   player
   reason
   vaporId
consoleCommandExecute
   arguments
   command
   group
   source
customCommand
   command
demolitionChargeDefused
   player
demolitionChargePlanted
   player
goal
   assister
   player
   xp
kill
   multi
   player
   source
   streak
   victim
   xp
mapChange
   map
   mode
mapLoading
   map
pingSummary
   pingByPlayer
powerupAutoUse
   player
   positionX
   positionY
   powerup
powerupDefuse
   player
   positionX
   positionY
   powerup
   xp
powerupPickup
   player
   positionX
   positionY
   powerup
powerupUse
   player
   positionX
   positionY
   powerup
   velocityX
   velocityY
serverHitch
   changedMap
   duration
serverInit
   maxPlayerCount
   name
serverShutdown
serverStart
sessionStart
   NOTE: port=-1
   date
spawn
   perkBlue
   perkGreen
   perkRed
   plane
   player
   skin
   team
structureDamage
   player
   target
   xp
structureDestroy
   player
   target
   xp
teamChange
   player
   team
tournamentRoundEnd
   losers
   result
   winners
tournamentStart
   team0
   team1
tournamentStop
updatePrepareRestart
   NOTE: port=-1
Reply With Quote
  #2  
Old 02-28-2010, 04:37 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

Thanks lam
Reply With Quote
  #3  
Old 02-28-2010, 04:57 PM
Varonth Varonth is offline
Member
 
Join Date: Dec 2009
Posts: 66
Default

Yeah thanks lamster.
Reply With Quote
  #4  
Old 08-14-2012, 11:49 PM
rawr rawr is offline
Junior Member
 
Join Date: Oct 2009
Posts: 15
Default

I'd like to document these events
may i get access to the wiki?
Reply With Quote
  #5  
Old 01-24-2013, 09:31 PM
Reeslo Reeslo is offline
Senior Member
 
Join Date: Jan 2012
Posts: 106
Default

it misses some can you update the list ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:18 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC