Commit graph

71 commits

Author SHA1 Message Date
jamesvclemence
9250cb6446 Fixed command failure if one of a list of targets does not exist 2009-01-23 17:54:39 +00:00
jamesvclemence
9820d28438 Fixed the lack of cycling through a list of given objects in @cpattr 2009-01-23 17:49:04 +00:00
jamesvclemence
3d4ad07f9a @cpattr now coded, please post reports if bugs found, appears to work as expected. 2009-01-23 17:25:22 +00:00
Greg Taylor
6715f76847 Make helpentry topic names unique. Add a description to the cross-platform startup script. Added a util directory and a MUX/MUSH help file importer script. 2009-01-22 16:56:00 +00:00
Greg Taylor
cbd5fd9faa Flag list displaying 'None' fixed. 2009-01-22 15:22:32 +00:00
Greg Taylor
9403d15ae8 Flag searching implemented. 2009-01-22 15:05:31 +00:00
Greg Taylor
377844f1c6 @search is working now, aside from the flag search. 2009-01-22 14:49:58 +00:00
Greg Taylor
a7a3a33334 Add a builder override to object.controls_other function. Also refine what is shown when examining based on ownership and permissions. 2009-01-22 04:20:55 +00:00
Greg Taylor
f0c129f730 Fixes to player creation that may not actually do anything. Also add default flagged channels with the default alias being the first three characters of the channel's name. 2009-01-22 03:50:16 +00:00
Greg Taylor
4c562cd6ce Work on the comsys. @cwho is working now. 2009-01-22 03:19:40 +00:00
Greg Taylor
8909b9d2c0 Cleaning up the duplicate session disconnector. 2009-01-22 00:17:43 +00:00
Greg Taylor
1045d0fabf Restore the single-character aliases for say, pose, and pose without spaces. Also add 'p' as an alias for page in initial_data.py as per MUX. 2009-01-20 04:18:03 +00:00
Greg Taylor
5d7fcb67dd I'm not too sure what I was doing with awfully implemented exception handling in helpsys models.py. Yank that nasty stuff. 2009-01-18 04:58:10 +00:00
Greg Taylor
0169c52442 Fix the admin displays for most of the models. ConfigValue is being weird for some reason, though. 2009-01-18 04:54:05 +00:00
Greg Taylor
f6ee697e04 Move away from fixtures in favor of src/initial_setup.py, which makes it a little easier to change stuff like this. It also avoids over-writing stuff when syncdb is ran. This commit features database layout changes to ConnectScreen and CommChannel. It is recommended that you drop your database and re-sync. If this is not acceptable, talk to me about a migration plan. We will be investigating schema evolution down the road. 2009-01-18 04:22:58 +00:00
Greg Taylor
c0ebbc3967 Part 1 of initial database population re-factor, along with a comsys model change. DO NOT UPDATE TO THIS IN PRODUCTION ENVIRONMENTS YET! Wait for the all-clear. 2009-01-18 03:14:52 +00:00
Greg Taylor
8ebea8c22e Add MUX-style @chzone. 2009-01-18 02:40:57 +00:00
Greg Taylor
1a3942edac MUX-style @chown implemented. 2009-01-18 02:34:50 +00:00
Greg Taylor
462628ab55 Builders start seeing dbrefs for the most part. 2009-01-15 16:24:52 +00:00
Greg Taylor
8b89a4db2f Don't show dbrefs in get/drop notifications. May add a show_dbrefs flag down the road. 2009-01-15 16:01:23 +00:00
Greg Taylor
c622632654 Paging with aliases should be good to go once more. 2009-01-15 15:38:07 +00:00
Greg Taylor
d0c6723928 Paging once again can be used without a target when LASTPAGED is present. 2009-01-15 15:34:43 +00:00
Greg Taylor
21e4df0c91 More work on the page command. Slightly closer to MUX2 behavior, although there's still a way to go. 2009-01-15 15:28:44 +00:00
Greg Taylor
a2254c2d22 Fix the alignment of the WHO list. 2009-01-15 05:36:03 +00:00
Greg Taylor
5bce1e0ec2 Don't error when @name without an argument. 2009-01-15 05:23:29 +00:00
Greg Taylor
3ec9f167d4 Protect against the User object getting out of sync with the respective Object's name. 2009-01-15 05:21:59 +00:00
Greg Taylor
914628d385 Fixed an issue with Object manager's is_dbref. Paging should be a lot more sound now too. 2009-01-15 05:11:55 +00:00
Greg Taylor
9246ce684f Fix double emitting on exit traversal. 2009-01-15 05:05:39 +00:00
Greg Taylor
156e409bda Fix channel history to yank the broadcasting of 'last', also added a "To be implemented" notice to @reload. 2009-01-15 04:18:23 +00:00
Greg Taylor
8a8891f63d Protect against a really weird emit problem. 2009-01-15 03:55:48 +00:00
Greg Taylor
51a648ddab Fixes a few more command errors in commands without args. Create from the login screen now works without errors again. 2009-01-15 03:48:42 +00:00
Greg Taylor
59e5f60e34 Whoops, forgot to protect against no arguments. Silly me. 2009-01-15 03:25:27 +00:00
Greg Taylor
800e84a15e This should fix the comsys channels not behaving well. 2009-01-15 03:22:29 +00:00
Greg Taylor
5bf1461d75 This should get all of the web stuff working peachy again. 2009-01-15 02:46:38 +00:00
Greg Taylor
1e1752bdf3 Silly fix for cmdhandler. Should eliminate all those huh?'s. 2009-01-15 02:39:11 +00:00
Greg Taylor
abe17a2965 Re-designed the startup script to be more cross platform and robust. 2009-01-13 17:06:03 +00:00
Michael King
4cb2617324 Added extrapolated "name_exists" function.
Note that this can move, I just put it where it made
the most sense.

