Hello There, Guest!
View New Posts  |  View Today's Posts
[Source] Create your own IRC Client [C#/VB.Net]

ii 
  • 1 Vote(s) - 5 Average


12-05-2015, 04:20 PM #181
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Create your own IRC Client [C#/VB.Net]
(12-03-2015, 08:31 AM)LibTiff Wrote:  So correcting the Unicode character gets me here. Surprisingly you are right (AGAIN) about the authentication thing but i still dont understand why. Since i can connect using mIRC to the server without a registered account. So what is the "NOTICE: You have not registered" mean??"

Also after some google ive found the server sources : https://github.com/NikosPapakonstantinou/inspircd
and the m_sasl.cpp: https://github.com/NikosPapakonstantinou...m_sasl.cpp

Code:
:x01.mirc.com.gr NOTICE Auth :*** Looking up your hostname...
:x01.mirc.com.gr NOTICE Auth :*** Could not resolve your hostname: Domain name not found; using your IP address (46.251.124.136) instead.
:x01.mirc.com.gr CAP 539AAFPDH LS :multi-prefix sasl tls
Token=539AAFPDH
Client: CAP REQ :multi-prefix SENT
:x01.mirc.com.gr 931 LibTiff :Malicious or potentially unwanted softwares are not WELCOME here!
:x01.mirc.com.gr PRIVMSG LibTiff :VERSION
Client: VERSION SENT
Malicious or potentially unwanted softwares are not WELCOME here!
:x01.mirc.com.gr CAP LibTiff ACK :multi-prefix
:x01.mirc.com.gr 451 LibTiff NOTICE :You have not registered
The thread 0x2538 has exited with code 259 (0x103).
ERROR :Closing link: (LibTiff@MY.IP.X.X) [If you are having problems connecting to this server, please get a better CLIENT or visit http://mirc.com.gr for more info.]
(LibTiff@MY.IP.X.X) [If you are having problems connecting to this server, please get a better CLIENT or visit http://mirc.com.gr for more info.]

A /nickserv identify command is used to identify or "login" as a registered nickname. I use /nickserv register to register to the server with a nickname. Perhaps the nickname you are using is not registered?

Note, I've had issues with connecting to some servers with a nickname that I had registered in the past, and it seemed to have been removed, forcing me to re-register. Just a stupid guess, but make sure that this isn't the case for that nickname on the specified server too.

edit: I think connecting to the server and sending the identify command is responding with the "not registered" message. If you avoid sending the identify command it might not bark at you with that response (NOTICE). If you want a quick test, see if you can register with another irc client, and identify through your program with the proper credentials to see if that message goes away.
This post was last modified: 12-05-2015, 04:23 PM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

12-07-2015, 06:59 AM #182
LibTiff
Junior Member
**
Posts: 15 Threads:0 Joined: Aug 2015 Reputation: 0

RE: Create your own IRC Client [C#/VB.Net]
I can normally connect to the server with a different client (mIRC) without providing a registered nickname...
I can put Test1234 and still connect to the server , so it must be something else

12-09-2015, 05:46 PM #183
Musyanon
Junior Member
**
Posts: 2 Threads:0 Joined: Nov 2015 Reputation: 0

RE: Create your own IRC Client [C#/VB.Net]
Hello, guys !

It's possible to count users in channel with a command and get it to textbox ?

thank you

12-11-2015, 07:46 AM #184
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Create your own IRC Client [C#/VB.Net]
You'd simply listen to the UpdateUsers even and use the count from that. If you want it on command, you could send the raw command to update the list. I think it's USERS or something.

08-27-2016, 09:02 PM #185
Trekkan
Junior Member
**
Posts: 2 Threads:1 Joined: Aug 2016 Reputation: 0

RE: Create your own IRC Client [C#/VB.Net]
I realize this is an old thread, but I was attempting to use this in VS2015 and am getting the following error:
Severity Code Description Project File Line Suppression State
Error BC31029 Method 'irc_ChannelMessage' cannot handle event 'ChannelMessage' because they do not have a compatible signature. IrcClientDemoVB G:\Source Code\vs2015\IrcClientDemoVB\IrcClientDemoVB\Form1.vb 27 Active

This is happening for any events. Any suggestions on what I can do to fix it? I've done what I can, but as the demo doesn't work (I think due to VS2015), everything "looks" right. Thanks much!

10-01-2016, 06:57 PM #186
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Create your own IRC Client [C#/VB.Net]
Your event signature doesn't match. Check the delegate for the event. Signature should be:
Code:
private void client_ChannelMessage(object sender, ChannelMessageEventArgs e) { ... }

Code:
client.ChannelMessage += client_ChannelMessage;
This post was last modified: 10-01-2016, 07:01 PM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲


ii 


Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
   IRC Client Class KoBE 110 71,543 10-01-2016, 06:52 PM
Last Post: AceInfinity
Star  Multi-Client Server Async Socket Example KoBE 165 163,680 09-10-2016, 05:17 AM
Last Post: R4TK3N
  Telnet Client AceInfinity 5 2,638 06-05-2016, 07:48 PM
Last Post: AceInfinity
   Twitch chat bot (irc client) dmgvol 11 18,932 08-24-2015, 11:59 PM
Last Post: Signal_20
   Justin.tv and Twitch.tv chat client. KoBE 41 21,612 07-13-2015, 11:02 PM
Last Post: KoBE


Users browsing this thread: 1 Guest(s)