Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Signal update frames duplicating?

You are here: Home > Forum > Customising SimSig > Interface Gateway > Signal update frames duplicating?

Page 1 of 1

Signal update frames duplicating? 30/06/2024 at 08:23 #157709
itwithlyam
Avatar
2 posts
Hi, I have been experimenting with the Interface Gateway recently and have managed to connect reliably running with a scenario using full ARS. However, looking through the data, some events like signal updates appear to be duplicated (sending twice), and sometimes even tripled. I have attached some examples (after being sent into a Discord channel by a bot) of this happening.






Post has attachments. Log in to view them.
Log in to reply
Signal update frames duplicating? 30/06/2024 at 08:27 #157710
itwithlyam
Avatar
2 posts
Now I think about it, this may just be how ARS works? I've not tested it with humans yet so it will be interesting to see the differences.
Log in to reply
Signal update frames duplicating? Today at 08:29 #157718
jonathanp
Avatar
17 posts
Online
I don't think that any guarantee is given that a Signal Data message represents a discrete event which has just occurred in the simulation. It simply says what the current state is. If no non-event messages were ever sent it would be impossible to get the full state of the program without clearing and replacing every signal.
It's up to your program to keep track of the simulation state and determine if any relevant changes have occurred.

Last edited: Today at 08:30 by jonathanp
Reason: None given

Log in to reply