View Full Version : NEW ! ioFTP sitebot on a shell :)
ViNcE
05-22-2003, 10:33 AM
Hello everybody !
Yes it's possible :p
I maked 3 scripts (2 itcl + 1 tcl) to get that thing working !
I maked my way to get log file (the remote one) and i modified dzsbot to announce it corretly, like a bot on the local box ;)
So.. i'm beta testing it. All seems to be okay atm.
If any scripters want to test it or make it better, just email me ;)
I will post it when all will be okay !
Thanks for your support
ViNcE
phoenixfr
05-22-2003, 11:21 AM
will be happy to test it once im finished with my exams :)
Mouton
05-22-2003, 11:59 AM
Why do u need to modify dzsbot ?
Easier way i could see it done is make .itcl on pc1 (with site) which would monitor ioftpd.log and on each new line, connect to open socket on pc2 (eggdrop) and !putlog $line
You'd just need a special tcl on pc2 to to write all it receives through !putlog in a ioFTPD.log for dzs to announce.
That way, no need to mod dzsbot so when next versions comes out, u can just update it right away without any mod. :)
That's just some thoughts... Never tried any of this, but that's what i would try if i wanted to do such a thing.
ViNcE
05-22-2003, 12:12 PM
make .itcl on pc1 (with site) which would monitor ioftpd.log and on each new line
in Schedule you can only run something every minutes, or can we start a script on ioFTPD start with an "utimer" in ?
Atm : eggdrop connect to ftp on start, and do a "site readlog" every seconds. If nothing news clean the log "site cleanlog" else announce.
But : if i can put a utimer on a script that start with ioFTPD... i can use !putlog
connect to open socket on pc2 (eggdrop) and !putlog $line
Didn't know that !putlog exists ;)
That way, no need to mod dzsbot so when next versions comes out, u can just update it right away without any mod. :)
I just modified the readlog proc to fit it with my way ;)
-------
I will take a look, thanks for your suggestions ;)
darkone
05-22-2003, 12:39 PM
utimer is eggdrop specific tcl expansion, which doesn't exist in ioFTPD (itcl).
ViNcE
05-22-2003, 12:40 PM
ok thx dark, so Mouton how to ?
:p
peligro2k
05-22-2003, 12:58 PM
would like to test it :), but im no programmer :P
Mouton
05-22-2003, 01:52 PM
Would probably trigger on specific commands...
Would have to think a little...
maybe pre pass and pre list and pre stor...
The0ne
05-22-2003, 06:55 PM
ehe this is nice, sitebot on shell :)
chuddy
05-23-2003, 04:07 AM
I had this need too previously, the only problem was that i can't execute commands remotely like sitewho in dzsbot.
Anyway what i did was to modify dzsbot.tcl and add a telnet function in the tcl that connected to my io daemon, then i read from this pipe instead of ioFTPD.log. That worked fine but as i said only for standard anounces.
ViNcE
05-24-2003, 04:30 PM
Status : lot of bug fixed and some improuvements. Seems that is it more stable. Runned it all the day.. nothing bad.
I re-designed a "site who", a Glftpd like
Adding :
- In chan :
!free <section>
!free <all>
Already done :
- In chan :
!speed <user>
!bw
!idlers
!uploaders
!leechers
- In query : !invite <user> <password>
Beta-test soon :) be patient
sounds cool vince ;) and btw.. don't i know you from somewhere? ;D
ViNcE
05-29-2003, 05:06 PM
yes Jujo :) but it's not the topic there :p
---------
Mouton : i've thought about one thing... the best way should be to make an exe that connect to the eggdrop and send the change in the log file.
Example :
.log "The new line in the log"
Tell me your opinion...
Bye all
malexx
05-30-2003, 08:07 PM
that sounds great and is the only thing i just miss;)..................i hope there will be a final...soon:)
peligro2k
08-10-2003, 07:04 AM
looks cool, are you gonna post it ? would like to run it from a linux shell, is that gonna be possible ?
ReCaR
01-15-2004, 10:19 PM
Originally posted by malexx
that sounds great and is the only thing i just miss;)..................i hope there will be a final...soon:)
/me agrees with malexx
filtre
02-18-2004, 07:17 PM
gr8 work but isnt it easier let the local bot connect trough a bnc into irc ?
Mouton
02-19-2004, 09:36 AM
The goal is to be able to use an eggdrop instead of a windrop as sitebot.
filtre
02-19-2004, 07:39 PM
but then you still need an local windrop for remote or ?
Mouton
02-19-2004, 08:04 PM
nope.
but there's no script available to allow that.
boogieman
03-20-2004, 02:16 PM
any news on this nice thingie? Think lots of people wants a script like this :)
Shekers
06-14-2004, 04:49 PM
Yeah, i wanna know as well. Is there scripts that have been released that make this possible?
Shekers
06-14-2004, 06:51 PM
Is there one that is being tested? 'Cuz i would luv to give it a try
Bommer
01-05-2005, 12:05 PM
ViNcE are u still coding on this script and can i have a copy? I need it for some ftp servers we have running.
Thanks in advance :banana:
/Bommer
irc:\\irc.betas-online.com
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.