Code that checks for account names and aliases can
now be replaced with (assuming this is imported):

functions_user.name_exists("username")

If there is an alias match or an account match, it
will return True.
2009-01-13 07:21:41 +00:00
Michael King
86010b6ea4 Removed "finally" keyword that breaks python 2.4 compatibility.
This should work as expected without the "finally", as the exception will raise after the log message.
2009-01-13 06:34:28 +00:00
Greg Taylor
e0668e3573 Easy Python 2.4 compatibility tweak. Don't think the 'finally' keyword existed in Python 2.4 2009-01-13 01:42:39 +00:00
Greg Taylor
e6d3d9395d Previously, the global command table was being filled with entries from other tables due to some funky globalization of the ctable instance variable. Fixed that and yanked the conditionals on a few of the logged out commands that check for logged in status. 2009-01-12 18:01:35 +00:00
jamesvclemence
d89f85cb98 Corrected comment for the ingame check on 'create' command 2009-01-12 16:29:13 +00:00
jamesvclemence
623f6bea5a Disabled the use of 'create' and 'connect' ingame 2009-01-12 16:26:07 +00:00
jamesvclemence
d80d93b250 cmd_connect improved to fail gracefully if no argument is provided. 2009-01-12 08:49:19 +00:00
jamesvclemence
da505f3bf5 cmd_create improved to fail gracefully if no argument is provided. 2009-01-11 23:06:16 +00:00
Greg Taylor
9a166ba024 Moving script_parent to a field on the object model. This is critical enough to warrant it being there instead of in an attribute. Minor changes here and there.
NOTE: This update adds a field, delete your evennia.db3 or manually add a NOT NULL 'script_link' charfield(255).
2008-12-16 04:28:57 +00:00
Greg Taylor
bd3d195d5b Beginnings of @parent, the in-game tie-in for the scripting system. Can now list the currently cached scripts via @parent/showcache, and clear the cache via @parent/clearcache. 2008-12-16 03:36:49 +00:00
Greg Taylor
18e2eca2c5 Removed some retarded uses of 'server' reference variables. 2008-12-16 03:17:45 +00:00
Greg Taylor
f0f31a9a69 Finish cleaning up the script stuff. Added a README to the base parents directory warning not to modify the classes there. 2008-12-15 05:58:32 +00:00
Greg Taylor
122bf4e3ff Splitting the scripted parent system out into the gamesrc directory. There will be more explanation of this later. 2008-12-15 05:55:04 +00:00
Greg Taylor
00297d336a Big change here is that you now either need to run manage.py (with or without arguments) in order to create your settings.py file when doing initial setup. Or creating it works too.
Also get ready to start separating things out into the new game directory.
2008-12-15 04:56:47 +00:00