Go Back   FlashFXP Forums > > > >

Eggdrop All eggdrop related questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-22-2003, 10:33 AM   #1
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Lightbulb NEW ! ioFTPD sitebot on a shell :)

Hello everybody !

Yes it's possible

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
ViNcE is offline   Reply With Quote
Old 05-22-2003, 11:21 AM   #2
phoenixfr
Senior Member
 
Join Date: Nov 2001
Posts: 149
Default

will be happy to test it once im finished with my exams
phoenixfr is offline   Reply With Quote
Old 05-22-2003, 11:59 AM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

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.
Mouton is offline   Reply With Quote
Old 05-22-2003, 12:12 PM   #4
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Default

Quote:
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

Quote:
connect to open socket on pc2 (eggdrop) and !putlog $line
Didn't know that !putlog exists

Quote:
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
ViNcE is offline   Reply With Quote
Old 05-22-2003, 12:39 PM   #5
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

utimer is eggdrop specific tcl expansion, which doesn't exist in ioFTPD (itcl).
darkone is offline   Reply With Quote
Old 05-22-2003, 12:40 PM   #6
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Default

ok thx dark, so Mouton how to ?
ViNcE is offline   Reply With Quote
Old 05-22-2003, 12:58 PM   #7
peligro2k
Junior Member
 
Join Date: Jan 2002
Posts: 11
Default

would like to test it , but im no programmer :P
peligro2k is offline   Reply With Quote
Old 05-22-2003, 01:52 PM   #8
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Would probably trigger on specific commands...
Would have to think a little...
maybe pre pass and pre list and pre stor...
Mouton is offline   Reply With Quote
Old 05-22-2003, 06:55 PM   #9
The0ne
Member
 
Join Date: May 2003
Posts: 42
Default

ehe this is nice, sitebot on shell
The0ne is offline   Reply With Quote
Old 05-23-2003, 04:07 AM   #10
chuddy
Member
 
Join Date: Oct 2002
Posts: 31
Default

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.
chuddy is offline   Reply With Quote
Old 05-24-2003, 04:30 PM   #11
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Default Some news...

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
ViNcE is offline   Reply With Quote
Old 05-28-2003, 07:58 PM   #12
jujo
Junior Member
 
Join Date: May 2003
Posts: 3
Default

sounds cool vince and btw.. don't i know you from somewhere? ;D
jujo is offline   Reply With Quote
Old 05-29-2003, 05:06 PM   #13
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Default

yes Jujo but it's not the topic there

---------

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
ViNcE is offline   Reply With Quote
Old 05-30-2003, 08:07 PM   #14
malexx
Senior Member
 
Join Date: Feb 2003
Posts: 104
Default

that sounds great and is the only thing i just miss..................i hope there will be a final...soon
malexx is offline   Reply With Quote
Old 08-10-2003, 07:04 AM   #15
peligro2k
Junior Member
 
Join Date: Jan 2002
Posts: 11
Default

looks cool, are you gonna post it ? would like to run it from a linux shell, is that gonna be possible ?
peligro2k is offline   Reply With Quote
Reply

Tags
atm, box, local, maked, testing

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 06:45 AM.

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