Griatch
36629a8bdb
Fixed a race condition when the telnet protocol synced with the server with a delay (such as when the connecting client didn't respond to all protocol request tokens. This could lead to the sync overwriting already updated session flags, notably the puppet id (puid). Resolves #583 .
2014-10-19 19:11:56 +02:00
Griatch
c4c662b33e
Moved unicode/str conversions to sessionhandler level in order to still allow message_all session messages without triggering unicode tracebacks (such as when server restarts).
2014-09-10 09:33:44 +02:00
Griatch
31687b8a05
Made telnet protocols resync with server once their handshakes are complete. Also changed default (pre-TTYPE) to be ansi+xterm256. Set a 5-second timeout for handshakes. This pertains to issue #434 .
2014-08-14 10:28:50 +02:00
Griatch
306ce17022
Fixed some lingering uses of sessid as a non-handler.
2014-08-05 09:16:00 +02:00
Griatch
1e41be797b
Run migrations! First version of MULTISESSION_MODE=3. @ic/@ooc not working yet.
2014-08-04 15:32:48 +02:00
Griatch
c60a5fdea1
Fixed and refactored OOB system and tested with new websocket client
2014-06-28 18:10:20 +02:00
Griatch
9ba212c264
Working on the OOB system, somewhat unstable at the moment.
2014-06-28 18:10:20 +02:00
Griatch
ca1e36da5f
First working test version of oob support in the websocket client.
2014-06-28 18:10:20 +02:00
Griatch
ab6dcc605d
Got the IRC bot working with the new mechanism.
2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56
Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player)
2014-03-08 11:41:24 +01:00
Griatch
2ae5d56928
Continued work on the bots.
2014-03-08 11:41:23 +01:00
Griatch
f9eece9749
Started implementing the Bot functionality.
2014-03-08 11:41:23 +01:00
Griatch
1ae17bcbe4
PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned.
2013-11-14 19:31:17 +01:00
Griatch
bdcc8de5bc
OOB MSDP working with direct sending of data from various parts of the system. Tracking as well as support for the default MSDP commands (LIST, REPORT etc) are not yet tested/implemented.
2013-10-15 20:00:18 +02:00
Griatch
16bbe009c3
OOB passing data client->server. A few more default commands are needed.
2013-10-07 19:57:01 +02:00
Griatch
bbba695380
Changed unittest suite to use dummy sessions.
2013-09-22 16:29:02 +02:00
Griatch
e36c7d5cc1
Cleaned up worst instability. Test suite does validate yet.
2013-09-21 17:33:48 +02:00
Griatch
d74cce4dfe
First version of OOBHandler put together. Might still have to rework it since it cannot properly handle multiple trackers tracking a single field on a given object.
2013-09-14 23:18:36 +02:00
Griatch
4a5de04956
Changed msg() to work with **kwargs rather than data dicts. Still not fully updated the portal side (also remember that keywords let through to the portal must not contain dbobjs, since the portal has no connection to the database).
2013-09-14 09:10:31 +02:00
Griatch
1e96b13920
Changed cmdhandler to include Session-level cmdset.
2013-09-08 00:14:06 +02:00
Griatch
812bdb0f73
Refactored src/server, splitting out into a portal subdirectory to make it clearer what goes on which "side".
2013-05-22 18:40:16 +02:00
Griatch
60068771c7
Fixed a lingering portal session when connection was closed uncleanly. This could in some situations lead to out-of-sync sessions in MULTISESSION_MODE=2.
2013-05-21 15:05:10 +02:00
Kelketek
1a26552600
Possible fix to bad disconnection issue.
2013-05-18 18:18:32 -05: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
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
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
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
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
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
21137cc830
Run Migrations! Added a is_connected field to Players to be able to more conveniently access online status from out-of-process (resolves issue 251). Also cleaned up and added features to the default website.
2012-09-17 19:19:20 +02:00
Griatch
f0f240b7ce
Fixed a bug in sessionhandler that erroneously caused Portal sessions to not be deleted properly at user @quit. This caused the session to be copied back to the Server side after a reload (caused "ghost" connections in e.g. the "who" command). Resolves Issue 244.
2012-06-20 23:48:19 +02:00
Griatch
94477b8340
Updated the reload and shutdown mecanism to avoid a loop when shutting down from inside the game. Made sure to have server sync correctly with portal at @reload (some session info were lost before). Some other cleanups.
2012-05-01 14:19:54 +02:00
Griatch
571c7a3cab
Some more cleanups.
2012-04-29 21:17:14 +02:00
Griatch
6e08c011a1
Further caching and optimization, making some operations noticeable faster in the end.
2012-04-26 17:47:25 +02:00
Griatch
6501f30cbc
Fixed an elusive bug in utils.get_variable_from_module() that caused the connection screen to sometimes not load properly, due to the imported modules being erroneously extracted and used.
2012-04-15 19:05:50 +02:00
Griatch
45c5be8468
More whitespace cleanup.
2012-03-30 23:57:04 +02:00
Griatch
b99db98191
Fixed a silly typo.
2012-02-25 21:15:58 +01:00
Griatch
a0a205c945
Did some additions to the MSDP implementation. Added a first test for implementing MSDP commands, but it is not working yet.
2012-02-25 21:14:48 +01:00
Griatch
9935bff36e
Changed internal bit identifiers in AMP protocol, for compactness.
2012-02-25 19:26:54 +01:00
Griatch
fb78758356
Implemented working MCCP (data compression) and MSSP (mud-listing crawler support). Moved all user-level customization modules from gamesrc/world to gamesrc/conf to reduce clutter.
2011-11-20 11:52:01 +01:00
Griatch
bced571805
Added api functions for implementing protocols sending out-of-band data between server and portal (e.g. like GMCP)
2011-11-08 22:54:02 +01:00
Griatch
55f6f5b713
Contrib: Added a new, alternative login system, using menus. Also edited the ways unlogged commands are started by the engine, by using a standardized system command name (it does not need to be "look" anymore).
2011-11-06 18:53:10 +01:00
Griatch
f13e8cdf7c
Trunk: Merged griatch-branch. This implements a new reload mechanism - splitting Evennia into two processes: Server and Portal with different tasks. Also cleans and fixes several bugs in script systems as well as introduces i18n (courtesy of raydeejay).
2011-09-03 10:22:19 +00:00