The online racing simulator
Searching in All forums
(4 results)
Picho
Demo licensed
Thanks guys.

I think I might be complicating things.

Here is the short version:...

I need to create an external administrative process that will interact with the simulation session and control the flow of the races:
1. start a local predefined race
2. stop a race

all this, with no user interaction (with the LFS), and assuming that the only gap I have is with what messages I need to send to accomplish this.

What say you?
Picho
Demo licensed
Thanks for the reply NotAnIllusion,

Ok, so let's put #1 aside.

as for #2:
assuming the simulation is now in the single-player configuration screen, and al there is left to do is click 'go', what is the proper message I should send to start the race?

as for #3:
I need it to stop, and go back to the single-player screen (as described in #2), not to the start screen. as far as I have seen, I can send keystrokes, but no keyboard shortcut for the single-player mode?

Thanks again
Picho
Demo licensed
Quote from hazaky :Did u develop a insim for LFS?

Let us see it :clapclap:

Hi hazaky, thanks for the reply

I am not sure what you mean by "develop a insim for LFS", but this is what I did, while playing around with it (I just downloaded LFS last night and had an hour to try it out)

VS2008 C# console application (using LfsLib.NET) that connects to the simulation session and sends a text message to the local client, and shows a flashing (1 sec interval) message on the screen using a 'button'.

is this an insim?... sorry It is all new to me so even the terminology is still vague...

thanks
Could these admin functions be implemented in a local game?
Picho
Demo licensed
Hi guys, new here and to insim.

I already experimented with some insim code and it works fine as I can see (put some buttons, messages etc).

can I, and maybe a brief note on how, using insim messages:
1. Show a different start screen (maybe tweak, not using insim)
2. Start a local, predefined game
3. Stop the local game

Tahnks for your time and help!
FGED GREDG RDFGDR GSFDG