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.

tcl scripts work fine when i restart bot, but later.........

Old posts that have not been replied to for several years.
Locked
A
Advance
Voice
Posts: 2
Joined: Sat Jan 01, 2005 6:38 pm

tcl scripts work fine when i restart bot, but later.........

Post by Advance »

Hi,

I need a bit help to with something i cant resolve in my own.
I run a eggdrop in my shell and add some tcl scripts, some work some work not. but let me gave a clear example, trivia , all welknown i think, its runs good and react on all commands are set in the script, but after a while if bot didnt do anything i cant start the trivia ore any other script anymore that need to respons in the channel im on, onley after i ,die the bot and restart it runs proper again. It must have be something i dont know, onley i notice i cant rehash my bot either, it dont respond on it.
Also i run the symantec script, dont know at the moment if it runs proper in the channel, but if all scripts are dead ( ore look like) i still can gave the symantec command in a dcc chat to bot and i get respons than, is it something that i nedd to chack in the config file? ore is it mabey because i use the simple config file it block some things after a while?

Anyone who can help me , pls, and tia.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Ok the best advice I can give you at the moment is to comment out all the scripts you have running except one, the trivia script. Let that run for a while under usual conditions and see if your bot stops responding.

Then if it carrys on working fine uncomment another script and let it run. Keep doing this till you find the script that is stopping it from working correctly.

It does however sound like a script is 'BLOCKING' your bot i.e. waiting for a response from whatever it is doing usually http access and as your symantec script still responds its a good bet that it is that.

Try removing the symantec script for a start if it still happens then do as I suggested above, remove all but your trivia script and go from there.

Once you have found the offending script maybe we can help to fix it.

Hope this helps. :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

the likely reason - poorly implemented script that uses sockets in blocking mode (or maybe http extension in blocking mode)
A
Advance
Voice
Posts: 2
Joined: Sat Jan 01, 2005 6:38 pm

Post by Advance »

Oke , i will try that, and come back later , thanks
Locked