dustinfast / PTC-Sim

A PTC Back Office Server with web interface, track/locomotive simulators, and EMP messaging subsystem.
MIT License
3 stars 4 forks source link

Track sim exists as a single instance, so multiple web users adjusting settings will be fighting each other's commands. #3

Open dustinfast opened 6 years ago

dustinfast commented 6 years ago

Fix: Each web session needs its own track instance, so the devices are simulated according to that sessions settings.

dustinfast commented 6 years ago

Created unique sessions for each web client with own instance of BOS and sims (branch: session_tracks). Still not functional for more than one client at this time, however, because each BOS/sim attempts to use the same ports - need to randomize ports for each instance.