Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Learn2IRC!
Re: Learn2IRC! [message #420187 is a reply to message #420184] Thu, 18 February 2010 02:12 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
Omar007 wrote on Wed, 17 February 2010 17:41

LOL reborn we are working on the same thing, walking into the same problem!!

I already had ravens idea but it has already lost connection when it enters the loop.

This is what i did. I put it in 1 statement. That should work right?
memset(sendData, 0, 255);
		sprintf(sendData, "NICK %s\r\nUSER %s 0 0 :OTROSSB\r\n", nick, nick);
		Sock.SendData(sendData, strlen(sendData));


Also it doesnt show in the channel Sad (rarely it does Huh )
And does it also crashes your FDS on 'quit'??

EDIT: Oh and i think my message parser is OK too but i cant test that when it loses connection xD
Reborn, i would use a hostname instead of static IP if you want more 'normal' users to use it easily Razz

And sorry for sort of hijacking your topic but i have the same problem xD


When I've done mine, I will show you.


Sir Kane wrote on Thu, 18 February 2010 02:00

int len;
if ((len = sprintf(sendData, "NICK %s\r\nUSER %s 0 0 :OTROSSB\r\n", nick, nick)) != -1)
Sock.SendData(sendData, len);


Thank you, that's kind.


After the tips in this thread, I am finally getting somewhere... Smile

http://game-maps.net/staff/reborn/rebot.JPG



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: .lsd and .ldd .dbb... What should I use?
Next Topic: How do i remove...
Goto Forum:
  


Current Time: Tue Dec 31 21:12:57 MST 2024

Total time taken to generate the page: 0.01004 seconds