This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Universal channel script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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: Select all

[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
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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 :lol:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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 :lol:
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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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
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: Select all

 tag when posting logs, code
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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
Last edited by demond on Sun Feb 12, 2006 3:02 am, edited 1 time in total.
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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). :D
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

oh well...

considering that most people are lazy enough (just like yourself :P 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: Select all

 tag when posting logs, code
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I want it to do a belly dance.. is it possible? :P 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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:considering that most people are lazy enough (just like yourself :P 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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera wrote:
demond wrote:considering that most people are lazy enough (just like yourself :P 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: Select all

 tag when posting logs, code
Post Reply