Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 133

Thread: Project-Cars Dedicated Server Live App

  1. #1
    WMD Member
    Join Date
    Oct 2011
    Posts
    69

    Project-Cars Dedicated Server Live App

    Hi all !

    To help the community to move forward, I want to share you my work. I present you my application that aims to record all the time that are performed on the dedicated server, and provide you with statistics, and livetiming, as well as monitoring pilot.

    You can find on github the repo and documentation in progress. https://github.com/JcPires/Project-Cars-DS-LiveApp

    Once installed on my production server, and a few laps, you'd share the link so that you can report to you on what I offer.

    Hope this helps some community, many things are still to come, as the league management. But at first there will be a long phase of debug, and pending the next update of the announced dedicated servers, no new function will be added.

    exemples : http://eracing.fr:1337

    Features available:
    • - Livetiming
    • - Save all the LAPS performed on the server
    • - Creation of an output file at the end of the session with "incidents / revolutions / outputs track / contact" per session.
    • - Ability to create events
    • - Ability to search bestlaps by some criterion
    • - Some general statistics


    You will find here all futur addition, bug reports, and dev log

    Unfortunately it is quite difficult to debug because everything is live and I needed active drivers on the server, which delayed me as much.


    Language / Library / framework used:

    • - Node JS
    • - Sails Js
    • - Grunt
    • - Less
    • - Mustache
    • - Ejs
    • - Jquery
    • - Bootstrap 3
    • - Velocity Js
    • - Bcrypt
    • - Fs-extra
    • - Async
    • - OwlCarousel
    • - Trumbowyg
    • - DatePicker
    • - Weather icon
    • - Font-awesome



    PS: I don't want to released now, but i need beta tester to debug much faster. Keep in mind, this is a BETA version. The design was not really worked




    -------------------------------------------------------------------------------------------------------------------------------------
    You want to support me: Paid me a beer !
    Last edited by Ph0eNiX; 07-07-2015 at 15:57.

  2. #2
    WMD Member
    Join Date
    Oct 2011
    Posts
    69
    Dev log:

    EDIT 2015/07/02 20:37 CET : FIX foldername try this new version!
    EDIT 2015/07/02 22:15 CET : FIX foldername in controllers need update
    EDIT 2015/07/02 22:15 CET : REMOVE event association on lap save()
    EDIT 2015/07/06 16:00 CET : http://forum.projectcarsgame.com/sho...=1#post1032955
    EDIT 2015/07/07 17:30 CET : http://forum.projectcarsgame.com/sho...=1#post1035554
    EDIT 2015/07/07 19:00 CET : http://forum.projectcarsgame.com/sho...=1#post1035714
    EDIT 2015/07/08 11:30 CET : http://forum.projectcarsgame.com/sho...=1#post1036812
    EDIT 2015/07/08 17:50 CET : http://forum.projectcarsgame.com/sho...=1#post1037381
    EDIT 2015/07/08 18:30 CET : http://forum.projectcarsgame.com/sho...=1#post1037455 Major update add "Automation tools by TylerBre"
    EDIT 2015/07/09 11:30 CET : controller refactoring, better template conventions, small css fixes - By TylorBre
    EDIT 2015/07/10 01:30 CET : Fix pagination on Driver page / Fix homepage with empty event content / Fix error on hook/index on pushPlayerNewAttributes()
    EDIT 2015/07/11 16:30 CET : Fix #16 Tracks/Groups/Cars are updated on listerner started
    Last edited by Ph0eNiX; 11-07-2015 at 14:27.
    The following user likes this Post: Maddox


  3. #3
    WMD Member
    Join Date
    May 2015
    Location
    Culburra Beach
    Posts
    61
    Platform
    PC
    I would like to help with testing. Is it only for Linux servers?
    Last edited by norbs; 03-07-2015 at 05:24.
    Operating System Microsoft Windows 7 Ultimate
    OS Service Pack Service Pack 1
    CPU Type QuadCore Intel Core i5-4690K, 3900 MHz (39 x 100)
    Motherboard Name Asus Maximus VII Ranger
    Motherboard Chipset Intel Wildcat Point Z97, Intel Haswell System Memory 16327 MB (DDR3-1600 DDR3 SDRAM)
    ASUS GeForce GTX 970 Strix DirectCU II 4GB

  4. #4
    WMD Member
    Join Date
    Oct 2011
    Posts
    69
    No i run it on my windows computer for developpement don't worry. NodeJs are multiplateforme.

  5. #5
    WMD Member
    Join Date
    May 2015
    Location
    Culburra Beach
    Posts
    61
    Platform
    PC
    Quote Originally Posted by Ph0eNiX View Post
    No i run it on my windows computer for developpement don't worry. NodeJs are multiplateforme.
    Thanks. Well if I can get it running, I will be happy to help test it.
    Operating System Microsoft Windows 7 Ultimate
    OS Service Pack Service Pack 1
    CPU Type QuadCore Intel Core i5-4690K, 3900 MHz (39 x 100)
    Motherboard Name Asus Maximus VII Ranger
    Motherboard Chipset Intel Wildcat Point Z97, Intel Haswell System Memory 16327 MB (DDR3-1600 DDR3 SDRAM)
    ASUS GeForce GTX 970 Strix DirectCU II 4GB
    The following user likes this Post: Ph0eNiX


  6. #6
    WMD Member MrBlacky's Avatar
    Join Date
    Mar 2012
    Location
    Munich
    Posts
    224
    Platform
    PC
    Awesome. Thank you!
    The following user likes this Post: Ph0eNiX


  7. #7
    Stepan Vondrak
    Guest
    Looks ace, link added to the API post.
    The following 2 users likes this Post: BioForce, Ph0eNiX


  8. #8
    Kart Driver Maddox's Avatar
    Join Date
    May 2015
    Location
    Augsburg
    Posts
    13
    Platform
    PC
    Hello There,
    Great work and thank you for sharing your project.
    Unfortunately, I have a problem with starting the app.
    Get the start the following error message:
    info: Starting app...

    error: A hook (`orm`) failed to load!
    error: Error (E_UNKNOWN) :: Encountered an unexpected error
    : Could not connect to MySQL:
    Error: getaddrinfo ENOTFOUND
    at afterwards (/home/****/steamcmd/pcars_ds/node_modules/sails-mysql/lib/connections/spawn.js:72:13)
    at /home/****/steamcmd/pcars_ds/node_modules/sails-mysql/lib/connections/spawn.js:40:7
    at Handshake.onConnect (/home/****/steamcmd/pcars_ds/node_modules/sails-mysql/node_modules/mysql/lib/Pool.js:54:9)
    at Handshake.Sequence.end (/home/****/steamcmd/pcars_ds/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
    at Protocol.handleNetworkError (/home/****/steamcmd/pcars_ds/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:355:14)
    at PoolConnection.Connection._handleNetworkError (/home/****/steamcmd/pcars_ds/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:367:18)
    at Socket.emit (events.js:95:17)
    at net.js:834:16
    at process._tickDomainCallback (node.js:492:13)
    All this runs on a Linux VServer.
    Mysql works and specifying Host, User, Password agree 100%

    Maybe someone has a tip or idea?

    CeYa & Thx
    Maddox

  9. #9
    WMD Member
    Join Date
    Oct 2011
    Posts
    69
    Have you try this:

    GRANT ALL PRIVILEGES ON YOUR-DATABASE-CREATED.* TO 'YOUR-USER'@'%' IDENTIFIED BY 'YOUR-PASSWORD' WITH GRANT OPTION;

    On my virtual machine all mysql request are not passed through localhost, but by "root@locationvps"
    Last edited by Ph0eNiX; 04-07-2015 at 14:43.

  10. #10
    Kart Driver Maddox's Avatar
    Join Date
    May 2015
    Location
    Augsburg
    Posts
    13
    Platform
    PC
    Quote Originally Posted by Ph0eNiX View Post
    Have you try this:
    GRANT ALL PRIVILEGES ON YOUR-DATABASE-CREATED.* TO 'YOUR-USER'@'%' IDENTIFIED BY 'YOUR-PASSWORD' WITH GRANT OPTION;
    DB and User grant all privileges

    On my virtual machine all mysql request are not passed through localhost, but by "root@locationvps"
    I have tried all possible variants
    user@localhost, user@ip, new_user@localhost new_user@ip, root@localhost, root@ip
    I have really no idea what I am doing wrong

    CeYa
    Deadmike

Similar Threads

  1. Replies: 425
    Last Post: 05-10-2017, 17:54
  2. Dedicated Server API
    By Stepan Vondrak in forum Multiplayer
    Replies: 582
    Last Post: 20-01-2017, 17:24
  3. Replies: 12
    Last Post: 23-10-2015, 21:10
  4. Dedicated Server
    By OzDeaDMeaT in forum Multiplayer
    Replies: 9
    Last Post: 14-09-2015, 14:02
  5. Dedicated Server GUI
    By LiveWire in forum Multiplayer
    Replies: 11
    Last Post: 13-06-2015, 13:46

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
  •