PDA

View Full Version : Alcoholicz Sitebot (AlcoBot) v0.5.0


neoxed
10-12-2005, 09:21 PM
Changes:
NEW: Add, fill, or remove requests from IRC with the !request, !reqfill, and !reqdel commands.
NEW: Added command aliases !dn and !up for !leechers and !uploaders, respectively.
NEW: Approve releases from IRC with the !approve command.
NEW: Asynchronous FTP client library with SSL and TLS support.
NEW: Expanded zipscript support to include ioSFV (_tUFF) and Project-ZS (Caladan/esmandil).
NEW: File containing all available variables (variables.txt).
NEW: List commands on the configuration dump, ".alcobot dump".
NEW: Rewrote the command interface, proper support for aliases and flag checking.
NEW: The "ftpd" module now maintains a connection to the FTP server.
CHG: Removed the "cmdPrefix" option from [Module::Free].
CHG: Removed the pre time announces from nxTools.
CHG: The option names in [Commands] are the base names of commands instead of a pattern.
FIX: Handling of patterns with reserved characters (!dupe, !new, !nukes, !unnukes, !pre).
FIX: ioZS support, the escape sequences are now properly substituted.
FIX: Parsing sub-list (loop) values with reserved characters.
Download:

http://www.inicom.net/pages/en.ioftpd-scripts.php?id=126

Website:

http://www.alcoholicz.com

PlutoniC
10-12-2005, 09:38 PM
great neoxed !! thx :)

EwarWoo
10-13-2005, 07:10 AM
Also working great so far :D
Only issue found so far is:
<thebot> [[c1]MOVIES] New Release: Home.Movie-honest by ewarwoo/SiTEOPS.
If the section is unspecified in the theme so it goes to default for some reason seems to take the color code as a part of the announce instead of a command.

epoke
10-13-2005, 01:31 PM
hehe nice ,
thx for the great job neoxed
:)

neoxed
10-13-2005, 04:15 PM
<thebot> [[c1]MOVIES] New Release: Home.Movie-honest by ewarwoo/SiTEOPS.
If the section is unspecified in the theme so it goes to default for some reason seems to take the color code as a part of the announce instead of a command.

My guess is that you didn't define section colours for the MOVIES section (the [c# ] cookies are for section colours). In your theme file, it should look something like this:

[Colour]
# Section colour one [c1].
DEFAULT,1 = 14
MOVIES,1 = 5
...

# Section colour two [c2].
DEFAULT,2 = 15
MOVIES,2 = 6

If you don't want to use section colours, don't use the [c1], [c2], ..., formatting identifiers.

PaRaNoiD_JaCK
10-13-2005, 04:38 PM
Do we need to have nxtools 1.0.0 for alcobot 0.5.0 to work now ?

neoxed
10-13-2005, 04:42 PM
No, AlcoBot works independently.

nxTools, on the other hand, only works with AlcoBot.

PaRaNoiD_JaCK
10-13-2005, 04:46 PM
Yeah thats my problem. I use dZSbot for my main bot.

I get the error on my windrop when starting:

[23:40] [AlcoBot] Unable to load module "nxtools": missing module dependency "ftpd"

So i will need to change it over to alcobot to get the new irc commands to work. Not really a bad thing, it`ll keep me busy 2mrw. Does alcobot work well with php_psio zipscript ? :)

neoxed
10-13-2005, 04:52 PM
Yeah thats my problem. I use dZSbot for my main bot.

I get the error on my windrop when starting:

[23:40] [AlcoBot] Unable to load module "nxtools": missing module dependency "ftpd"What that error means is that nxtools module relies on the ftpd module and that the ftpd must be loaded first. Check your configuration file, both modules are loaded by default in v0.5.0.

Does alcobot work well with php_psio zipscript ? :)
See my reply here: http://www.inicom.net/forum/showthread.php?t=15677

PaRaNoiD_JaCK
10-13-2005, 05:07 PM
I`ve loaded the ftpd module now and have it connecting to the ftpd. But i do get more errors when trying the !new command.

[00:02] Tcl error [encryptedincominghandler]: invalid command name "proc_news"

2mrw i`ll install all of your updated scripts and drop dZSbot as my main bot. All of my main scripts are your ones anyway, except the zipscript`s, so i know alcobot will work as good as expected.

Thanks, your work is appreciated. :)

EwarWoo
10-13-2005, 05:12 PM
My guess is that you didn't define section colours for the MOVIES section

I didn't define anything for that section no, I read this:
# - The 'DEFAULT' entry is used if the announce is not section oriented
# or there are no colours defined for the specific section.
and got the impression that if I didn't define it would use:
DEFAULT,1 = 14

I stick together a lot of configs so always look for ways to streamline the process and make as few changes as possible to a "default" install. Every change is a possible config error. And not wanting section specific colors (I prefer a colour per site) just a default would suit my needs better.

Not too much more work to change it but so I'll cope if thats not the way its supposed to function:)

And yeah, can confirm it works fine with php_psio usung the pzs.var PaRaNoiD_JaCK

neoxed
10-13-2005, 05:32 PM
PaRaNoiD_JaCK:
The procedure "proc_news" does not belong to AlcoBot, might be part of dZSbot.

EwarWoo:
Ah, now I see what you're saying. Indeed, that is a bug - thanks.

PaRaNoiD_JaCK
10-13-2005, 05:39 PM
PaRaNoiD_JaCK:
The procedure "proc_news" does not belong to AlcoBot, might be part of dZSbot.


The error only happesn when !new trigger is typed in the main channel. Anyway not a problem, dZSbot is redundant from 2mrw. :)

EwarWoo
10-13-2005, 06:40 PM
!new is a trigger associated with newdir script and should be disabled if thats not used.

PaRaNoiD_JaCK
10-14-2005, 04:31 AM
Using alcobot 0.4.0 !new would show all new directory`s on the irc channel.

PaRaNoiD_JaCK
10-14-2005, 08:44 AM
Edit. Fixed it by creating the request db again.

:)

PaRaNoiD_JaCK
10-14-2005, 01:40 PM
Have to say this is a very nice bot. Probally the best one available for ioftpd now. :)

neoxed
10-15-2005, 04:08 PM
Thanks. :)

PaRaNoiD_JaCK
10-16-2005, 03:15 PM
:)

PaRaNoiD_JaCK
10-19-2005, 06:54 AM
I`ve just recently changed from php_psio zipscript to ProjectZS. Since then the bot announce`s havn`t been working properly. It will only announe NEW or DEL.

I have the pzs.vars module loaded and using the default theme. What settings are required in the ProjectZS config file ?

:)

Config file error fixed this.

alturismo
10-19-2005, 11:07 AM
working nice with pZS here

may start checking your ioFTPD.log if all race, halfway, stats etc entries are there