Greg Taylor
b7ae985ef9
default=0 for a boolean field? wtf batman. Left over from the early days. Fixed.
2009-04-17 01:47:14 +00:00
Greg Taylor
ee8bd34bb3
Renamed at_pre_destroy() to at_object_destruction() to be consistent with at_object_creation() and at_player_creation(). Added additional documentation as well.
2009-04-17 01:43:45 +00:00
Greg Taylor
4bcbfd855a
Add at_object_creation() to basicobject.py. I'll be adding at_object_destruction() later, ran out of time right now to do so. Also added some elaboration on the purpose of __init__ to basicobject.py.
2009-04-16 14:37:58 +00:00
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
d4f80a526e
Pass on KeyError from deleting a non-existant game from the IMC2MudList.
2009-04-13 13:16:13 +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
Greg Taylor
317a4f1532
Looks like the 'who' packet doesn't have a target element in the target@destination segment of the packet. Handle this semi-intelligently when ran into.
2009-04-13 04:38:05 +00:00
Greg Taylor
859166a41c
I guess I could just go down my keyboard and hit all of the special characters instead of do this one-by-one BS :)
2009-04-13 01:38:32 +00:00
Greg Taylor
bc67af89b6
Add the period character to the list of wordchars for continuous tokens. Silly me for forgetting it.
2009-04-12 17:01:17 +00:00
Greg Taylor
dd8a05c40a
Improved the IMC2 packet lexxer to handle single quotes as regular tokenizable characters.
2009-04-12 08:36:10 +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
46f35bc574
Protect against extra equal signs in packet extra data.
2009-04-11 22:13:34 +00:00
Greg Taylor
4963dd6098
IMC2Packet class is looking pretty stout now. We should be ready to start sub-classing it to the various IMC2 packet types.
2009-04-11 21:52:56 +00:00
Greg Taylor
4428fbd336
Added stubs for all of the IMC packets. Also re-named the event.
2009-04-11 07:26:58 +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
0e3943a886
Clarify the instructions in src.scheduler.py
2009-04-06 17:29:02 +00:00
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