PDA

View Full Version : Ssl And Invite Pb


epoke
10-16-2005, 03:00 PM
hi ,
i setup a box with all your script neoxed ,all is working perfectly now.
i just have some pb with ssl or tsl mode in AlcoBot0.5 ,only "none" is working
if you know what i need to setup or investigate ?

and i can't make invite module working .
i need a little more help cause i test it like that in linknet :
ftp user :taiyo
irc nick associate : epoke
host add to the db : user@LinkNet-74272f1fd6.proxad.net or without mangling ??
anyway if i set False in :
hostCheck = False
userCheck = False

it is not working
any idea ?
TIA
thx for the great work neoxed

PaRaNoiD_JaCK
10-16-2005, 03:19 PM
Have you set up a ODBC db for the bot to use? Invite modules use this now.

epoke
10-16-2005, 03:31 PM
yes i have all the ODBC db working .and nothing special on debug log

PaRaNoiD_JaCK
10-17-2005, 03:00 PM
Ok i`m running into the invite problem too. If i stop the ioftpd service then restart, invite wont work until i .rehash the windrop. After that it works as normal.

:)

neoxed
10-17-2005, 04:04 PM
Describe "wont work".

I need useful information to track down the problem (debug message, partyline errors, etc.).

epoke
10-17-2005, 04:12 PM
[23:08] [☻AlcoBot☻] Error :: ModInvite - Invalid number of items in log data "Ta
iyo SiTEOP epoke".
[23:08] [☻AlcoBot☻] Debug :: ModReadLogs - Event disabled or callback returned f
alse, skipping announce.
[23:08] [☻AlcoBot☻] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[23:08] [☻AlcoBot☻] Debug :: ScriptExecute - The callback "::alcoholicz::Invite:
:LogEvent" for pre INVITE returned false.

i try some different setup ,host etc but no luck

can you give me an example of a valid host please ?
anyway i set it up false on check and host
tia

epoke
10-17-2005, 04:26 PM
don't know why but now if i set all to false it 's seem to work ( after restart and rehash of both site and eggdrop)
i'll try to make it hostCheck

PaRaNoiD_JaCK
10-17-2005, 05:41 PM
At the momemt i`m using host and nick checks set to false. But when enabling them, i try to add a Nick to the users account i get an error:

10-17-2005 23:32:04 "..\scripts\siteInvite.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
23000 1062 {Duplicate entry 'PaRaNoiD_JaCK' for key 1}
while executing
"db "INSERT INTO invite_users(ftp_user,irc_user) VALUES('$ftpUser','$ircUser')""
(procedure "SetIrcUser" line 7)
invoked from within
"SetIrcUser $ftpUser $ircUser"
("USER" arm line 7)
invoked from within
"switch -- $event {
ADDHOST - ADDIP {
if {![IsTrue $hostCheck]} {

neoxed
10-19-2005, 08:40 PM
epoke: You're using the wrong SITE INVITE command, please read the manual. (Hint: you need to use siteInvite.tcl, which is included with AlcoBot).

PaRaNoiD_JaCK: Thanks, that's a bug. It will be fixed for the next release.

epoke
10-20-2005, 03:45 AM
neoxed ?
i'm using only the tcl (siteInvite.tcl) include in the AlcoBot.
the invite is working great only if i don't use host check as PaRaNoiD_JaCK said .

PaRaNoiD_JaCK
10-20-2005, 04:29 AM
I hope this helps. When i restart the service and do site invite it does this in the partyline.

[11:26] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:26] [AlcoBot] Debug :: ModReadLogs - No variable definition for event, skipping announce.
[11:26] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:26] [AlcoBot] Debug :: ModReadLogs - No variable definition for event, skipping announce.

I rehash the windrop and the invite will work now. This is what`s in the party when it works tho:

[11:28] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:28] [AlcoBot] Error :: ModInvite - Invalid number of items in log data "PaRaNoiD_JaCK SITEOPS PaRaNoiD_JaCK".
[11:28] [AlcoBot] Debug :: ModReadLogs - Event disabled or callback returned false, skipping announce.
[11:28] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:28] [AlcoBot] Debug :: ScriptExecute - The callback "::alcoholicz::Invite::LogEvent" for pre INVITE returned false.
[11:28] [AlcoBot] Debug :: ModReadLogs - Event disabled or callback returned false, skipping announce.


i`m using the invite tcl script that was with alcobot 0.5.0, It`s been placed in the ioftpd scripts folder.

:)

epoke
10-20-2005, 05:47 AM
it's seem to be the same error log .

ps : can i write a french tuto (or and an english one ) for your script ,tool and flashfxp cmd ?
if you need help ...

neoxed
10-23-2005, 10:34 PM
[11:26] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:26] [AlcoBot] Debug :: ModReadLogs - No variable definition for event, skipping announce.
[11:26] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:26] [AlcoBot] Debug :: ModReadLogs - No variable definition for event, skipping announce.

I rehash the windrop and the invite will work now.
You receive this error because the invite module was not loaded, or failed to load initially.

[11:28] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:28] [AlcoBot] Error :: ModInvite - Invalid number of items in log data "PaRaNoiD_JaCK SITEOPS PaRaNoiD_JaCK".
[11:28] [AlcoBot] Debug :: ModReadLogs - Event disabled or callback returned false, skipping announce.
[11:28] [AlcoBot] Debug :: ModReadLogs - Received event: INVITE (log: 0).
[11:28] [AlcoBot] Debug :: ScriptExecute - The callback "::alcoholicz::Invite::LogEvent" for pre INVITE returned false.
[11:28] [AlcoBot] Debug :: ModReadLogs - Event disabled or callback returned false, skipping announce.


i`m using the invite tcl script that was with alcobot 0.5.0, It`s been placed in the ioftpd scripts folder.
First off, remove your old invite script (hint: Invalid number of items in log data). The siteInvite.tcl file logs five items for INVITE (user group groups flags nick), while other scripts, like ioA, log three items (user group nick).

ps : can i write a french tuto (or and an english one ) for your script ,tool and flashfxp cmd ?
if you need help ...AlcoBot doesn't have any SITE commands, I suppose you are referring to nxTools? If that is the case, I will include a FlashFXP command pack in the next nxTools release. I do not plan on translating the readmes or documentation, but if you want to do it unofficially that's fine.

PaRaNoiD_JaCK
10-24-2005, 06:24 AM
I did have another invite script loaded:

invite = TCL ..\scripts\nxTools\nxUtilities.tcl INVITE

Theres still reference to it in the readme for nxtools on what command`s to add to the ioftpd.ini.

The problem with rehashing the bot was down to the bot using a TLS connection to ioftpd. When none is used, it will work first time.

:)

neoxed
10-24-2005, 08:31 AM
I know, but that doesn't change anything. You have to make a choice between AlcoBot's invite system or nxTools' invite system (which is depreciated now).