Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IRC Manager for MIRC Details »»
IRC Manager for MIRC
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-16-2004 Last Update: Never Installs: 84
 
No support by the author.

Here is a hack spawned off an original idea by Feldon23 for using mIRC sockets to show who is online in your channel.

This hack advances from his in many features, the most obvious being it uses a MySQL table to store the data.
  • It supports multiple channels, not just one. This means you can show who is online on your forum home page for not just one channel, but many (there is a major restriction to this though, please refer to the install.html)
  • Data is passed through sockets by HTTP POST, not GET, therefore more options are available. For one, this hack will show the topic of your channel.
  • The "most users ever in the channel" has a timestamp to go along with it.
  • The most innovative feature of this hack is the activity bar. This guages the activity of your channel by counting how many lines are outputted in the channel every X amount of seconds (this value is definable by you; default is 3 minutes). The activity bar allows people not in the IRC channel to see if there is activity going on inside.
  • Admin Control Panel integration, for easy adding/deleting/editing channels.

This hack operates in the same as Feldon's, in that you MUST be in mIRC and connected to the channel if you wish for the data to be updated. There is no eggdrop required, and no FTP.

About the only known bug/error I've encountered in this hack is a "socket-in-use" error from mIRC. This can happen if you have a busy chatroom with people changing nicks, or leaving and joining the chatroom constantly. In this case, you will want to make some modifications to the ON-events in the remote script.

For more explanation on features, requirements, and restrictions, please refer to the section in install.html.


Version 1.1 - 1/20/04
  • Changed the way data is sent in the remote socket script, to allow more users being. Unfortuantly mIRC sockets aren't very extensive, and through different functions and loops I still wasn't able figure out a way of sending more data. This simply means the max users that will be updated for each channel is around 60 users. (although, I believe it is more than the the 1.0 version)
  • Created another socket connection for the topic & activity, which should reduce the number of "socket-in-use" errors.
  • Renamed two of the config variables which were somewhat ambigious.

Upgrade 1.1 Instructions:
  • Unload your current ircon_rm.txt remote script and ircon_al.txt alias script, and reload the new ones.

Clear your internet cache before downloading.

If you install this hack, please click the install button.

Show Your Support

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

Comments
  #32  
Old 01-18-2004, 10:58 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Socket-in-use" means that another command has initiated the socket and the request process isn't quite finished.

But, if you are getting "not connected" errors, it ultimately means no socket connection is ever being established.

If you want me to test it out on my mIRC, I'd have no problem about it.
Reply With Quote
  #33  
Old 01-18-2004, 11:04 PM
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So the not connected errors mean that it isnt getting thru and my server probably then isnt allowing it?
Reply With Quote
  #34  
Old 01-18-2004, 11:17 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep. Or, you have configured something wrong in the aliases script.
Reply With Quote
  #35  
Old 01-18-2004, 11:58 PM
Ronin Ronin is offline
 
Join Date: Dec 2003
Location: Calgary
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Job gonna try this one out thanks alot!
Reply With Quote
  #36  
Old 01-19-2004, 03:31 AM
MrWee's Avatar
MrWee MrWee is offline
 
Join Date: Jan 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible for it to display a "Bot Offline" message when the computer running mIRC is not connected?
Reply With Quote
  #37  
Old 01-19-2004, 04:20 AM
CHeeKY CHeeKY is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
@cheeky, gc1:

THe %ircserver value needs to be in www.yoursite.domain format.

Here is my example:

Code:
  %ircserver   = www.animesystem.com
  %ircfilepath = /forums/irconline.php
  %irckey      = 54321
  %ircchan     = #animesystem
  %ircwait     = 120
If you are getting a socket-write error message, it simply means it can't connect to the site.

Make sure the value of %irckey matches $irckey inside irconline.php.



Are you getting any errors from mIRC in the server status window?

that error is coming from the mirc window, and I cant put my domain in domain format as it doesnt have one, we use a re-direct to ip, so the domain is ip...

Should it make a idfference? I checked with the host and the irc people and they aid, its fine to use what I am doing....
If it only works for domain, can I make a suggestion that it reads http://x.x.x.x in future?

Regards
Reply With Quote
  #38  
Old 01-19-2004, 08:22 AM
Osmosis's Avatar
Osmosis Osmosis is offline
 
