Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-18-2004, 06:54 PM   #1
DriverMan_2
Junior Member
 
Join Date: Oct 2003
Posts: 5
Thumbs up [REQ] Start Eggdrop Through ioFTPD

I checked ioControl v1.0 our and it works good.

One thing that is missing is that if your eggdrop dies and you don't got remote/physical access to the box you are in bad situation

Greets to that person who can create a script like this.

THNX :banana:
DriverMan_2 is offline   Reply With Quote
Old 02-18-2004, 07:05 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Hmmm?

Did you hit "New Thread" by accident, instead of "Post Reply"?
neoxed is offline   Reply With Quote
Old 02-18-2004, 07:28 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

I think he kinda made a point that it would be nice to extend such a script like ioControl v1.0 because "if your eggdrop dies and you don't got remote/physical access to the box you are in bad situation "...

kinda indirect request I think
wooolF[RM] is offline   Reply With Quote
Old 02-19-2004, 09:11 AM   #4
DriverMan_2
Junior Member
 
Join Date: Oct 2003
Posts: 5
Default RE.

My proposition was that maybe the owner could add this fucntion in ioControl or if someone wanted to do a such script.

//DriverMan
DriverMan_2 is offline   Reply With Quote
Old 02-19-2004, 09:24 AM   #5
biboun
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Mar 2003
Posts: 87
Default hum

You still have access with the ftp I think.
It is enough for you to do an .bat for launching your eggdrop and make a command in ioftpd.ini as :

startbot = ..\scripts\startbot.bat

Several subjects talk about it
biboun is offline   Reply With Quote
Old 02-19-2004, 10:54 AM   #6
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default

a definate workin guide or exe thats sceduled to run every 5 mins to check the bot is up would be handy rathrer than relying on a batch file
Ren is offline   Reply With Quote
Old 02-19-2004, 11:03 AM   #7
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

OnFtpLogin
Each time someone log-in, start .bat that check if bot is running and restart it if not.
Mouton is offline   Reply With Quote
Old 02-19-2004, 12:20 PM   #8
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

or schedule to exec the bat every xx minutes, same issue like mouton said

as long ioFTPD runs, bot also will run

all u need is either ps.exe, pslist.exe or taskisrunning.exe and a fitting bat file

there are some threads in forum howto ...
alturismo is offline   Reply With Quote
Old 02-19-2004, 06:42 PM   #9
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

Quote:
Originally posted by alturismo
all u need is either ps.exe, pslist.exe or taskisrunning.exe
u wont be able to start windrop once again if it's allready running... (at least as far as I know)... is there really need for those apps?
wooolF[RM] is offline   Reply With Quote
Old 02-19-2004, 07:44 PM   #10
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

u can start multiple copies of eggdrop.exe by just starting it many times... thus the need for those apps.
Mouton is offline   Reply With Quote
Old 02-20-2004, 10:07 AM   #11
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

mmkay... thought it was the same way as eggdrop
wooolF[RM] is offline   Reply With Quote
Old 02-20-2004, 11:40 AM   #12
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

eggdrop can also be started multiple times.
the eggdrop install/readme file says u should use botchk in scripts directory to start the eggdrop only if it's not running. that script check if the eggdrop executable is running using the pid file and restart it if it can't see it.
Mouton is offline   Reply With Quote
Old 02-20-2004, 11:48 AM   #13
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

that's right
wooolF[RM] is offline   Reply With Quote
Reply

Tags
bad, box, eggdrop, situation, start

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:35 PM.

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