Hi GPForverer2024!
>>I can't understand the inplay function and the timing For example, can you give me an example of the puddle control line and the passage on the blue strip with the same relay?No worries, it is quite confusing!
The gameInplay, gameEnterName, gameInsertCoin etc.. are just other triggers you can make the relays switch ON and OFF to. I.e. to have relay1 switch ON only when the game is inplay (when you have control of the car), to make relay2 switch ON only when you are entering your name, and relay4 to only switch on during attract mode (When Insert Coin is flashing), you would do:
scoreboard_to_relays.exe 3 CH340 "gameInplay,gameEnterName,none,gameInsertCoin"
The trigger for the 'blue strip' road is now called simply "ice". So if you wanted relay1 to switch ON when you are driving over a puddle OR when there is a ice road, you would do:
scoreboard_to_relays.exe 3 CH340 "puddle|ice"
Note the '|' character means OR.
If you wanted the same thing to happen for all 8 relays, you would do:
scoreboard_to_relays.exe 3 CH340 "puddle|ice,puddle|ice,puddle|ice,puddle|ice,puddle|ice,puddle|ice,puddle|ice,puddle|ice"
Now using the above example, you might notice during attract mode (When the road is rolling past and Insert Coin is flashing on screen) relays will switch ON when you see an ice road. This might be undesirable, and you might only want relays to come on when the car is driving on a puddle, or when there is an ice road and you are actually playing the game. So for just a one relay device you could do:
scoreboard_to_relays.exe 3 CH340 "puddle|gameInplay&ice"
Note. The '&' character means AND. So for relay1 we are saying Switch ON if the car is driving on a puddle OR if the game is inplay AND there is an Ice road.
And to do this for all 8 relays:
scoreboard_to_relays.exe 3 CH340 "puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice,puddle|gameInplay&ice"
Does this make anymore sense?
I >>have to specify each exe in administrator mode for it to work Also know before I launch first scoreboard_to_relays before MGPR and now I have to launch MGPR before and after scoreboard_to_relays (not easy because when I launch it MGPR everything is in full screen 'I hope you see what I mean)You should just be starting scoreboard_to_relays before starting MGPr. You shouldn't need to start MGPr twice... I'm just thinking, can you double check and make sure when you are running scoreboard_to_relays, you are definitely encapsulating the triggers in quotation marks (As shown in my examples), not doing this will cause weird things to happen.
>>really sorry GEECAB with these stupid questions Absolutely no trouble at all. I really appreciate you giving this stuff a go. My docs/help are very brief at the moment, I need to explain things better.
If you are starting scoreboard_to_relays and MGPr from the same batch file, perhaps you could copy/paste the contents of the batch file so I can check how you are starting scoreboard_to_relays?
Hope this helps?