RE: euLibnet and IRC
- Posted by Grape Vine <g__vine at hotmail.com> May 31, 2001
- 524 views
Thanx for code. Sure ill share mine, tho i think it will scare you. Well, none of my older code will, I lost 2K today =( Lot 100% of my Eu code <insert mild heart attack here> Ya mind sending more info on the poke4 fix? gertie at ad-tek.net wrote: > On 31 May 2001, at 22:03, Grape Vine wrote: > > > > > Yea, i dont need a gui right now, A) ill make my own when i need it B) > > im going to run this as a command line bot tell i get used to makign IRC > > > > apps > > You'll share your code too? > > Ok, here it is, use at your own risk, etc..... It's not clean, it's just > as i i used it in > testing last time. It doesn't check for err_msgs, and the do_events() > and sleep(0) need > to be tied together, so an abort can be sent to tcp4u if the server is > disconnected > during a loop somehow, etc. etc.. Oh, and the numeric parse isn't > working, etc.. I was > going to set up something along the lines of mirc's on_events{} > following the > NumericParse(). It does demo how to get on irc, and how to get and send > some msgs. > That poke4() fix to tcp4u *must* be done, since it's a bug anyhow, or > you will not be > able to connect to any ports higher than 255, and irc generally lives on > ports 6665- > 7000 and 9000! Also, you must set the ip# of the server you wish to > connect to, since i > didn't bother to do a dns on the server name. Valinor on sorcerynet is > set below. It's a > good idea to ask the server owner about testing new code on their > servers, i asked, > and i tested during a relatively idle time. The owner is mentioned in > the motd. > > And it needs a cleanup, i threw this together since i couldn't sleep one > nite due to > storms, i wrote and tested the whole thing tween 1am and 8am. > > For reference material, check out: > > RFC 1459 from > http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1459.html > or > http://ds.internic.net/rfc/rfc1459.txt > > (there are later rfcs for irc, but they don't offer anything useful) > > > and <snip> Grape Vine 13728824