Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ IRC Bot Skeleton


ghost's Avatar
0 0

Yeah, i've been looking for a skeleton for a while, and I can't seem to find one (Even googled =O).
Know of any decent ones?


ghost's Avatar
0 0

Program your own, dude, and stop looking for someone else work.

You won't learn much from stealing other people's work, and putting your name all over it.

That way, you'll learn about C++ Socket Programming and the IRC protocol, commands, and regulations.


ghost's Avatar
0 0

Good advice, I think I'm going to start learning those now. :D


ghost's Avatar
0 0

Netfish -> You're actually wrong in what you're saying. The first use of a skeleton is to learn the basic of something and to have something that simplify thing. Using a skeleton is in a way the same as using a librairie and you aren't copying someone else work, you're using it to make something with it.

If you know nothing about what the personn ask about the only tip I can tell you is to say nothing.

Fatigue -> T-Metal has coded a IRC Bot, you can find it in the code bank section programming challenge. Otherwise try look for the general IRC protocol ,but there isn't a lot of documentation about it. By looking at different bot that already have been made you'll find more info.


ghost's Avatar
0 0

you mean to tell me netfish isn't right? isn't he always right? lol


ghost's Avatar
0 0

Socket Programming http://www.madwizard.org/view.php?page=tutorials.networking.contents&lang=cpp http://beej.us/guide/bgnet/output/htmlsingle/bgnet.html http://forum.jerrata.com/index.php?topic=4.0 http://msdn2.microsoft.com/en-us/library/ms738545.aspx http://www.nullterminator.net/winsock.html

IRC Protocol http://www.ietf.org/rfc/rfc1459.txt

Extra Socket Stuff http://msdn2.microsoft.com/en-us/library/ms738649.aspx http://msdn2.microsoft.com/en-us/library/ms740621.aspx http://tangentsoft.net/wskfaq/newbie.html#howclose

Suggested Reading for Generic Purposes http://www.cplusplus.com/doc/tutorial/classes.html http://www.cplusplus.com/doc/tutorial/inheritance.html http://www.cs.wisc.edu/~hasti/cs368/CppTutorial/NOTES/CLASSES-INTRO.html http://en.wikibooks.org/wiki/C++_Programming/Polymorphism http://www.cplusplus.com/doc/tutorial/polymorphism.html http://www.cs.bu.edu/teaching/cpp/polymorphism/intro/

Also, the use of a skeleton is quite obvious. It provides a basic template on which to build off of, but without first understanding how it works and simply modifying it with C+P'd code from various sources is rather unproductive. Learn the basics and work your way up to the more complicated stuff. Don't concern yourself with security so much as you do with functionality. Once it works you can build off of it and further improve its capabilities.

Edit: Two links won't let me set them as clickable so C+P is your friend.

Cheers, ~T


Uber0n's Avatar
Member
0 0

Looks like we got some good reading tips there ;) Thanks T-Metal-Risen!