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.

Autoauth problem

Old posts that have not been replied to for several years.
Locked
s
stevegarbz
Op
Posts: 104
Joined: Sat Dec 04, 2004 7:25 pm

Autoauth problem

Post by stevegarbz »

Ok, basically here is my problem: Sometimes my bots auth and sometimes they do not. Sometimes I get this error and sometimes I do not:

[9:18:29] <(leet> [20:18] Tcl error in script for 'init-server':
[9:18:29] <(leet> [20:18] missing "

sometimes it just doesn't auth in general, no clue why. they all use the same config files and 1 works fine, the others don't. when I manually auth them they work fine: here is my auth part of my script:



set net-type 5
set init-server {
global botnick
putquick "MODE $botnick +ix-ws"
putquick "PRIVMSG AuthServ@Services.GameSurge.net :auth support password"
}
set default-port 6667
set servers {
Kanzi.CA.US.GameSurge.Net:6667
Olympus.CA.US.GameSurge.net:6667
Netfire.TX.US.GameSurge.Net:6667
NuclearFallout.WA.US.GameSurge.net:6667
Prothid.CA.US.GameSurge.Net:6667
Slim.NY.US.GameSurge.Net:6667
RedPhive.BC.CA.GameSurge.net:6667
}


Thanks.
s
stevegarbz
Op
Posts: 104
Joined: Sat Dec 04, 2004 7:25 pm

Post by stevegarbz »

Maybe it's because it's the first bot loaded on the shell? I don't know :(
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Maybe you can type '.tcl set errorInfo' in partyline/dcc with the bot to check the error and get more info on it. Remember you have to comment the unbind of dcc:tcl in the .configuration file and restart the bot to enable the '.tcl' trigger in partyline.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

you should read the comments!
# Set here a script to run (if any) when first connecting to a server.
# This is limited to 120 characters.
I dont know how you count, but for my editor your expression contains 126 characters within the {} braces so its cut off near the "o".

use the new expression instead:

Code: Select all

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
	global botnick
	...
}
this is not restriced to any numbers of characters (as long your interpreter can read into the memory and compile it :P).
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
s
stevegarbz
Op
Posts: 104
Joined: Sat Dec 04, 2004 7:25 pm

Post by stevegarbz »

Thank you very much :)
Locked