Closed GoogleCodeExporter closed 9 years ago
A simple way to fix this is to add a tick() method that runs whether or not the
AI is enabled.
A more complicated way to fix this is related to Issue #32 and requires a
change to the way we are talking to the external interface.
We should probably do the simple fix first and the complicated fix second.
Original comment by ikarpov
on 19 Sep 2010 at 6:33
Original comment by ikarpov
on 19 Sep 2010 at 6:34
Original comment by ikarpov
on 19 Sep 2010 at 6:36
Revision 535 adds socket-based communication with the external scripts such as
external UI. However, the initial plan to make OpenNERO and XMLRPC server did
not (yet) pan out because OpenNERO does not seem to allow creation of server
threads from within the embedded Python context, so this is not a fix for this
issue (only for the multiplatform issue).
Next step is still to add the global tick() method to Python-side, which would
allow our code to receive command messages from the external UI without an
Environment or an AI being active.
Original comment by ikarpov
on 23 Sep 2010 at 2:43
Socket based communication is not a perfect solution for two reasons:
* We still can't trigger events (without the global tick() method)
* Relying on network communication is questionable: some firewall settings on the Mac for example make the external GUI silently fail.
Original comment by ikarpov
on 29 Sep 2010 at 3:10
Original comment by ikarpov
on 17 Nov 2010 at 11:23
Revision 676 and Revision 677 implement this change. Assigning to Adam for
testing.
Original comment by ikarpov
on 24 Nov 2010 at 3:57
Original issue reported on code.google.com by
AdamDz...@gmail.com
on 18 Sep 2010 at 10:03