Epic Code Release 3a
21 years 5 months ago #6334
by MajorTom
Replied by MajorTom on topic Epic Code Release 3a
Please Log in or Create an account to join the conversation.
21 years 4 months ago #6604
by MajorTom
Couldn't you just make your own docking event with something like this:
while (! iSim.IsDocked( <whoever_is_docking> ))
{
Task.Sleep( Task.Current(), 0.5 );
}
Have Gun, Will Travel
Replied by MajorTom on topic Epic Code Release 3a
Originally posted by GrandpaTrout
Good solution. There was another remote connection problem where the player was stuck as well. I can add something to the player watch function to look for remote connections and terminate them under certain conditions. I will try that approach. Unfortunatly, the single player game does not generate events that I can catch. only multiplayer.
-Gtrout
Couldn't you just make your own docking event with something like this:
while (! iSim.IsDocked( <whoever_is_docking> ))
{
Task.Sleep( Task.Current(), 0.5 );
}
Have Gun, Will Travel
Please Log in or Create an account to join the conversation.
- GrandpaTrout
- Topic Author
- Offline
- King of Space
21 years 4 months ago #6616
by GrandpaTrout
Replied by GrandpaTrout on topic Epic Code Release 3a
Right. It was the plan to add that code to the player watch task. But it turn out to be trickier (what do you do when the pod you need is already docked?) So instead I expect I will just write a little control GUI and let the autopilots handle the work. Not as much fun, but bug free.
-Gtrout
-Gtrout
Please Log in or Create an account to join the conversation.