Page 2 of 59 FirstFirst 12341252 ... LastLast
Results 11 to 20 of 583

Thread: Dedicated Server API

  1. #11
    WMD Member Kamel's Avatar
    Join Date
    Feb 2012
    Location
    Frankfurt a.M., Germany
    Posts
    23
    Quote Originally Posted by Ph0eNiX View Post
    Are there Steam public ID for drivers to have his uniqid, because on steam we can change our name, it can cause confusion.
    Each player gets a "session" ID as he connects.
    You can use "/api/session/status?members=true" to map that id to the name and the steam id.

    Also the log api contains a PlayerJoined entry with name and steamid.
    The following user likes this Post: Ph0eNiX


  2. #12
    WMD Member
    Join Date
    Oct 2011
    Posts
    69
    Great thx let's go, NodeJs i'm back !

  3. #13
    Kart Driver
    Join Date
    May 2015
    Posts
    97
    Platform
    PC
    the aim is to make the server as open as possible, or "moddable". This will allow the community to then implement any additional functionality based on their needs, instead of being restricted to what we might design and code in our unfortunately rather limited time.
    Awesome, love it!

    This might be a naive question, but since the server uses libwebsockets: Is the API only for REST calls or is it possible that the server sends data to a 3rd party app on its own?

  4. #14
    Stepan Vondrak
    Guest
    Quote Originally Posted by optimalspieler View Post
    Awesome, love it!

    This might be a naive question, but since the server uses libwebsockets: Is the API only for REST calls or is it possible that the server sends data to a 3rd party app on its own?
    You will have to poll the server regularly, it won't send anything out on its own.

  5. #15
    Kart Driver
    Join Date
    May 2015
    Posts
    23
    Platform
    PC
    Hi Patrick,
    Quote Originally Posted by crashmax View Post
    Hi Stefan

    Thank you for this Info!

    I plane to develop a Server controller App.

    May I ask how to get Info like this ""VehicleId" : 1023089804," to a human readable one? I mean how can I translate this ID to a name like "BMW Z4 GT3" or even get more attributes like I can get from steam for each user?


    Best regards
    Patrick
    seems this will be resolved by API lookup soon (cross fingers)

    Up to this moment you will have to maintain you own lookup table like I'm doing here;

    >>click<<

    If you need to have such tables as temp. solution too you can take the info from WMD-leaderboard html-source code:
    >>click<<

    But how's about liveryIDs?
    Does anyone has an idea how to resolv a liveryid to human readable text ?

    cheers,
    Uwe

  6. #16
    WMD Member thuro76's Avatar
    Join Date
    Jan 2012
    Posts
    19
    Platform
    PC
    Sorry guys, I need to have and what to do to get the information to be collected in a web space?
    i7 2600k , 8gb ddr3 hyperX , MSI GTX 980 Gaming 4gb ddr5 , Win 7 x64 ,Thrustmaster Ferrari F1 Wheel Integral T500 RS , Logitec G27 , Fanatec CS Pedal V2 , 3x24" Asus led, 46" Samsung Smart TV 3D

  7. #17
    WMD Member bmaytum's Avatar
    Join Date
    Apr 2012
    Location
    No. California USA
    Posts
    35
    Platform
    PC

    pCARS Ded Server Config Help [Done]

    Quote Originally Posted by Stepan Vondrak View Post
    These attempts at commenting out some lines are wrong.

    The config format is still JSON object, so key-value pairs in format
    Code:
    key : value
    You can't comment a key-value pair out by prepending it with "//" :, then you have A:B:C in the file which completely confuses the parser. It's just that when the key is "//", the value is ignored. But "//" : key : value does not make any sense to the server. So just remove the lines where you tried to comment-out the original values.

    Also the "warning" value is missing a quote.
    Thanks Stepan
    Asus Sabertooth Z77 powered by Intel i7-3770K @ 4.2GHz, 2 x 8GB DDR3 @ 1867MHz, Asus 680GTX / 2GB, Logitech G25 Wheel & Pedals.
    Asus P5N32-E SLI mobo, Intel C2D E8400 @ 3.0Ghz, 4 x1GB OCZ DDR2 @ 1067MHz, Asus ENGTX580 / 1536MB.
    Racer name "EZTarget". Also play GRID Autosport, GRID 2, Assetto Corsa, RRRE, TDU 2, Shift2, others.
    Support Project CARS2 HERE ! I am a Silver Level pCARS2 supporter.

  8. #18
    Kart Driver
    Join Date
    May 2015
    Posts
    23
    Platform
    PC
    Hi,
    Quote Originally Posted by thuro76 View Post
    Sorry guys, I need to have and what to do to get the information to be collected in a web space?
    I mean that part of the source code:

    Code:
    <!-- Track select combo box -->
    <td class="track">
    <label for="select_leaderboard_track">Track:</label>
    <select name="track" id="select_leaderboard_track">
    	<option value="4241994684">Autodromo Nazionale Monza GP</option>
    	<option value="368740158">Autodromo Nazionale Monza Short</option>
    	<option value="832629329">Azure Circuit</option>
    	<option value="560711985">Azure Coast</option>
    	<option value="550129415">Azure Coast Stage 1</option>
    	<option value="3514087720">Azure Coast Stage 2</option>
    	<option value="2557706171">Azure Coast Stage 3</option>
    	<option value="2358176792">Azure Coast Westbound</option>
    	<option value="921120824">Bathurst</option>
    	<option value="1988984740">Brands Hatch GP</option>
    	<option value="1300627020">Brands Hatch Indy</option>
    	<option value="3387066030">Brno</option>
    	<option value="328972919">Cadwell Club Circuit</option>
    	<option value="1876749797">Cadwell GP</option>
    	<option value="2886778255">Cadwell Woodland</option>
    	<option value="2701023129">California Highway Full</option>
    	<option value="928006536">California Highway Reverse</option>
    	<option value="1676943041">California Highway Stage 1</option>
    	<option value="940391868">California Highway Stage 2</option>
    	<option value="3963464445">California Highway Stage 3</option>
    	<option value="2559054883">Chesterfield</option>
    	<option value="3252038398">Circuit de Barcelona-Catalunya Club</option>
    	<option value="521933422">Circuit de Barcelona-Catalunya GP</option>
    	<option value="3296775302">Circuit de Barcelona-Catalunya National</option>
    	<option value="904625875">Circuit de Spa-Francorchamps</option>
    	<option value="1740968730">Circuit des 24 Heures du Mans</option>
    	<option value="354022214">Donington Park GP</option>
    	<option value="3100947921">Donington Park National</option>
    	<option value="1735854797">Dubai Autodrome Club</option>
    	<option value="3633079779">Dubai Autodrome GP</option>
    	<option value="3584254603">Dubai Autodrome International</option>
    	<option value="4263239849">Dubai Autodrome National</option>
    	<option value="4062453922">Dubai Kartdrome</option>
    	<option value="3228224516">Glencairn</option>
    	<option value="766599953">Glencairn East</option>
    	<option value="3848172327">Glencairn East Reverse</option>
    	<option value="2774122716">Glencairn Reverse</option>
    	<option value="2886187703">Glencairn West</option>
    	<option value="3381341938">Glencairn West Reverse</option>
    	<option value="3134524219">Greenwood Karting Circuit</option>
    	<option value="1695182971">Hockenheim GP</option>
    	<option value="2317824311">Hockenheim National</option>
    	<option value="1768660198">Hockenheim Short</option>
    	<option value="920145926">Imola</option>
    	<option value="3267032607">Le Circuit Bugatti</option>
    	<option value="2682943968">Mazda Raceway Laguna Seca</option>
    	<option value="697498609">Nordschleife</option>
    	<option value="1459212514">Nordschleife Stage 1</option>
    	<option value="3994580005">Nordschleife Stage 2</option>
    	<option value="1128950148">Nordschleife Stage 3</option>
    	<option value="3348999902">Nürburgring GP</option>
    	<option value="4048000896">Nürburgring Müllenbach</option>
    	<option value="3585230195">Nürburgring Sprint</option>
    	<option value="3484251453">Nürburgring Sprint Short</option>
    	<option value="2935667702">Oschersleben C Circuit</option>
    	<option value="3100781576">Oschersleben GP</option>
    	<option value="816601966">Oschersleben National</option>
    	<option value="2273942801">Oulton Park Fosters</option>
    	<option value="545979690">Oulton Park International</option>
    	<option value="2417267773">Oulton Park Island</option>
    	<option value="3634666530">Road America</option>
    	<option value="2535224250">Sakitto GP</option>
    	<option value="2820797104">Sakitto International</option>
    	<option value="3034141030">Sakitto National</option>
    	<option value="3415685177">Sakitto Sprint</option>
    	<option value="1641471184">Silverstone GP</option>
    	<option value="1101719627">Silverstone International</option>
    	<option value="1952936927">Silverstone National</option>
    	<option value="1600840139">Silverstone Stowe</option>
    	<option value="3427627286">Snetterton 100</option>
    	<option value="1058872832">Snetterton 200</option>
    	<option value="1508903068">Snetterton 300</option>
    	<option value="2840687665">Sonoma Raceway GP</option>
    	<option value="3299764567">Sonoma Raceway National</option>
    	<option value="1035110721">Sonoma Raceway Short</option>
    	<option value="4250218976">Summerton</option>
    	<option value="1408845203">Summerton National</option>
    	<option value="2689053728">Summerton Sprint</option>
    	<option value="2509185801">Watkins Glen GP</option>
    	<option value="1590386668">Watkins Glen Short</option>
    	<option value="2445435734">Willow Springs Horse Thief Mile</option>
    	<option value="4191654388">Willow Springs International Raceway</option>
    	<option value="1836888499">Zhuhai International Circuit</option>
    	<option value="3934256239">Zolder</option>
    </select>
    </td>
    
    <!-- Vehicle select combo box -->
    <td class="vehicle">
    <label for="select_leaderboard_vehicle">Vehicle:</label>
    <select name="vehicle" id="select_leaderboard_vehicle">
    <option value="0" selected="selected">Overall best</option>
    	<option value="844159614">125cc Shifter Kart</option>
    	<option value="3357033447">250cc Superkart</option>
    	<option value="2022787216">Alpine A450</option>
    	<option value="2524566288">Ariel Atom 300 Supercharged</option>
    	<option value="607772150">Ariel Atom 500 V8</option>
    	<option value="526708607">Ariel Atom Mugen</option>
    	<option value="3970726840">Aston Martin Rapide S Hydrogen Hybrid</option>
    	<option value="1452261378">Aston Martin V12 Vantage GT3</option>
    	<option value="2086246081">Aston Martin V8 Vantage GT4</option>
    	<option value="3227065186">Audi R18 TDI</option>
    	<option value="1884411907">Audi R8 LMS Ultra</option>
    	<option value="1469658023">Audi R8 V10 plus</option>
    	<option value="1400443574">BAC Mono</option>
    	<option value="987814806">Bentley Continental GT3</option>
    	<option value="3800867225">Bentley Speed 8</option>
    	<option value="3068790356">BMW 1-Series M Coupe</option>
    	<option value="779111340">BMW 320 Turbo Group 5</option>
    	<option value="1368036017">BMW M1 Procar</option>
    	<option value="3360868789">BMW M3 E30 Group A</option>
    	<option value="2929049241">BMW M3 GT</option>
    	<option value="2749517114">BMW M3 GT4</option>
    	<option value="975104023">BMW V12 LMR</option>
    	<option value="1161219858">BMW Z4 GT3</option>
    	<option value="578910088">Caper Monterey Stockcar</option>
    	<option value="3408754612">Caterham Seven Classic</option>
    	<option value="675194619">Caterham SP/300.R</option>
    	<option value="4132283684">Caterham Superlight R500</option>
    	<option value="1639105598">Ford Escort Mk1 RS1600</option>
    	<option value="2556846404">Ford Focus RS</option>
    	<option value="2520631554">Ford MkIV</option>
    	<option value="1111049682">Ford Mustang Boss 302R1</option>
    	<option value="4283632081">Ford Mustang Cobra TransAm</option>
    	<option value="3041492578">Ford Sierra RS500 Cosworth Group A</option>
    	<option value="1817703058">Ford Zakspeed Capri Group 5</option>
    	<option value="1909945073">Formula A</option>
    	<option value="2976119256">Formula B</option>
    	<option value="3253292325">Formula C</option>
    	<option value="2588707625">Formula Gulf 1000</option>
    	<option value="2219682419">Formula Rookie</option>
    	<option value="310900789">Ginetta G40 Junior</option>
    	<option value="3124293020">Ginetta G55 GT3</option>
    	<option value="2091910841">Ginetta G55 GT4</option>
    	<option value="3620711768">GUMPERT apollo S</option>
    	<option value="578969971">Lotus 49 Cosworth</option>
    	<option value="2974350450">Lotus 72D Cosworth</option>
    	<option value="2459105748">Lotus 78 Cosworth</option>
    	<option value="1959097924">Lotus 98T Renault Turbo</option>
    	<option value="1355771595">Marek RP 219D LMP2</option>
    	<option value="2264479929">Marek RP 339H LMP1</option>
    	<option value="3850842786">McLaren 12C</option>
    	<option value="3128055308">McLaren 12C GT3</option>
    	<option value="307010432">McLaren F1</option>
    	<option value="3293397987">McLaren F1 GTR Long Tail</option>
    	<option value="2546290331">McLaren P1™</option>
    	<option value="262982797">Mercedes-Benz 190E 2.5-16 Evolution2 DTM</option>
    	<option value="4209306796">Mercedes-Benz 300SEL 6.8 AMG</option>
    	<option value="2772044758">Mercedes-Benz A45 AMG</option>
    	<option value="3769906724">Mercedes-Benz AMG C-Coupe DTM</option>
    	<option value="1979398129">Mercedes-Benz CLK-LM</option>
    	<option value="2565700839">Mercedes-Benz SLS AMG</option>
    	<option value="274862187">Mercedes-Benz SLS AMG GT3</option>
    	<option value="998947753">Mitsubishi Lancer Evolution X FQ400</option>
    	<option value="4196902797">Oreca 03 Nissan</option>
    	<option value="2232288208">Pagani Huayra</option>
    	<option value="2677051185">Pagani Zonda Cinque Roadster</option>
    	<option value="2228078825">Pagani Zonda R</option>
    	<option value="2373461986">Palmer Jaguar JP-LM</option>
    	<option value="1231996358">Radical SR3-RS</option>
    	<option value="152867459">Radical SR8-RX</option>
    	<option value="3646257473">Renault Clio Cup</option>
    	<option value="1694837381">Renault Megane R.S. 265</option>
    	<option value="558051123">Ruf CTR3</option>
    	<option value="2248141984">Ruf CTR3 SMS-R</option>
    	<option value="462547146">Ruf RGT-8</option>
    	<option value="2274208491">Ruf RGT-8 GT3</option>
    	<option value="146414985">RWD P20 LMP2</option>
    	<option value="1023089804">RWD P30 LMP1</option>
    	<option value="65306143">Sauber C9 Mercedes-Benz</option>
    	<option value="4114837419">W Motors Lykan HyperSport</option>
    </select>
    </td>
    cheers,
    Uwe
    The following user likes this Post: Ph0eNiX


  9. #19
    WMD Member thuro76's Avatar
    Join Date
    Jan 2012
    Posts
    19
    Platform
    PC
    Quote Originally Posted by derDumeklemmer View Post
    Hi,


    I mean that part of the source code:

    Code:
    <!-- Track select combo box -->
    <td class="track">
    <label for="select_leaderboard_track">Track:</label>
    <select name="track" id="select_leaderboard_track">
    	<option value="4241994684">Autodromo Nazionale Monza GP</option>
    	<option value="368740158">Autodromo Nazionale Monza Short</option>
    	<option value="832629329">Azure Circuit</option>
    	<option value="560711985">Azure Coast</option>
    	<option value="550129415">Azure Coast Stage 1</option>
    	<option value="3514087720">Azure Coast Stage 2</option>
    	<option value="2557706171">Azure Coast Stage 3</option>
    	<option value="2358176792">Azure Coast Westbound</option>
    	<option value="921120824">Bathurst</option>
    	<option value="1988984740">Brands Hatch GP</option>
    	<option value="1300627020">Brands Hatch Indy</option>
    	<option value="3387066030">Brno</option>
    	<option value="328972919">Cadwell Club Circuit</option>
    	<option value="1876749797">Cadwell GP</option>
    	<option value="2886778255">Cadwell Woodland</option>
    	<option value="2701023129">California Highway Full</option>
    	<option value="928006536">California Highway Reverse</option>
    	<option value="1676943041">California Highway Stage 1</option>
    	<option value="940391868">California Highway Stage 2</option>
    	<option value="3963464445">California Highway Stage 3</option>
    	<option value="2559054883">Chesterfield</option>
    	<option value="3252038398">Circuit de Barcelona-Catalunya Club</option>
    	<option value="521933422">Circuit de Barcelona-Catalunya GP</option>
    	<option value="3296775302">Circuit de Barcelona-Catalunya National</option>
    	<option value="904625875">Circuit de Spa-Francorchamps</option>
    	<option value="1740968730">Circuit des 24 Heures du Mans</option>
    	<option value="354022214">Donington Park GP</option>
    	<option value="3100947921">Donington Park National</option>
    	<option value="1735854797">Dubai Autodrome Club</option>
    	<option value="3633079779">Dubai Autodrome GP</option>
    	<option value="3584254603">Dubai Autodrome International</option>
    	<option value="4263239849">Dubai Autodrome National</option>
    	<option value="4062453922">Dubai Kartdrome</option>
    	<option value="3228224516">Glencairn</option>
    	<option value="766599953">Glencairn East</option>
    	<option value="3848172327">Glencairn East Reverse</option>
    	<option value="2774122716">Glencairn Reverse</option>
    	<option value="2886187703">Glencairn West</option>
    	<option value="3381341938">Glencairn West Reverse</option>
    	<option value="3134524219">Greenwood Karting Circuit</option>
    	<option value="1695182971">Hockenheim GP</option>
    	<option value="2317824311">Hockenheim National</option>
    	<option value="1768660198">Hockenheim Short</option>
    	<option value="920145926">Imola</option>
    	<option value="3267032607">Le Circuit Bugatti</option>
    	<option value="2682943968">Mazda Raceway Laguna Seca</option>
    	<option value="697498609">Nordschleife</option>
    	<option value="1459212514">Nordschleife Stage 1</option>
    	<option value="3994580005">Nordschleife Stage 2</option>
    	<option value="1128950148">Nordschleife Stage 3</option>
    	<option value="3348999902">Nürburgring GP</option>
    	<option value="4048000896">Nürburgring Müllenbach</option>
    	<option value="3585230195">Nürburgring Sprint</option>
    	<option value="3484251453">Nürburgring Sprint Short</option>
    	<option value="2935667702">Oschersleben C Circuit</option>
    	<option value="3100781576">Oschersleben GP</option>
    	<option value="816601966">Oschersleben National</option>
    	<option value="2273942801">Oulton Park Fosters</option>
    	<option value="545979690">Oulton Park International</option>
    	<option value="2417267773">Oulton Park Island</option>
    	<option value="3634666530">Road America</option>
    	<option value="2535224250">Sakitto GP</option>
    	<option value="2820797104">Sakitto International</option>
    	<option value="3034141030">Sakitto National</option>
    	<option value="3415685177">Sakitto Sprint</option>
    	<option value="1641471184">Silverstone GP</option>
    	<option value="1101719627">Silverstone International</option>
    	<option value="1952936927">Silverstone National</option>
    	<option value="1600840139">Silverstone Stowe</option>
    	<option value="3427627286">Snetterton 100</option>
    	<option value="1058872832">Snetterton 200</option>
    	<option value="1508903068">Snetterton 300</option>
    	<option value="2840687665">Sonoma Raceway GP</option>
    	<option value="3299764567">Sonoma Raceway National</option>
    	<option value="1035110721">Sonoma Raceway Short</option>
    	<option value="4250218976">Summerton</option>
    	<option value="1408845203">Summerton National</option>
    	<option value="2689053728">Summerton Sprint</option>
    	<option value="2509185801">Watkins Glen GP</option>
    	<option value="1590386668">Watkins Glen Short</option>
    	<option value="2445435734">Willow Springs Horse Thief Mile</option>
    	<option value="4191654388">Willow Springs International Raceway</option>
    	<option value="1836888499">Zhuhai International Circuit</option>
    	<option value="3934256239">Zolder</option>
    </select>
    </td>
    
    <!-- Vehicle select combo box -->
    <td class="vehicle">
    <label for="select_leaderboard_vehicle">Vehicle:</label>
    <select name="vehicle" id="select_leaderboard_vehicle">
    <option value="0" selected="selected">Overall best</option>
    	<option value="844159614">125cc Shifter Kart</option>
    	<option value="3357033447">250cc Superkart</option>
    	<option value="2022787216">Alpine A450</option>
    	<option value="2524566288">Ariel Atom 300 Supercharged</option>
    	<option value="607772150">Ariel Atom 500 V8</option>
    	<option value="526708607">Ariel Atom Mugen</option>
    	<option value="3970726840">Aston Martin Rapide S Hydrogen Hybrid</option>
    	<option value="1452261378">Aston Martin V12 Vantage GT3</option>
    	<option value="2086246081">Aston Martin V8 Vantage GT4</option>
    	<option value="3227065186">Audi R18 TDI</option>
    	<option value="1884411907">Audi R8 LMS Ultra</option>
    	<option value="1469658023">Audi R8 V10 plus</option>
    	<option value="1400443574">BAC Mono</option>
    	<option value="987814806">Bentley Continental GT3</option>
    	<option value="3800867225">Bentley Speed 8</option>
    	<option value="3068790356">BMW 1-Series M Coupe</option>
    	<option value="779111340">BMW 320 Turbo Group 5</option>
    	<option value="1368036017">BMW M1 Procar</option>
    	<option value="3360868789">BMW M3 E30 Group A</option>
    	<option value="2929049241">BMW M3 GT</option>
    	<option value="2749517114">BMW M3 GT4</option>
    	<option value="975104023">BMW V12 LMR</option>
    	<option value="1161219858">BMW Z4 GT3</option>
    	<option value="578910088">Caper Monterey Stockcar</option>
    	<option value="3408754612">Caterham Seven Classic</option>
    	<option value="675194619">Caterham SP/300.R</option>
    	<option value="4132283684">Caterham Superlight R500</option>
    	<option value="1639105598">Ford Escort Mk1 RS1600</option>
    	<option value="2556846404">Ford Focus RS</option>
    	<option value="2520631554">Ford MkIV</option>
    	<option value="1111049682">Ford Mustang Boss 302R1</option>
    	<option value="4283632081">Ford Mustang Cobra TransAm</option>
    	<option value="3041492578">Ford Sierra RS500 Cosworth Group A</option>
    	<option value="1817703058">Ford Zakspeed Capri Group 5</option>
    	<option value="1909945073">Formula A</option>
    	<option value="2976119256">Formula B</option>
    	<option value="3253292325">Formula C</option>
    	<option value="2588707625">Formula Gulf 1000</option>
    	<option value="2219682419">Formula Rookie</option>
    	<option value="310900789">Ginetta G40 Junior</option>
    	<option value="3124293020">Ginetta G55 GT3</option>
    	<option value="2091910841">Ginetta G55 GT4</option>
    	<option value="3620711768">GUMPERT apollo S</option>
    	<option value="578969971">Lotus 49 Cosworth</option>
    	<option value="2974350450">Lotus 72D Cosworth</option>
    	<option value="2459105748">Lotus 78 Cosworth</option>
    	<option value="1959097924">Lotus 98T Renault Turbo</option>
    	<option value="1355771595">Marek RP 219D LMP2</option>
    	<option value="2264479929">Marek RP 339H LMP1</option>
    	<option value="3850842786">McLaren 12C</option>
    	<option value="3128055308">McLaren 12C GT3</option>
    	<option value="307010432">McLaren F1</option>
    	<option value="3293397987">McLaren F1 GTR Long Tail</option>
    	<option value="2546290331">McLaren P1™</option>
    	<option value="262982797">Mercedes-Benz 190E 2.5-16 Evolution2 DTM</option>
    	<option value="4209306796">Mercedes-Benz 300SEL 6.8 AMG</option>
    	<option value="2772044758">Mercedes-Benz A45 AMG</option>
    	<option value="3769906724">Mercedes-Benz AMG C-Coupe DTM</option>
    	<option value="1979398129">Mercedes-Benz CLK-LM</option>
    	<option value="2565700839">Mercedes-Benz SLS AMG</option>
    	<option value="274862187">Mercedes-Benz SLS AMG GT3</option>
    	<option value="998947753">Mitsubishi Lancer Evolution X FQ400</option>
    	<option value="4196902797">Oreca 03 Nissan</option>
    	<option value="2232288208">Pagani Huayra</option>
    	<option value="2677051185">Pagani Zonda Cinque Roadster</option>
    	<option value="2228078825">Pagani Zonda R</option>
    	<option value="2373461986">Palmer Jaguar JP-LM</option>
    	<option value="1231996358">Radical SR3-RS</option>
    	<option value="152867459">Radical SR8-RX</option>
    	<option value="3646257473">Renault Clio Cup</option>
    	<option value="1694837381">Renault Megane R.S. 265</option>
    	<option value="558051123">Ruf CTR3</option>
    	<option value="2248141984">Ruf CTR3 SMS-R</option>
    	<option value="462547146">Ruf RGT-8</option>
    	<option value="2274208491">Ruf RGT-8 GT3</option>
    	<option value="146414985">RWD P20 LMP2</option>
    	<option value="1023089804">RWD P30 LMP1</option>
    	<option value="65306143">Sauber C9 Mercedes-Benz</option>
    	<option value="4114837419">W Motors Lykan HyperSport</option>
    </select>
    </td>
    cheers,
    Uwe
    I've seen it but my problem, since they are not very practical, is how to collect the information going to question the HttpApi
    i7 2600k , 8gb ddr3 hyperX , MSI GTX 980 Gaming 4gb ddr5 , Win 7 x64 ,Thrustmaster Ferrari F1 Wheel Integral T500 RS , Logitec G27 , Fanatec CS Pedal V2 , 3x24" Asus led, 46" Samsung Smart TV 3D

  10. #20
    WMD Member
    Join Date
    Oct 2011
    Posts
    69
    Ok I found something like little strange for me,

    When the race is finished, we go back to the lobby, but when we do an other session the server attribute an other participantID for all players, one for the older session, and one for new session, etc ...

    Why after back to the lobby for the next session it create an other particpant for the same player why it don't use the older for the next session? it will cause confusion to retrieve datas

    Click image for larger version. 

