Autor Tema: Informacion de las carreras guardada en los XML  (Leído 1559 veces)

[Juan]

  • Global Moderator
  • Hero Member
  • *****
  • Mensajes: 1231
    • Ver Perfil
Informacion de las carreras guardada en los XML
« en: Septiembre 07, 2010, 11:38:51 pm »
El servidor rFactor guarda toda la información en cada archivo XML de la sesión correspondiente,
Q-> Clasificación
R-> Carrera

La información incluye desde lo que se escribe en el chat, hasta toda la información de la carrera de cada piloto: tiempos por sector, vuelta en la que se para en boxes, indice de consumo de combustible, ....

Abrir el archivo XML con un editor html y encontraremos lo siguiente:

<Name>piloto_ejemplo</Name>
  <Connected>1</Connected>
  <VehFile>F1RFT_02.VEH</VehFile>
  <UpgradeCode>20000000 00000000</UpgradeCode>
  <VehName>2. Heikki Kovalainen</VehName>
  <CarType>Season 2009</CarType>
  <CarClass>Season 2009</CarClass>
  <CarNumber>02</CarNumber>
  <TeamName>McLaren-Mercedes</TeamName>
  <isPlayer>1</isPlayer>
  <GridPos>5</GridPos>
  <Position>1</Position>
  <ClassGridPos>5</ClassGridPos>
  <ClassPosition>1</ClassPosition>
  <Points>10</Points>
  <ClassPoints>10</ClassPoints>
  <LapRankIncludingDiscos>1</LapRankIncludingDiscos>
  <Lap num="1" p="2" et="247.1211" s1="33.8833" s2="51.5633" s3="31.8852" fuel="0.443">117.3318</Lap>
  <Lap num="2" p="1" et="364.4529" s1="29.5572" s2="49.7606" s3="31.9163" fuel="0.365">111.2341</Lap>
  <Lap num="3" p="1" et="475.6870" s1="29.4796" s2="48.7043" s3="31.8375" fuel="0.286">110.0214</Lap>
  <Lap num="4" p="1" et="585.7084" s1="29.2408" s2="48.1701" s3="31.6607" fuel="0.204">109.0716</Lap>
  <Lap num="5" p="1" et="694.7800" s1="29.0562" s2="47.8958" s3="31.4823" fuel="0.125">108.4343</Lap>
  <Lap num="6" p="2" et="803.2144" s1="29.1676" s2="48.6569" s3="48.8238" fuel="0.071" pit="1">126.6484</Lap>
  <Lap num="7" p="2" et="929.8627" s1="31.7972" s2="49.2334" s3="32.0877" fuel="0.588">113.1184</Lap>
  <Lap num="8" p="1" et="1042.9811" s1="29.2933" s2="48.7623" s3="31.8941" fuel="0.510">109.9498</Lap>
  <Lap num="9" p="1" et="1152.9309" s1="29.1282" s2="48.7837" s3="31.7718" fuel="0.427">109.6836</Lap>
  <Lap num="10" p="1" et="1262.6145" s1="29.0325" s2="48.5301" s3="31.6986" fuel="0.349">109.2611</Lap>
  <Lap num="11" p="1" et="1371.8756" s1="28.9136" s2="48.5940" s3="31.6124" fuel="0.267">109.1200</Lap>
  <Lap num="12" p="1" et="1480.9956" s1="28.9596" s2="48.5300" s3="31.7941" fuel="0.188">109.2837</Lap>
  <Lap num="13" p="1" et="1590.2793" s1="28.8983" s2="48.7878" s3="31.6442" fuel="0.106">109.3303</Lap>
  <Lap num="14" p="1" et="1699.6096" s1="29.0056" s2="48.6365" s3="50.4015" fuel="0.051" pit="1">128.0436</Lap>
  <Lap num="15" p="1" et="1827.6532" s1="31.6905" s2="49.8351" s3="31.9100" fuel="0.588">113.4356</Lap>
  <Lap num="16" p="1" et="1941.0889" s1="29.6049" s2="49.5767" s3="32.4327" fuel="0.514">111.6142</Lap>
  <Lap num="17" p="1" et="2052.7031" s1="29.3179" s2="49.1941" s3="32.8068" fuel="0.435">111.3188</Lap>
  <Lap num="18" p="1" et="2164.0220" s1="29.1491" s2="49.1260" s3="31.9091" fuel="0.353">110.1841</Lap>
  <Lap num="19" p="1" et="2274.2061" s1="29.0701" s2="48.5182" s3="31.8375" fuel="0.275">109.4258</Lap>
  <Lap num="20" p="1" et="2383.6318" s1="29.3586" s2="49.1472" s3="32.1493" fuel="0.196">110.6551</Lap>
  <Lap num="21" p="1" et="2494.2869" s1="29.0848" s2="49.0705" s3="32.0267" fuel="0.114">110.1820</Lap>
  <Lap num="22" p="1" et="2604.4688" s1="29.2185" s2="49.9786" s3="33.5535" fuel="0.039">112.7506</Lap>
  <BestLapTime>108.4343</BestLapTime>
  <FinishTime>2470.0981</FinishTime>
  <Laps>22</Laps>
  <Pitstops>2</Pitstops>
  <FinishStatus>Finished Normally</FinishStatus>