I have created a little script for public stats being obtained from the LTC database. Its quite simple with only a few features.
If you require extra features, please let me know! I Shall add asap.
With this documentation I shall release a public use ident key - you can request your own by pm'n me, or replying to this topic. Each ident key is sandpitted at 5 seconds (for now).
www.livetocruise.net/pubstat.php is the script.
?action=<ACTION>&ident=<KEY>
The actions are
- user_profile&username=<lfs_licence>
- lap_records&username=<lfs_licence>
- server_info&server_id=<server_id>
user_profile output
lap_records output
lap_records is layed out as: position,car,track,milliseconds,friendly;position,car,track,milliseconds,friendly
serer_info output
Server id's range from 1~3
Public use Ident: 5c05c042641b98de65e742d2c97cfba8 (remember, you can ask for your own!)
If you require extra features, please let me know! I Shall add asap.
With this documentation I shall release a public use ident key - you can request your own by pm'n me, or replying to this topic. Each ident key is sandpitted at 5 seconds (for now).
www.livetocruise.net/pubstat.php is the script.
?action=<ACTION>&ident=<KEY>
The actions are
- user_profile&username=<lfs_licence>
- lap_records&username=<lfs_licence>
- server_info&server_id=<server_id>
user_profile output
id=1
username=Krammeh
player_name=^7[^6LTC^7] ^3Krammeh
cash=5945
licence=2200
licence_name=Elite
cars=LX6;BF1;FXR;FZR;XRR;FBM;UF1;MRT;UFR;
server_id=2
driving=0
EOF
lap_records output
id=1
username=Krammeh
player_name=^7[^6LTC^7] ^3Krammeh
num_recs=6
lap_records=13,FZR,WE1,109120,01:49.12;5,UF1,WE1,152930,02:32.93....
EOF
lap_records is layed out as: position,car,track,milliseconds,friendly;position,car,track,milliseconds,friendly
serer_info output
server_name=[LTC] Live To Cruise 2 (WE1) [Y]
connections=25
user=-Maverick-
driving=FZR
user=furiously-fast
driving=FXR
....
EOF
Server id's range from 1~3
Public use Ident: 5c05c042641b98de65e742d2c97cfba8 (remember, you can ask for your own!)