Teen Programmers Unite  
 

 

Return to forum top

C++ IRC Clinet

Posted by Brok3n_Link [send private reply] at October 22, 2002, 03:08:47 AM

hi all Brok3n Link here
I was wondering if someone knew where to find some c++ source for a (pretty basic i guess) IRC client, I want to incorporate IRC into something completely different(popular game) in a MOD or something. thanks.

Posted by DragonWolf [send private reply] at October 22, 2002, 03:38:38 AM

Don't have any links but look up IRC code snippets or IRC C/C++ libraries in google, your bound to find something.

Posted by unknown_lamer [send private reply] at October 22, 2002, 09:21:18 AM

http://unknownlamer.org/code/bobot.html

It isn't an IRC client, but it contains several classes that could easily be adapted to form a client. Actually, you could use Scheme to extend it into an IRC client if you wanted to (but you'd still have the bot features). I need to fix a few bugs...(I'll do it after I quit my miserable job at the sub shop)

Posted by DragonWolf [send private reply] at October 22, 2002, 10:17:21 AM

whats a sub shop?

Posted by Neumann [send private reply] at October 22, 2002, 10:32:19 AM

A SHOP that sell SUBS is a SUB SHOP! ;o

Posted by Psion [send private reply] at October 22, 2002, 11:12:26 AM

"Sub" is short for "submarine sandwich," a long narrow sandwich.

Posted by DragonWolf [send private reply] at October 22, 2002, 12:15:17 PM

thats what I thought, only americans call it subs ^^
I only learn't what a sub was like 2 years ago when a Sub Way opened up near me.

We don't even call them Submarine Sandwiches nor alone Subs...

Posted by gian [send private reply] at October 22, 2002, 02:03:40 PM

We call them Subs in New Zealand.

Posted by jay_dee [send private reply] at October 22, 2002, 03:58:37 PM

mmmm, I like subs

Posted by mop [send private reply] at October 22, 2002, 07:50:55 PM

subs are good. Quiznos is a good place. Quiznos should be king.

Posted by Brok3n_Link [send private reply] at October 22, 2002, 09:46:03 PM

wait a sec, if bobot++ is in scheme and i wanna use vc++ i can i doo that???

Posted by Brok3n_Link [send private reply] at October 22, 2002, 09:47:05 PM

wa sorry about lst post

'm using ms c++ and the bot is in scheme? havn't checked it out yet coz i'm at school. thx for your help :)

Posted by buzgub [send private reply] at October 22, 2002, 11:51:43 PM

As I understand it, the bot is in C++ but embeds the Guile interpreter so that it can be scripted with scheme.

Posted by unknown_lamer [send private reply] at October 23, 2002, 08:53:55 AM

Yes, Bobot++ is a C++ bot that embeds Guile Scheme. You just have to configure it with --disable-scripting and it won't have scripting, otherwise you have to install Guile 1.6 and use cygwin on Windows. It uses BSD Sockets so I don't know if it will work with VC++, but the rest is just standard C++ so it should work fine (you could just rewrite the Socket class if you had to).

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.