Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: C# Udp V2 library

  1. #1
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC

    C# Udp V2 library

    For those of you who don't know I'm the developer of PC2Tuner at RacingSimTools.com, I'm currently building a UDP library in c# for the pcars2 udp structure. I've contemplated releasing the library for free so developers that don't understand udp can just use the library to use in their functions.

    Would there be much interest in this? If so, i'll look into making it mkre out of the box ready for developers.
    Last edited by Zeratall; 22-06-2018 at 14:38.
    The following 5 users likes this Post: AndrewTurner, JasonSandwich, Maskmagog, SimssmiS, yons


  2. #2
    Superkart Pilot Maskmagog's Avatar
    Join Date
    Sep 2017
    Posts
    392
    Platform
    XBOX1 X
    I think this would be very much appreciated! I would love it. I'm building a buttonbox, and could use UDP to control leds, for example. But programming the UDP receiving part is way out of my league.
    Thrustmaster TX, Italia 458 wheel, 2 pedals, Firmware 54, Xbox One X since Aug -18, 24" 1080 monitor
    Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.

  3. #3
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC
    Quote Originally Posted by Maskmagog View Post
    I think this would be very much appreciated! I would love it. I'm building a buttonbox, and could use UDP to control leds, for example. But programming the UDP receiving part is way out of my league.
    I kinda figured, every-time I see someone post, people ask for help. Anyways I'm creating the library, its going to make UDP super easy, below is a picture of working usage of the new library.

    Click image for larger version. 

Name:	fdgagdsf.png 
Views:	243 
Size:	13.6 KB 
ID:	255127
    The following user likes this Post: ZeDuncan


  4. #4
    WMD Member ermo's Avatar
    Join Date
    Oct 2011
    Location
    Aarhus.dk
    Posts
    466
    Platform
    PC
    @Zeratall:

    If you do release it, maybe consider using either a MIT, Apache 2.0 or LGPL/GPL license? That way, if you lose interest in it, other people can fork it and carry on the development (if you're comfortable with such a setup, that is).
    CPU i7 3770K@4.2 GHz | RAM 32GB DDR3-2400 | GFX Vega 64 AC @ 3x27" 1080p | Controller G27 w/NIXIM mod | FFB INFORMATIVE Gain:100/Volume:30-35/Tone:50-60/FX:0-10 | OS Win10 Pro x64 | UTF-8 characters: ✓ ✔ ✗ ✘ ← ↑ → ↓

    "We respond to well constructed criticism, good ideas which are properly described and thought through, and ideas that will benefit the whole community, not a vocal minority.

    Do not repeat requests, be patient and polite, and have some confidence in our ongoing desire to improve the game for all users, which we have clearly and ably demonstrated in the past." -- Richard Steer, Slightly Mad Studios
    The following user likes this Post: JasonSandwich


  5. #5
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC
    Yeah for sure, that's what I was thinking.
    The following user likes this Post: ermo


  6. #6
    Kart Driver
    Join Date
    Mar 2016
    Location
    Sydney
    Posts
    8
    Platform
    PC
    I would be very appreciative of such a library Zeratall.
    The following user likes this Post: ZeDuncan


  7. #7
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC
    I have it created already, let me make an example and I can give it out tonight!
    The following 4 users likes this Post: ermo, Maskmagog, repsol23, SimssmiS


  8. #8
    Rookie
    Join Date
    Jun 2018
    Posts
    1
    Platform
    PC
    Hey Zeratall any Update?

  9. #9
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC
    Yep, I keep getting pulled away I'll upload it tonight I promise.

  10. #10
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    290
    Platform
    PC
    As promised here is a UDP library for the car data in the UDP packet for Version 2 UDP structure, I will be updating this as I pull in the timing and session info, but this should get people started. the "PCars2_UDP.cs" Is the C# class where you can import into your projects.

    To help you see how to use the library refer to the example folder "UDP_Example" this is a C# project to show you what you need to do to use the library.

    https://github.com/Zdetier/RST_UDP
    The following 6 users likes this Post: beetes_juice, cpcdem, Maskmagog, Voodoochild, Y22 Rydr, ZeDuncan


Similar Threads

  1. Simresults.net - a webbased result reader & PHP library
    By Mauserrifle in forum Multiplayer
    Replies: 123
    Last Post: 19-10-2018, 12:40
  2. Interest in GTE championship?
    By p66pittfan in forum Project CARS 2 on XBOX One
    Replies: 1
    Last Post: 19-02-2018, 21:08
  3. Project Cars closed, but keeps running in steam library
    By Kunal_Racedriver in forum PC - Technical Help & Support
    Replies: 2
    Last Post: 14-02-2016, 16:41
  4. Aug old vs new DLC not showing under Library/DLC in steam
    By Kobus Maree in forum General Discussion
    Replies: 6
    Last Post: 30-08-2015, 23:02
  5. highlight video to capture library question
    By BORIStheBLADE1 in forum PS4 - Technical Help & Support
    Replies: 1
    Last Post: 19-05-2015, 02:03

Posting Permissions

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