Erik Ogenvik
7895d1b0aa
Reload minds when python code changes.
...
All thoughts are first persisted and then restored.
2018-05-01 22:23:31 +02:00
Erik Ogenvik
eb2bb200e5
Clean up and remove unused structs.
2017-07-25 23:40:39 +02:00
Erik Ogenvik
5e8d20a020
Use correct types.
2017-05-27 20:27:48 +02:00
Erik Ogenvik
dd352ec759
Refactor ai client to use op dispatch.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
85193b4991
Clarify that the second argument is microseconds.
2014-10-01 22:48:22 +02:00
Erik Ogenvik
efaadab385
Fixed issue with polling.
...
There was an issue where the polling loop would be called continously,
resulting in 100% cpu usage.
2014-10-01 22:42:19 +02:00
Erik Ogenvik
850fb9247b
Use more canonical way to prevent io_server stops.
2014-02-08 13:53:56 +01:00
Erik Ogenvik
6caffb14de
Handle interleaved writes.
...
Since the streambuf instance will be invalidated by anything written to
it while it's being sent using an async call we need to use multiple
streambuf instances.
2014-02-06 13:38:32 +01:00
Erik Ogenvik
6e53159d71
Properly separate write and read buffers.
2014-02-04 22:24:27 +01:00
Erik Ogenvik
642faeeb28
Adapt to boost 1.46.
...
Since we're targetting the latest LTS release of Ubuntu as a nice
baseline, and that currently only supports 1.46, we need to remove the
nice steady_timer code. For now.
This commit should probably be reverted once a newer version of Ubuntu
LTS is available.
2014-02-04 12:25:18 +01:00
Erik Ogenvik
826288c4fc
Use boost::asio in clients.
2014-02-02 22:04:10 +01:00
Erik Ogenvik
b95d526eb8
Added ability to poll until a task is complete.
2013-11-13 16:13:11 +01:00
Olek Wojnar
7f9ff2246d
Remove CVS $Id tags
...
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
76c5247f51
Add a clean disconnect method
2012-07-27 09:29:51 +01:00
Alistair Riddoch
6ce3b1ac36
Move in-game sight reporting to the avatar context
2012-06-09 18:03:35 -07:00
Alistair Riddoch
d2f2ec1906
Add a common function for outputing arguments
2012-06-09 15:51:58 -07:00
Alistair Riddoch
83141a5490
Fix members to have indicative prefix
2012-05-31 15:25:54 +01:00
Alistair Riddoch
aec9699d95
Move the context stuff completely out of the base
...
This stuff is going to be way more useful if it has a bunch of cycmd
specific functionality, so putting it in the base is a bad idea
and overcomplicates it
2012-05-30 10:06:34 +01:00
Alistair Riddoch
6ce391cd73
Move account context creation out of base
...
Want to keep this base class a bit cleaner
2012-05-30 09:49:15 +01:00
Alistair Riddoch
da4b8871c5
Remove a pointless abstraction method for unix auth
2012-05-29 18:21:28 +01:00
Alistair Riddoch
ef21a4f6e7
Move socket linger call into util function
2012-05-29 12:51:23 +01:00
Alistair Riddoch
a43b59fabd
Begin adding context infrastructure
2012-05-24 11:36:19 +01:00
Alistair Riddoch
4ec82ddd37
Move login response duplicated code into a function
2012-05-24 11:07:22 +01:00
Alistair Riddoch
d930244339
Add control of spacing for output
2012-01-11 19:03:56 +00:00
Alistair Riddoch
340ad82006
Add an accessor for the error message.
2009-12-12 17:09:44 +00:00
Alistair Riddoch
7f1d35ec26
Expand arguments to allow accounts of any type to be created.
2009-12-03 19:03:59 +00:00
Alistair Riddoch
2007e81e3b
Move the task functionality into the base class.
2009-11-28 18:31:28 +00:00
Alistair Riddoch
8f1107f949
Put a much more generic op dispatch layer in the base class.
2009-11-28 18:14:49 +00:00
Alistair Riddoch
b57fa8d4d6
More functionality in the base class.
2009-11-28 16:07:07 +00:00
Alistair Riddoch
0d5d979aa2
Move login and avatar creation mostly into base class, with reliable serialnos
2009-11-28 15:11:44 +00:00
Alistair Riddoch
48aebde6c9
Move serialno management into the base class.
2009-11-28 13:38:28 +00:00
Alistair Riddoch
2c3d176e17
Move generic op handling, and error op handling into the base class.
2009-11-27 15:09:44 +00:00
Alistair Riddoch
bd1099cda7
Move common member variables into the base class.
2009-11-27 14:53:52 +00:00
Alistair Riddoch
3bb75231db
Move very generic objectArrived() implementation into the base class.
2009-11-27 14:39:42 +00:00
Alistair Riddoch
5c2313057f
Move common poll() method implementation into the base class.
2009-11-26 20:16:45 +00:00
Alistair Riddoch
6c70f62671
Add linger code from AdminClient.
2009-11-25 12:30:00 +00:00
Alistair Riddoch
d011249aa0
Move generic Atlas data output function into base class.
2009-11-25 05:08:36 +00:00
Alistair Riddoch
8ea3fcaf59
Make negotiate functions protected, as they cannot be usefully called.
2009-11-25 04:54:57 +00:00
Alistair Riddoch
6cafbc82dd
Remove unimplemented object handler.
2009-11-24 18:48:49 +00:00
Alistair Riddoch
31fa6e924d
Add a new base class for tools which connect over Atlas.
2009-11-24 18:36:45 +00:00