Commit graph

32 commits

Author SHA1 Message Date
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
9d00f1ddfd Fix a wrongly called variable in ticherhandler. 2016-09-01 16:55:49 +02:00
Griatch
949aeee806 Update docstring: Better describes the limits of the callables possible to use with TickerHandler. 2016-09-01 15:14:53 +02:00
Griatch
03ef093d36 Resolves problems in storing/restoring tickerhandler keys. Resolves #997. 2016-06-24 18:15:01 +02:00
Griatch
bdcc093c23 Make tickerhandler correctly clean subs to deleted objs.
Also makes the dbunserialize mechanism a little more robust, making it return None instead of crashing when unpacking an invalid packed-tuple.
2016-06-14 22:04:41 +02:00
Griatch
63ebaea3ef Update tickerhandler.py 2016-05-30 09:14:23 +02:00
Griatch
a74c921686 Added fixes to make sure the tickerhandler loop doesn't delete from its own subscription dict while inside the loop - even if that deletion happens inside a callback. 2016-05-26 18:56:38 +02:00
Griatch
cce87a8399 Fixed old calls to tickerhandler from the tutorial_world. Also added a better error when this happens. This resolves #952. 2016-05-22 20:49:45 +02:00
Griatch
1ac81205c3 Completed tests of all GMCP/MSDP backend functions, including tickerhandler repeats and value monitoring, as per #924. 2016-05-22 20:45:42 +02:00
Griatch
c093fd3880 Updated the monitorhandler to allow persistence as well as a unique id-key. 2016-05-22 20:45:41 +02:00
Griatch
bece57f067 Added non-persistent functinality to the TickerHandler, for specific use with OOB. 2016-05-22 20:45:40 +02:00
Griatch
cc5fe43372 Added a simple tickers command for inspecting the running tickers (no manipulation at this time, not sure how to make that in a safe way). 2016-05-22 20:45:40 +02:00
Griatch
dd6b6f06f7 Working new tickerhandler, handling both methods and functions. 2016-05-22 20:45:40 +02:00
Griatch
bd7f9dfe47 Almost working new tickerhandler. Still some errors with using idstrings. Also still some debug messages in place. 2016-05-22 20:45:39 +02:00
Griatch
77b178bf28 First version of a reworked tickerhandler. It will now also repeat normal functions in a module, not just methods on a database object. This means a backwards incompatible change, and API - old tickerhandler repeats will not restore properly with this. Currently untested. 2016-05-22 20:45:39 +02:00
Griatch
8090d92d85 MonitorHandler implemented as a replacement for the OOBHandler monitor functionality, as per #924. 2016-05-22 20:45:39 +02:00
Ahmed Charles
487fcdf873 Use list* from future.utils.
dict.keys() -> list(dict)
dict.values() -> listvalues(dict)
dict.tems() -> listitems(dict)
2015-11-09 10:23:00 +00:00
Ahmed Charles
11b61fe335 Import python3 compatible object. 2015-11-02 00:19:04 +01:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Griatch
d23a8a94db Updated scripts/ directory source to use Google style docstrings as per #709. 2015-05-29 21:08:04 +02:00
Griatch
97e04ee710 Twisted min version upped to 15.2.1 due to a change in the LoopingCall infrastructure that Evennia relies on. This resolves #744 by updating the Evennia implementation accordingly. 2015-05-27 22:35:05 +02:00
Griatch
554b55c9ec Fixed a kwarg call where Tickerhandler assumed too much about the hook method. 2015-05-14 21:36:43 +02:00
tajmone
972b5cd2e2 docstrings and typos in "\utils\" and "\scripts\" 2015-03-09 11:33:55 +01:00
Griatch
c1243a9d6d Fixed a bug in mob movement that had it ignore its own check for traversal-permission 2015-02-22 17:46:55 +01:00
Griatch
56104d9a1d Made sure tickerhandler cleans itself of alrady-deleted objects. Some more bug fixes to reworked tutorialworld. 2015-02-22 17:46:55 +01:00
Griatch
7f0e0d5ef8 Added at_init() call in idmapper and made sure to not deprecate it. Fixed bugs in search and continued work on tutorial world. 2015-02-22 17:46:55 +01:00
Griatch
5af3617d4e Fixed errors in bridge room. Some issues with tickerhandler starting with an invalid interval. 2015-02-22 17:46:55 +01:00
Griatch
c63ae1742f Reworked the build script and made the default tutorial_room more clever, using details and custom cmdsets. 2015-02-22 17:46:55 +01:00
Griatch
08525f11ee Implemented GMCP with the new oobhandler. Resolves #208. 2015-02-14 19:46:25 +01:00
Griatch
156d80b7bb Implemented the refactored OOBHandler. Much cleaner and straightforward now. Not tested yet though. 2015-02-12 21:59:11 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/scripts/tickerhandler.py (Browse further)