egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Universal channel script
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 13, 14, 15  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Feb 10, 2006 2:42 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Feb 10, 2006 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Feb 10, 2006 10:44 am    Post subject: Reply with quote

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 Laughing
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Feb 10, 2006 6:47 pm    Post subject: Reply with quote

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 Laughing

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Feb 10, 2006 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Feb 10, 2006 11:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Feb 11, 2006 8:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 2:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Feb 12, 2006 3:01 am    Post subject: Reply with quote

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). Very Happy
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 3:24 am    Post subject: Reply with quote

oh well...

considering that most people are lazy enough (just like yourself Razz 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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 2:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Feb 12, 2006 4:05 pm    Post subject: Reply with quote

I want it to do a belly dance.. is it possible? Razz 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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Feb 12, 2006 8:09 pm    Post subject: Reply with quote

demond wrote:
considering that most people are lazy enough (just like yourself Razz 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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 10:48 pm    Post subject: Reply with quote

Alchera wrote:
demond wrote:
considering that most people are lazy enough (just like yourself Razz 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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 13, 14, 15  Next
Page 7 of 15

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber