Griatch
416d6e14bc
Fixing a bug in @ic if trying to puppet while already puppeting. Added sessid keyword to at_post_login hook in order to correctly relay login text only to the correct session. Removed the src.utils.debug module as well as the CmdDebug command which has not been supported for a good while.
2013-04-18 09:13:31 +02:00
Griatch
80a6745a1e
Made Attribute value queries also work with database objects by overloading the Attribute manager methods in question. Added procpool support for the new serializer functions and cleaned up some things.
2013-04-14 16:36:44 +02:00
Griatch
8d48aa5a06
Added the last migrations needed to fully convert the Attribute system. Cleaned up the @ooclook command a bit as well as tidied up the who command a bit.
2013-04-14 13:35:25 +02:00
Griatch
230d73cfa0
Migrations work under sqlite3, both from latest dev, from new install and from trunk. There might be some consistency issues though (it seems the character list is not properly migrated), so more testing is required.
2013-04-13 23:50:33 +02:00
Griatch
512d7748d1
Finished with a working implementation of the new Attribute mechanism using PickledObjectField. First step of migration is finished, but not converting any old attribute data yet.
2013-04-13 18:13:15 +02:00
Griatch
75341ade6f
A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet.
2013-04-13 15:15:02 +02:00
Griatch
a6544f2848
changed cmdset_default -> cmdset_character and changed the class names to match. Added migrations to properly update default-set cmdset_stores to the new positions (objects created from custom types are not migrated, these should see errors and need to re-point their imports to the new defaults)
2013-04-12 13:01:20 +02:00
Griatch
5874505902
Changed object.player to return a typeclass. Resolves Issue 325. Also made sure that .typeclass always returns a typeclass, also if called on something which is already a typeclass.
2013-04-10 22:33:32 +02:00
Griatch
be2d0086a3
Updated the game/gamesrc/ examples with the new hook names.
2013-04-09 22:22:17 +02:00
Griatch
a22ce6d563
Added missing object.db_sessid migration.
2013-04-09 19:34:15 +02:00
Griatch
1e07b8ca34
After the rework of the many-char mode, mode 0 now works stably and auto-logins correctly it seems.
2013-04-09 17:11:34 +02:00
Griatch
26ced2cb90
Heavily reworked the many-char system, cleaner and more consistent by not having any persistent links on the Object side once a player has unconnected.
2013-04-09 15:59:21 +02:00
Griatch
20a57d4167
Further fixes to the system, still some issues remaining.
2013-04-06 21:36:52 +02:00
Griatch
9eb1903f02
Lots of cleanup and bug fixes. Still some issues with reconnecting to the right location in multisession_mode 0.
2013-04-03 18:31:53 +02:00
Griatch
cdd9416cb3
Cleanups of migrations.
2013-04-03 12:10:58 +02:00
Griatch
7581d65cb3
Made superuser able to have a separate "superuser character" in order to be able to have also test-characters without privileges.
2013-03-11 22:01:52 +01:00
Griatch
bbdf2e0896
Fixed a bug that caused superuser status to be cached only once for characters, even if the player was not yet connected.
2013-03-11 20:01:03 +01:00
Griatch
406800f254
Merge.
2013-03-09 12:16:50 +01:00
Griatch
47356ca632
Fixed a lingering error from turning off "quick assignment" that caused issues in TutorialWorld.
2013-02-18 20:08:05 +01:00
Griatch
458e3e7599
Added @sessions command for viewing active sessions connected to a given account.
2013-02-17 20:21:23 +01:00
Griatch
25505d69a6
Moved login and disconnect from session-level to sessionhandler level to make the process cleaner with hooks rather than direct calls.
2013-02-17 18:48:48 +01:00
Griatch
261363bae7
Moved connect/disconnect messages to be triggered by Player, not by Character.
2013-02-17 14:24:31 +01:00
Griatch
70b8f074f1
Merge.
2013-02-03 17:28:26 +01:00
Griatch
f3addf9cf9
Shuffled migration id numbers around to account for changes in trunk.
2013-02-03 17:21:12 +01:00
Griatch
b26c3ab872
Fixed bugs and allowed for logging in using one character. Added a simple command for creating a new character.
2013-02-03 17:00:46 +01:00
Kelketek
adb3965888
Follow-up on that last one-- missed one of the Abstract models.
2013-02-03 09:54:36 -06:00
Kelketek
2e08517ec5
Changed lock storage from character-limit field to unlimited TextField.
2013-02-03 08:54:57 -06:00
Griatch
f1767251c6
Can now log in to a character selection screen. Lots more testing required before one-char-per-session works.
2013-02-03 00:25:06 +01:00
Griatch
7ba0683d9d
Added migrations for the new sessid and multiple-character-related fields along with some bugfixes.
2013-02-02 23:25:46 +01:00
Griatch
00584365ae
Added sessids to command objects and changed how the "login"-hooks are called. Those will probably have to be changed to better names, at least for characters.
2013-02-02 22:41:56 +01:00
Griatch
231af4a351
Continued work on multi-char-per-account. Added a new default login point. Still need to add sessid to commands.
2013-02-02 15:55:42 +01:00
Griatch
b50266623e
Merge.
2013-02-01 22:04:18 +01:00
Griatch
8b5938ddd0
Non-working intermediary commit.
2013-02-01 22:03:55 +01:00
Griatch
f734e9511c
Handle the case of doing aliases=<string> instead of aliases=[<string>] in create_object - this caused the malformed data to be stored in cache and causing tracebacks in cmdhandler until @reloaded.
2013-02-01 21:03:03 +01:00
Griatch
ea545d7ff3
Added the ability to deactivate local caching, by use of the settings.GAME_CACHE_TYPE variable. A temporary solution for working with multiple processes. Will also be useful for debugging and profiling.
2013-01-09 19:43:46 +01:00
Griatch
15feb915e6
Fixing a missing report.
2013-01-08 09:45:59 +01:00
Griatch
45bf38679f
Moving a check for the connect channel, probably resolving a weird django error appearing in postgreSQL. Related to Issue 341.
2013-01-08 09:44:13 +01:00
Griatch
c615693a2a
Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared.
2012-12-08 17:11:22 +01:00
Griatch
949da47917
Removed some old and now confusing, unsused variables and added some documenting strings.
2012-12-08 15:39:09 +01:00
Griatch
c0302f7cff
Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327.
2012-12-08 14:09:42 +01:00
Griatch
28c625c12c
Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled.
2012-11-13 21:24:05 +01:00
Griatch
9f6e3de637
Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet)
2012-11-05 00:55:25 +01:00
Griatch
f3b50a20a8
OBS:Run migrations! Changed the comms.Msg.db_title field to db_header to better reflect its use.
2012-11-04 15:37:06 +01:00
Griatch
d2d9953f94
Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms.
2012-11-01 11:20:07 +01:00
Griatch
52af816977
Added hooks at_access_success and at_access_failure to allow for custom messaging for certain lock errors. Resolves Issue 311.
2012-10-28 14:07:18 +01:00
Griatch
ce036e07f3
Added the ability of obj.move_to to accept a None location with a keyword to_none. Also changed the @tel command to accept a /tonone switch for putting things' location to None. Resolves Issue 307.
2012-10-23 22:31:51 +02:00
Griatch
87bfb97853
Rewrote the fuzzy-matching routine to correctly handle fuzzy, global searches on keys and aliases.
2012-10-23 20:29:03 +02:00
lagos
904884d4ed
Fixes multiple issues with searching.
...
* dbref now respect candidate lists. Previously a dbref match would ignore
candidates which permitted you to drop any object from anywhere by specifying
a dbref.
* If candidates is [], we now return right away. Without this, a candidate list
of [] would not filter out anything because short circuiting like:
cand_restriction = candidates and Q(pk__in=candidates_id) or Q()
will use Q() (what we really want is nothing to match). This would permit you
to drop any object you can refer by nick or name if your inventory was empty.
* Minor fix of 'ret_index' for typo'ed 'reg_index'.
2012-10-22 18:03:10 -07:00
Griatch
21408c56cf
Made the docstrings for objects' basetype_setup() more informative. Resolves Issue 302.
2012-10-20 09:33:40 +02:00
Griatch
7997cf62e8
Added a more comprehensive recursive location-loop checker that shouldn't be too expensive. Thanks to rcaskey for bouncing ideas in IRC!
2012-10-14 21:24:58 +02:00