Go Back   FlashFXP Forums > > > >

Eggdrop All eggdrop related questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-03-2003, 08:52 PM   #1
mog-on
Junior Member
 
Join Date: Jun 2003
Posts: 20
Default Launching eggdrop OnServerStart - tcl

I tried to use tcl command : exec, but it doesn't seem to work
OnServerStart = ..\scripts\launch_eggdrop.itcl

launch_eggdrop.itcl :

exec ../windrop/eggdrop.exe -nt egg.conf

I tried bg exe (&) and redirections for debug, it does not work, the egg starts loading modules and tcl scripts, but it is unable to connect to irc server, seems to be a socket problem.
mog-on is offline   Reply With Quote
Old 10-06-2003, 07:52 PM   #2
cpas
Junior Member
 
Join Date: Sep 2003
Posts: 21
Default

Why not use firedaemon to relunch ur egg when he die, u can start it in nt mode and hidden mode as well, seems to be a nice option.
cpas is offline   Reply With Quote
Old 10-07-2003, 07:47 AM   #3
mog-on
Junior Member
 
Join Date: Jun 2003
Posts: 20
Default

I don't need to launch it as a service

I want to launch it onserverstart.
mog-on is offline   Reply With Quote
Old 12-30-2004, 08:41 AM   #4
wiley
Disabled
 
Join Date: Nov 2003
Posts: 15
Arrow

i'm looking for the same thing, would be nice to have windrop started with "OnServerStart" event, i've tried a few *.bat with :
OnServerStart= EXEC ...\scripts\start.bat
but couldn't have anything working.

Let me know if you got it working with anything, thx.
wiley is offline   Reply With Quote
Old 12-30-2004, 09:21 AM   #5
wiley
Disabled
 
Join Date: Nov 2003
Posts: 15
Default

I've tried this *.bat which work perfectly when launching it myself :

@echo off
CD c:\tests\windrop
pslist eggdrop > nul
IF ERRORLEVEL 1 GOTO con
ECHO BOT STILL RUNNING (DiD NOTHiNG)
GOTO END

:CON
CD c:\tests\windrop
start hidewndw /r /n 'c:\tests\windrop\eggdrop.exe -nt eggdrop.conf'
ECHO BOT DOWN (RESTARTiNG iT)

:END

i added this line to ioFTPD.ini

OnFtpLogIn = EXEC ..\scripts\bot.bat

so i see what's going on when ioFTPD execute it, all i have is :

[R] 230-BOT DOWN (RESTARTiNG iT)

in status window, but bot haven't been launched.

Doesn't work aswell with "OnServerStart"

Any help would be apreciated.
wiley is offline   Reply With Quote
Old 12-30-2004, 09:45 AM   #6
wiley
Disabled
 
Join Date: Nov 2003
Posts: 15
Arrow

Ok, i've added :

SYSTEMROOT=%[environment(SYSTEMROOT)]
WINDIR=%[environment(WINDIR)]

in ioFTPD.env and now it work great with "OnFtpLogIn" but unfortunatly it doesn't work with "OnServerStart" ...

Anyone ?
wiley is offline   Reply With Quote
Old 02-20-2005, 07:12 PM   #7
mika23
Junior Member
 
Join Date: Feb 2005
Posts: 1
Default

You are lucky, I've tried this but il doesn't work, it seams like pslist always respond than eggy is runnig or like if the batch directly go to :end
mika23 is offline   Reply With Quote
Reply

Tags
exec, onserverstart, scripts, tcl, work

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:47 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)