Commit graph

1350 commits

Author SHA1 Message Date
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
be2d0086a3 Updated the game/gamesrc/ examples with the new hook names. 2013-04-09 22:22:17 +02:00
Griatch
9a187b48ff Made admin interface not crash with the removal of the direct db_obj field on players. 2013-04-09 19:43:27 +02:00
Griatch
a22ce6d563 Added missing object.db_sessid migration. 2013-04-09 19:34:15 +02:00
Griatch
8e1bcdde02 Removing old m2m field for holding puppetable characters. 2013-04-09 19:22:11 +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
efc078b78c Cleaned up the logging of connect/disconnect. 2013-04-09 17:51:30 +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
e86c127903 Further fix to migration. 2013-04-03 12:44:34 +02:00
Griatch
cdd9416cb3 Cleanups of migrations. 2013-04-03 12:10:58 +02:00
Griatch
1223b46edd Added data migration for character-control list attribute. 2013-04-03 11:56:51 +02:00
Griatch
85d4250f1d Added all functionality for all 3 MULTISESSION_MODEs. 2013-04-03 10:07:01 +02:00
Griatch
b5ccad21c5 Added functionality for MULTISESSION_MODE of types 0 and 1. 2013-03-25 09:41:27 +01:00
Griatch
11d612a72a Added more permission info to ooclook. 2013-03-12 10:29:21 +01:00
Griatch
de076d4af4 Added the _superuser_character flag to the superuser character upon creation. 2013-03-11 22:03:08 +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
d4b0afca83 Updated taling_npc contrib to new standard import locations, thanks to patch by Metathink. Resolves issue 354. 2013-03-08 21:46:05 +01:00
Griatch
f0fa6b5aee Fixed a bug in IMC2 implementation. Made sure the Tutorial world Ghost keeps moving after winning a battle. 2013-03-08 21:42:51 +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
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
707a21c7d7 Fixed so reloading the server reconnects the proper sessions to the characters again. 2013-02-17 13:59:36 +01:00
Griatch
eb1044d7a1 Refactored AMP and server/portalsessionhandler, moving allmost all logic to the sessionhandlers instead. The old
reason for having so much logic was due to circular import problems, but with the use of delayed imports this is
not a problem for the sessionhandler anymore. Makes for cleaner and much easier to navigate code.
2013-02-17 12:31:58 +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
a1dc7451ef Some fixes to the way the admin initiates new player objects. 2013-02-12 19:54:11 +01:00
Griatch
0b4c4feb6e Removed a too-verbose printout during batch-build. 2013-02-11 10:21:18 +01:00
Griatch
433cb5b9c0 Moved import of SESSIONS to avoid a circular import situation under i18n. 2013-02-10 11:52:31 +01:00
Griatch
e345d659fd Merge. 2013-02-09 11:21:38 +01:00
Griatch
390bdd28a7 Merge. Resolves issue 312. Resolves issue 346. Resolves issue 334. 2013-02-07 19:38:22 +01:00
Kelketek
b301d8ebb2 Fixed spacing consistency issues between messages in web client. 2013-02-06 20:58:22 -06:00
Kelketek
00f46d36cd Fixed #346, examine cutting off parts of output due to ANSI coloration. 2013-02-06 15:07:44 -06:00
Kelketek
d5129b5065 Updated X-Forwarded-For to better conform to spec (multiple proxies). 2013-02-06 07:41:22 -06:00
Kelketek
175b9b7338 Added change to settings.py to facilitate X-Forwarded-For. 2013-02-06 01:27:37 -06:00