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
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
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
4121b54e4c
Remove some double quotes from version info.
2009-04-17 05:53:27 +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
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
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