PDA

View Full Version : IRC request problems


hukker
02-20-2006, 10:11 AM
[16:04:21] [@hukker]: !request test.test-test
[16:04:22] botname [Request] invalid command name "GetFtpUser"

pls neoxed could you explain what Iam doing wrong here...
is the request feature on irc somehow contected to the odbc database?
If the invite module wasnt loaded the request announce "site request" nor the !req"cmds" announced in chan...
Nothing in DEBUG that would explain this and all modules are loaded successfully.

sorry if its a stupid question or if missed some part of the readme, but I just cant figure it out...

neoxed
02-20-2006, 01:28 PM
The request commands in the nxtools module rely on functionality in the invite module. So to answer your question: yes, you need the invite module.

When a user invites himself into the channel, their IRC nickname and FTP username are recorded in the ODBC database. Other modules use this information (via GetFtpUser and GetIrcUser) to resolve the IRC nick to the FTP user and vice versa.

hukker
02-20-2006, 01:37 PM
everything makes since now, I guess there has to be something wrong with the setup of the DB on my end, Ill focus on that...

thx bigtime!

hukker
02-20-2006, 02:51 PM
ive readded DB now to mysql, and odbc connection is fine.
Ive set my host / password for the invite, and on site invite ircnick / !invite nick pass , everything checks out, I do get invited.

variable hostCheck True
variable userCheck False

But that request error still pops up on !request test. Could you tell me which version maybe of mysql you useing? Ive kinda imported the invite.sql db on the same database I use for iosharedb, if thats even relevant :P
Dont think Iam useing nxtools/alcobot with iosharedb, cause thats not the case... this is a single setup I am testing.

any pointers?

neoxed
02-20-2006, 04:04 PM
I use PostgreSQL server, but it works on MySQL server 4.0/4.1 (probably 5.0 too).

Could you post what you have for modules (under [General]) in AlcoBot.conf. The invite module should be loaded before nxtools. I need to rework some of module loading code, eventually.

hukker
02-20-2006, 04:41 PM
Could you post what you have for modules (under [General]) in AlcoBot.conf. The invite module should be loaded before nxtools. I need to rework some of module loading code, eventually.

modules = bouncer ftpd free groups nxtools help online readlogs sitecmd invite

Ill try putting invite before, gimme a few ;)

hukker
02-20-2006, 04:46 PM
hehe well what do you know ;) that simple fix worked just fine, I moved the invite module right before nxtools module... and heres the result

!request 12345
[Request] 12345 (ID #2) added by hukker/STAFF.
[Request] Added your request of 12345 (#2).

thx alot neoxed