Commit Graph

961 Commits

Author SHA1 Message Date
Sam Edwards db951158a9 distributed: DistributedNode should not initialize NodePath if it's already initialized. 2014-08-03 22:45:00 -07:00
Jeremy Koletar 4fbda13fa2 distributed: Correctly msgpack int 0 and int 1 2014-07-16 14:17:24 -05:00
Sebastian Hoffmann bbf1b4b2a3 Split up handleMessageType. Added "forgotten" types to MsgTypes. 2014-07-10 03:14:42 +02:00
Sebastian Hoffmann b34b44e894 Merge branch 'master' of github.com:Astron/panda3d 2014-07-06 22:13:37 +02:00
Sebastian Hoffmann d8c265dd70 Commented out speculative implementation of CLIENT_OBJECT_SET_FIELDS. 2014-07-02 02:38:08 +02:00
bobbybee f1e705fc3b CLIENT_OBJECT_SET_FIELDS raises NotImplementedError 2014-06-29 15:11:16 -04:00
Sam Edwards d9045a5b72 distributed: Remake the NetMessenger; have AstronInternalRepository use it. 2014-05-15 08:14:17 -06:00
Sam Edwards 1eb7a773b3 distributed: Properly handle non-field-mismatch failures in AstronDatabaseInterface. 2014-05-13 12:27:13 -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 227dbfb34d Merge branch 'master' into astron-master 2014-05-06 08:10:24 -06:00
Sam Edwards 0b482cd008 distributed: Use more efficient context-allocation mechanism for Astron. 2014-05-06 07:58:12 -06:00
rdb 51dffd0f5a Commit patch by cfsworks to clean up use of exec() and eval() 2014-04-16 13:09:12 +00:00
Sebastian Hoffmann 06a082362d disconnect() now removes all distributed objects. 2014-04-09 05:48:19 +02:00
Harvir 00299b4f2c Merge remote-tracking branch 'origin/feature/new-MsgTypes' 2014-03-18 16:55:24 +00:00
Sebastian Hoffmann bf141562d3 Added DistributedObjectBase cleanup method. Implemented CLIENT_OBJECT_LEAVING. Bugfixed CLIENT_OBJECT_LOCATION. Some debug code. 2014-03-02 17:03:24 +01:00
Sebastian Hoffmann 4adc2f6a72 self.handleInterestDoneMessage invoked. Cleanup. 2014-03-02 13:46:45 +01:00
Sebastian Hoffmann a6ff9bef01 More message implementations. Better FIXMEs. 2014-03-02 12:36:19 +01:00
Sebastian Hoffmann 53f14161ff Added several events. Cleanup. 2014-02-28 13:49:55 +01:00
Sebastian Hoffmann cd5bb84890 Re-internalized CLIENTOBJECT_SET_FIELD. 2014-02-28 12:11:58 +01:00
Sebastian Hoffmann 659d7f4073 Overwrite handleDatagram to get CLIENT_HELLO_RESP, which otherwise gets swallowed. Cleanup. 2014-02-28 10:08:06 +01:00
Sebastian Hoffmann 9752736dbc Prevented infinite loop on handleMessageType. Added debug prints. 2014-02-28 09:46:41 +01:00
Sebastian Hoffmann 743f6cc55c First bugfixes during testing. 2014-02-28 08:54:44 +01:00
Sebastian Hoffmann e4a83aaa6e Message types. Skeleton of AstronClientRepository.py. 2014-02-28 05:43:27 +01:00
kestred a959c2ba2f Update DistributedNodeUD.py
Remove import to non-existent item.
2014-02-21 20:27:32 -07:00
kestred 5f39f21062 Bugfix: Various issues preventing imports and initialization of InternalRepository and ClientRepository. 2014-02-14 17:37:20 -07:00
Harvir 3b9b50d8ff Add in missing MsgTypes for new DBSS_OBJECT_GET_ACTIVATED. 2014-02-14 22:03:28 +00:00
kestred ace98d1572 Bugfix: Missing import dependencies for AstronInternalRepository.py and ClientRepository.py 2014-02-14 14:26:07 -07:00
kestred e5bb27b46b ClientRepositoryBase should use notify instead of print to output debug info. 2014-02-11 02:14:59 -07:00
kestred 089b11b466 Merge remote-tracking branch 'upstream/master' 2014-01-25 22:15:46 -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
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
rdb 3403c8748e Fix use of outdated exec and repr syntax 2013-12-17 18:05:45 +00: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 a5868224e8 Move "puppet" and "account" connection channel ranges out of the Astron reserved space. 2013-10-22 09:35:35 -06: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 ac834aa632 Don't rely on base being defined during import time. 2013-10-20 01:49:07 -06:00
Sam Edwards 8efe753496 Change AIR to allow event-logging of non-strings. 2013-10-18 09:03:31 -06:00
Sam Edwards 6dc8d24aa7 In DB interface, check if callback is None before calling it. 2013-10-15 09:49:28 -06:00
Sam Edwards 7c22967521 Fix AIR dbInterface's notify severities/parameters. 2013-10-15 09:48:06 -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 1ca02ae9e1 Update DOAI a bit: Simplify dependencies on AIR. 2013-10-14 05:29:05 -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