Join Date: Mar 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Osmosis
I installed this hack, very nice and confusing with no FTP script, but it seems to be working for the most part. The one thing that isnt working: the topic is not being displayed on forumhome. Can you think of why this might be?
Still no idea why the topic isnt making it to the forumhome...
Reply With Quote
  #39  
Old 01-19-2004, 05:08 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Is it possible for it to display a "Bot Offline" message when the computer running mIRC is not connected?
This hack has nothing to do with bots, so you'll have to ask someone else.

Quote:
that error is coming from the mirc window, and I cant put my domain in domain format as it doesnt have one, we use a re-direct to ip, so the domain is ip...

Should it make a idfference? I checked with the host and the irc people and they aid, its fine to use what I am doing....
If it only works for domain, can I make a suggestion that it reads http://x.x.x.x in future?

Regards
You'll just have to trouble shoot and test it out. I've only tested it in normal domain format.

Quote:
Still no idea why the topic isnt making it to the forumhome...
Read through the thread, there are tons of suggestions for troubleshooting.

Try the command /topicrefresh

Check if it gives you any errors in the status iwndow of your IRC server in mIRC.
Reply With Quote
  #40  
Old 01-19-2004, 06:25 PM
MrWee's Avatar
MrWee MrWee is offline
 
Join Date: Jan 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
This hack has nothing to do with bots, so you'll have to ask someone else.
the user running the mIRC script could be considered a bot.


Let me rephrase: i am asking is it possible that the stats could display some kind of "offline" message when it has no connection to irc.
Reply With Quote
  #41  
Old 01-19-2004, 11:21 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would have to modify the mIRC script to make it so that when you disconnect from mIRC, it sends a request to the website notifying that the bot is offline.

Someone with the script would still have to be present, though, since the on:EVENT remote commands in mIRC aren't triggered by actions that you, the script holder, perform.

Your best bet is simply giving the script to other people you can trust, like a mod or other admin, and having them set it up on their mIRC.
Reply With Quote
  #42  
Old 01-20-2004, 12:20 AM
Osmosis's Avatar
Osmosis Osmosis is offline
 
Join Date: Mar 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Try the command /topicrefresh
returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho. As another point, I perpetually have a connection to the forums open, it seems. My IP is always at Unknown Location
/forums/irconline.php?eventid=refresh on my forums.
Reply With Quote
  #43  
Old 01-20-2004, 01:50 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
You would have to modify the mIRC script to make it so that when you disconnect from mIRC, it sends a request to the website notifying that the bot is offline.

Someone with the script would still have to be present, though, since the on:EVENT remote commands in mIRC aren't triggered by actions that you, the script holder, perform.

Your best bet is simply giving the script to other people you can trust, like a mod or other admin, and having them set it up on their mIRC.
how about a command to tell the update to stop and that the bot is offline
Reply With Quote
  #44  
Old 01-20-2004, 02:50 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho.
If you get a socket-in-use error when trying to use /ircrefresh or /topicrefresh, which can happen if there is much activity and the socket processes are overlapping, you can manually shut them down using /sockclose.

E.g.

/sockclose dbupdate

Then try proceeding with /topicrefresh

As for your IP pointing to this nonexistent location, irconline.php?event=refresh, not sure what is going on there.
Reply With Quote
  #45  
Old 01-20-2004, 03:27 AM
Osmosis's Avatar
Osmosis Osmosis is offline
 
Join Date: Mar 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I managed to get the topic to update by shutting down the socket and manually /topicrefresh quickly after, tho it took a few tries before the dbupdate socket reopened. My IRC channel (and forum) dont have very much traffic in fact thus far the activity bar hasn't gone above 'Very Idle'. I'll keep watching this thread to see if any updates happen, or if someone can explain to me why its not workin so well for me.

I am still a bit concerned about the connection to /forums/irconline.php?eventid=refresh which seems to coincide with the settings within the aliases installed by this hack (of which I have 4, begintime, ircrefresh, startcount, and topicrefresh). I'm pretty sure this is whats causing the problems... you dont have this problem on your own forum?

Still, this hack is better than the IRC hack I had installed on VB2. Thanks a lot for the efforts in this, and great hack Installed!
Reply With Quote
  #46  
Old 01-20-2004, 06:46 AM
CHeeKY CHeeKY is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process
Reply With Quote
Reply


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 01:29 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.05299 seconds
  • Memory Usage 2,370KB
  • Queries Executed 30 (?)
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_code
  • (9)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
  • (4)pagenav_pagelink
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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