Go Back   FlashFXP Forums > > > >

Eggdrop All eggdrop related questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-21-2005, 11:41 AM   #1
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default sitebot from ioftpd

Could anyone help me with starting my eggy from within ioftpd..


i'm kinda stuck.

i made this batchfile..

@echo off
c:
cd "c:\ioFTPD\windrop"

rem Change this to the name of your bot's config:
set botscript=eggdrop.conf

rem Change this to the handle/botnet-nick of your bot:
set botname=FTP

rem Change this to the name of your bot's userfile:
set userfile=LamestBot.user

rem You probably don't need to change anything below here....
if exist .share* del .share*
if exist *.stackdump del *.stackdump
if exist *.tmp del *.tmp
if not exist %botscript% echo Config file (%botscript%) missing.
if not exist %botscript% goto cantload
if exist %userfile% goto checkrunning
if exist %userfile%~new ren %userfile%~new %userfile%
if exist %userfile% echo Missing userfile... Using the last saved one..
if exist %userfile% goto checkrunning
if exist %userfile%~bak ren %userfile%~bak %userfile%
if exist %userfile% echo Missing userfile... Using the last backed up one..
if exist %userfile% goto checkrunning
if not exist %userfile% echo Userfile missing. No backup/last saved userfile either. =/
goto cantload

:checkrunning
taskisrunning eggdrop.exe
if errorlevel 2 goto end
if errorlevel 1 goto end
if errorlevel 0 goto restart
goto end

:restart
set result=
if not exist eggdrop.exe echo eggdrop.exe not found!
if not exist eggdrop.exe goto cantload
echo Restarting Eggdrop...
hiderun.exe eggdrop.exe -nt
if errorlevel 8 echo Possibly Missing .dll File(s)? (tcl8*.dll, cygwin1.dll)
if errorlevel 8 goto cantload
goto success

:cantload
echo Could not reload the bot. =(
goto end

:success
echo Successfully Started Eggdrop (%botname% - %botscript%).

:end

################################

and added this in ioftpd.ini
bot = EXEC ..\Windrop\Botchk.bat

when i execute the cmd this happens..

R] site bot
[R] 200-0 tasks running
[R] 200-Restarting Eggdrop...
[R] 200-[18:45] --- Loading eggdrop v1.6.17 (Thu Jul 21 2005)
[R] 200-[18:45] Module loaded: server
[R] 200-[18:45] Module loaded: ctcp
[R] 200-[18:45] Module loaded: channels
[R] 200-[18:45] Module loaded: irc
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Warning: Can't create new socket!
[R] 200-[18:45] Tcl error in file 'eggdrop.conf':
[R] 200-[18:45] Couldn't listen on port '1000' on the given address. Please make sure 'my-ip' is set correctly, or try a different port.
[R] 200- while executing
[R] 200-"listen 1000 all"
[R] 200- (file "eggdrop.conf" line 186)
[R] 200-[18:45] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

and i set myip to my home ip..

any ideas ?

btw it starts fine when i press the .bat..

only when i run through cmd it dont work
zOrP is offline   Reply With Quote
Reply

Tags
200-[1845], create, socket, warning, [r]

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:55 AM.

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