Griatch
8799a0fd55
Added example of how to handle event errors gracefully without them taking down the server with with unhandled exceptions (this should be handled somewhere above exception too, but it's hard to tell when to do it since twisted is raising them). /Starkiel
2009-04-30 08:23:54 +00:00
Greg Taylor
70602efaa7
Remove an unneeded import that was causing a deprecation warning.
2009-04-30 02:52:16 +00:00
Griatch
a9dbac8aae
- Made many small bugfixes to the @parent and @create functions as well as their underlying methods.
...
- Made it so user #1 is also affected by the on_player_creation() function.
- Added an event folder for custom events, including a working example
- Expanded the example commands and parents to include the changes to how they should be initialized.
- Added an optional ansi scheme (not active by default)
2009-04-25 20:51:12 +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
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
51edc17d59
Command revamp broke the create command in a funky way. Fixed.
2009-02-04 18:14:25 +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
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
Greg Taylor
377844f1c6
@search is working now, aside from the flag search.
2009-01-22 14:49:58 +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
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
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
5249f27074
Things should be working again, minus the web stuff.
2008-12-15 04:35:00 +00:00
Greg Taylor
837f1152c6
Starting here, trunk is broken pending re-organizations. Check out the previous revision if you'd like to tinker.
2008-12-15 04:00:25 +00:00