Commit graph

228 commits

Author SHA1 Message Date
Griatch
0fddf433dc Updated all Player-level commands to properly relay messages using self.msg rather than caller.msg (the former will properly relay to the right sessid without needing any extra arguments). 2013-04-12 14:27:36 +02:00
Griatch
b58a464409 Cleaned up all commands of the player type to correctly relay their msg-data only to their assigned session. 2013-04-12 13:59:15 +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
c152202082 Forgot to add the default/player.py module holding Player-specific commands. 2013-04-11 01:02:40 +02:00
Griatch
1aff5f1fd1 Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player. 2013-04-11 01:02:05 +02:00
Griatch
ea4c30a0b1 Added a convenience property player.character that will return the (puppeted) Object if in MULTISESSION_MODE 0 or 1, all puppeted Objects for MULTISESSION_MODE=2. Note that this is not quite the same as the old player.character - it will only return a character if that character is actually puppeted (the old scheme returned it also if the Player was offline). 2013-04-09 22:44:05 +02:00
Griatch
a22ce6d563 Added missing object.db_sessid migration. 2013-04-09 19:34:15 +02:00
Griatch
c967cc7914 MULTISESSION_MODE 0-2 works as they should. Remains some fixes to migrations. 2013-04-09 19:19:53 +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
5100a0561f Some further bug fixes. 2013-04-09 11:14:08 +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
85d4250f1d Added all functionality for all 3 MULTISESSION_MODEs. 2013-04-03 10:07:01 +02:00
Griatch
11d612a72a Added more permission info to ooclook. 2013-03-12 10:29:21 +01: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
29e313492f Added more session info to ooclook. Working on a bug that causes superuser to not be recognized now and then - this seems to be related to character.player returning None. This revision contains some printout debug messages since that bug is not yet fixed. 2013-03-11 01:32:17 +01:00
Griatch
406800f254 Merge. 2013-03-09 12:16:50 +01:00
Griatch
0f2762d5f2 Added functionality to @services command. Allowed @reload to also accept a reason argument. 2013-03-08 23:09:21 +01:00
Bobby Bailey
7607edca5b Update @about to reflect current license. 2013-03-02 22:01:44 -05: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
1f676eda60 Some more fixes to the commands. 2013-02-16 21:26:59 +01:00
Griatch
db8af97ab2 Fixed player creation, removing FIRST_LOGIN flag on character (keeping it on player) 2013-02-14 18:09:59 +01:00
Griatch
71346dcc67 Merge. 2013-02-14 17:55:35 +01:00
Griatch
4dea96f5e4 Some further fixes. 2013-02-14 17:55:05 +01:00
Griatch
0b4c4feb6e Removed a too-verbose printout during batch-build. 2013-02-11 10:21:18 +01:00
Griatch
e345d659fd Merge. 2013-02-09 11:21:38 +01:00
Kelketek
00f46d36cd Fixed #346, examine cutting off parts of output due to ANSI coloration. 2013-02-06 15:07:44 -06:00
Griatch
a84b4f24fc Fixed bugs that now allows multiple sessions to connect through the same player to different characters. Still lots of bugs and inconsistencies, the permissions of superusers don't quite transfer sometimes, for example. 2013-02-04 22:02:04 +01:00
Griatch
ab5b9116df More bugfixes. 2013-02-03 21:38:37 +01:00
Griatch
b82a75d816 Fixed initial_setup and set up the _playable_characters attribute on all players, for handling multi-accounts. Still some issues with how the character's permissions is accessed. 2013-02-03 20:04:40 +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
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
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
11d1114f61 Some minor cleanups. 2013-02-01 21:51:38 +01:00
Griatch
88f327ba40 Merge. 2013-02-01 21:51:13 +01:00
Stephen Hansen
230e12d8b6 Fix to @py to a) print value of expressions, and b) print duration when requested for evals 2013-02-01 12:29:40 -08: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
8eefc5d9f9 Fixed a bug in @del dbref lookup. 2013-02-01 20:00:17 +01:00
Griatch
d1125c65dc Fixed a formatting error viewing single-string aliases of objects with the examine command. 2013-02-01 19:27:45 +01:00
Stephen Hansen
5cfff771f2 Initial support for pypy + evennia 2013-01-31 14:34:52 -08:00
Griatch
91281e6bb8 Fixed an error in @delete that caused ranges of dbrefs not work non-locally. Based on patch supplied in Issue 344 (thanks!). 2013-01-20 17:23:31 +01:00
Griatch
e8d93dedbe Added a /time switch to the @py command, after idea by JoshBenner over IRC. This optionally outputs the execution time for a given input. 2013-01-11 16:46:04 +01:00
Griatch
f8514bb0f1 Added a little more info about the player needing the right permissions to @puppet, not the character. Resolves Issue 340. 2013-01-07 18:35:36 +01:00
Griatch
58c010ef46 Some further work on the OOBhandler mechanism. 2013-01-04 10:35:29 +01:00
Griatch
6e46158946 Fixed an arg_regex in the examine command - it was disabling switches 2012-12-12 23:21:22 +01:00
Griatch
d14b014611 Fixed the auto-subscription to channels by non-superusers. Resolves Issue 336. Removed a spurious print statement in the unloggedin create command. 2012-12-12 22:57:03 +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