Commit Graph

71 Commits

Author SHA1 Message Date
Sam Edwards f76b8a6ad8 distributed: Replace the OTP protocol format with Astron's
Again, all this does is affect the 4-years-disused OTP system, leaving
the CMU system entirely untouched.

This changes the packet formatting in several of distributed's helper
classes.
2018-02-23 16:45:50 -07:00
Sam Edwards 0846a89677 general: Stop using several deprecated pandac.PandaModules imports. 2016-06-27 00:06:40 -07:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +01:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
Josh Wilson 1642d4163d updating report()'s to not require 'want-' or '-report' in the dConfigParam parameter 2009-04-09 01:16:59 +00:00
Josh Wilson 265130ae80 adding removeAIInterest() and _sendRemoveAIInterest() to allow client to close interests opened by the AI 2008-08-21 02:50:49 +00:00
Josh Wilson a480d86b62 asserting notify statements to clean up the game logs 2008-07-09 01:37:58 +00:00
Darren Ranalli b793922c74 fixed crash in handleInterestDoneMessage 2007-11-14 03:19:31 +00:00
Josh Wilson bee9436134 increasing interestSettled event wait from 3 to 5 frames 2007-10-30 02:17:22 +00:00
Darren Ranalli c1e524f3da added queueAllInterestsCompleteEvent 2007-10-29 19:49:06 +00:00
Josh Wilson 9fab393e5c No longer sending a context with every addInterest, only the ones with events specified for interest complete notification. Also split out auto interest functions. 2007-08-29 21:52:56 +00:00
Josh Wilson 9029fd64fc "Changed the way interest is maintained in the world by the local avatar (such as when teleporting, using doors or tunnels, or entering the game). Moved tunnels to be peers of the islands, rather than their children (in the interest graph). This enables the player to teleport to any game area. Enabled teleport to a friend (still needs work)" 2007-04-16 04:24:43 +00:00
Darren Ranalli bf6c45bf16 don't print context mismatch warnings 2007-03-15 03:41:07 +00:00
Josh Wilson d5d97fb009 scope -> context 2007-03-13 22:51:12 +00:00
Darren Ranalli 0ad3bac423 print debug if verboseRepository 2007-02-22 00:40:27 +00:00
Josh Wilson d0db2325af divided up printInterests() to separate the history and current state 2007-02-19 22:35:50 +00:00
Darren Ranalli 0b5ac9c34c added setAllInterestsCompleteCallback 2006-12-15 04:35:58 +00:00
aignacio_sf 1d7c9f7e76 fixed auto-interest remove 2006-12-15 02:02:43 +00:00
Zachary Pavlov 01c54a2d3c failsafe now in for systems without native 2006-11-27 20:52:21 +00:00
Darren Ranalli b018d90933 reduced logging 2006-11-13 22:45:53 +00:00
Darren Ranalli 5a541cf1a5 clean up waitForAllInterestsComplete on exit/disconnect 2006-11-09 22:45:19 +00:00
David Rose 10be9cdfd4 protect under __debug__ 2006-11-02 20:05:24 +00:00
Darren Ranalli 2e07609d07 added logging of state reset in history, added isValidInterestHandle 2006-10-04 03:18:28 +00:00
Darren Ranalli 2c481b3f26 added resetInterestStateForConnectionLoss 2006-10-04 01:09:11 +00:00
David Rose 216e635ee7 more __all__ fixes from Josh Yelon 2006-08-10 22:14:31 +00:00
Darren Ranalli 28711f8bd6 DelayedCallback->FrameDelayedCallback 2006-07-21 04:22:04 +00:00
Greg Wiatroski 528c90df80 undid non-fix =[ 2006-07-11 16:56:27 +00:00
Greg Wiatroski 67226d7f85 Moved printInterests into if debug statement: 2006-07-08 00:41:47 +00:00
Darren Ranalli 77ec202484 added check for setParentingRules to addInterest 2006-06-09 01:24:45 +00:00
Darren Ranalli 8933f78230 SerialNum->SerialNumGen, auto-interest tracking on the client 2006-06-08 00:06:39 +00:00
Darren Ranalli 8e04ee3120 added InterestHandle class 2006-06-01 22:54:39 +00:00
Samir Naik 578bb630c5 create handle before checkign for _noNewInterests 2006-05-07 23:50:02 +00:00
Darren Ranalli 36c3d27464 added noNewInterests 2006-05-06 05:42:06 +00:00
Darren Ranalli 8610954eaa fixed flag bug 2006-05-05 23:43:36 +00:00
Darren Ranalli 69efb59125 added noNewInterests flag 2006-05-05 23:37:24 +00:00
Darren Ranalli 6b6def5126 for sanity, always send out an event for every interest change 2006-05-05 20:42:38 +00:00
Darren Ranalli 26eca10a19 added InterestWatcher 2006-05-04 23:21:34 +00:00
Mike Goslin 22ada23d14 Support for loading screen 2006-05-04 00:21:28 +00:00
Darren Ranalli 6517959159 clear events on interest-done and on alter 2006-04-26 18:55:30 +00:00
Darren Ranalli bf911bb728 various fixes 2006-04-26 03:03:48 +00:00
Darren Ranalli 9a981c2830 bulletproofing, added the beginnings of a unit test suite 2006-04-25 21:50:09 +00:00
Dave Schuyler 75ecd2cf92 changed debug output 2006-04-04 23:39:26 +00:00
Dave Schuyler fc7fc09140 formatting 2006-03-17 22:43:25 +00:00
Darren Ranalli 58c22b71b0 don't use high bit of interest handles; reserved for interests set by servers 2006-01-10 00:26:57 +00:00
Darren Ranalli 9506f53809 don't crash the AI 2005-12-20 03:41:25 +00:00
Darren Ranalli 80d2643c24 added INTEREST DEBUG debugging, fixed scopeId allocator 2005-12-20 03:25:19 +00:00
Darren Ranalli 907dbec68b check that parentId is not zero 2005-11-09 23:17:54 +00:00
Darren Ranalli 026441ed7d only most recent interest-done event will be sent 2005-11-04 03:00:58 +00:00