Commit Graph

57 Commits

Author SHA1 Message Date
Sam Edwards 3f950d37df distributed: Fix msgpack encoder's float endianness 2017-04-02 20:11:52 -06:00
Sam Edwards 512cbae8fc distributed: AstronInternalRepository should really default to CM_NATIVE 2017-03-27 18:12:11 -06:00
Sam Edwards 4139637f20 distributed: Don't use 0xd9 MsgPack byte
Older deserializers don't understand it.
2017-02-15 03:46:59 -07:00
Sam Edwards 14f0d6e626 distributed: Add AIR.getNetworkAddress() 2017-01-10 06:18:45 -07:00
Sam Edwards dc80771337 distributed: Add AIR.getObject() 2017-01-10 05:55:21 -07:00
Sam Edwards 00dfc725fd distributed: Add AIR.getLocation() 2017-01-10 05:02:10 -07:00
Sam Edwards 18e75e2917 Merge branch 'master' into astron-master
# Conflicts:
#	direct/src/dcparser/dcClass.cxx
#	direct/src/dcparser/dcClass.h
#	direct/src/distributed/ClientRepositoryBase.py
#	direct/src/distributed/ConnectionRepository.py
#	direct/src/distributed/DistributedNodeUD.py
#	direct/src/distributed/DistributedObjectAI.py
#	direct/src/distributed/DistributedObjectBase.py
#	direct/src/distributed/DistributedObjectUD.py
#	direct/src/distributed/DoInterestManager.py
#	direct/src/distributed/MsgTypes.py
#	direct/src/distributed/PyDatagram.py
#	direct/src/distributed/cDistributedSmoothNodeBase.cxx
2016-06-27 00:25:36 -07:00
xPythonic 804fa563f5 AstronDatabaseInterface: Add support for querying specific fields of an object 2014-09-26 00:50:41 -04:00
Sam Edwards 411d15c275 AstronInternalRepository: Clean up hack introduced by 4c79ff2e44d2fb7bf6e8bb022b2658131e409a18 and clarify the docstrings to indicate that the functions in AIR are meant for use by DOAI and not directly. 2014-09-22 23:52:58 -07:00
Sebastian Hoffmann ad962397c8 Undid shotgun debug. 2014-08-20 01:19:49 +02:00
Sebastian Hoffmann 4969b38207 Typo fixed. 2014-08-20 01:14:20 +02:00
kestred 24a6309eef Merge pull request #5 from bobbybee/master
Various helper methods
2014-08-15 19:27:44 -07:00
bobbybee b1236b31a8 Hopefully fixing styling 2014-08-15 21:21:18 -04:00
bobbybee 882fb179f0 CLIENTAGENT_ADD_INTEREST method 2014-08-15 19:25:06 -04:00
bobbybee 51d3b12c00 Tabs darnit 2014-08-14 21:12:19 -04:00
bobbybee 9b1ae61632 Stateserver set owner 2014-08-14 21:06:36 -04:00
bobbybee 1905086ad1 Client add session object; typo 2014-08-14 20:57:58 -04:00
bobbybee 8fd0a0b45b Client set state abstraction; more cleanup 2014-08-14 20:55:26 -04:00
bobbybee 6e0b6bd622 Eject method; bug fix; style 2014-08-14 20:47:28 -04:00
Harvir 97e56d63e5 air: Fix indentation. 2014-08-14 22:53:48 +01:00
bobbybee 4274450c3f Set AI 2014-08-14 17:26:41 -04:00
Sebastian Hoffmann 26074aea0d Added call to generate() when creating views. WARNING! Quick hack, barely tested. 2014-08-14 04:16:34 +02:00
Harvir e91fd47bf6 msgtypes: Fix CONTROL_CLEAR_POST_REMOVES pluralization. 2014-08-04 07:04:02 +01:00
Harvir d5207cac3f air: Update add/clear postremove for prerouted postremoves. 2014-08-04 07:02:11 +01:00
Jeremy Koletar 4fbda13fa2 distributed: Correctly msgpack int 0 and int 1 2014-07-16 14:17:24 -05:00
Sam Edwards d9045a5b72 distributed: Remake the NetMessenger; have AstronInternalRepository use it. 2014-05-15 08:14:17 -06:00
Sam Edwards a697ce3f05 distributed: Allow None/False/True in AIR's MsgPack encoder. 2014-05-12 10:18:21 -06:00
Sam Edwards 785354d3f3 distributed: Send Astron event logs using new MessagePack logging format. 2014-05-11 08:56:45 -06:00
Sam Edwards 3fe7dccae1 distributed: Add function to query objects' activated status from AstronInternalRepository. 2014-05-06 10:18:49 -06:00
Sam Edwards 0b482cd008 distributed: Use more efficient context-allocation mechanism for Astron. 2014-05-06 07:58:12 -06:00
kestred 5f39f21062 Bugfix: Various issues preventing imports and initialization of InternalRepository and ClientRepository. 2014-02-14 17:37:20 -07:00
Sam Edwards fa8750d2e5 In AIR, implement sendSetLocation. Also change sendActivate workaround to do the SET_FIELDS while in another zone. 2014-01-24 06:06:48 -07:00
Sam Edwards 26e18e2b2b In AIR, send delete event *after* the object is removed, just in case something handling the event relies on it being fully deleted. 2013-11-19 20:16:18 -07:00
Sam Edwards b449c25409 Add sendActivate to AIR, for activating DBSS objects. 2013-11-06 23:07:28 -07:00
Sam Edwards 77bfb5e552 Handle CHANGING_LOCATION messages in AIR. 2013-11-06 22:54:00 -07:00
Sam Edwards 8ea908c855 Huge update: Change distributed protocol to match the newly-changed Astron protocol. 2013-10-21 10:04:35 -06:00
Sam Edwards 8efe753496 Change AIR to allow event-logging of non-strings. 2013-10-18 09:03:31 -06:00
Sam Edwards 2857fd89dd Add object field update code to AIR's db interface. 2013-10-15 09:45:10 -06:00
Sam Edwards bcdfc59734 Add unknown-MsgType warning to AIR. 2013-10-15 08:12:01 -06:00
Sam Edwards 6494b57933 Add database-query support to AIR, so that you can now query objects by their ID. 2013-10-15 08:11:09 -06:00
Sam Edwards f74dc9b35d Add AstronDatabaseInterface, which can generate objects into an Astron DB. 2013-10-15 04:10:40 -06:00
Sam Edwards 84fc894309 Add object-exit handling to AIR. 2013-10-14 05:08:48 -06:00
Sam Edwards fbca620477 Add requestDelete to AIR. 2013-10-13 23:24:34 -06:00
Sam Edwards f4ee0106c7 Add datagram handler to AIR, which can handle objects entering. 2013-10-13 21:29:52 -06:00
Sam Edwards d279e2b201 Clear up incorrect docstring. 2013-10-12 22:54:34 -06:00
Sam Edwards ba77f823d9 AIR should default to using prc-configured dc files. 2013-10-12 22:50:17 -06:00
Sam Edwards 1efed6a16b Add connect code to AstronInternalRepository. 2013-10-12 22:16:55 -06:00
Sam Edwards 4d1fe61f77 Add generate support to AIR, so that it can put objects onto Astron State Servers. 2013-10-09 19:36:21 -06:00
Sam Edwards 4dbbc361c0 Add sendUpdate and sendUpdateToChannel to AIR. 2013-10-09 17:11:49 -06:00
Sam Edwards f9c47b0fb5 Add missing _registeredChannels attribute to AIR. 2013-10-09 01:47:08 -06:00