Name:	Capture.PNG 
Views:	629 
Size:	21.2 KB 
ID:	204005

    Code:
    "members" : [
          {
            "index" : 0,
            "refid" : 8640,
            "steamid" : 76561198023156518,
            "state" : "Connected",
            "name" : "-Ph0eNiX-",
            "jointime" : 1432301223,
            "host" : true,
            "attributes" : {
              "VehicleId" : -1041674971,
              "LiveryId" : 59,
              "LoadState" : "ADMIN_STARTED_RACE",
              "RaceStatFlags" : 1073751042,
              "Ping" : 11
            }
          }
        ],
        "participants" : [
          {
            "attributes" : {
              "RefId" : 8640,
              "Name" : "-Ph0eNiX-",
              "IsPlayer" : 1,
              "GridPosition" : 2,
              "VehicleId" : -1041674971,
              "LiveryId" : 59,
              "RacePosition" : 1,
              "CurrentLap" : 0,
              "CurrentSector" : 2,
              "Sector1Time" : 0,
              "Sector2Time" : 0,
              "Sector3Time" : 2419,
              "LastLapTime" : 0,
              "FastestLapTime" : 0,
              "State" : "Disqualified",
              "HeadlightsOn" : 0,
              "WipersOn" : 0,
              "Speed" : 0,
              "Gear" : 1,
              "RPM" : 0,
              "PositionX" : 86260,
              "PositionY" : -3810,
              "PositionZ" : -113400,
              "Orientation" : 256
            },
            "id" : 3
          },
          {
            "attributes" : {
              "RefId" : 8640,
              "Name" : "-Ph0eNiX-",
              "IsPlayer" : 1,
              "GridPosition" : 1,
              "VehicleId" : -1041674971,
              "LiveryId" : 59,
              "RacePosition" : 1,
              "CurrentLap" : 0,
              "CurrentSector" : 0,
              "Sector1Time" : 0,
              "Sector2Time" : 0,
              "Sector3Time" : 0,
              "LastLapTime" : 0,
              "FastestLapTime" : 0,
              "State" : "InGarage",
              "HeadlightsOn" : 0,
              "WipersOn" : 0,
              "Speed" : 0,
              "Gear" : 0,
              "RPM" : 0,
              "PositionX" : 88670,
              "PositionY" : -3960,
              "PositionZ" : -122200,
              "Orientation" : 256
            },
            "id" : 4
          }
        ]
    Last edited by Ph0eNiX; 22-05-2015 at 13:57.

Similar Threads

  1. Dedicated Server
    By OzDeaDMeaT in forum Multiplayer
    Replies: 9
    Last Post: 14-09-2015, 14:02
  2. Dedicated server browser is down
    By optimalspieler in forum PC - Technical Help & Support
    Replies: 4
    Last Post: 23-05-2015, 08:41
  3. Dedicated Server Browser Not Working
    By flyoffacliff in forum Multiplayer
    Replies: 0
    Last Post: 17-05-2015, 02:59
  4. Dedicated Server High Latency
    By Winpoks in forum Multiplayer
    Replies: 2
    Last Post: 09-05-2015, 06:24
  5. Dedicated Server - HTTP API Request
    By Ph0eNiX in forum PC - Technical Help & Support
    Replies: 3
    Last Post: 08-05-2015, 11:18

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •