Hi,
I am trying to automate a multiplayer LAN game. I'm using a local DCon server and it's configured fine. What I want to so is have a config file or command line options that I can use to start LFS.exe, so it automatically connects to the server and drops the player into the car.
I can do this using the following sequence of / commands, entered into the game after it starts:
/mp 192.168.1.197 63392
/join
/ready
I've tried creating a cfg.txt file that contains these commands and running LFS.exe /cfg=cfg.txt, but it doesn't like the /mp command as the first one. (Parameter 1 is invalid)
I've tried various combinations of commands in a file. Some almost work, like /join followed by /ip=192.168.1.197 but the connection screens says "Host not found on master server", since I presume it's attempting to find an internet connected server.
Can anyone offer any advice? I was hoping to avoid creating an insim wrapper that pipes these commands into the sim after it's started.
Thanks,
Steve