Skip to content

[Bug] Events gamestopped - incorrect iRacing detection #2187

@man55

Description

@man55

Describe the bug

I created an event that launches ShellPlugin on the "gamestopped" event for iRacing.
But it triggers when I pause iRacing.
This probably happens because iRacing stop detection is not performed based on the iRacingSim64DX11.exe process termination, but based on telemetry.

SimHub version

9.11.1

Third-party plugins

  • I have disabled all third-party plugins.

Steps to reproduce

  1. Go to Controls and events > Events
  2. Click on New mapping
  3. Choose Source GameStopped
  4. Choose any Target (doesn't matter which)
  5. Press OK to save new Event
  6. Start iRacing any offline session (practice or race with AI)
  7. Press Pause (the button to which you have assigned the pause function in iRacing)
  8. The event will start almost immediately and will perform the task defined in point 4 . Also, all dashboards will go into a disabled state.

Expected behavior

Please correct the logic for determining the simulator's termination based on the iRacingSim64DX11.exe process.

Screenshots

No response

📁 Log files

SimHub.1.txt
SimHub.txt

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions