Commit graph

1330 commits

Author SHA1 Message Date
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
Kelketek
90163734aa Added support for X-Forwarded-For. 2013-02-06 01:07:25 -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
3aa122c41a Merge. 2013-02-03 21:47:35 +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
519235b06b Merge. Found this nifty contribution by accident since there was no merge request issued for it. Good spelling fixes all over tutorial world. 2013-02-03 18:21:06 +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
Kelketek
9dd69fc9e0 A couple more straggling lock fields. Should be all of them now. I hope. 2013-02-03 10:01:07 -06: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
c0d634fe8c Added "typeclass" as a shortcut variable name of __getattribute__. This allows for obj.typeclass to always cleanly return typeclass regardless of if obj is already a typeclass or is a database object. I.e. the same functionality of using obj.dbobj to always get the database object. 2013-02-03 00:23:58 +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
373a1f68c4 Fixed a looping bug when trying to send a message without a channel target. 2013-02-02 19:58:36 +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