PDA

View Full Version : Requests from IRC doesnt work


MilanoMosh
07-16-2004, 10:08 AM
VERSION: ioFTPD 5-8-5r - dZSbot 1.15 - Eggdrop 1.6.15+SSL - ioA 1.1.4

I am pulling my hair over here and the solution to my problem is probably to simple for me to see.

SITE REQUEST works at the site but the !reqadd !reqdel !reqfilled gives me nothing. However !requests gives me the right responses. I've checked all the logs and debug files but I see no entries. I've tried watching the eggdrop to see if any errors are shown, but nada. Please help me.

[ioA.cfg]**********************************************
[Request]
Request_Header = "-[Request]----------------------------------------------------------------------"
Request_Footer = "--------------------------------------------------------------------------[ioA]-"
Request_File = "d:\request\.ioFTPD.message"
Request_Line = " [%##] [%-10user] -> %request"
Request_Field = " -> "
Request_Max = 100
Request_Max_User = 100
Request_Excluded_User_0 = "BoT"
Request_Too_Many_Made = " Too many requests made. Limit is %.0request"
Request_Too_Many_Made_User = " You have made too many requests already. Limit is %.0request"
Request_Already_Made = " That is already requested"
Request_Output_Line = " Added request: %request"
Request_Log = ""%user" "%group" "%request" "
Request_Add_Tag = 1
Request_Tag = "[REQ]-%request"
Request_IRC_Uid = 118
Request_IRC_Gid = 104

Reqfilled_Not_Found = " Request not found"
Reqfilled_Log = ""%user" "%group" "%request""
Reqdel_Log = ""%user" "%group" "%request""
Reqdel_Output_Line = " Deleted following request: %request"
Reqfilled_Output_Line = " Filled following request: %request"
Reqfilled_Tag = "[FILLED]-%request"
ReqFilled_Add_Tag = 1
ReqFilled_Send_Message = 0
***********************************************

Thanks!

Harm
07-16-2004, 10:14 AM
iirc, you need the 'o' flag on the bot to be able to use those commands with dZSbot.

alturismo
07-16-2004, 10:15 AM
u should check your account in bot

due reqadd, reqdel, reqfilled needs +o flag by default in windrop ...

in case u want to change it ...

bind pub o|o [set cmdpre]reqadd proc_reqadd
bind pub o|o [set cmdpre]reqdel proc_reqdel
bind pub o|o [set cmdpre]reqfilled proc_reqfilled

WarC
07-16-2004, 10:16 AM
Since you say it works from site ioa is correct configured. Are there no errors in chat with bot?

You should update ioA to latest version also (1.1.6)

MilanoMosh
07-16-2004, 10:44 AM
VERSION: ioFTPD 5-8-5r - dZSbot 1.15 - Eggdrop 1.6.15+SSL - ioA 1.1.6

The bot has the +O flag in channel.

In chat with bot do you mean telnet and the eggdrop window?

I've checked ioA.debug, ioacommands.log but nothing about the commands I've sent over IRC.

Thanks!

alturismo
07-16-2004, 10:53 AM
the user who makes the !reqadd etc needs the +o flag

MilanoMosh
07-16-2004, 10:57 AM
Both the bot and user has +O

Harm
07-16-2004, 11:03 AM
The +o flag is a flag, not a mode.
.chattr <hand> +o <#channel>

MilanoMosh
07-16-2004, 11:19 AM
I tried the .chattr <hand> +o <#channel> thru telnet. It replied that I now had the +o channel flag. Still no luck in !req-commands.

I typed "ioa requestirc testing.hard" from a dos-prompt and it added a request from the BoT with the same name.

MilanoMosh
07-17-2004, 05:14 PM
I've found the problem and it was *tada* my nick on IRC. Since it had more than 9 characters it wouldn't work. Eggdrop only handles "internal" usernames at max 9 chars. If your nick is longer, hey tough luck, !req commands will not work!

I changed my nick to something with only 5 chars. Telneted to the bot and added the new nick as a user (.adduser [IRCnick]), set a password to the user (.newpass [IRCnick] [password]) and set the +o flag (.chattr [IRCnick] +o). Violá it works.

Thanks for all responses!

I'll be back ;)

Harm
07-18-2004, 01:47 AM
Go to the windrop download page (http://windrop.sourceforge.net/downloads.html) and grab the handlen32 version. This one supports more than 9 chars for nicknames.

TheScorp
05-10-2005, 04:07 PM
Originally posted by MilanoMosh
I tried the .chattr <hand> +o <#channel> thru telnet. It replied that I now had the +o channel flag. Still no luck in !req-commands.

I typed "ioa requestirc testing.hard" from a dos-prompt and it added a request from the BoT with the same name.

Hum. I am for some reason having trouble with !reqadd, !reqdel seems to work fine tho :p Anyone had the same problem? Oh, and !requests doesnt say anything either... But !reqfilled works..

I dont get it :p

zOrP
04-16-2006, 02:03 PM
hm..
what version are u using ?

Request_IRC_Uid = 0
Request_IRC_Gid = 0

does these user/group files exist ?

and last, have u touched the flags in dzsbot and not added them to yourself ?

bind pub o|o [set cmdpre]reqadd proc_reqadd
bind pub o|o [set cmdpre]reqdel proc_reqdel
bind pub o|o [set cmdpre]reqfilled proc_reqfilled

?