Griatch
b9c8c1695c
Finalized the spawner API and made the @spawn command also take prototypes directly, e.g. @spawn GOBLIN.
2014-07-01 19:39:12 +02:00
Griatch
221d56fecd
Made the spawner more streamlined, and allowed the @spawn command to access prototypes in a file specified by the optional PROTOTYPE_MODULES setting.
2014-07-01 04:04:54 +02:00
Griatch
6eafe65076
Implemented src.utils.spawner along with a test command @spawn. This allows for spawning individualized objects based on a prototype dictionary rather than having to make a new Typeclass for small changes. Allows for setting basid properties as well as Attributes and NAttributes. Supports prototype multiple inheritance (see header of src/utils/spawner.py)
2014-07-01 02:14:48 +02:00
Griatch
d05c92792c
Some cleanup and making unittests succeed again
2014-07-01 01:10:44 +02:00
n0q
b092d29989
Fixed page command to properly repage
...
Page command was attempting to first page players, then repage players,
then repage chracaters, then fail. Should reliably repage players, now.
Does not permit paging characters.
2014-06-28 18:27:58 +02:00
Griatch
53b204bb76
Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509 .
2014-06-15 13:19:38 +02:00
Griatch
3a6a8d5c48
Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509 .
2014-06-15 12:27:48 +02:00
Griatch
c776a2da18
Changed batchprocessor regex matching to not rely on python2.7 feature.
2014-06-12 23:25:49 +02:00
Griatch
f2c75bd0f6
Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage.
2014-05-18 18:28:10 +02:00
Griatch
f49f33d40d
Made more work around memory profiling, added a small Script and display program for logging memory usage
2014-05-18 10:54:04 +02:00
Griatch
58af67bdf2
Fixed flush protection for instances, memory is successfully made available on an idmapper flush now.
2014-05-17 14:38:43 +02:00
Griatch
4b8ed234fd
Added /flushmem switch to the server command to incur the idmapper flushing.
2014-05-15 23:08:21 +02:00
Griatch
cfd2f111f1
Updating to make unittests work
2014-05-11 19:41:37 +02:00
Griatch
f3af089aac
Some cleanup of the server command.
2014-05-11 19:03:45 +02:00
Griatch
e11b242365
Continued with weakref and lazyloading fixes.
2014-05-11 01:05:59 +02:00
Griatch
63c099c22f
Various fixes and debugging of weak-ref changes
2014-05-10 19:38:23 +02:00
Griatch
0cae40f41a
Made DEFALT_HOME a fallback for a missing START_LOCATION in unloggedin-create.
2014-04-26 05:47:23 +02:00
Griatch
033552cd04
Made unittests validate again.
2014-04-21 16:40:14 +02:00
Griatch
8ad2c18524
Cleaned up some batchprocessor error handling.
2014-04-21 10:37:51 +02:00
Griatch
3848a789a7
Changed lockhandler.add/replace to use LockExceptions instead of log_obj, which should also work more flexibly for handling lock errors for players. Resolves #410 .
2014-04-21 00:24:33 +02:00
Griatch
e45160a12b
Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426 .
2014-04-20 23:45:19 +02:00
Griatch
0dc62a5fc9
Refactored batch processors, addressing points in #489 .
2014-04-20 23:06:10 +02:00
Griatch
91b23f58a4
Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters.
2014-04-20 15:56:38 +02:00
Griatch
787f93c4c0
Cleaned up objects command table look
2014-04-19 18:07:54 +02:00
Griatch
dcd14cb621
Fixed objects-command zerodiv error with totally empty Object database.
2014-04-19 17:13:37 +02:00
Griatch
3b1c66dcbc
Made the find command handle *playername correctly.
2014-04-13 10:12:50 +02:00
Griatch
e76061ee4c
Fixed some issues with which hooks the reset command calls. Resolves #499 .
2014-04-12 16:25:19 +02:00
Griatch
4a7e332f41
Added arg_regex check to unloggedin create command to avoid merging mis-spells of create with the argument.
2014-04-12 15:27:13 +02:00
Griatch
55a3be0e83
Fixed deletion of aliases. Resolves #490 .
2014-04-06 10:28:14 +02:00
Griatch
8046679980
Fixed a missed update to the search functionality that now should use db_tagtype rather than the old and hackish category-prefix solution. Resolves #497 .
2014-04-06 10:21:06 +02:00
Griatch
87d621bcbc
Changed variable_from_module to no longer return a random entry but all variables from a module. Added random_string_from_module to support the CONNECTION_SCREEN. Also fixed a bug in the connection_screen handling that occationally (randomly) would return an empty entry.
2014-04-06 09:40:05 +02:00
Griatch
f9c47e7945
Fixed a bug in removing tags from TagHandler.
2014-03-31 07:31:48 +02:00
Griatch
67c4896a53
More refactoring of the unittest system
2014-03-15 08:03:44 +01:00
Griatch
7571e3606d
Some cleanups of the unittests.
2014-03-15 07:37:02 +01:00
Griatch
96f26098d1
Fixed comm-related unittest failures
2014-03-09 20:23:14 +01:00
Griatch
1a65d12b2c
Fixed a bug in strip_ansi that caused issues all over.
2014-03-09 20:23:14 +01:00
Griatch
ef8755581c
optimized ansi parsing a bit as well as did some general cleanup.
2014-03-09 20:22:48 +01:00
Griatch
460392f495
Some implementations of EvTable. Probably needs to add a crop-function to evtable.
2014-03-08 11:42:35 +01:00
Griatch
97991a2238
Implemented RSS feed reader along with updated rss2chan command.
2014-03-08 11:42:35 +01:00
Griatch
f126d30b36
More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed.
2014-03-08 11:41:24 +01:00
Griatch
7bde8afe66
Added maxwidth argument to evtable, for restricting upper width of table, but allowing it to resize if narrower.
2014-03-08 11:41:24 +01:00
Griatch
0d071ec75f
Updating the irc2chan command
2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56
Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player)
2014-03-08 11:41:24 +01:00
Griatch
8b52591c2f
Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can.
2014-03-08 11:41:23 +01:00
Griatch
75ef743297
Made a first version of command IRC2Chan, server starts but no more testing yet.
2014-03-08 11:41:23 +01:00
Griatch
2b1cb1c6ce
Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model.
2014-03-08 11:41:23 +01:00
Griatch
e2130cd3e8
Fixes the searching by category. Resolves #488 .
2014-02-18 16:42:54 +01:00
Griatch
b1e08c7da6
Continuing to clean up and fix bugs around Attribute/Tag
2014-02-16 22:09:35 +01:00
Griatch
bad24513e0
Fixed and corrected various bugs resulting from the change to Attributes/Tags).
2014-02-16 21:27:42 +01:00
Griatch
630d31cac4
First working version of new Attribute/Tag categories
2014-02-16 18:24:56 +01:00