Commit graph

14 commits

Author SHA1 Message Date
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
0286bcd47d Replace "parents" with "parent". 2017-07-24 15:05:18 +02:00
Erik Ogenvik
7aaa9b9ba7 Optimize includes. 2017-03-19 21:36:52 +01:00
Erik Ogenvik
6f8424422b Get all entity rules first.
This is needed in order for types to work. Note that we currently can't
handle dynamically changing rules; we get all rules up front. This will
have to do for now though.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
86d9901041 Ignore destroyed entities.
Since there can be references to them in the OpQueue they can linger for
a while until they are flushed from the OpQueue, and then correctly
deleted.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
dd352ec759 Refactor ai client to use op dispatch. 2015-05-24 11:25:08 +02:00
Erik Ogenvik
2627236e36 Remove references to skstream. 2015-05-24 11:25:08 +02:00
Erik Ogenvik
02df25772f Try to reconnect if disconnected. 2015-05-24 11:25:07 +02:00
Erik Ogenvik
ba67a71a39 Set refno on outgoing ops with serialno. 2015-05-24 11:25:07 +02:00
Erik Ogenvik
6081c1948f Move op debug output to ClientConnection. 2015-05-24 11:25:06 +02:00
Erik Ogenvik
8d39f81f58 Create BaseMind instances to handle minds. 2015-05-24 11:25:06 +02:00
Erik Ogenvik
ac946c417c Create MindClients per mind.
I.e. the PossessionClient will spawn new MindClients for every mind that
needs controlling.
2015-05-24 11:25:06 +02:00
Erik Ogenvik
f205f3b230 React to possession requests. 2015-05-24 11:25:06 +02:00
Erik Ogenvik
f8932858fd Enable aiclient.
The idea is that the aiclient runs in a separate process and handles all
AI functionality.
This is done by having a "possession" client which recieves possession
requests from the server, and spawns new AI clients for each request.
2015-05-24 11:25:06 +02:00