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
b5ccad21c5
Added functionality for MULTISESSION_MODE of types 0 and 1.
2013-03-25 09:41:27 +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
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
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
433cb5b9c0
Moved import of SESSIONS to avoid a circular import situation under i18n.
2013-02-10 11:52:31 +01: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
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
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
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
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
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
8b5938ddd0
Non-working intermediary commit.
2013-02-01 22:03:55 +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
949da47917
Removed some old and now confusing, unsused variables and added some documenting strings.
2012-12-08 15:39:09 +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
532cbc5fb6
Changed initial look command (at login) to be called from at_post_login hook instead of from the default connect command, supposedly making it easier for those only wanting to change this one line rather than having to re-target connect. The player.at_post_login now also calls look in case no character is defined, for the cases when logging in without having a character selected. Resolves Issue 277.
2012-10-14 12:28:01 +02:00
Griatch
110207fd7f
Also tweaked scripts- and player managers to handle id=0.
2012-09-29 17:12:16 +02:00
Griatch
4dbdf680a1
Removed a nested _GA that made made lookup fail in players.models.player_search(). Thanks to Kelketek for pointing this bug out.
2012-09-22 10:23:42 +02:00
Griatch
4c83d3e7a1
Various speed optimizations in various places, following further profiling.
2012-09-20 00:47:28 +02:00
Griatch
0dae03156c
Some optimizations, cleanup and a few bugfixes. Just changing a spurious property retrieval in the typeclass removed an extra, pointless database query.
2012-09-18 01:03:35 +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
3c96dc9cc9
Fixed a too-inclusive .hgignore file as well as some other fixes.
2012-09-07 19:31:51 +02:00
Griatch
5117bd2a0a
Minor fixes and reducing some sql calls in various managers.
2012-08-22 16:15:52 +02:00
Griatch
a2e7246d15
Changed so deleting a PlayerDB object will automatically also destroy its connected User object.
2012-08-14 00:40:48 +02:00
Griatch
9e2ad59663
Added a fix for running with postgresql-psycopg2. This does not actually resolve the problem as much as circumvent it, so I'm not marking Issue 115 as closed just yet.
2012-06-16 14:51:22 +02:00
Griatch
8ad4f4a9fc
Changed player.search to only search for players explicitly.
...
Added a MuxCommandOOC class to handle the OOC commands in a more uniform way.
Fixed the @ic/@ooc and page commands. Resolves issue 233. Resolves issue 234.
2012-05-17 19:42:37 +02:00
Griatch
ed6def0c88
Made XTERM256 properly range between 0-5 (it was erroneously capped at 1-5 which mean the darkest values
...
of the colour cube were unreachable).
Fixed some issues with the lock caching.
2012-04-29 01:26:10 +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
1a6ef5d983
Added more caching to channelhandler as well as players in order to cut back on unnecessary database calls.
2012-04-26 13:38:34 +02:00
Griatch
4678234e9a
Multiple fixes to ev and utils:
...
Made utils.variable_from_module more generic (it can now load pretty much any form of module it's given and also supports searching and returning multiple variables).
Removed the variable-load functionality from utils.load_module; this is now purely a loader - use variable_from_module instead.
I found out that one couldn't import from src.commands.default due to the __init__ file being restrictive for the sake of the ev API. Removed that and instead imported the default commands into ev.py with the help of utils.variable_from_module instead. Some more fixes in ev followed on this.
2012-04-22 12:23:42 +02:00
Griatch
c8df141e89
Further cleanup of source; making class methods _private for clarity in the API.
2012-03-31 15:09:22 +02:00