Ari Mudev
50e66b3813
Remove reference to PySqlite2 since we are recommending Python v2.5 (which includes the 'sqlite3' module in the base distribution).
...
Also, recommend ActivePython. While it is a commercially-backed product, "pypm" (like "easy_install" on Linux) makes it an absolute snap to get all the dependencies for Evennia. It simplifies setup on Windows greatly compared to the stock distribution at www.python.org coupled with the stock "easy_install".)
Also, re-flow some more text.
2010-11-01 06:11:01 +00:00
Ari Mudev
f11fbdf739
Make python launching more portable. Re-flow help text to fit within 80 characters for terminals that do not easily resize. (This commit is mostly aimed towards MS Windows installations.)
2010-11-01 05:44:19 +00:00
Griatch
7fb6362dc4
Added optional support for database migrations with south. The game/migrate.py program is a simple wrapper that runs the suitable commands for setting up a database and updating it, respectively.
2010-10-31 18:21:23 +00:00
Griatch
7eaf3d221c
Resolved issue113, avoiding a loophole in which the protection about @reloading a timed script could be circumvented.
2010-10-31 08:34:38 +00:00
Griatch
3f703efc2d
Made changes to idmapper that might help alleviate issue101 (more people need to run it to make sure). Moved around default command modules to be more logically named and distributed.
2010-10-31 08:10:02 +00:00
Griatch
19dd476115
Changed object and alias search methods to be more effective. Made aliases a separate model to avoid overhead with large searches. The change of aliases meand you need to resync your database.
2010-10-30 18:42:37 +00:00
Griatch
268328d36a
Fixed @py to match the wiki documentation.
2010-10-21 23:06:55 +00:00
Griatch
31edce0ba1
Added utils.utils.run_async as a simple wrapper to the Twisted deferred system. This allows for easily making a long-time-running process or command asynchronous.
2010-10-21 20:15:11 +00:00
Griatch
547eb53b32
Made search(*playername) commands correctly return a Player typeclass and not a character. Initial startup/character creation: Default permissions are now assigned on player level rather than character level (this gives more safety to @puppet operations). Made @puppet command work only on Character objects.
2010-10-21 18:58:47 +00:00
Ari Mudev
c9861e06de
Red button typo.
2010-10-19 01:39:25 +00:00
Ari Mudev
04ae472e1a
Tweak @create help to provide a working example as intended.
...
The rest of the documentation for this command should probably be audited, but the copy-paste method of experimentation works now.
2010-10-19 01:30:24 +00:00
Griatch
9459178c43
Fixed character swap mechanisms. Created an example command @puppet for switching control between characters (note that it does not currently check permissions, nor make sure the target has the appropriate cmdsets).
2010-10-18 21:07:26 +00:00
Ari Mudev
922a7d5064
Windows fix. Always start twistd.py using a Python interpreter.
...
This allows .py files to be associated with an editor. Before this fix, twistd.bat simply "started" twistd.py, which would tend to open the file in an editor if the file associations were set.
This fix simply prepends the python interpreter path to the twistd.py path when twistd.bat is built programmatically so it is always "run as a python program" no matter the current Windows .py file association.
2010-10-18 16:37:07 +00:00
Griatch
151595a042
Turned off Django DEBUG in the default setup. This resolves all issues with memory leakage and resource hogging seen in issue112.
2010-10-11 17:22:39 +00:00
Griatch
12acb34ce7
Extended new encoding functionality also to batch commands.
2010-10-03 21:02:52 +00:00
Griatch
7080de4022
Implemented @encoding command as a default way for managing encodings on a per-player level.
2010-10-03 20:34:46 +00:00
Griatch
c29649cd53
Made characters disappear from the room when their controlling player logs off. This is a trivial thing to customize, but the old default (leave the character objects in the room, although "headless") confused people.
2010-10-03 19:49:48 +00:00
Griatch
745df8356f
Added comprehensive encoding handling to support both player-level encoding choices as well as global multiple encodings through the settings file.
2010-10-03 19:11:43 +00:00
Griatch
7904916dba
Fixed a simple list-bug in @objects command. This resolves issue111.
2010-09-26 09:21:01 +00:00
Griatch
164eb5b89b
Some command bugfixes. Added some more debug messages for pinning down issue101.
2010-09-19 06:57:08 +00:00
Griatch
27b7570aab
Fixed a bug in @debug (resolves issue107). Also moved @debug command to commands/default/tests.py instead.
2010-09-12 16:37:00 +00:00
Griatch
af89dd1ef7
Some minor bugfixes.
2010-09-12 16:19:02 +00:00
Griatch
5361bd03d3
Made @create not overwrite a script-defined 'desc' attribute if it exists. Resolves issue109.
2010-09-12 15:14:09 +00:00
Griatch
8bedd4d793
Fixed and debugged object_search to more generically search for any attribute name except 'key' (issue110). Also included alias-search as a last-resort if normal searches fail. This is now also working for global searches (issue106).
2010-09-12 15:07:12 +00:00
Griatch
7e736d19e2
Cleaned up the ansi.py module and made it better match the the style rest of the code.
2010-09-05 20:59:32 +00:00
Griatch
e125763ea5
Made so the default add_default_cmdset script also removes the added cmdset when stopped. Fixed the function of @delplayer command.
2010-09-05 18:20:39 +00:00
Griatch
212061abb6
Made so the @scripts command properly display when scripts will fire next.
2010-09-05 16:35:39 +00:00
Griatch
c4128e4656
Fixed the strange login error reported in issue103.
2010-09-05 15:05:40 +00:00
Griatch
a2291953f2
Changed erroneous DateField to DateTimeField in ObjectDB, so you might have to resync your database. Fixed lots of formatting issues in the info and list commands. Resolved issue105.
2010-09-05 14:42:09 +00:00
Ari Mudev
76624cd6f3
Modify Django version requirements to suit our usage of csrf middleware,
...
which was modified heavily between Django v1.1 and Django v1.2.
While it is possible to modify our code to use Django v1.1's csrf, the
best experience "out-of-the-box" will be while using Django v1.2.
2010-09-05 12:36:53 +00:00
Griatch
1ed013dc11
Fixed a bug in @open (issue104). Some other refinements.
2010-09-04 21:52:35 +00:00
Ari Mudev
cbdeae5334
Add 'page-pose' functionality.
2010-09-04 18:58:13 +00:00
Ari Mudev
d9e854404d
Add common alias to "say" command (single double-quote).
2010-09-04 18:55:52 +00:00
Ari Mudev
56a03367f7
Allow speaking and posing while blind.
2010-09-04 18:53:52 +00:00
Griatch
cfbb249d96
Added more functionality to page command (resolving and going beyond issue102). Cleaned up the output of sevreral commands as well as added a few more useful functions in src/utils/utils.py.
2010-09-04 17:21:26 +00:00
Ari Mudev
60851ade11
Fix trivial typo in CmdSethandler documentation.
2010-09-04 16:57:01 +00:00
Ari Mudev
6413f2251e
Fix trivial typo in @service help.
2010-09-04 16:21:01 +00:00
Ari Mudev
98c898ffeb
Add "exam" alias to examine command; it is an extremely common alias in other codebases.
2010-09-04 16:04:16 +00:00
Ari Mudev
25dec92db5
Fix trivial typo.
2010-09-04 16:00:31 +00:00
Ari Mudev
e4a71ef420
Fix red button nudge lid aliases.
2010-09-04 15:39:43 +00:00
Ari Mudev
09cc31dafc
Fix nudge lid randomness, fix order of emits.
2010-09-04 15:35:38 +00:00
Griatch
7d8edf0235
Better (and correct) output from the 'groups' command.
2010-09-04 14:19:07 +00:00
Ari Mudev
39e66dbc34
Remove debugging print statements introduced in r1044.
2010-09-04 14:05:04 +00:00
Griatch
142cb00566
Removed spam-possibilities with page command (issue100). Also did several other refinements to the comm system.
2010-09-04 13:52:01 +00:00
Griatch
d90c2909a2
Fixed a lacking implementation in the Msg API. You need to re-sync the database since Msg now relies on three fields that where commented out before.
2010-09-04 12:18:00 +00:00
Griatch
72bb8ac667
Fixes towards resolving issue99.
2010-09-04 09:47:38 +00:00
Griatch
933e29afee
Gave a more informative error message when reading non-UTF-8 batchfiles containing international symbols (issue97) as well as refactored the processors a bit further. Fixed some minor typographic details in some other commands.
2010-09-04 07:55:25 +00:00
Ari Mudev
76edd254b0
Fix minor typo.
2010-09-03 22:24:58 +00:00
Griatch
ec5295b973
Included 'Alias' field for examine (issue98). Fixed a rare traceback with @reload in situations when it tried to move on before modules has time to finish reloading. Also clarified how @perm and examine display information.
2010-09-03 21:17:51 +00:00
Griatch
e2f92f0bfe
Resolved issue99, which concerned commands on adjacent players being erroneously included among a player's available commands (giving multiple-command errors).
2010-09-03 19:33:17 +00:00