Commit graph

93 commits

Author SHA1 Message Date
Greg Taylor
eb2608ffd2 Prevent an error in @ps being used before the events have triggered the first time. 2009-04-06 17:15:35 +00:00
Greg Taylor
5a465746c5 Adjust some function names in the script parents to be at_ instead of a_. Also re-designed the scheduling system to be a lot more pythonic and easy to use. Utilizes classes to represent events. Much easier to plug in events from within the game directory now as well. 2009-04-06 16:19:07 +00:00
Greg Taylor
b3c386a2c3 Clean up some of the methods on the script parent system. I have no idea why I was being silly and passing things around through dictionaries. Yick. Also added a at_player_creation method to basicplayer.py that is triggered after player objects are created and ready to go, but before they are logged in. 2009-03-30 00:54:05 +00:00
Greg Taylor
4af854271a Fix clearing attributes via @set. 2009-03-30 00:37:24 +00:00
Greg Taylor
4426f776fd Fixed an annoying problem with player creation. It only affected the first player created after the server was started for the first time. 2009-03-26 14:12:30 +00:00
Greg Taylor
71a76cd1fb Trap some more odd errors to assist in my tracking down their origin. 2009-03-26 14:03:41 +00:00
Greg Taylor
51edc17d59 Command revamp broke the create command in a funky way. Fixed. 2009-02-04 18:14:25 +00:00
Greg Taylor
df69011134 Working on getting command tables implemented on individual objects. It's probably not a good idea to update to this revision in a 'production' environment yet. 2009-01-30 03:28:41 +00:00
Greg Taylor
5c5d2249bd Command reloading ended up being really super easy. @reload now rebuilds and re-imports all of the command modules. This should make development a lot easier. 2009-01-27 16:16:43 +00:00
Greg Taylor
4ca5a4a7bf Revamp how commands are loaded. This will now allow for easy addition of custom commands and over-riding existing Evennia-supplied commands. 2009-01-27 15:21:15 +00:00
Greg Taylor
848c7da075 Don't allow even superusers to modify non-modifiable attribs. 2009-01-25 03:16:49 +00:00
Greg Taylor
7ff97599be Move standard_objsearch to Objects.search_for_object. Also make sure @alias only accepts alphanumeric strings. 2009-01-25 03:11:52 +00:00
Greg Taylor
eacdf8b33c Fix posing (for real this time.) 2009-01-25 01:37:43 +00:00
Greg Taylor
1bbffe99a8 Fix pose/say single character aliases. 2009-01-24 21:03:22 +00:00
Greg Taylor
625d7ce8c9 Fix @cpattr to work, simplified it a bit as well. Still nowhere near MUX2 compliant at this point. 2009-01-24 20:48:16 +00:00
Greg Taylor
9407eb0ee4 Huge overhaul in the way objects and sessions are used with commands. We now pass all commands through objects (aside from unlogged commands), which means session.msg() is now deprecated for any use other than unlogged out.
As a side-effect of all of this, logging in more than once acts as behaves now. Also, this will allow things/rooms/exits (IE: not players) or un-logged in players to run commands or be forced to run them via @fo. All of this will bring us more in-line with MUX behavior.
2009-01-24 20:30:46 +00:00
jamesvclemence
50f4d04096 Fixed comment again, trailing space made a mess 2009-01-24 19:26:27 +00:00
jamesvclemence
ea51083797 Neatened comment to fit line length 2009-01-24 19:24:57 +00:00
jamesvclemence
0f51a5b1a8 Corrected the erroneous use of tabs - mistake in vim config\! 2009-01-24 19:21:09 +00:00
Greg Taylor
16e494f508 Fix HelpEntry model search field in the admin to search for topic name and the topic's text. Add missing search types to @search, aside from 'powers', which will need to be added once we figure out how powers will work. 2009-01-24 03:50:37 +00:00
Greg Taylor
7280eaf803 Add an extra_vars element to the command table that allows extra variables to be passed through the command table. Also added DOING ala MUX. 2009-01-24 03:17:43 +00:00
Greg Taylor
f2d4b3aba4 I have imported and dumped the MUX2 help files into a fixture in game/docs/help_files.json. These are now loaded on the first game's run. As we update help files and dumpdata/commit them, game admins may use the new 'update_help' manage.py command to update their copy of help files. For example: python manage.py update_helpfiles. Those with a current checkout of the source may want to do this now.
It is important to note that these are currently un-modified MUX2 help files. There are a lot of things that are not applicable, incorrect, or only partially correct. It will be an ongoing project to clean these up.
2009-01-24 03:06:18 +00:00
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