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
75341ade6f
A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet.
2013-04-13 15:15:02 +02:00
Griatch
7f91f51539
The idle counters were not called, causing sessions to time out even when active. Fixed now.
2013-04-12 22:10:16 +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
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
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
4669b8ed89
Fixed the migrations from a pre-populated database to the many-char-per-player branch.
2013-04-10 21:45:56 +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
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
b5ccad21c5
Added functionality for MULTISESSION_MODE of types 0 and 1.
2013-03-25 09:41:27 +01:00
Griatch
de076d4af4
Added the _superuser_character flag to the superuser character upon creation.
2013-03-11 22:03:08 +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
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
e345d659fd
Merge.
2013-02-09 11:21:38 +01:00
Kelketek
d5129b5065
Updated X-Forwarded-For to better conform to spec (multiple proxies).
2013-02-06 07:41:22 -06:00
Kelketek
90163734aa
Added support for X-Forwarded-For.
2013-02-06 01:07:25 -06: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
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
ea545d7ff3
Added the ability to deactivate local caching, by use of the settings.GAME_CACHE_TYPE variable. A temporary solution for working with multiple processes. Will also be useful for debugging and profiling.
2013-01-09 19:43:46 +01:00
Griatch
5ef92b6bf8
Some cleanups, properly marking the OOB stuff as WIP still. OOB is progressing but not yet functional or in its final form.
2013-01-07 15:47:41 +01:00
Griatch
58c010ef46
Some further work on the OOBhandler mechanism.
2013-01-04 10:35:29 +01:00
Griatch
b0b0fa7983
First, untested version of the OOBhandler mechanism.
2013-01-03 09:18:49 +01:00
Griatch
a1a2c99d1e
Fixed a traceback if logging out from the unloggedin screen.
2012-12-11 23:30:30 +01:00
Griatch
28c625c12c
Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled.
2012-11-13 21:24:05 +01:00
Griatch
8654d8cc48
Further migrated script caches to the central cache location, removing old cruft.
2012-11-08 19:29:57 +01:00
Griatch
e4382e3e8a
Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328.
2012-11-07 20:22:46 +01:00
Griatch
d2d9953f94
Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms.
2012-11-01 11:20:07 +01:00
Griatch
92f6b06626
Added new start/stop hooks to server. These are read differently depending on if the server is reloaded or reset/shutdown. OBS: If you have already implemented your own version of AT_STARTSTOP_MODULE, you need to add stubs for new hooks. You can find the required hooks in gamesrc/conf/examples/at_startstop.py.
...
gamesrc/conf/examples
2012-10-28 22:02:22 +01:00
Griatch
ee7a175bf4
Fixed a bug in telnet protocol that stripped wrong characters at the end. Resolves Issue 318.
2012-10-28 10:37:14 +01:00
Griatch
ec46465656
Implemented ansi-colour backgrounds in webclient. Added a new @color command for displaying colour spaces. Also changed a number of other features outlined in Issue 309.
2012-10-24 21:41:07 +02:00
Griatch
e534d5f9a0
Made sure to kill color at the end of msg:es. This makes telnet/ssh consistent with webclient output.
2012-10-24 13:56:45 +02:00
Griatch
86c5553208
Added msg- and data buffering to AMP protocol. This handles the rare cases when the AMP limit of 65535bytes/message becomes an issue (such as when viewing long lists or @py output. Test with @py self.msg("-"*65536). Resolves Issue 294.
2012-10-20 15:40:34 +02:00
Griatch
c8ff1754fc
Explicitly warning and disabling IPv6-format interfaces. It's coming in Twisted, but the exact status is a bit hard to determine - and it's definitely not available for only one older revision of Twisted. So disabling. We'll revisit this down the road when Twisted support is more prevalent. This closes Issue 260.
2012-10-14 22:32:05 +02:00
Griatch
592bc26b99
Added remote function call abilities to AMP protocol, courtesy of patch by user Shell.
...
This allows for Server to call functions on Portal and vice-versa. Some rewrites and
cleanup done before applying /Griatch.
2012-10-14 11:53:34 +02:00
Griatch
a4adc035f2
Last commit introduced a silly typo. Fixed.
2012-09-30 16:08:00 +02:00
Griatch
57de91a234
Added an AttributeError check in perm_above lockfunc, to catch instances of checking permissions before player logged in.
2012-09-30 16:01:21 +02:00
Griatch
3c87b66624
Set AMP interface strings to listen to local interfaces only by default. Also added AMP_INTERFACE setting. Resolves Issue 257.
2012-09-28 22:40:12 +02:00
lagos
965be0a84f
Fixes for Chrome clients of webclient.
...
webclient.py now maintains a mapping of suid->single request as opposed to a mapp of
suid->list of requests. Since the evennia_webclient.js client only has one valid
request outstanding at all times, this should be safe.
2012-09-27 23:16:09 -07:00
Griatch
b2028511f5
Fixing a bug with not calling the disconnect hook when killing the client uncleanly. Resolves Issue 258. Thanks to user Zeta142125 for the help.
2012-09-25 07:53:11 +02:00
Griatch
d535d77811
Restructed terminal output from Server and Portal to allow external plugin-services to cleanly add their info at startup.
2012-09-22 23:18:29 +02:00