The online racing simulator
#1 - OmarA
/clear and /end commands since patch V
Hi, I've been updating an InSim app which runs AI races and uses them to collect data. It uses the following commands to launch the race:
  • /end (when a race is in progress)
  • /sp
  • /car XX
  • /setup SET
  • /track TRACK
  • /clear
  • /ai X (however many times)
  • /laps
  • /start random
  • /ready (to go)
The problem is with the /clear command. This works fine before any races have been started, and also when a race is ended by pressing Esc, then clicking End Race.

Basically it seems like the problem is caused by ending a race with /end and then trying to use /clear. What happens is that one car is removed and the race immediately restarts.

I have verified this without using insim, the following steps ought to recreate it:
  • launch lfs
  • single player - apparently any track/car
  • /clear
  • /ai (a few times)
  • /ready
  • /end
  • /clear
Hope that's covered it!
Cheers,

Omar
#2 - OmarA
Ok sorry I've found out a fix for this - I need to use /cancel after /end, then /clear will work as expected.

I'm not sure if this still counts as a bug or not.

Omar

FGED GREDG RDFGDR GSFDG