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

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Feb 10, 2006 2:42 am Post subject: |
|
|
this happens as a side effect of your xchannel chansettings not being properly initialized after (re)start loading the script for the first time
how long does it take for your bot to complete (re)starting process? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Feb 10, 2006 8:36 am Post subject: |
|
|
What I (last) posted occurred not by restart/rehash; everything was loaded and I dynamically added the channel. There seems to be no (apparent) problem with a static channel.
The following excerpt of a log occurred after the bot was deoped in its' channel (seems it banned a "drone", a SOp in fact; Opposing):
| Code: | [09:08] *** Requesting ops from ChanServ on channel #egghelp.org
[09:08] Tcl error [::xchannel::mass]: can't read "maxr": no such variable
[09:08] Tcl error [::xchannel::repeat]: can't read "maxt": no such variable
[09:09] Last message repeated 5 time(s) |
Bear in mind that all this is happening with desired settings enabled. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Feb 10, 2006 10:44 am Post subject: |
|
|
| Alchera wrote: | | (seems it banned a "drone", a SOp in fact; Opposing) |
lol, I came back home yesterday and found out that I was kicked like 60+ times for being a possible drone by your bot  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Feb 10, 2006 6:47 pm Post subject: |
|
|
| Sir_Fz wrote: | | Alchera wrote: | | (seems it banned a "drone", a SOp in fact; Opposing) |
lol, I came back home yesterday and found out that I was kicked like 60+ times for being a possible drone by your bot  |
I woke up and saw it. LOL
You're safe now, and everyone else, I removed the script from the bot. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Feb 10, 2006 11:44 pm Post subject: |
|
|
| Alchera wrote: | What I (last) posted occurred not by restart/rehash; everything was loaded and I dynamically added the channel. There seems to be no (apparent) problem with a static channel.
|
I know that; that's why I said it's a side effect of incomplete initialization - see the code, it's obvious maxr and maxt should have been initialized in x:mass:rate, and obviously they have not, most likely due to aforementioned (re)start issue
| Quote: |
The following excerpt of a log occurred after the bot was deoped in its' channel (seems it banned a "drone", a SOp in fact; Opposing):
|
*shrug*
you of all people should have known that you need to experiment with x:drone:score and set it to suit your particular needs before enabling +x:drone
it's fuzzy logic baby, not exact science _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Feb 10, 2006 11:54 pm Post subject: |
|
|
| Alchera wrote: |
You're safe now, and everyone else, I removed the script from the bot. |
instead of helping resolving the issue (if any), you chose not to deal with it any further
so I'll consider any further postings from you in this thread irrelevant _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Feb 11, 2006 8:15 pm Post subject: |
|
|
| demond wrote: | | you of all people should have known that you need to experiment with x:drone:score and set it to suit your particular needs before enabling +x:drone |
The nick, Opposing, for a start is *not* considered a "drone" in my opinion; it contains vowels!
I also previously stated I had "desired settings enabled"; settings I was happy with, including x:drone:score, were left alone. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 2:48 am Post subject: |
|
|
actually, the likely culprit for that is again your screwed initialization which must have zeroed x:drone:score
so if you still consider using the script, either fix your bot to complete (re)starting in a sane period of time, patch the script by increasing reloading delay, or manually fix x:settings after adding new channels _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 3:00 am Post subject: |
|
|
on a second thought... you do (chan)save/rehash after adding new channel, or don't you?
if not, do so; it would be beneficial not only for xchannel but also for your other scripts _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Last edited by demond on Sun Feb 12, 2006 3:02 am; edited 1 time in total |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 12, 2006 3:01 am Post subject: |
|
|
Hmm.. I'll test on another shell, a *BSD one in Canada (pretty fast system) and see what happens there. It was the Windrop the script was removed from and Opposing was not a recognised user (now fixed).  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 3:24 am Post subject: |
|
|
oh well...
considering that most people are lazy enough (just like yourself not to (chan)save/rehash after adding new channel and thus making (custom-settings) scripts aware of it, I'll intercept +chan and initialize x:settings on it
that's also going to be an opportunity to add some new feature stuff _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 2:31 pm Post subject: |
|
|
anyone wanting a particular new feature? now is a good time for requests folks _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun Feb 12, 2006 4:05 pm Post subject: |
|
|
I want it to do a belly dance.. is it possible? Kidding, well, I've sow the last replyes in here and gave it a try and loads ok, I see all the udefs being set correctly. Maybe Alchera screwed up something, duno. Ask other people/friends to give it a try and see if they get the same errors as him. Else what can I say, nice, keep it going.
One question tough, why do you keep the 'creation' of binds inside the 'channel initialisation' (init) inside a loop? what's the point in that? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 12, 2006 8:09 pm Post subject: |
|
|
| demond wrote: | considering that most people are lazy enough (just like yourself not to (chan)save/rehash after adding new channel |
You assume too much; .chansave was used (to no avail). _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 10:48 pm Post subject: |
|
|
| Alchera wrote: | | demond wrote: | considering that most people are lazy enough (just like yourself not to (chan)save/rehash after adding new channel |
You assume too much; .chansave was used (to no avail). |
but no rehash, correct? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|