phpsmartirc-users Mailing List for SmartIRC
Brought to you by:
meebey
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(9) |
Feb
(8) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mirco B. <me...@me...> - 2005-03-22 14:43:59
|
Hi, by default SmartIRC does not support this neither PHPs fsock* do, but when you activate the usage of sockets in SmartIRC and a little change it would work. First enable the socket usage, $irc->setUseSockets(true); then open up the SmartIRC.php file, search for socket_create() Put the following code after that: socket_bind($this->_socket, "your_ip_with_a_different_rdns_name"); this way the socket will use your other IP address. On Tue, 2005-03-22 at 15:38 +0200, Juha Partanen wrote: > Hey! >=20 > I have a problem using smartirc library to get my > irc bot connected to an irc network. >=20 > The shell i'm running the bot in, has many > options for the hostname, but the smartirc > library uses the default hostname. (obvious) >=20 > The problem is, that the default hostname has > too many connections to the network,=20 > and it's disconnected because of it. > =20 > I can succesfully connect to the network with other hostname, > in screen session in shell, so it'd work in with different hostname. >=20 > So would it be possible to set ipv6 hostname to=20 > the script, so it'd use that to connect?=20 --=20 Regards, Mirco 'meebey' Bauer PGP-Key: http://keyserver.noreply.org/pks/lookup?op=3Dget&search=3D0xEEF946C8 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M- V? PS PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y? ------END GEEK CODE BLOCK------ |
From: Juha P. <haj...@lu...> - 2005-03-22 13:41:48
|
Hey! I have a problem using smartirc library to get my irc bot connected to an irc network. The shell i'm running the bot in, has many options for the hostname, but the smartirc library uses the default hostname. (obvious) The problem is, that the default hostname has too many connections to the network, and it's disconnected because of it. I can succesfully connect to the network with other hostname, in screen session in shell, so it'd work in with different hostname. So would it be possible to set ipv6 hostname to the script, so it'd use that to connect? -- Juha Partanen |
From: <ben...@id...> - 2004-05-25 08:32:18
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Mirco 'm. B. <ma...@me...> - 2004-02-17 20:16:03
|
On Tue, 2004-02-10 at 20:01, max goldberg wrote: > Hello, I've been having a problem when a bot gets disconnected,=20 > autoreconnect makes sure that the bot will always reconnect on a=20 > disconnection, and the reconnect() function even rejoins channels, > but there doesnt seem to be an api to add channels to the _channels=20 > variable. There doesn't seem to be any documentation on how one would > add channels to be auto-rejoined on disconnect and what format they > should be given in. Can you provide me any details I may need to know to > make use of this functionality? the autorejoin feature only rejoins channel which were already joined there is no way yet of specify them manually. Mirco |
From: Mirco 'm. B. <ma...@me...> - 2004-02-17 19:59:25
|
On Mon, 2004-02-16 at 22:39, Ronald Hummelink wrote: > Hello, >=20 > I send in some patches over 6 weeks ago, any chance they will be looked > at, and either applied or rejected with reason why they are not fit for > the project? Hopefully this week I will review and include them, if someone is curious what I am doing.... I am working with others on the Debian Mono packages htto://pkg-mono.alioth.debian.org :) sorry guys for the delay... Mirco |
From: Ronald H. <ro...@hu...> - 2004-02-16 21:43:11
|
Hello, I send in some patches over 6 weeks ago, any chance they will be looked at, and either applied or rejected with reason why they are not fit for the project? Ronald Hummelink -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: max g. <ma...@ma...> - 2004-02-10 19:01:15
|
Hello, I've been having a problem when a bot gets disconnected, autoreconnect makes sure that the bot will always reconnect on a disconnection, and the reconnect() function even rejoins channels, but there doesnt seem to be an api to add channels to the _channels variable. There doesn't seem to be any documentation on how one would add channels to be auto-rejoined on disconnect and what format they should be given in. Can you provide me any details I may need to know to make use of this functionality? Thanks -Max |
From: Mirco 'm. B. <ma...@me...> - 2004-02-04 19:54:59
|
Hi, On Wed, 2004-02-04 at 20:06, Dmitry Parnas wrote: > There is one problem with DCC send. When you create listening socket > you can't specify how much to wait until client will connect (in > socket_accept). So there is no possibility to reliable handle > timeouts. First I started to emulate multithreating with > exec("dcc.php") in background (they were communicating via flag files) > but it's something that is not possible under PEAR (or am I wrong?) > course you will need to set file and directory rights before you will > can use DCC and so on. >=20 uuhh this sounds like a real problem... writing temporarly files should be ok if its placed in the system temp folder. though using shared memory or something that windooze may also support would be better than temp files... >=20 >=20 > Do you have any ideas? I'm thinking about using pcntl (Process Control > Functions) but this will require php compiled it and will not work on > windows. I can use it only for send thought and implement receive > using only sockets... Anyway, drop me few lines on that, please. >=20 no pcntl is bad, it would break windooze compatibility, the usleep() problem with windooze is already worse, lets dont make it more worse :) err are you sure that socket_accept always block even if the socket is in non blocking mode? you should experiment, if everything fails, SmartIRC may fork into 2 branches, minimal features for windows, all features for linux, but I would really like to avoid that OS mess ;) good luck and please keep me updated! I really appreciate your work! Mirco |
From: Mirco 'm. B. <ma...@me...> - 2004-02-04 19:36:32
|
Hi, On Wed, 2004-02-04 at 09:59, max goldberg wrote: > Thanks, I guess my next question would be, when is the next version=20 > officially going to be out? hhhmm not so easy to say, but there are 2 facts, first a new release is needed because of alot of bugfixed, second the documentation needs to be updated and a nice release rollout. I have problems right now scheduling my concurrent projects :) I think my /dev/brain should upgrade to an preemptable scheduler... >=20 > I think there have been plenty of additions and fixes since the last=20 > version to warrant a new version soon. I would really like to start=20 > playing with modules. >=20 about the module, that will still take a while, its only 30% done, whats missing is module unload and sharing methods between modules which is important for authorization modules. the module support will be in 0.6.0 the release which should be done is 0.5.6 > In the latest code from CVS are there any large interface changes you=20 > can think of, or is there anything that would cause a script written for=20 > 0.5.5 not to work properly? hhhmm good question :) I am not sure anymore... I think there are no BC breakages ... >=20 > I was taking a look at phpbitch in your cvs, and it looks like it=20 > provides a lot of cool functionality, do you plan on working on it any=20 > longer or releasing it to the public? >=20 hhhmm kinda, its only public via CVS, but its GPL so everyone can fork stuff if they want, phpbitch though needs a cleanup. I am more focusing on the C# version of phpbitch called sharpbitch :) Mirco |
From: Mirco 'm. B. <ma...@me...> - 2004-02-03 08:35:49
|
The CVS repository is not at sourceforge, since SmartIRC became an official PEAR package its hosted on cvs.php.net cvs -z3 -d:pserver:cv...@cv...:/repository checkout pear/Net_SmartIRC Mirco On Tue, 2004-02-03 at 04:52, max goldberg wrote: > Hello, > I was wondering how I would go about getting the latest files from CVS. > I tried : > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/smartirc co=20 > smartirc >=20 > but get the following message: >=20 > cvs checkout: authorization failed: server cvs.sourceforge.net rejected=20 > access to /cvsroot/smartirc for user anonymous > cvs checkout: used empty password; try "cvs login" with a real password >=20 > Is the repository named something else? >=20 > Thanks in advance, > -Max >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Phpsmartirc-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpsmartirc-users --=20 Mirco 'meebey' Bauer PGP-Key: http://search.keyserver.net:11371/pks/lookup?op=3Dget&search=3D0x5051C9B9 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y? ------END GEEK CODE BLOCK------ |
From: max g. <ma...@ma...> - 2004-02-03 03:52:40
|
Hello, I was wondering how I would go about getting the latest files from CVS. I tried : cvs -z3 -d:pserver:ano...@cv...:/cvsroot/smartirc co smartirc but get the following message: cvs checkout: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/smartirc for user anonymous cvs checkout: used empty password; try "cvs login" with a real password Is the repository named something else? Thanks in advance, -Max |
From: Dmitry P. <pa...@to...> - 2004-01-19 03:33:49
|
Hello. How can I access SmartIRC cvs? I made few bugfixes and small changes to it, but I want first to see is they is already fixed in cvs version. ---- Sincerely, Dmitry Parnas www.TopProgs.com technical director and co-founder |
From: Ronald H. <ro...@hu...> - 2004-01-12 11:31:06
|
Hi, Sending in the 4th patch i think i've forgotten to send at all, and resend the one i think never made it :/ 10SmartIRC-multiplehandlermatching.patch 20SmartIRC-login-nickarray.patch 30SmartIRC-delay-reconnect.patch 40SmartIRC-autoretry.patch The autoretry patch fixes in a much cleaner way the bug i hacked in at first for the 0.5.5 version. I'm thinking about the logging idea, i still want mysql logging, but it needs to be done cleaner then the dirty hack i have on 0.5.5 Hope to hear about what you thing about the patches soon, am kindof waiting ;-) Ronald -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Ronald H. <ro...@hu...> - 2004-01-03 01:01:51
|
Hi, This one implements a configurable delay before reconnecting. This avoids using loads of cpu if you loop over many attempts (i have not 'ported' my quickfix to CVS yet) and avoids dossing a site ;) Next step will be to configure the number of attempts and reset the counter on success (not done so by quick fix for 0.5.5) Question though: I was using netcat in listen mode to make my bot connect to. If I shutdown netcat using ctrl-c SmartIRC starts looping over _rawreceive() at 100% cpu. The socket appeared to be in CLOSE_WAIT state according to netstat and stayed like that for ages without the bot going into reconnect... rawreceive is quite a complex function. no idea where to look... Ronald PS: I send a new message with the nickname array in login() patch attached, but i have not received it back from SF; nor does it show in the archives. Please let me know if you have seen it so i can resend if needed. PSS: i got a pserver CVS running where i work from: cvs -d :pserver:an...@hu...:/home/cvsroot co Net_SmartIRC No viewcvs or similar yet though. The initial import is as i pulled it from cvs.php.net 1-1-2004 -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Mirco 'm. B. <ma...@me...> - 2004-01-02 19:54:54
|
there is no attachment? Mirco On Fri, 2004-01-02 at 12:42, Ronald Hummelink wrote: > Hi, >=20 > Next feature: login() now accepts a string or an array so it is backward > compatible. _nicknameinuse() will now search the array for the next nick > before it falls back to old behaviour. > Unfortunately cannot really check back and use earlier nicks in the > array because i do not know how to verify before sending NICK to the > server wether a nick is in use. (blindly starting at first nick in the > array will potentially create infinite loop) >=20 > Diffed on top of my last patch, but should apply with only offset to > -HEAD >=20 > Ronald |
From: Ronald H. <ro...@hu...> - 2004-01-02 11:42:53
|
Hi, Next feature: login() now accepts a string or an array so it is backward compatible. _nicknameinuse() will now search the array for the next nick before it falls back to old behaviour. Unfortunately cannot really check back and use earlier nicks in the array because i do not know how to verify before sending NICK to the server wether a nick is in use. (blindly starting at first nick in the array will potentially create infinite loop) Diffed on top of my last patch, but should apply with only offset to -HEAD Ronald -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Mirco 'm. B. <ma...@me...> - 2004-01-02 01:04:19
|
Hiya > It claims i'm subscribed, but nevertheless i didn't get your mail until > I checked the archives. strange, maybe re-subscribe? I got my email which I sent... >=20 > I can switch to CVS-HEAD and implement what I changed from there, need > to do some things in a cleaner way anyway :-) >=20 cvs -d :pserver:cv...@cv...:/repository checkout pear/Net_SmartIRC voila ;) > I will summarize what changes i have made so you can comment wether you > see it fit as a functionality to put in CVS (it surely would be awfully > nice if i can match what I want with things you like to put in cvs so i > don't really run my own personal fork ;P): >=20 :) nobody forces you to create forks and keep backporting your features.. putting the changes into mainstream is often easier.. > 1) I have a setAltnicks(array) which is walked in case of nick collision > (nicer then botna421 imho) botna323 is stil used as fallback in case all > altnicks are colissions. > 2) optional setting to not only match the first handler (I need to match > more then just the first (infobot + lastseen functionality) :)) > 3) I propose to rename "log" to "debug". Then add seperate "log" > settings which uses much the same code paths. From there I added logging > to mysql. > 4) I have a delay in reconnecting, adjustable. Can off course limit the > numer of reconnect attempts (adjustable, has to be reset on succesful > connect i think. (which is not done in the minor patch I send)) nice things! > Ugh do I still make sense :P? >=20 hehe sure.. Mirco |
From: Ronald H. <ro...@hu...> - 2004-01-02 00:40:19
|
Hi, This is one of the adjustments I need to do what I want, take a look at it :-) Diff vs. CVS as of a few hours ago (1-1-2004). Ronald Ps: mailreceiving was broken due to typo in procmailrc so its fixed now :) -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Ronald H. <mai...@hu...> - 2004-01-01 20:28:28
|
On Sun, 2003-12-21 at 02:57, Ronald Hummelink wrote: > Hello Mirco, > It claims i'm subscribed, but nevertheless i didn't get your mail until I checked the archives. I can switch to CVS-HEAD and implement what I changed from there, need to do some things in a cleaner way anyway :-) I will summarize what changes i have made so you can comment wether you see it fit as a functionality to put in CVS (it surely would be awfully nice if i can match what I want with things you like to put in cvs so i don't really run my own personal fork ;P): 1) I have a setAltnicks(array) which is walked in case of nick collision (nicer then botna421 imho) botna323 is stil used as fallback in case all altnicks are colissions. 2) optional setting to not only match the first handler (I need to match more then just the first (infobot + lastseen functionality) :)) 3) I propose to rename "log" to "debug". Then add seperate "log" settings which uses much the same code paths. From there I added logging to mysql. 4) I have a delay in reconnecting, adjustable. Can off course limit the numer of reconnect attempts (adjustable, has to be reset on succesful connect i think. (which is not done in the minor patch I send)) 5) maybe something I forgot :P but i will run into it soon enough if I switch to a clean CVS checkout :) Ugh do I still make sense :P? Ronald Hummelink -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Mirco 'm. B. <ma...@me...> - 2004-01-01 14:05:16
|
Big thanks for the patch, lol that is really a braindead bug from me :) you are right, the tries is never reached. Connect -> Reconnect -> Disconnect/Connect -> Reconnect and so on :) I will include this patch soon into CVS HEAD of SmartIRC, I think I still have to backport some fixes into 0.5.x branch... I can really suggest you to upgrade to CVS HEAD of SmartIRC; it has so much new goodies (like module support) ;) It would be really nice from you if you could send me a full patch of your version (diffed against 0.5.5 vanilla), then I can move all goodies which I also want/need for SmartIRC into the official version... =20 Mirco Bauer |
From: Ronald H. <mai...@hu...> - 2003-12-21 01:57:29
|
Hello Mirco, So i get to post the first real message ;D Small bug Small patch. It appears to me the $tries++; was never reached after reconnect() in the code. I moved it before calling reconnect() and it works for me. Why the code wasn't reached may be worth investigating, but I haven't done so. This should make it in a better shape nontheless. Thanks for the class, it is very very helpful to me (even though i'm making so many additions something is gonna shoot me in the foot soon) Ronald Hummelink -- Linux is like a small snowball rolling downhill. Microsoft is just waiting down the mountain... |
From: Mirco 'm. B. <php...@me...> - 2003-11-30 22:12:37
|
test2 |
From: Mirco 'm. B. <php...@me...> - 2003-11-30 18:01:12
|
test 123 Mirco Bauer |