Commit graph

2866 commits

Author SHA1 Message Date
Greg Taylor
4512775dfe Fix an error when sending an invalid command at the login screen. Still hadn't adjusted to the new Command object handling messaging. 2009-04-06 17:18:43 +00:00
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
ef371aaee2 Ah heck, why not one more? 2009-01-30 06:45:18 +00:00
Greg Taylor
001a698b19 URL update for documentation. 2009-01-30 06:41:54 +00:00
Greg Taylor
9c1dc0a62c Fix a path issue. 2009-01-30 06:35:50 +00:00
Greg Taylor
fb4c50b647 Further elaboration. 2009-01-30 04:19:43 +00:00
Greg Taylor
02bc354b3d Add a note about mod_python not being recommended anymore. 2009-01-30 04:18:29 +00:00
Greg Taylor
4cfe2b6bd9 First draft of example WSGI stuff. 2009-01-30 04:16:17 +00:00
Greg Taylor
f69252a490 Discontinuing the platform-dependent startup scripts in favor of cross-platform evennia.py. 2009-01-30 03:58:22 +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
6ca32cd5e0 Add some ignores for pyc files. 2009-01-29 15:01:24 +00:00
Greg Taylor
a7ba0d0feb Adding example command module. 2009-01-27 16:34:21 +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
ee94da4bd8 Forgot to update the @cpattr help file with a minor syntax fix. 2009-01-24 20:48:57 +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
Greg Taylor
b646aa5093 As of Twisted 8.2, win32api is required for Windows. Try to import win32api before evennia.py hits Twisted and causes an un-friendly looking exception. If win32api isn't found, show an error message with the download URL. 2009-01-24 02:56:53 +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
64b3a79282 Should be the finishing touches on MUX help importer. 2009-01-22 17:07:33 +00:00
Greg Taylor
59f04e7e17 On second thought, tools is less ambiguous than util. 2009-01-22 16:56:28 +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
214534a86f Fix the Auth section not showing up in automatic admin. 2009-01-22 04:01:54 +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