Description | If the admin interface is not connected (yet) all commands that are executed by xShunter on the OpenTTD console should be enqueued. As soon as the interface is connected (again) all commands on that queue should be sent to it.
Currently if a plug-in uses commands early in the loading progress (e.g. in Load() handler or even the first call of the OpenttdSession.Restarted event) these commands will be sent directly to the console of OpenTTD, because that is the fallback if the admin interface isn't available. However, this has the problem that replies to that command won't be detected correctly. Queuing the command is a better solution. Of course if connecting to the interface isn't possible the console should still be used as fall-back. |