pyIRCMUD: my little pet project

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
roothorick
Posts: 12
Joined: Wed Jun 30, 2004 2:37 pm

pyIRCMUD: my little pet project

Post by roothorick »

I've been working on this cute little bot for quite some time now. It's a primitive wannabe MUD that runs on top of an IRC server. Unfortunately, as it is currently designed it only works with certain IRCds (Unreal being one of them) but I'll eventually add a toggle to allow it to work with all IRCds. (If you're curious, it (ab)uses multiple recipient PRIVMSGs in order to conserve bandwidth. However, not all IRCds, in particular dancer-ircd (at least under some configurations) don't support such PRIVMSGs.)

For the Python geeks in the crowd, it uses the Twisted networking framework's IRC module, although it does a lot of the actual messages sent by itself (as it needs to specially craft the multiple recipient PRIVMSGs -- such behavior isn't directly supported by Twisted).

No source code until release, but believe me, the world will see some.

Here's a sample of the bot at this point in action. Currently, you can wander from room to room, and talk to people in the room you're currently in. (Parts have deliberately been edited for what I hope to be obvious reasons, also note that I'm currently running with a two-room test world, it presently supports rooms as large as can fit into memory but it has leaks all over the place)
[18:24] <roothorick> login ********
[18:24] <NonseMUD> Please Wait...
[18:24] <NonseMUD> Welcome back, roothorick!
[18:24] <NonseMUD> You are standing on a small outcropping, with 500-foot drops all around you, except to the south, where instead rests what appears to be a featureless white cube with a 6-foot-by-6-foot hole in it. It's a sunny day.
[18:24] <NonseMUD> Exits: s
[18:24] <roothorick> work you *****
[18:26] <roothorick> cool
[18:26] <roothorick> can you see this?
[18:26] <NonseMUD> <disturbed> yea
[18:26] <NonseMUD> <disturbed> :D
[18:26] <NonseMUD> <disturbed> sup
[18:26] <roothorick> it seems to be working
[18:26] <NonseMUD> <disturbed> this is elite
[18:26] <NonseMUD> <disturbed> dude i love this ting
[18:26] <roothorick> lol
[18:26] <roothorick> it's nowhere near done
[18:27] <NonseMUD> <mati> hello morons
[18:27] <roothorick> mati!
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Whoa, is that redirecting channel messages from one chan into another?! I've always wanted to do that (virtual channel, of sorts)... but have never had the time to attempt it. I've seen bots linking channels, hell, even NETWORKS together :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

w00t wrote:Whoa, is that redirecting channel messages from one chan into another?! I've always wanted to do that (virtual channel, of sorts)... but have never had the time to attempt it. I've seen bots linking channels, hell, even NETWORKS together :)
IIRC, eggdrop does this just as well :P .
roothorick
Posts: 12
Joined: Wed Jun 30, 2004 2:37 pm

Post by roothorick »

Actually, that's in a privmsg by itself. It's essentially creating a whole bunch (one for every (in a production) ~1000000+ rooms) of virtual channels for people to talk in. That's not the ultimate purpose of the bot anyway :)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Perhaps that isnt it's purpose, I find that cool :P I plan to modify my PHP bot to do this someday...

And eggdrop, well, let's just say I don't like eggdrops at all. They seem rather stupid to me. (or is it just the bad quality scripts). I'll make my mind up when 2.0 gets released.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Locked