Greg Taylor
331f149dfb
Specify the id for the Limbo room on creation to avoid PKey duplication on postgres. Not sure why it was happening to begin with, but whatever.
2009-04-30 02:47:27 +00:00
Greg Taylor
7b0bd55200
* Change the CommChannelMessage's 'message' field from a CharField to a TextField. This will allow messages that are greater than 255 characters to be stored. You'll want to drop your channels_commchannelmessage table and run syncdb again.
...
* Update the list of database drivers in the comments in config_defaults.py.
2009-04-30 02:40:11 +00:00
Greg Taylor
9954700bdd
Fixed formatting on @clist.
2009-04-29 01:03:26 +00:00
Greg Taylor
547a5dd139
* Fixed channel history to show in the correct order now.
...
* Two channels are now created by initial_setup.py for informative emits: MUDConnections and MUDInfo.
* MUDConnections now shows a connection/login/logout log.
* MUDInfo shows general informative messages about the server state. For now IMC emits here when things happen (connection, disconnection, etc.).
Eventually we'll want to restrict these to staff only, but it's not high priority atm.
2009-04-29 00:50:44 +00:00
Greg Taylor
566a02b848
We now have the ability via @service to list, start, and stop Twisted services. In this case, this just lets us start/stop IMC2 right now. As people write more services to plug in in the future, this may expand.
...
@service/list will show you the service names. If you see that your IMC has died due to an error, @service/start IMC2 will get it up and running again. I've also added an 'imcstatus' command to show more detailed information about your IMC2 connection.
2009-04-28 23:49:49 +00:00
Griatch
b63bcc6132
Removed an unneeded debug logger entry from the example event to avoid spamming the log.
2009-04-26 11:04:54 +00:00
Griatch
54e2564a9f
Just adding a few lines of README for those not aware of what to do about the docs/doxygen folder.
2009-04-26 07:55:25 +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
Griatch
a32840002c
This change to set_script_parent() is also needed to get the previous @parent fixes to work, sorry for the omission.
2009-04-25 18:05:46 +00:00
Griatch
9d199032b0
Modifications to the @create and @parent commands, to safeguard against erroneous scriptlink names as well as allowing to define parent upon @creation. The @parent command calls at_object_creation(), seems that behaviour is the intuitive one.
2009-04-25 17:41:58 +00:00
Greg Taylor
9abde7b60f
End all 'say' messages with a 'normal' ansi character to prevent bleedage. Also, added the beginnings of an IMC2 ansi parser.
2009-04-25 07:13:19 +00:00
Greg Taylor
0ad8c88c22
Comment elaboration.
2009-04-25 06:32:47 +00:00
Greg Taylor
2cc3d98810
@scriptcache is now just for displaying the contents of the script cache. After changing a script parent, you may now @reload/script to apply any changes. @reload with no arguments will now show you all of the possible switches. Also added an 'all' switch that will reload everything in one fell swoop.
2009-04-25 06:30:18 +00:00
Greg Taylor
ffa03309fc
Local object command tables are now in. See game/gamesrc/parents/examples/red_button.py for example. Note that local command matches will override global matches. Command handler short circuits on the first command match. This will typically be the object with the lowest ID.
2009-04-25 06:11:42 +00:00
Greg Taylor
723cdab4aa
Make @clist actually show channel descriptions instead of 'No description' all the time.
2009-04-25 04:34:29 +00:00
Greg Taylor
a8434e3c97
Alphabetize imclist output.
2009-04-25 04:32:47 +00:00
Greg Taylor
d8f6074f10
Enable to KeelAliveREquest on IMC2 connection.
2009-04-21 13:36:11 +00:00
Greg Taylor
2d6ef25081
Handle autosetup and tell packets correctly.
2009-04-20 22:34:16 +00:00
Greg Taylor
c18937d3ba
Fix page to use the new return value from get_attribute_value.
2009-04-20 22:29:54 +00:00
Greg Taylor
5ec19c2645
Actually, I did mess up and not commit the channels app. Yick. Fixed.
2009-04-20 02:45:40 +00:00
Greg Taylor
829b91dcce
To prevent funkage, added some checks to make sure IMC2 is enabled before messing with IMC stuff on @cemit.
2009-04-17 14:26:01 +00:00
Greg Taylor
4121b54e4c
Remove some double quotes from version info.
2009-04-17 05:53:27 +00:00
Greg Taylor
67d3d5a3c5
Don't show dbrefs on @clist.
2009-04-17 05:35:42 +00:00
Greg Taylor
5372bb5a05
The IMC2 client now sends and receives. For most, this should be all that is needed. There are a bunch more support commands that will need to be implemented, as well as a few other things, but this is very usable now.
2009-04-17 05:20:55 +00:00
Greg Taylor
9f86a4c586
I've been meaning to do this for a while as well. Break CommChannel and CommChannelMessage out into a separate app. I had them lumped in with objects/models.py due to some funkage with the admin site registering that is now resolved.
...
NOTE: You will need to syncdb and re-create any channels you may have had. Sorry for the inconvenience, we're still early enough in development where breakages like this may happen once in a blue moon.
2009-04-17 04:15:54 +00:00
Greg Taylor
42f11b208b
Remote IMC2 channels can now be listened to via IMC2 bindings. For this to work, create an IMC2ChannelMapping object with the channel you'd like to serve as the gateway to the remote IMC2 channel. Enter the IMC2 channel's name as the imc2_channel_name field and make sure the object is enabled. Any incoming ice-msg-b packets directed at your chosen channel will now be emitted to the appropriate channel as if it were local, with one difference: the user name is sender@origin. Sending messages is hopefully soon to follow.
2009-04-17 03:34:46 +00:00
Greg Taylor
573d1b6e88
Finally got around to creating admin.py files for all of the apps. This will prevent some really weird import errors and fixes an issue with the Attribute model's admin display. May also cut resource usage slightly for MUD server instances. Needs more testing!
2009-04-17 03:08:18 +00:00
Greg Taylor
1da2179ee6
Had a printed debugging statement stuck in here. Whoops.
2009-04-17 02:57:43 +00:00
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