![]() |
IRC post bot - No eggdrop
This is the release version of the irc bot - no eggdrop.
Originally created by me, PowerBlade, and distributed by Dymo. Installer and admin panel created by Dymo. If you have an older version of this bot, it's enough to replace the irc.php file located inside the archive. New in this version: - Made a debug function. - Added 2 switches in the irc.php file To enable the debug mode, simply go into the file irc.php and turn $debugging = FALSE; into $debugging = TRUE; This will write the debug text into the page after you submitted the post. Beware the page will change quickly to go to your post, so you have to press the STOP button on your browser. The other switch in irc.php is the $amountOfLines = 6; If you ever experience it takes forever (30 seconds) to submit the post, and the bot doesn't join the irc channel, then try put this down by 1 (5). If it's still the same, try 1 more down, until it stops. At this point it should work. I will from this version make full support on this script. If you want to recieve support from me, email me on powerblade@mail.dk with the content of the debug mode. That's all. Hope you people enjoy it. PowerBlade Admin of Gamer-Networks Feel free to visit our irc channel on irc.d2network.com:6667 #d2network, #wc3network, #gamer-networks |
Poll removed, no need for one.
|
The reason I didn't use the egg-drop method is because I heard of the performance decrease you will suffer UNLESS you have a dedicated server. So will this have performance losses as well unless you have a dedicated server? Because I don't have one..
Oh, and to make sure I'm not totally spilling out random questions, this hack enables your forum home to have a "who's in IRC chat", correct? |
hmm....interesting. but what does this do?
|
What this hack does is connecting to the irc server every time a new post or a reply has been made (configurable) in specific forums
you can choose up to 3 channels different channels to join depending on the forum the post was made in The bot then connects to irc, joins the channel, tell people in there a new post was made, and quit's again. When you click the submit button the server must connect, send message, quit to the irc server, before the user can continue to his post. So this will be a bit longer. The nice part about eggdrop (if you want to) is the script simply needs to throw the data in the db, and a dedicated bot reads it from time to time. This is much faster than this, but this is possible on non-dedicated server. btw.. this does not add the "who is in irc chat" |
dont add anything - tried it a few times and still nothing shows up.
I have tried it on numerous networks and even on me own network (unreal on Linux) and nothing. |
I think it is very annoying that it joins/parts everytime. Why not let it use mIRC dde sessions? This way one could put up an irc client on their dsl/cable/dedicated line and just let it idle and display new stuff.
|
Quote:
The hack is installed correct but when i make new post i see nothing in mirc even though i have entered the correct details in admin cp. |
Quote:
I need a new irc who's-chatting hack that gets people using mIRC chatting also :p ...just no eggdrop...but anyway~ |
Can u add the changes needed for the NEwthread and reply PHP files. I dont want to just overright them on my server because i hacked those files. Please have instructions thanks.
|
The text to insert is marked by
/* IRC NOTICE HACK BY POWERBLADE */ /* END IRC NOTICE HACK */ but not in newreply.php. That's why i uploaded a new version beneath The reason for not using dde sessions, is because i haven't heard about it. Im not a hardcore irc user, i was just making this as a request, and i thought i would post it here, so others can get use of it. |
Hi,
Great hack, would really love to have this, but why do i get a "Connection refused (111)" error message when I cal irc.php in my browser. I already contacted my host, they said they dont block anything. Great |
Quote:
I believe you are slightly mistaken about the way DDE works. DDE is basically a set of API function built into mirc, not a server. There would be no way for a php script, on another server, to communicate with mirc (or for php to communicate with mirc at all) to relay these messages. You could however have the script simply message a user with a small script built into your client of choice. Then that message could be relayed to the chan. |
The connection refused is because the port is blocked on the computer it tries to connect to.
This can be because of a firewall or other similar software. If it's windows xp try see if the built in firewall is disabled, or add the port to the exclude list |
I`m lost now :(
What to put at the last few lines? Under this.......IRC Notify Bot Identity settings (all settings required):? |
Ill keep an eye on this and hope I can get it working!
|
it is an excellent basis for me. I adapted the code to my needs: to communicate a notification of messages on a P2P soft that integrates a chat like IRC.
the result is not quiter the same that the hack given here but I improved some small things. of which essentially the pause made before the closing of the socket; I put a sleep () rather than a loop that saturated my server. thank you for this hack because it helped me well :=) (sorry for English, thank you to powertranslator lol) |
Fatal error: Call to undefined function: phperror_reporting() in /usr/local/plesk/apache/vhosts/world-of-digital.com/httpdocs/forums/admin/ircadmin.php on line 1
i get that error when trying to access the page from the admin section :( |
I looked in the ircadmin.php file and found out the file needs line seperators. And because of that the
<?php error_reporting(7); was melted together as <?phperror_reporting() Simply change it back to the above example, and that should fix your problem. |
so if I get error
Connection refused (111) that means my server is blocking the ports i am trying to use to connect to irc? |
ok i got it to work but it doesnt post anything in the channel. the OPS on the server say that it connects and then just disconnects
|
This can be because the delay it not high enough. If the bot sends the commands too fast to the server, the server simply ignore it. So i made a for() loop to make it wait a second or so in the ircbot.php
There should be a configuration directive inside the file. |
Could someone create a "install" step by step explenationcause I don't know what to do actually.... I can't run any php installers as I as most users have other hacks installed..
|
Im sorry, but i dont have any time at all to write a step by step guide. When i get time, and if enough shows interest, i will make it. But not now.. Sorry.
My advice is to install hacks, you should at least have a little knowledge about php and what specific things do. |
How install this hack on vbulletin 2.2.9?
Thanks in advance :) |
So far no joy on this on new thread nothing happens at all and on reply i get a timeout error.
Help would be appreciated though. |
All times are GMT. The time now is 03:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|