Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-20-2006, 10:11 AM   #1
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

[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...
hukker is offline   Reply With Quote
Old 02-20-2006, 01:28 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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.
neoxed is offline   Reply With Quote
Old 02-20-2006, 01:37 PM   #3
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

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 is offline   Reply With Quote
Old 02-20-2006, 02:51 PM   #4
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

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?
hukker is offline   Reply With Quote
Old 02-20-2006, 04:04 PM   #5
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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.
neoxed is offline   Reply With Quote
Old 02-20-2006, 04:41 PM   #6
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

Quote:
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 is offline   Reply With Quote
Old 02-20-2006, 04:46 PM   #7
hukker
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2004
Posts: 165
Default

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
hukker is offline   Reply With Quote
Reply

Tags
explain, irc, loaded, modules, request

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 04:57 PM.

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