Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
IRC post bot - No eggdrop Details »»
IRC post bot - No eggdrop
Version: 1.00, by PowerBlade PowerBlade is offline
Developer Last Online: Nov 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-31-2002 Last Update: Never Installs: 46
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-04-2002, 11:55 AM
PowerBlade PowerBlade is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 08-06-2002, 06:02 PM
meandme meandme is offline
 
Join Date: Aug 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 08-07-2002, 06:57 AM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
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.
*unlurks for a moment*

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.
Reply With Quote
  #15  
Old 08-08-2002, 07:55 AM
PowerBlade PowerBlade is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 08-08-2002, 11:34 PM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I`m lost now
What to put at the last few lines?
Under this.......IRC Notify Bot Identity settings (all settings required):?
Reply With Quote
  #17  
Old 08-09-2002, 02:01 AM
Barret Barret is offline
 
Join Date: Nov 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill keep an eye on this and hope I can get it working!
Reply With Quote
  #18  
Old 08-11-2002, 08:32 AM
zefman zefman is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #19  
Old 10-07-2002, 03:40 PM
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 10-07-2002, 06:28 PM
PowerBlade PowerBlade is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 10-09-2002, 07:39 PM
Mike11212 Mike11212 is offline
 
Join Date: Jul 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04858 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete