Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2008, 04:33 AM   #1
BigBoxer
Junior Member
 
Join Date: May 2007
Posts: 16
Default Problem with alcobot announce

Hi neoxed, thank you for the download link of previous post.

I have a problem: in the ioftpd.log there is
SFV: "/MP3" "TEST4-TEST-CDM-2008-TEST" "ioFTPD" "ioftpd" "0" "6"

and i tryed a var setup like this in a new folder (iozip) and i load in AlcoBot.conf

modules = free ftpconn ftpd ioa iozs groups help readlogs sitecmd

the variable file is modMyZip.vars

[Events]
zipscript = SFV

[Replace]

[Variables::Module::ReadLogs]
SFV = releasep:z release:z user:z group:z speed:n files:n

and i also completed the module.def file

# Module Definition File
desc=myzip Support
context=
depends=
tclFiles=
varFiles=modMyZip.vars


in this configuration i cannot get a
[04:19] [AlcoBot] Debug :: ModReadLogs - Received event: SFV (log: 0).

i tryed then to modify the existing iozs module with my variable setup but i get

[04:19] [AlcoBot] Debug :: ModReadLogs - Received event: SFV (log: 0).
[04:19] [AlcoBot] Debug :: ModReadLogs - Event disabled or callback returned false, skipping announce.

can you help me or explain what i'm missing to mod?
BigBoxer is offline   Reply With Quote
Old 02-11-2008, 09:44 AM   #2
BigBoxer
Junior Member
 
Join Date: May 2007
Posts: 16
Default

OK i solved but cant get section to work

now i have
__________
modules = free ftpconn ftpd ioa iozip groups help readlogs sitecmd


________

[Events]
nopath = SFV

[Replace]

[Variables::Module::ReadLogs]
SFV = releasep release:z user:z group:z speed:n files:n
_____________

i modded the .theme for the SFV message but if i add nopath events group to MP3 section in Alcobot.conf it do not work, if i add it to the DEFAULT section it works.

________
if i modify the script to put a log

SFV: "/MP3/TEST4-TEST-CDM-2008-TEST" "ioFTPD" "ioftpd" "0" "6"

and

SFV = release:P user:z group:z speed:n files:n

this way alcobot set the section to MP3 (looking inside the code of AlcoBot i found that there is a "resolver" function that extract section by the path)

at this point i cant understand the difference between and :P
BigBoxer is offline   Reply With Quote
Old 02-20-2008, 05:39 AM   #3
Trichlorethen
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 23
Default

thats all explained in alcobot.vars

# p - path - virtual path
# P - section path - section virtual path

Quote:
if i modify the script to put a log

SFV: "/MP3/TEST4-TEST-CDM-2008-TEST" "ioFTPD" "ioftpd" "0" "6"

and

SFV = release:P user:z group:z speed:n files:n
the theme file should look some like this

Code:
[Theme::Module::ReadLogs]
SFV = [b][[c1]%(section)[c]][b] %(releasePath)[b]%(releaseName)[b] got sfv by [b]%(user)[b]/%(group) at %(speed) %(files)
Trichlorethen is offline   Reply With Quote
Reply

Tags
debug, download, event, modreadlogs, sfv

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 06:36 PM.

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