FlexHub Forum
FlexHub General => General discussion => Topic started by: FlipFlop™ on June 28, 2012, 16:19:25
-
Post your experience with external bots here. If you can please provide download links to the bots.
-
Rss2DC — simple bot written on python for RSS feed grabbing and posting announces (title and link on a news page) in DC++ main chat with time interval.
- Bot is old but works great.
- Some fixes are applied by me and FlipFlop to avoid errors with some symbols in RSS feed that are used in NMDC protocol as separators.
ADC is not supported here as well as secure connections, but if anyone have nothing to do, you may convert it or add an ADC support :)
- Tested on CentOS, have no idea about windows.
- Translated from russian by NLight DC++ Ukraine project.
-
hi,
under windows i have error " Error: import feedparser"
Greetings
-
hi,
under windows i have error " Error: import feedparser"
Greetings
Cause you need this library to be installed, search in google how, as I noticed, I don't know how to run it on windows.
-
im trying it on centos but im getting this in the SSH window
Key & ValidateNick sent
Login complete ;) sending MyINFO
2013-03-05 16:18:45 -> checkup
Error: not message
Close
Error: dispatch
Close
Check true
Reconnect
Key & ValidateNick sent
Login complete ;) sending MyINFO
2013-03-05 16:18:47 -> checkup
Error: not message
Close
Error: dispatch
Close
Check true
but im not getting any print out in DC
-
I'm not sure what is wrong but enable debug on hub and look what happens when bot tries to connect.
-
i have turned on debug and got no errors
-
just turned it to debug 3 and got this
[21:00:22] <HuginMunin> - [3] [Check] [IP] Clone (1) allowed from IP: xx.xx.xx.xx
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [3] IP: 94.102.148.10 <TESTBOT> $MyPass OK
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [2] IP: 94.102.148.10 <TESTBOT> Logged in successfully.
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [3] IP: 94.102.148.10 <TESTBOT> $MyINFO OK.
[21:00:22] <HuginMunin> [TRAFFIC] [TI] [3] IP: 94.102.148.10 <TESTBOT> Socket closed.
[21:00:22] <HuginMunin> - [2] IP: 94.102.148.10 <TESTBOT> User socket was closed or will be closed now, start SafeUserDelete
-
Look for security settings related to "traffic" and disable whatever is there.
-
No, disabling traffic rules is for the whole hub so thats not the way to go.
What you probably need to do is add a few overrides to the bot's profile,
I think checkmyinfo will be needed, also securitypm and/or securitymc depending on if the bot gonna talk in main or in pm/chatroom
Then depending on your clone setting the maxclones override might need to be added too, but that should be seen in the FlexHub feed room if that rule triggers.
/1d
-
No, disabling traffic rules is for the whole hub so thats not the way to go.
What you probably need to do is add a few overrides to the bot's profile,
I think checkmyinfo will be needed, also securitypm and/or securitymc depending on if the bot gonna talk in main or in pm/chatroom
Then depending on your clone setting the maxclones override might need to be added too, but that should be seen in the FlexHub feed room if that rule triggers.
/1d
I meant to see if it works at all. And BTW default settings of FlexHub are too much restricted, I had to disable 50% of those rules to make hub more comfortable.
-
just turned it to debug 3 and got this
[21:00:22] <HuginMunin> - [3] [Check] [IP] Clone (1) allowed from IP: xx.xx.xx.xx
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [3] IP: 94.102.148.10 <TESTBOT> $MyPass OK
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [2] IP: 94.102.148.10 <TESTBOT> Logged in successfully.
[21:00:22] <HuginMunin> [LOGIN] [N] [LNJ] [3] IP: 94.102.148.10 <TESTBOT> $MyINFO OK.
[21:00:22] <HuginMunin> [TRAFFIC] [TI] [3] IP: 94.102.148.10 <TESTBOT> Socket closed.
[21:00:22] <HuginMunin> - [2] IP: 94.102.148.10 <TESTBOT> User socket was closed or will be closed now, start SafeUserDelete
Don't forget to make the bot as OP[/list][/list]
-
right got it working its because it had posted once and was waiting for the next post so was giving the error output as their wasnt anything else to post