| View previous topic :: View next topic |
| Author |
Message |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Tue Aug 23, 2005 9:14 pm Post subject: |
|
|
Actually I used to get an exactly similar error for one of my recent scripts, which happened occasionaly. I never could figure it how and why it was happening? is ($chan == "*")? maybe? but why? hmmm. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Aug 23, 2005 10:10 pm Post subject: |
|
|
| awyeah wrote: | | Actually I used to get an exactly similar error for one of my recent scripts, which happened occasionaly. I never could figure it how and why it was happening? is ($chan == "*")? maybe? but why? hmmm. |
possibly incorrect handling of FLUD bind; * is passed in chan parameter for private msg/ctcp flood |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Aug 24, 2005 7:14 am Post subject: |
|
|
| minted wrote: | also im still on 4.2, i didnt see anything new in 4.3 that would be worth upgrading.
tnx in advance |
Then I suggest you don't rely on your sight anymore, always upgrade your scripts.
| Quote: | 4.3: Fixed the "logical" error in the mass kick, ban and deop
protections. Also fixed a bug in the nick binds procs and added
the ability to use "*" for chans if you want the script to work
on all channels. |
Obviously that error has been fixed in this version.  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Wed Aug 24, 2005 7:57 am Post subject: |
|
|
| demond wrote: | | awyeah wrote: | | Actually I used to get an exactly similar error for one of my recent scripts, which happened occasionaly. I never could figure it how and why it was happening? is ($chan == "*")? maybe? but why? hmmm. |
possibly incorrect handling of FLUD bind; * is passed in chan parameter for private msg/ctcp flood |
I don't have bind FLUD or anytype of flud "*" binded for my drone nick kick -- in the drone nick remover script I released. The only binds that I have are bind join, bind nick, bind mode and bind kick for the kick counter. Still some user using that script emailed me and reported me the error. It happens very occassionaly since I have never encountered it myself, but the script works fine. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Aug 24, 2005 9:11 am Post subject: |
|
|
| awyeah wrote: | | I don't have bind FLUD or anytype of flud "*" binded for my drone nick kick -- in the drone nick remover script I released. The only binds that I have are bind join, bind nick, bind mode and bind kick for the kick counter. Still some user using that script emailed me and reported me the error. It happens very occassionaly since I have never encountered it myself, but the script works fine. |
This happens in nick binds when the bot changes its nick outside a channel (I assume) so adding a check like this:
| Code: | | if {[string first # $chan] != 0} {return 0} |
will solve this problem. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Wed Aug 24, 2005 11:34 am Post subject: |
|
|
Okay thanks, I'll give it a go. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
Mash Voice
Joined: 29 May 2004 Posts: 24
|
Posted: Tue Nov 01, 2005 8:35 am Post subject: Q to putdccraw |
|
|
Is it possible to change all Que function of this script to putdccraw with addon script ..? i know the outcome of it.. still..
thanks.. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Mash Voice
Joined: 29 May 2004 Posts: 24
|
Posted: Wed Nov 02, 2005 1:05 am Post subject: |
|
|
thanks for the reply, I know the code format, If i were change each kick and ban to putdccraw individually.. it a time consuming,
I jus want to rename all the putquick Que to putdccraw with a small script .. to get that to code, i dont have much tcl knowlegde... if you dont mind .. you could help me..with it..
thanks |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Nov 02, 2005 2:24 am Post subject: |
|
|
| Mash wrote: | | If i were change each kick and ban to putdccraw individually.. it a time consuming |
And you think Sir_Fz has nothing else better to do all day?
A decent text editor can simply Replace the selected text with the desired text throughout the entire document.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Mash Voice
Joined: 29 May 2004 Posts: 24
|
Posted: Wed Nov 02, 2005 3:45 am Post subject: |
|
|
| Quote: | | And you think Sir_Fz has nothing else better to do all day? |
Only asked him, if he could code me 4 or 5 line script that would rename all the putquick Que to putdccdraw rather than going thru putquick function individualy tru a text editor coz the script is enormous, and doing so might trigger errors for sure , anyway.. thanks.. i will tryin doing your method  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Nov 02, 2005 8:47 am Post subject: |
|
|
I did mention "decent", and it only takes a second or two using Search~Replace and then "Find what:" "Replace with:" and then pressing "Replace All" (depending on text editor used). _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Sat Nov 05, 2005 8:34 am Post subject: |
|
|
hey Sir_Fz
Replace:
| Quote: | | allprotection4.3.zip |
From:
| Quote: | | allprotection4.4.zip |
In your earlier post  _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Nov 05, 2005 11:00 am Post subject: |
|
|
Good eye there mate, it's fixed.
Just a side note, this is a beta version that I've been testing for a while now. It has a lot (I mean a lot) of changes in it, especialy in code. And most bugs have been fixed from version 4.3. Hopefully 4.5 will be the last release with no bugs what so ever.
PS: There's a bug in 4.4b20 which I can't fix right now since my PC is out of order (again). So, incase you need it to be fixed soon, replace $txtc($uhc) and $notccf($uhc) with $o. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Nov 05, 2005 2:46 pm Post subject: |
|
|
WARNING: [putdccraw] should NOT be used for time-critical (multiple) output - most IRC servers implement command pace limitations, i.e. if you (or your bot) issue MODE, PRIVMSG and many other commands more than once in a second or two, all of them but the first will be ignored
when you use the normal eggdrop queueing system (via [putserv] et al), the proper pacing is automatically taken care of; however, that's not the case with [putdccraw] which bypasses bot's internal queues _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|