AOWiki
::
AODevs Forums
::
Arcanum
::
AO Official Forums
:: AOC
US
/
EU
Official Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
FC 3rd Party Dev
Anarchy Online
»
Budabot
»
New Budabot IRC module
Username:
1 Hour
1 Day
1 Week
1 Month
Forever
Password:
Home
Help
Search
Login
Register
Pages: [
1
]
« previous
next »
Print
Author
Topic: New Budabot IRC module (Read 2104 times)
veremit
Rollerrat
Reetness: +0/-0
Offline
Posts: 30
New Budabot IRC module
«
on:
December 07, 2009, 13:27:25 »
There seems to be a few bugs preventing this working correctly ...
- Setting IRC channel doesn't seem to be saved correctly
Is this because some IRC settings are hard-coded .. should the IRC_MODULE settings section be 'edit' not 'noedit' ?
I'm sure line 38 of set_irc_settings.php should read:
Code:
if(strpos($channel,"#") != 0) {
Is it possible to change all the IRC settings so that it can connect to servers other than Funcom's?
Logged
veremit
Rollerrat
Reetness: +0/-0
Offline
Posts: 30
Re: New Budabot IRC module
«
Reply #1 on:
December 07, 2009, 14:20:46 »
Ok seems like mostly my mistake.
Although I think there were some typos .. maybe someone can check over and post back.
TY!
Logged
Etheryal
Reet
Reetness: +0/-0
Offline
Posts: 70
Re: New Budabot IRC module
«
Reply #2 on:
December 08, 2009, 17:55:40 »
Yeah, saving a "custom" irc channel to connect to was bugged. Someone notified me of that in-game a few days ago, and I reposted the module with the fixed file included. If you re-download the new "fixed" module, it should work fine. Lemme know how it turns out ^^
Logged
Legendadv Adv
Etherealcrat Crat
Zephyrforce Enfo
Etherealheal Doc
(and lots more)
Strombanni
Rollerrat
Reetness: +0/-0
Offline
Posts: 8
Re: New Budabot IRC module
«
Reply #3 on:
December 09, 2009, 07:41:59 »
Hello there!
Thanks for the irc module
I have one request/question about it. We have password protected our irc channel, is there any way I can get the bot to join a password protected irc channel ? If not, you think you will add that function to your module ?
Thank you!
Logged
Etheryal
Reet
Reetness: +0/-0
Offline
Posts: 70
Re: New Budabot IRC module
«
Reply #4 on:
December 13, 2009, 03:02:21 »
Sure thing. It didn't cross my mind, but I'll be adding that functionality in the next few days. Thanks for letting me know.
Logged
Legendadv Adv
Etherealcrat Crat
Zephyrforce Enfo
Etherealheal Doc
(and lots more)
veremit
Rollerrat
Reetness: +0/-0
Offline
Posts: 30
Found a bug ..
«
Reply #5 on:
December 20, 2009, 14:58:09 »
Just spotted in the IRC channel:
Code:
<MMAbot> Oooohyea: Goodtech</font> has logged off
Logged
Strombanni
Rollerrat
Reetness: +0/-0
Offline
Posts: 8
Re: New Budabot IRC module
«
Reply #6 on:
December 30, 2009, 07:17:40 »
Any news on the new functionality which lets the bot join a password protected channel ? Work in progress ?
«
Last Edit: December 30, 2009, 12:40:40 by Strombanni
»
Logged
Etheryal
Reet
Reetness: +0/-0
Offline
Posts: 70
Re: New Budabot IRC module
«
Reply #7 on:
January 03, 2010, 03:19:02 »
I'm really sorry about the delay. been really busy over the holiday vacations and stuff.
To help expedite the process (so you dont have to wait for a whole new release), go ahead and do the following:
you'll need to open up the irc_connect.php file in notepad, notepad++ or some other file editor.
Line 47 should read: fputs($socket,"JOIN ".$this->settings['irc_channel']."\n");
Change that line to read: fputs($socket,"JOIN ".$this->settings['irc_channel']."
<YOUR CHANNEL PASSWORD>
\n");
Also, make sure not to forget the space that goes
after
the quote and
before
your actual password.
For example:
fputs($socket,"JOIN ".$this->settings['irc_channel']."
MEANSPASSWORD
\n");
Don't forget to save the file -.-
That should get you up and running. If more people start bugging for the ability to join password protected channels, I'll go ahead and write up some code for having the
option
of joining a channel and re-release the module. But for now this should hold ya over. Lemme know if you have any trouble or that doesn't work
Logged
Legendadv Adv
Etherealcrat Crat
Zephyrforce Enfo
Etherealheal Doc
(and lots more)
Strombanni
Rollerrat
Reetness: +0/-0
Offline
Posts: 8
Re: New Budabot IRC module
«
Reply #8 on:
January 13, 2010, 12:06:55 »
Working like a charm. Thanks!
Logged
Strombanni
Rollerrat
Reetness: +0/-0
Offline
Posts: 8
Re: New Budabot IRC module
«
Reply #9 on:
March 05, 2010, 07:24:45 »
Another issue that happens frequently is that the bot drops from irc from time to time, for many reasons I think. Just as an example is that it just now dropped with this quit message Quit (Excess Flood). To get it started again, an admin just have to do /tell botname !startirc, so it's no problem to get it started again. However, we don't always have an admin there, so would it be possible to let the bot either check if it's on irc or simply just do /join #channel from time to time. Dunno if this can be fixed really, but would be great if it was possible. If not, we'll keep doing !startirc
Logged
veremit
Rollerrat
Reetness: +0/-0
Offline
Posts: 30
Re: New Budabot IRC module
«
Reply #10 on:
March 05, 2010, 18:12:27 »
There is only one major problem if a bot is being kicked off IRC because of things like flooding, or someone posts something which an IRCopBot deems violation of Usage policy, and the bot continues to re-attempt a connection to that server. You're gonna end up K-Lined and unable to use that IRC server period.
For this reason, many IRC admins don't allow bots, because their unattended automations can really screw up an IRC server.
I would suggest perhaps someone can code a timer which attempts to reconnect if a disconnection event has been detected, a number of times which can be specified as a config parameter. Something like 5 connection attempts should be more than sufficient - and can be reset on a successful connection.
Just thought you should be aware of some of the wider implications of bots on IRC servers!
Logged
Arsenal
Rollerrat
Reetness: +0/-0
Offline
Posts: 7
Re: New Budabot IRC module
«
Reply #11 on:
March 17, 2010, 20:58:51 »
Hmm anyone else having the problem, that everything is double posted in the Orgchannel when Relay Commands between Guestchannel and Orgchannel is set to ON?
That's a bit annoying, we like that option because you can use !items to point someone to a specific item. But it gets really spammy when IRC is activated.
And we use IRC to cross the dimensions, so there is much activity going on between those.
Another thought totally unrelated to those problems just crossed my mind. Right now, the Bot converts a Itemlink to an AUNO link to IRC, but when using two Bots, would it be possible to parse it back into an ingame itemlink? That would be nice.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Anarchy Online
-----------------------------
=> Announcements
=> General Discussion
=> Support
=> Releases
=> Budabot
=> Mentally Challenged
-----------------------------
Age of Conan
-----------------------------
=> General Discussion
=> Support
=> Releases
-----------------------------
The Secret World
-----------------------------
=> General Discussion
=> Support
=> Releases
-----------------------------
Arcanum
-----------------------------
=> General Arcanum Chat
=> Armor & Production
=> Gadgets & Production
=> Weapons & Smithing
=> Pharmacy
=> General Crafting
=> Quests
=> Unique Encounters
=> Trade & Economy
Loading...