Griatch
|
be22a31ec4
|
Made it possible to "take" over puppeting from one's own stale sessions. Fixed a nasty bug in swap_typeclass.
|
2013-05-11 16:09:26 +02:00 |
|
Griatch
|
ad8a9fbe69
|
Added warning message for puppeting to an object without neither location nor home set.
|
2013-04-20 16:14:12 +02:00 |
|
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
|
89c33a9197
|
Some deprecation fixes for django1.4+. Added the ability to add lists to Attribute-stores lists using e.g. obj.db.mylist + [1,2,3,4]
|
2013-04-17 19:43:37 +02:00 |
|
Griatch
|
c943b13351
|
Fixed error in who when playing as a character.
|
2013-04-15 01:01:21 +02:00 |
|
Griatch
|
17d7ad9b37
|
Fixed a traceback in CmdExamine.
|
2013-04-14 22:57:23 +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
|
1a00797021
|
The new Attribute system should properly handle non-ascii characters. Also updated examine command to match. Resolves Issue 355.
|
2013-04-14 00:54:39 +02:00 |
|
Griatch
|
8969017aaa
|
Added prettytable (http://code.google.com/p/prettytable/) as a replacement for utils.format_table and updated almost all places where the old formatter was used. The code becomes much simpler and shorter with prettytable, there are some situations, such as the contrib/menusystem where the old format_table works well for dynamically creating any number of columns and rows on the fly.
|
2013-04-12 22:06:41 +02:00 |
|
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 |
|
Griatch
|
e0ba7695a5
|
Merge.
|
2013-03-06 13:34:51 +01:00 |
|
Bobby Bailey
|
7607edca5b
|
Update @about to reflect current license.
|
2013-03-02 22:01:44 -05:00 |
|
Griatch
|
743edd88ff
|
Renamed cmd.funcparts to cmd.func_parts for naming consistency with other command optionals.
|
2013-02-20 00:27:44 +01:00 |
|
Griatch
|
65e370f93b
|
Added an abort condition to the cmd's funcparts chain.
|
2013-02-20 00:17:50 +01:00 |
|
Griatch
|
0121f36ac0
|
Added cmd.funcpart as a way of adding multiple-part commands, each with a possibility to yield with a deferred. This allows for flexible implementation of delayed commands and other asynchronous goodies.
|
2013-02-19 23:30:33 +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
|
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
|
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 |
|