Greg Taylor
36e23bfd4a
Modularizing ANSI parsing. This may break stuff. It's not quite where I want it just yet.
2009-04-13 22:44:44 +00:00
Greg Taylor
31a78f9fb6
* Added the 'imclist' command to show other games connected to IMC.
...
* Added the automatic cleaning/pruning code to weed out entries that are probably disconnected.
* Added 'imcwhois <player>' command. Still needs some sanitizing on the outgoing string.
* Added the beginnings of a -reply packet handler through reply_listener.py.
* Fleshed out a few more packets in packets.py.
Next up: Make the ANSI system a little more modular. Create a class for ANSI tables so developers can pick and choose different tables on their own, but keep the same API. This will be used so we don't have to copy/paste src/ansi.py to src/imc2/ansi.py and duplicate stuff.
2009-04-13 06:36:51 +00:00
Griatch
6f11a1a62c
After feedback, setting the default help index (the one you see when just writing "help" without
...
any arguments to the default static mux topic list instead. The dynamic index
is a bit overwhelming. It's reachable from "help index" See also "help help" and "help help_staff".
2009-04-12 00:32:28 +00:00
Griatch
4cc8e57774
Adds better help functionality
...
- expanded help command, allowing adding, deleting and appending to help the help database
- auto-doc functionality using the __doc__ property of commands
- markup in help text for creation of multiple help subtopics at once
- dynamic help index (use 'help topic' to get the normal mux topic list)
/Starkiel
2009-04-11 23:17:44 +00:00
Greg Taylor
191f49ff4c
Adding a periodic IMC2 keepalive event. Other IMC2-connected games are now aware of our presence via the keepalive. Woot.
2009-04-11 06:59:25 +00:00
Greg Taylor
a7e89c1e54
Adding the beginnings of IMC2 support. We are now able to connect and authenticate with an IMC2 network, theoretically without blocking our server thread. We can't actually do anything useful just yet, but stay tuned.
2009-04-11 05:55:26 +00:00
Greg Taylor
65d8ac8bdc
Disallow re-naming and re-aliasing duplicates.
2009-04-06 22:24:49 +00:00
Greg Taylor
899136760e
Add the home command.
2009-04-06 22:07:41 +00:00
Greg Taylor
867fb47be7
alias, aliases, same thing.
2009-04-06 22:00:29 +00:00
Greg Taylor
48204c5dec
Adding @reload/aliases.
2009-04-06 22:00:08 +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
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
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
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
4c562cd6ce
Work on the comsys. @cwho is working now.
2009-01-22 03:19:40 +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
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
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
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
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