Newbie: How to detect end of replay in an app?

I figured out I can detect the start of the replay when status flips from AC_OFF to AC_REPLAY; but when the replay is finished, the game just hangs out in the pit, not exiting. How would I detect this state? (I am running through Content Manager, if relevant.)

Supplemental question (not critical): Through analogy and experimentation I figured out that I can shut down the game by sending 66 (i.e. \x42\x00\x00\x00) to UDP 9666. Is that a proper way to shut down the game programmatically? Is there a description of this UDP 9666 API?

(First post here - not sure I posted in the right place, please forgive me if so.)
 

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top