|
-
Sep 4th, 2003, 04:11 AM
#1
Thread Starter
New Member
I owe you a lot if you help me ... {IRC Prog. Newbee}
Dear VB programmers,
I am the webmaster of EarnRupeesOnline.com and I had decided to set up a chat forum for our visitors. Since many are on slow connections (India), Java Chat didn't become a success. So, I advised them to use IRC (DALnet) and come and chat in rooms we have created. But, the problem was, most of them didn't know how to use IRC or even to operate mIRC. So, I thought of writing a hassle-free IRC client in VB which when launched automatically connects to a random DALnet server on a random port, gives the user a random nick, and joins a all three of our channels without any input from the user.
But, when I started writing the IRC client, I had much problems understanding the IRC protocol, and had many many bugs, and the client couldn't even connect to an DALnet server that I could, with mIRC. So, I am here, asking for help from you talented programmers. "Can you please write a basic structure containing the main commands such as joining the DALnet servers, giving a random nick and connecting to 3 of our #channels?" I will design the GUI and Message sending and all...
If you are able, here are the details:
1). Once launched, it should try to connect one of the following servers (with ports0 immediately:
MesraSERVER:mesra.kl.my.dal.net:6665-6668,7000
HotspeedSERVER:hotspeed.sg.as.dal.net:6665-6668,7000
KernelSERVER:kernel.ga.us.dal.net:6665-6668,7000
BroadwaySERVER:broadway-e.ny.us.dal.net:6665-6668,7000
If not connected, it should try to reconnect after 30 seconds (again to a random server).
Also, if it is disconnected from a server, it should reconnect to the server in 30 seconds. If disconnected from a channel also, it should try to reconnect to the channel in 30 seconds.
2). Once connected to the server, it should assign a random nick to the client/user from the following array:
{user1,user2,user3,user4,user5,user6,user7,user8,user9,user10,user11,user12,user13,user14,user15,use r16,user17,user18,user19,user20}
If the random nick is already in use, it should choose another nick from the array, and so on until a nick is assigned to it.
3). Then, it should try to join the channels #EarnRupeesOnline, #EarnIndia, and #EarnRupees
Even if disconnected from any of the channels, it should rejoin in 30 seconds.
If you could help me with these basic operations (I couldn't do it without bugs), it would be a great great help to me, and I will design the GUI, Message sending and receiving on the channel and other things myself.
P.S.: I also tried Google and other sites like PSCode.com for IRC examples and have downloaded many, but they all are very complicated for me to understand, because they are coded as IRC Clients which need to connect in different ways as chosen by the user, whereas what I need is a 'simple' code that just connects to 'specific' servers & channels. So, only you could help me...
Thank you all in advance for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|