Commit graph

2866 commits

Author SHA1 Message Date
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
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
9d0baa2d5c Remove sleep hack on startup, move so portal always starts before server. 2013-01-31 15:40:20 -08:00
Stephen Hansen
5cfff771f2 Initial support for pypy + evennia 2013-01-31 14:34:52 -08:00
Griatch
41859d9e46 Added the ability for the IRC bot to parse /me emotes from the IRC channel. 2013-01-30 15:14:30 +01:00
Griatch
ebbc022fba Another minor bug fixed. 2013-01-30 15:00:36 +01:00
Griatch
678dddc87f Fixed a @desc bug in extended_room contrib. 2013-01-30 14:55:33 +01:00
Griatch
7b17c9ad5a Fixed a traceback when lighting the torch in the tutorial world. 2013-01-29 22:51:18 +01:00
Griatch
261454ff0a First steps towards a full account system (multiple Character with one Player); added the Player-level methods. 2013-01-26 21:20:31 +01: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