![]() |
IRC Manager for MIRC
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.
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
Upgrade 1.1 Instructions:
Clear your internet cache before downloading. If you install this hack, please click the install button. ;) |
Looks great Velocd. Something very useful for mIRC users.
Cheers, g-force2k2 |
Nice work mate, kinda make me wonder whether i should try out IRC (Yes i have never bothered with it before ;) )
|
any tutorials on how to work IRC? it's confusing to me.
|
hmm it didn't work where must be the irc client on the server where the forum is ?
|
Quote:
|
yeah it works http://www.bund-der-alten-reiche.de/forum/ look at the buttom
but now a question if i got offline it dosen't will refresh the date how could i make it that it refresh without my mirc client ? any client what i could put on my linux server where the forum is ? |
Very good I install :D
|
Quote:
This hack absolutely requires mIRC. No other way around it. (although.. there are other mIRC-like programs out there, like visualIRC, but still same scenario). Quote:
If you need an mIRC tutorial, here are some: http://www.mirc.com/mirc.html http://www.google.com/search?hl=en&i...mirc+tutorials |
lol good work
If anyone needs any irc hosting for a channel, i have a server @ irc.tfogame.com you guys can use. |
Quote:
|
Sorry I"m very newbie in irc, I try to make this hack work, but :( !
Everything it' work and show on homepage, but no data ? Non nick, no mostuser, nothing and I go to look the link you put, but I don't understand more sorry :( ! Thanks! @+ |
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?
|
ok I am looged into my channel and loaded the scripts.
In the alias config is below right? %ircserver = irc.freenode.net %ircfilepath = /forums/irconline.php %irckey = xxxxxx %ircchan = #channelname %ircwait = 120 then in my irc manager in admincp I have Handle #channelname Server #irc.freenode.net I am not getting any listings in the forum with the current config :( Regards |
Quote:
|
very nice !! work on v2.2.9 !?? thx
|
Its a hack in the vB3 section so im guessing it wont mate ;)
|
Let me explain how exactly it updates. It uses mIRC remote events to update the DB table through sockets.
There are two primary commands, /ircrefresh and /refreshtopic If you type /ircrefresh and hit enter, it will update the irc_channel table in your DB with the latest users in your channel. /refreshtopic will update your topic. Here are the remote events used (by default): Quote:
If your topic is changed inside the channel (while you are connected to your channel!), then the topic will update. The drawback on this is that, if it is changed when you are not in your channel, you will manually have to update it using /refreshtopic. You can fix this by using the following line: Quote:
The problem that exists is sometimes a "socket-in-user" error can develop if you run /topicrefresh or /ircrefresh too quickly. Quote:
Think of it as that, %ircserver and %ircfilepath are connected. Thus, www.yourserver.com/forums/irconline.php would be the full path. Also ensure that: %ircchan = #channelname Is pointing to your channel name! I think in this case you are hiding your channel name, but everyone make sure that config area is filled out properly. Quote:
Then, try manually typing /ircbrowse and see if it updates your DB. Also check the status window of your IRC server, which is the first window on the channel-bar in mIRC. If any errors appear, they'll be at the bottom. Quote:
My guess is you haven't changed the topic, and therefore the remote event is not triggering. Quote:
|
I tried this on a test board, and everything installed properly, except for after intall the index.php page shows the area for it but the topic is blank and shows no one online in the room. Seems information is not getting to it. I am 100% sure I installed everything right so Im taking it that some will not be able to use this depending on whether there server will allow it?
Thats the problem Ive had in the past with this type of hack is server wont allow it so Im taking same problem? Any clues? |
Quote:
Remember, typing manually /ircrefresh and /topicrefresh is good for troubleshooting. Make sure no socket-in-use or other errors show up in your IRC server status window. Just about any server should be able to receive the socket request, that is, if PORT 80 is open. Most servers have port 80 open for requests, but if all else fails, contact your host to make sure it is. |
ok heres my new settings
%ircserver = http://x.x.x.x %ircfilepath = /forums/irconline.php %irckey = 11111 %ircchan = #qteam %ircwait = 60 admincp Handle #qteam Server b0rk.uk.quakenet.org this is the error I get * /sockwrite: 'dbupdate' not connected (line 2, ircon_rm.txt) Quote:
|
Quote:
Okay was told by my server that port 80 is used for only http requests and that for security reasons they cannot devulged any open ports to me. So am I outta luck on this working? |
Quote:
This is exactly what I am getting hmm |
@cheeky, gc1:
THe %ircserver value needs to be in www.yoursite.domain format. Here is my example: Code:
%ircserver = www.animesystem.com Make sure the value of %irckey matches $irckey inside irconline.php. Quote:
|
Quote:
Check for any errors from mIRC in the server status window. Who is your host, btw? |
2mhost.com
They are saying: Your account will be suspended if you use IRC on our servers without any notifications. We are not allowing the users to use the open ports just because they may cause heavy loads. So sounds like I am outta luck. Nope no errors inside of MIRC either. *** Loaded aliases 'C:\Program Files\MIRC\ircon_al.txt' *** Loaded script 'C:\Program Files\MIRC\ircon_rm.txt' - * Timer 1 activated Thats all I get there. Also get this on index.php page : Most users in the chat was 0 on 12-31-1969 at 07:00 PM. |
Quote:
What you could do is test out PHP sockets on your site and see if port 80 is open for requests. This would just verify that they indeed have blocked out mIRC. Info on PHP sockets: http://us4.php.net/manual/en/function.fsockopen.php PHP.net example: PHP Code:
|
* /sockwrite: 'dbupdate' not connected (line 2, ircon_rm.txt)
- * Timer 1 activated - * Timer 2 activated - * Timer 3 activated - * Timer 4 activated - * Timer 5 activated - * Timer 6 activated - * Timer 1 halted - * Timer 2 halted - * /sockopen: 'dbupdate' socket in use (line 106, ircon_al.txt) - * Timer 3 halted - * /sockopen: 'dbupdate' socket in use (line 106, ircon_al.txt) - * Timer 4 halted - * /sockopen: 'dbupdate' socket in use (line 106, ircon_al.txt) - * Timer 5 halted - * /sockopen: 'dbupdate' socket in use (line 106, ircon_al.txt) - * Timer 6 halted |
Kiss, if you don't care, I could test it out on my mIRC.
All I would have to do is configure the alias script with your values. If you want to do this, send me a PM with your site domain, the value of %ircfilepath, and then the value of $irckey in irconline.php. |
Now I am getting this:
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt) - * /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt) - * /sockwrite: 'dbupdate' not connected (line 2, ircon_rm.txt) - * /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt) - * /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt) - * /sockwrite: 'dbupdate' not connected (line 2, ircon_rm.txt) |
"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. ;) |
So the not connected errors mean that it isnt getting thru and my server probably then isnt allowing it?
|
Yep. Or, you have configured something wrong in the aliases script.
|
Nice Job gonna try this one out thanks alot!
|
Is it possible for it to display a "Bot Offline" message when the computer running mIRC is not connected?
|
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 |
Quote:
|
Quote:
Quote:
Quote:
Try the command /topicrefresh Check if it gives you any errors in the status iwndow of your IRC server in mIRC. |
Quote:
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. |
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. |
All times are GMT. The time now is 04:43 PM. |
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:
|