Results 1 to 2 of 2

Thread: is Shutdown really the last function called ?

  1. #1

    is Shutdown really the last function called ?

    I would like to do some file manipulation, after the driver exits rFactor, but I want to be sure I'm really doing it at the last moment. I looked at my current file out put,

    Code:
    ---ENTERREALTIME---
     Car in Pits. 
      Pit Stops = 0 
      Session = Practice 1 
      Race Time = 2.20 
      Lap = 0 
     Left front : 88.0 -- Right front : 88.0 -- Left rear : 88.0 -- Right rear : 88.0 
    ---EXITREALTIME---
    --ENDSESSION--
    -SHUTDOWN-
    -SHUTDOWN-
    And I see I have shutdown listed twice. The ShutDown() function only prints this out, once. Is something calling shutdown more than once ? If I use that function as the place I mess with the text output, how do I know it will only happen once ? I don't want to double scramble it !

  2. #2
    Senior Member
    Join Date
    Oct 2010
    Location
    Australia
    Posts
    423
    Create a var bool havequit. Make sure it's false before you do the scrambling, and set it to true when you're done.

Similar Threads

  1. [Mission 6] TMS Enable buttons not called out
    By SquidLord in forum Tutorial Specific Bugs
    Replies: 4
    Last Post: 08-10-2016, 09:36 PM
  2. WIP Shutdown/Startup tutorial
    By sabreman in forum Rogue System General Discussion
    Replies: 2
    Last Post: 04-23-2016, 03:03 PM
  3. Firearc shutdown checklist.
    By Psypher in forum Rogue System General Discussion
    Replies: 2
    Last Post: 10-05-2015, 06:27 PM
  4. HELP - Boost Function
    By markshires in forum rFactor 1 General Discussion
    Replies: 0
    Last Post: 06-01-2012, 12:01 PM
  5. two buttons, one function??
    By markotodorovic in forum rFactor 1 Technical Support
    Replies: 2
    Last Post: 09-28-2011, 11:44 PM

Posting Permissions

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