View Full Version : IRC Manager for MIRC
Velocd
01-16-2004, 10:00 PM
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. ;)
g-force2k2
01-17-2004, 07:43 PM
Looks great Velocd. Something very useful for mIRC users.
Cheers,
g-force2k2
MindTrix
01-17-2004, 07:46 PM
Nice work mate, kinda make me wonder whether i should try out IRC (Yes i have never bothered with it before ;) )
*arie
01-17-2004, 07:58 PM
any tutorials on how to work IRC? it's confusing to me.
FreeTerran
01-17-2004, 08:07 PM
hmm it didn't work where must be the irc client on the server where the forum is ?
Zachery
01-17-2004, 08:08 PM
any tutorials on how to work IRC? it's confusing to me.
very awsome man ^^ :)
FreeTerran
01-17-2004, 08:25 PM
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 ?
HiDeo
01-17-2004, 09:38 PM
Very good I install :D
Velocd
01-17-2004, 10:12 PM
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 ?
If you can figure out a way to make an eggdrop for this sort of hack, which is an IRC bot. I don't have a linux nor shell accounts to test out eggdrops.
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).
hmm it didn't work where must be the irc client on the server where the forum is ?
It uses mIRC! This hack is totally separate from whether you have some Java chat installed. Explain your problem a bit more, but you need to download mIRC from www.mirc.com, and then configure it as my instructions have said.
If you need an mIRC tutorial, here are some:
http://www.mirc.com/mirc.html
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=mirc+tutorials
zajako
01-17-2004, 10:32 PM
lol good work
If anyone needs any irc hosting for a channel, i have a server @ irc.tfogame.com you guys can use.
*arie
01-17-2004, 10:54 PM
If you need an mIRC tutorial, here are some:
http://www.mirc.com/mirc.html
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=mirc+tutorials
Thanks :)
Luciolle
01-18-2004, 04:31 AM
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!
@+
Osmosis
01-18-2004, 05:30 AM
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?
CHeeKY
01-18-2004, 07:23 AM
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
FreeTerran
01-18-2004, 08:04 AM
If you can figure out a way to make an eggdrop for this sort of hack, which is an IRC bot. I don't have a linux nor shell accounts to test out eggdrops.
velcod if you could code it i could test it for you ;)
empreur76
01-18-2004, 11:07 AM
very nice !! work on v2.2.9 !?? thx
MindTrix
01-18-2004, 11:09 AM
Its a hack in the vB3 section so im guessing it wont mate ;)
Velocd
01-18-2004, 03:26 PM
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):
on 1:CONNECT:/timer 1 4 /begintime
on 1:TOPIC:%ircchan: /topicrefresh
on 1:TEXT:*:%ircchan: inc %irclines 1
on 1:KICK:%ircchan: /ircrefresh
on 1:JOIN:%ircchan: /timer 1 4 /ircrefresh
on 1:PART:%ircchan: /timer 1 4 /ircrefresh
on 1:QUIT: /timer 1 4 /ircrefresh
on 1:NICK: /timer 1 4 /ircrefresh
If a user is kicked, quits, changes his nick, or joins your channel, the command /ircrefresh will be triggered.
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:
on 1:CONNECT:/timer 1 4 /begintime | /timer 1 4 /topicrefresh
Instead of the current on:CONNECT event.
The problem that exists is sometimes a "socket-in-user" error can develop if you run /topicrefresh or /ircrefresh too quickly.
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
This is my fault for I named the variables somewhat ambiguous, but %ircserver is not your irc server! It's suppose to be your webdomain server that irconline.php is on.
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.
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!
@+c
Recheck your alias script, to ensure the values are set correctly as mentioned above.
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.
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?
Try manually typing /topicrefresh .
My guess is you haven't changed the topic, and therefore the remote event is not triggering.
velcod if you could code it i could test it for you
I'll look into it, to see if I even have the time to code one. ;)
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?
Velocd
01-18-2004, 04:39 PM
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?
Post in vB code tag what you have in your aliases page, so I can verify it.
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.
CHeeKY
01-18-2004, 05:16 PM
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)
this is from ircon_rm.txt
on *:sockopen:dbupdate:{
sockwrite -n $sockname POST %ircfilepath HTTP/1.1
sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
sockwrite -n $sockname Host: %ircserver
sockwrite -n $sockname Connection: close
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: $len(%sockstring)
sockwrite -n $sockname $crlf
sockwrite -t $sockname %sockstring
any tips?
Post in vB code tag what you have in your aliases page, so I can verify it.
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.
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?
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)
any tips?
This is exactly what I am getting hmm
Velocd
01-18-2004, 08:36 PM
@cheeky, gc1:
THe %ircserver value needs to be in www.yoursite.domain format.
Here is my example:
%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.
This is what I got in the alias tab
Are you getting any errors from mIRC in the server status window?
Velocd
01-18-2004, 08:47 PM
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?
If they're saying port 80 is open for HTTP requests, then this hack should work.
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.
Velocd
01-18-2004, 09:05 PM
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.
Hmm, well, it's best not tampering with it if your host has threatened to suspend your account. :^/
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
$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.example.com\r\n";
$out .= "Connection: Close\r\n\r\n";
fputs($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
* /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
Velocd
01-18-2004, 10:31 PM
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)
Velocd
01-18-2004, 10:58 PM
"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?
Velocd
01-18-2004, 11:17 PM
Yep. Or, you have configured something wrong in the aliases script.
Ronin
01-18-2004, 11:58 PM
Nice Job gonna try this one out thanks alot!
MrWee
01-19-2004, 03:31 AM
Is it possible for it to display a "Bot Offline" message when the computer running mIRC is not connected?
CHeeKY
01-19-2004, 04:20 AM
@cheeky, gc1:
THe %ircserver value needs to be in www.yoursite.domain format.
Here is my example:
%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
Osmosis
01-19-2004, 08:22 AM
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...
Velocd
01-19-2004, 05:08 PM
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.
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.
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.
MrWee
01-19-2004, 06:25 PM
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.
Velocd
01-19-2004, 11:21 PM
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.
Osmosis
01-20-2004, 12:20 AM
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.
Zachery
01-20-2004, 01:50 AM
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
Velocd
01-20-2004, 02:50 AM
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.
Osmosis
01-20-2004, 03:27 AM
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!
CHeeKY
01-20-2004, 06:46 AM
Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process :)
Exero
01-20-2004, 08:03 AM
sweet
i will install it when vB3 Gold is out :)
Floris
01-20-2004, 10:23 AM
sweet
i will install it when vB3 Gold is out :)The support link in the install file reflects another thread :) You might want to update that to avoid confusion.
To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together. At the moment, we don't even list half the users online. Which is a shame. This is partially due to the long length of usernames that is allowed on the channel.
Great hack - it works. Just a shame it doesn't use the config.php prefix_ for tablenames :)
and as a final integration with vb3's new feature(s); phrases!
## Small tweak for users who want to have the irc server listed as a link so it opens in mirc ! (hopefully this still works in mirc6 - haven't tried it out yet though)
# Open the " irc_loggedin " template and find:
$channel[server]
# Replace with:
<a href="irc://$channel[server]/$channel[handle]">$channel[server]</a>
##
Velocd
01-20-2004, 01:35 PM
To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together.
Ah, I have tried this, and the result is the same happening! Even if you separate each as its own variable, and then make a new variable that is the concatenated form of those other variables, mIRC will still form them all together and give you a "line-too-long" message.
I think the only way around this is using some filesystem functions, and saving the data into a local file (in your mIRC dir) and then reading it from that file. I'll look into this today.
Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process
Yeah, go ahead. ;) I can help you out some in there if I see you.
VeoMorphine
01-20-2004, 02:07 PM
this would be great as an eggdrop. If anyone needs a server, you can use mine. Its a 1000 user network. irc.asylo.com
Velocd
01-20-2004, 05:28 PM
IRC Manager has been updated to version 1.1
Please update, as this version is more stable. Details and upgrade instructions are in the first post (https://vborg.vbsupport.ru/showthread.php?t=60365&page=1&pp=15).
Osmosis
01-21-2004, 07:25 PM
I'm getting an Unknown Method when I try to unpack the new zipfile. Is this just me?
Velocd
01-21-2004, 07:52 PM
That's odd. I'm not getting any such error, but I'll recreate a new one to see if somehow it got corrupted.
edit:
Zip updated
Zachery
01-21-2004, 08:37 PM
That's odd. I'm not getting any such error, but I'll recreate a new one to see if somehow it got corrupted.
edit:
Zip updated
did you think about adding a statics off command ? (i havent checked sicne i first asked about it ) :P
Velocd
01-21-2004, 10:31 PM
I see no need for a statistics off command. If you want to add one, which isn't that hard as I explained some posts earlier, feel free ^^;
Zachery
01-22-2004, 12:39 AM
I see no need for a statistics off command. If you want to add one, which isn't that hard as I explained some posts earlier, feel free ^^;
if i knew how to i would have coded it my self mike :)
i think it would be a nice adition :) just a thought
Shell Geeks
01-22-2004, 11:20 AM
Anyone find a way to script this to either read from a eggdrop bot or directly B i t c h X from the the server hosting the forum? not all of us use mIRC :D
Allan
01-24-2004, 07:51 AM
it's compatible with RC3 ?
if got right, i need to be online in my mIRC client to se statistic? So what the point of that hack if i can go in my mIRC client and see that there?
Sorry, may be misunderstud... and i did everything right but... (i used 2 different clients for that mIRC 6.03 and Neora Trion but nothing happend)...
i think it great hack but i want to be shure that it work even if my client is off (that exactly reason to install that hack couse first i go to my forum and if any nice guys there and in IRC then i go to IRC, and it`ll be usefull for me (and all my users) to see who`s online in IRC without to be online myself...
Maybe any chanse to integrate that hack with any ICR-applets (a lot chat integration aroud for IRC)?
Thanks!
Shell Geeks
01-25-2004, 02:44 PM
yes, I agree M.C. It would rock if someone could port this to work with a eggdrop. Heck, I'll even donate the shell account to use to develope it on.
DaPro
01-25-2004, 03:03 PM
Awesome hack!!
* DaPro clicks install :)
I have one problem, I doesn't grab my channel topic for some strange reason. Is there a size limit I am not meeting, because my topic is pretty lengthy. Here is the example:
http://forums.ani-pro.com/forums
Velocd
01-25-2004, 09:45 PM
it's compatible with RC3 ?
I would think so. I've yet to upgrade to RC3.
if got right, i need to be online in my mIRC client to se statistic? So what the point of that hack if i can go in my mIRC client and see that there?
Sorry, may be misunderstud... and i did everything right but... (i used 2 different clients for that mIRC 6.03 and Neora Trion but nothing happend)...
i think it great hack but i want to be shure that it work even if my client is off (that exactly reason to install that hack couse first i go to my forum and if any nice guys there and in IRC then i go to IRC, and it`ll be usefull for me (and all my users) to see who`s online in IRC without to be online myself...
Maybe any chanse to integrate that hack with any ICR-applets (a lot chat integration aroud for IRC)?
Thanks!
The point of this hack is to retrieve the users from your IRC channel using mIRC and then store this information in a table on your vBulletin database, and show this information on your forum home.
mIRC has socket support and other remote/alias functions that make it easy to script for.
If you don't use mIRC, then this hack wont work.
I can't integrate it with IRC applets because I don't know Java that well.
I plan to create an eggdrop version though, after being introduced to Windrop (Windows compatible Eggdrop) by Apoco. ;)
I have one problem, I doesn't grab my channel topic for some strange reason. Is there a size limit I am not meeting, because my topic is pretty lengthy. Here is the example:
Manually run the /refreshtopic command in mIRC, and see if it updates.
If that doesn't work, go to the status window of your IRC server in mIRC, scroll to the bottom, and see if any errors exist.
There is a length the topic can be, restricted by mIRC, but that value is fairly long (maybe around 140 characters).
The point of this hack is to retrieve the users from your IRC channel using mIRC and then store this information in a table on your vBulletin database, and show this information on your forum home.
mIRC has socket support and other remote/alias functions that make it easy to script for.
If you don't use mIRC, then this hack wont work.
I can't integrate it with IRC applets because I don't know Java that well.
ok, so it work like that - I (admin) online in mIRC and forum takes info from mIRC? So when I online everyone can see statistic even if they not online in mIRC, but if I offline statistic doesn`t work? Am I right?
DaPro
01-26-2004, 11:24 AM
Thanks for the quick support, I tried the /refreshtopic and it was an uknown command, and I checked my status window and it sometimes says
/sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)
I am not sure what this error is for, it might be in an earlier post, but more insight would help me, thanks.
Velocd
01-26-2004, 12:34 PM
ok, so it work like that - I (admin) online in mIRC and forum takes info from mIRC? So when I online everyone can see statistic even if they not online in mIRC, but if I offline statistic doesn`t work? Am I right?
Yes, that is exactly how it works.
Thanks for the quick support, I tried the /refreshtopic and it was an uknown command, and I checked my status window and it sometimes says
/sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)
Whoops, did I say /refreshtopic? The command is actually /topicrefresh ;)
As for the socket-in-use error, that can occur at times if you have a very busy chat room.
There are recommendations in the remote file for how to fix this, using different events.
If you get a socket-in-use error, just type the command:
/sockclose vbusers and then to refresh the channel type /ircrefresh
Experience
02-10-2004, 09:59 AM
works with vb3 rc4 ?
Velocd
02-11-2004, 12:14 AM
works with vb3 rc4 ?
Good news, I just begun developing an eggdrop version of the hack, on my Red Hat 9 system. It's taken me about a week to config and get used to the Linux environment (for the first time, and I must say its kick ass--best feature being savable work spaces).
I've already mastered the basics of TCL scripting, so I'll be able to crank out the eggdrop in no time. :up:
The hack will be released in its own thread. Also, no more support will be available for this somewhat-unstable mIRC version.
works with vb3 rc4 ?
Yes.
Nj?rd Eriksson
02-23-2004, 03:17 PM
Good news, I just begun developing an eggdrop version of the hack, on my Red Hat 9 system. It's taken me about a week to config and get used to the Linux environment (for the first time, and I must say its kick ass--best feature being savable work spaces).
I've already mastered the basics of TCL scripting, so I'll be able to crank out the eggdrop in no time. :up:
The hack will be released in its own thread. Is it out yet? That's exactly what I would need. I'd prefer if the thing ran as a remote eggdrop from my server, instead of me running mIRC locally....
If you need a shell account on which you can install an eggdrop to test your Linux version, please let me know.
Velocd
02-24-2004, 07:58 PM
Yes, it is out. It was released about 10 days ago. ;)
https://vborg.vbsupport.ru/showthread.php?t=61570
lasto
02-26-2004, 12:45 PM
Yes, it is out. It was released about 10 days ago. ;)
https://vborg.vbsupport.ru/showthread.php?t=61570
this version works fine - had nps installing it at all
but i have one small query and that is if u are loggin in mirc then who`s online on the board u show up a guest in unknown location with link to the irc.php file (is there anywhere we can change this location from unknown to something like IRCBOT etc) so the location aint taking up 2 lines as unknown.
Velocd
02-28-2004, 07:50 PM
but i have one small query and that is if u are loggin in mirc then who`s online on the board u show up a guest in unknown location with link to the irc.php file (is there anywhere we can change this location from unknown to something like IRCBOT etc) so the location aint taking up 2 lines as unknown.
I'm assuming you are talking about a Java IRC chat. This hack, my eggdrop version, and Java IRC chats are totally separate.
Confront the hack maker of the Java chat hack for a solution to your problem.
gmarik
02-28-2004, 08:48 PM
i don't know much about IRC - how do I create my channel / server?
Cookie_Monstah
02-28-2004, 10:33 PM
First register a nick:
/nickserv register [password] <- take out the bracks(on some servers an email is needed, if so add it add after the password)
Now to register a channel:
/chanserv register #[channame] [chanpassword]
and away ya go :)
(Great hack btw :))
Angelus
02-29-2004, 07:21 AM
there is this also in the version 2.2.9 ?
Velocd
03-03-2004, 04:06 AM
No, this hack uses vB3 code, therefore it wouldn't work in vB2 (thus the reason this hack is in the vB3 forum).
LightBringer
03-03-2004, 02:38 PM
Is there anyway to preserve the topic colors and have them display appropriately on the forums?
LightBringer
03-03-2004, 04:45 PM
## Small tweak for users who want to have the irc server listed as a link so it opens in mirc ! (hopefully this still works in mirc6 - haven't tried it out yet though)
# Open the " irc_loggedin " template and find:
$channel[server]
# Replace with:
<a href="irc://$channel[server]/$channel[handle]">$channel[server]</a>
##
The only problem with this is the # symbol is added in twice.
If you change the handle field in the admincp from say #channelname to just channelname, then the script stops working.
If a user clicks on that link floris, it will take them to ##channelname instead of #channelname.
Any advice aside from hardcoding the channel name in there?
Velocd
03-05-2004, 12:22 AM
I did it by hard coding it. Since it's not really that significant of a problem, I'd suggest the easy route. (although if you have more than one channel, I suppose that does come as a problem).
You could also link it to your java chat, if you have one installed, instead of an IRC address which usually opens up your IRC client (which not everyone has installed, e.g. mIRC).
As for your question regarding preserving topic colors, I know searchirc.com has done it, but it would require a lot of preg-parsing and replacing, and I'm not really up to it.
If you can search the web and find an algorithm somebody used to do it, let me know. ;)
MogKnight
03-11-2004, 09:09 PM
any chance you could port this to vb2? I love it, but I'm not a big fan of vb3 :\
Velocd
03-15-2004, 02:00 AM
Sorry, I haven't used vBulletin 2 in over a year, nor do I have it installed on any of my forums.
When vBulletin 3 Gold releases, you really should consider updating--mostly for security.
MrWee
03-21-2004, 08:10 PM
I can't seem to get this to work.
Config in mirc:
%vbserver = www.castlewee.com
%vbfilepath = /forum/irconline.php
%irckey = *matchs key in php file*
%ircchan = #castlewee
%ircwait = 120
attached are the setting in my Admin panel & a screen shot showing that it tries to connect, so the sockets are working correctly.
i have tried both irc.x and irc2.x in the admin panel, and niether made a difference, althought i connect to irc2.x more often then irc.x
maybe it is something small i am missing? :(
Morgalis
03-22-2004, 05:02 AM
hmm... i too am getting nothing showing up
i admin the server and i don't believe that there is anything that would prevent it from updating on port 80, but i wonder if safe mode would restrict it as well?
Velocd
03-22-2004, 08:14 PM
Make sure you have the mIRC scripts loaded properly. You might want to check if it's reading the data from the request to the PHP file. Instead of storing it in MySQL as it currently does, use fopen() (www.php.net/fopen), fwrite() and fclose() to write a file on your server from the request.
Although my recommendation is to install an eggdrop, and use my far better eggdrop version of this hack. If you run a localhost, e.g. if you run Apache (for maybe purposes of running a test vBulletin board) and it works, then there is no reason you couldn't install an eggdrop (or windrop for win32).
Sufian
03-26-2004, 11:09 PM
I have everything setup however my board isn't showing any data in the table. In irc I'm getting flooded with:
* Timer 1 halted
-
* /sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)
-
* Timer 2 halted
-
* /sockopen: 'vbmisc' socket in use (line 8, ircon_al.txt)
-
MrWee
03-26-2004, 11:35 PM
if you read up in the thread, you will see you gota use /sockclose
lifesourcerec
04-01-2004, 11:45 AM
Not getting the info from IRC. Now since I'm new to vB 3.0, how can I put the table at the top of forumhome under the navbar, but above the forum?
lifesourcerec
04-01-2004, 12:15 PM
I get these errors:
Timer 1 halted
* /write: unable to open file (line 80, lastseen.mrc)
* /sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)
Timer 2 halted
stefan
04-01-2004, 09:17 PM
hey sorry this might sound totally newbie-ish but please help me anyway
1. how do i run these db queries you listed? how do i get to this phpmyadmin thing?
2. if the user running the script reboots, does he have to reload the two scripts when restarting mirc?
lifesourcerec
04-02-2004, 10:24 AM
Got it working. But how can you put it in a separate table up top under navbar?
Velocd
04-03-2004, 04:05 AM
For personal addons, you'll have to figure it out or ask elsewhere. I distribute my hacks with only the instructions on how to get that exact hack working.
1. how do i run these db queries you listed? how do i get to this phpmyadmin thing?
Virtually all hosts that have PHP installed will have PhpMyAdmin. You can usually access it through your Cpanel. (http://www.mysite.com/cpanel)
From there click on the database of yours, go to "SQL" tab in the main frame, and insert the queries then click submit.
If you are running your own server, you can get PhpMyAdmin from www.phpmyadmin.net. It's free and easy to install. ;)
2. if the user running the script reboots, does he have to reload the two scripts when restarting mirc?
The alias and remote scripts will not have to be reloaded.
Hoffi
04-04-2004, 08:56 PM
I can't download the ZIP. It seems to be corrupt for me? Anyone have an Idea what that is?
I Like this Hack. It´'s great and I wanna use it.
Velocd
04-05-2004, 12:15 AM
Download WinRAR and see if it works.
In no way is this zip corrupt, as there haven't been any complaints of it being so until yours.
Kevorkian
04-05-2004, 05:06 AM
velcod if you could code it i could test it for you ;)
this hack don't work in my board where guest navigation is blocked, when the script try to send info though the file, can't because is blocked with user and password
Velocd
04-05-2004, 01:13 PM
Is that an external hack, disabling your vBulletin from being shown to guests? I tried searching for the vBulletin option but couldn't find it.
StarBuG
04-05-2004, 01:22 PM
Hi
This hack looks nice but I read in your install script that there is problems with larger channels.
I have a channel with normaly 60-160 users so I think I wait untill you fixed the problem with many users.
Is there a way to let an eggdrop handle the channel activity?
That would be much better then handling it over mirc
StarBuG
Kevorkian
04-05-2004, 02:50 PM
Hi
This hack looks nice but I read in your install script that there is problems with larger channels.
I have a channel with normaly 60-160 users so I think I wait untill you fixed the problem with many users.
Is there a way to let an eggdrop handle the channel activity?
That would be much better then handling it over mirc
StarBuG
i changed all permission for guest to no and can't do anything without register, and the script can't send info to the forum in online status display no permission
Velocd
04-05-2004, 08:56 PM
Hi
This hack looks nice but I read in your install script that there is problems with larger channels.
I have a channel with normaly 60-160 users so I think I wait untill you fixed the problem with many users.
Is there a way to let an eggdrop handle the channel activity?
That would be much better then handling it over mirc
StarBuG
https://vborg.vbsupport.ru/showthread.php?s=&threadid=61570
I do have an eggdrop version, as I've mentioned in this thread many times.
It doesn't have limits to the activity.
And actually.. there is a bug in this mIRC hack I need to correct in the install.html, but change the MySQL table type of each nick field in `irc_online`, from varchar(255) to TEXT, and you wont have that restriction.
i changed all permission for guest to no and can't do anything without register, and the script can't send info to the forum in online status display no permission
I don't know if the following works, but it's worth a try.
Above require('./global.php') in your irc_online.php, paste:
$bbuserinfo['userid'] = 1;
It "should" mask the bot under your user id, unless changed somewhere with cookies/sessions.
Let me know if this works.
Kevorkian
04-06-2004, 12:39 PM
ok tonight i'll try this ^^
Kevorkian
04-06-2004, 02:58 PM
nothing don't work
guest blocked
Velocd
04-06-2004, 09:12 PM
Replace the line containing require_once('./global.php') with:
require_once('./includes/init.php');
Kevorkian
04-07-2004, 07:23 AM
yeah now works ^^ thanks!
Blackbeard
04-21-2004, 02:21 PM
Thank you for all the work put into this hack, we have been wanting this on our forum for a while now. Works great
http://learnall-forum.com/forums/index.php?
Maikeru
05-13-2004, 11:50 PM
Great work, Velo. I'm definately using this hack on my forum. Hope to see some more good hacks from you :o
Maikeru
05-15-2004, 01:25 AM
i figured out most of what I just editted out..but this is what appears when I have everything managed:
Most users in the chat was 0 on 12-31-1969 at 07:00 PM.
Topic:
What can I do to fix that?
BaCaRdi
05-21-2004, 03:56 PM
You can also use thales mysql to ircd gateway, it works great and it's dynamic, also dont need something to join server to check. I will post a sampe page when we convert back to Vbull from ipb:) There release has very few examples to work with but you can request our source and modify it for your use, for free of course:)
-BaC
Intex
06-01-2004, 03:40 PM
Great hack Velocid - but I'm having a connection problem by the looks of things. I'm getting the following errors in mIRC status window:
* /sockwrite: 'vbmisc' not connected (line 18, ircon_rm.txt)
-
* /sockwrite: 'vbusers' not connected (line 2, ircon_rm.txt)
I believe (after looking at the threads already posted here) this means that this is due to the fact that a connection can't actually be made to the webserver.
Can you confirm the following:
Does this work if you're port forwarding on your firewall to another host on your network? My webserver is not on a PC directly connected to the Internet
Does it work if mIRC is on the PC where the webserver is? mIRC attaches to the network with no problems and I can do everything IRC related as expected
I turned the board off in the AdminCP whilst testing this. Would this be a possible reason why it's not working?
Thx.
xparte
06-03-2004, 04:15 AM
Hi !
I've installed everything in and it everything seems ok except I run into a problem loading the ircon_al.txt file.
I get this error in mirc:
* /sockopen: insufficient parameters (line 17, ircon_al.txt)
Opening up ircon_al.txt shows line 17 as:
sockopen vbmisc %vbserver 80
This is my config:
/ircrefresh {
; Configuration ;
%vbserver = sydlaw.com.au
%vbfilepath = /forums/irconline.php
%irckey = 54321
%ircchan = #xparte
%ircwait = 60
I'm on mirc 6.14 VB3.
I've gone through this whole topic but no one seems to have had this problem. Does anyone know what could be wrong ?
Thanks for your help.
HakkieDEV
06-16-2004, 08:16 PM
Awesome, installed this hack and works perfect! Love ya!
HakkieDEV
06-17-2004, 10:38 AM
How do I edit the script btw so it also shows the users with a "!".
It shows all ops, halfops and voiced (@,%,+), but no the users with !.
Please tell me how to do that. :)
OCH-Stan
06-17-2004, 12:37 PM
wow! I like how this look, any future version with eggdrops??
HakkieDEV
06-24-2004, 07:56 PM
Its not working with the newest version of mIRC.
It doesn't recognise any of the commands (ircrefresh/topicrefresh/etc).
What should I do to make it work>
Blue91
07-15-2004, 12:26 AM
I am getting this error when running the query specified in the Install instructions in MyPHPAdmin...
You have an error in your SQL syntax near '\'\',
`server` varchar(25) NOT NULL default \'\',
`icon` varchar(100) NOT ' at line 3
Any ideas???
Blue91
07-15-2004, 01:07 AM
Anyone?? All I did was copy the script in the instructions and paste it to MyPhpAdmin and it gave those errors. Why won't it work for me yet no one else seems to have had this problem?
Blue91
07-15-2004, 01:28 AM
nm, got it on my own. was an issue with stupid phpadmin.
However, now it wont update the users online. Not getting any errors in status of mIRC.
It wont show the topic either.
Lastly, how can I "adjust" the "idle, busy, etc" characteristics. My channel doesn't have a lot of people... we are pretty darned busy tonight, and it just shows as "very idle" on the front page.
nm, got it on my own. was an issue with stupid phpadmin.
However, now it wont update the users online. Not getting any errors in status of mIRC.
It wont show the topic either.
Lastly, how can I "adjust" the "idle, busy, etc" characteristics. My channel doesn't have a lot of people... we are pretty darned busy tonight, and it just shows as "very idle" on the front page.
How do I make the stats be the last thing on the Whats Going On?
Thanks :)
Blackbeard
07-17-2004, 02:39 AM
Small bug here.......for some reason it is listing me twice 1st as being @ and 2nd as + is there a fix for this, other wise it works great
rinkrat
07-18-2004, 02:15 PM
It took a couple of tries but I finally got this working! Now do I have to load the aliases and the other file every time I start Mirc? Is there some way to have them load automagically?
No, once loaded, they are always loaded :)
To unload them, use the same commands but swap LOAD with UNLOAD.
rinkrat
07-18-2004, 04:59 PM
Awesome! I'll just start Mirc whenever I'm online :)
Great hack, thanks!
xparte
07-19-2004, 01:22 PM
What version of mIRC are you guys using ?
girlzclan
08-01-2004, 05:36 AM
The only problem with this is the # symbol is added in twice.
If you change the handle field in the admincp from say #channelname to just channelname, then the script stops working.
If a user clicks on that link floris, it will take them to ##channelname instead of #channelname.
Any advice aside from hardcoding the channel name in there?
Easier way to do it is to:
Edit the irc_loggedin template and replace the $channel[handle]
with
<a href="irc://irc.server/channelname">$channel[handle]</a>
That worked for me ..
rinkrat
08-02-2004, 05:29 AM
Easier way to do it is to:
Edit the irc_loggedin template and replace the $channel[handle]
with
<a href="irc://irc.server/channelname">$channel[handle]</a>
That worked for me ..
Me too :)
cnczone
08-04-2004, 07:53 PM
Is their a way to intergate this into phpclassifieds?
Magicmule
10-08-2004, 11:20 AM
I have This error
* /sockopen: insufficient parameters (line 17, ircon_al.txt)
This ist at line 17
sockopen vbmisc %vbserver 80
How can i fix this ?
Magicmule
10-09-2004, 01:41 PM
Very nice Support :devious:
lazserus
10-12-2004, 08:58 PM
* /sockwrite: 'vbusers' not connected (line 2, ircon_rm.txt)
I'm getting the same thing as before. I do not reside on my webserver. I remote in to my server through shell access or a host acp of sorts. I'm also behind a router - is this a port forwarding issue? The display on my forumhome shows no users and there never has. When i /ircrefresh I get the above error which points to the vbfilepath - which is absolute. My settings are identical to the owner of this hack (replacing the obvious paths), but I get only this one error.
And exactly WHY does IRC need to be running for it to work? I don't see anything in this hack that attaches itself to your mIRC client that you'd need it running constantly. Do the 2 scripts need to be loaded everytime you connect?
It's lookin at the vbfilepath which is correct.
/ircrefresh {
; Configuration ;
%vbserver = www.armageddononline.org/
%vbfilepath = /forums/irconline.php
%irckey = 7541
%ircchan = #armageddononline
%ircwait = 120
My irckey matches, so that's definitely not it.
JohnBee
11-26-2004, 08:32 PM
I tried both of the hacks to show who's online eggdrop and none eggdorp (this one)
both do the exact same thing, [nothing]
I tried to trouble++++ as best I can but all I can conclude is this.
nothing is ever written to the tables.
no error messages etc.
there must be a logical reason for this! :(
JohnBee
11-26-2004, 10:39 PM
Okay ***update
I found this in my email.
Database error in vBulletin 3.0.3:
Invalid SQL:
SELECT *
FROM `irc_channel`
mysql error: Table 'testservr_bbs.irc_channel' doesn't exist
mysql error number: 1146
Please help me solve this someone
Watson
12-27-2004, 07:53 PM
Getting this error every 120 seconds
21:28:20] ??? Invalid command: [GETNICKS]
[21:30:20] ??? Invalid command: [GETNICKS]
[21:32:20] ??? Invalid command: [GETNICKS]
[21:34:20] ??? Invalid command: [GETNICKS]
[21:46:21] ??? Invalid command: [GETNICKS]
I am guessing its to do with the IRC script, but everything else works ok, just a pain in the ass the now cause this keeps coming up when I am chatting.
Any help on why? Everything else works fine though
yeah now works ^^ thanks!
Hmm... nice hack I think I shall be using this :D
* Dan clicks install
Watson
12-28-2004, 05:16 PM
Getting this error every 120 seconds
21:28:20] ??? Invalid command: [GETNICKS]
[21:30:20] ??? Invalid command: [GETNICKS]
[21:32:20] ??? Invalid command: [GETNICKS]
[21:34:20] ??? Invalid command: [GETNICKS]
[21:46:21] ??? Invalid command: [GETNICKS]
I am guessing its to do with the IRC script, but everything else works ok, just a pain in the ass the now cause this keeps coming up when I am chatting.
Any help on why? Everything else works fine though
Seems to have stopped now for some reason :)
Oblivion Knight
01-21-2005, 06:42 AM
This is very nice, but the script doesn't like you being connected to multiple networks at the same time. It tries to send data from those also, and your "who's in the chat" display goes blank. I believe a workaround for this is possible, however.
The topic doesn't stick either. After running /topicrefresh last night, the topic displayed. As soon as there was nobody still connected that was running the script, the topic disappears and doesn't return automatically when someone running the script connects..
Oblivion Knight
01-21-2005, 04:05 PM
With thanks to the nice people over at http://www.mirc.net - here's a version of the script where you can limit which server it will run on.
Replace irc.devcore.co.uk with the server that your channel is on.. :)
Still no answer for the disappearing topic though.. :(
<Attachment updated> (https://vborg.vbsupport.ru/showpost.php?p=614902&postcount=146)
Knight;
Try this file to fix the topic problem. I have not tested it, but it should fix it.
(ps: I edited the file you posted).
Oblivion Knight
01-21-2005, 07:46 PM
That seems to have worked, thanks! :)
Vizionz
01-28-2005, 02:14 AM
installed on 3.06 no problems great addon thanks
MrLovellz
01-28-2005, 01:37 PM
Hello,
Installed this but its not showing any info on the forum? its blank
#mp3-xtreme @ irc.solidirc.com: 0 online
Most users in the chat was 0 on 01-01-1970 at 12:00 AM.
Topic:
I have loaded the 2 files into mIRC and used JimpsEd .txt he posted but still nothing?
i got this in my Aliases
%vbserver = localhost
%vbfilepath = /irconline.php
%irckey = 52367
%ircchan = #test
%ircwait = 5
the server is hosted on localhost, and i even changed it to the IP but no change?
irckey is same as one in .php file
I also recieved this eroror
????????????????????
* /if: close bracket not found
????????????????????
I have added the channel in my admincp also..
Can anyone help?
Oblivion Knight
01-28-2005, 02:22 PM
i got this in my Aliases
%vbserver = localhost
%vbfilepath = /irconline.php
%irckey = 52367
%ircchan = #test
%ircwait = 5%vbserver should be the domain of your forum. For example, mine is set to www.gamerseuphoria.com :)
I also recieved this eroror
????????????????????
* /if: close bracket not found
????????????????????I have no idea about this one.. :ermm:
MrLovellz
01-30-2005, 03:21 PM
still doesnt work ;/
Blue91
02-06-2005, 02:15 AM
I keep getting the error... as in ALL THE TIME.
* /sockopen: 'vbmisc' socket in use (line 8, ircon_al.txt)
Now, people have said over and over I have to "/sockclose vbmisc". However, I want this thing to run on it's own. I don't want to have to always type the /sockclose command to make this thing work.
Is there a way (in the script) to AUTOMATICALLY have it do this, since regardless of which way I run the script (for large or small channels), it gives this error? I suck at coding, so if someone could tell me where in the script(s) to add "/sockclose vbmisc", it'd be appreciated.
lifesourcerec
02-09-2005, 05:50 PM
I keep getting the error... as in ALL THE TIME.
* /sockopen: 'vbmisc' socket in use (line 8, ircon_al.txt)
Now, people have said over and over I have to "/sockclose vbmisc". However, I want this thing to run on it's own. I don't want to have to always type the /sockclose command to make this thing work.
Is there a way (in the script) to AUTOMATICALLY have it do this, since regardless of which way I run the script (for large or small channels), it gives this error? I suck at coding, so if someone could tell me where in the script(s) to add "/sockclose vbmisc", it'd be appreciated.
I'm getting that also, but I also get "-N Unknown command". I think its referring to -n as in "sockwrite -n". anyway to fix this?
Oblivion Knight
02-10-2005, 09:27 AM
If it's not working for you, it could be that the IRC network your channel is on doesn't support such scripts - I know that QuakeNet is one of them. Try and find out by joining the network's support channel.. :)
No, these scripts are not network or channel related. QuakeNet channels DO work with this script.
There error you're receiving must have been a modification to your default mIRC - the commands used are completeley default.
Try reinstall mIRC.
Oblivion Knight
02-12-2005, 08:39 AM
An idea; Would it be possible to add the time that the script last submitted channel info to the database? That way an if statement can be added saying if $time > 5 minutes state that the script is offline.
Yes there is.
If you do the PHP edits, I can do the mIRC edits.
What format do you want the date/time in?
syndicate
02-20-2005, 06:40 PM
i'll chime in with the * /if: close bracket not found error, but only after switching over to jimps' ircon_rm.txt (2.4 KB).
since i never had a topic problem that i'd observed, i switched up to knights' version and the error stopped.
i never was able to find that missing bracket, and i looked a few times.
unfortunately, i never got an update to go through with knight's version either, so i've reverted back to the stock _rm and i'm back in business, albeit not especially reliable.
Oblivion Knight
02-20-2005, 07:55 PM
Try this - it's the file I'm using which has the server limitation and the topic fix, and I've had no problems.
syndicate
02-22-2005, 03:02 AM
yes, excellent!
things are running quite nicely now, thank you very much.
Darkus
02-26-2005, 10:51 AM
Im getting nothing through the forum or the Admin CP with this hack. It shows blank and just says: Most users in the chat was 0 on 1st January 1970 at 12:00 AM.
And I configured both Mirc and my board properly. Whats going on?
Oblivion Knight
02-26-2005, 11:17 AM
If you're using the file that I posted, make sure to change all instances of irc.devcore.co.uk with the irc server that your channel is on.. ;)
Darkus
02-26-2005, 12:41 PM
O_O Thanks.... ??!
Wonder if it works now...
Which it still doesent... :(
MrLovellz
02-26-2005, 01:59 PM
How do I edit the script btw so it also shows the users with a "!".
It shows all ops, halfops and voiced (@,%,+), but no the users with !.
Please tell me how to do that. :)
Have you got this sorted mate :ermm: ?
Because i have having some problem but with &
Oblivion Knight
02-27-2005, 09:35 AM
Yes there is.
If you do the PHP edits, I can do the mIRC edits.
What format do you want the date/time in?Nevermind, I got it working purely with PHP edits.. :D
WonderWorm
04-03-2005, 01:16 AM
Great modification, I clicked the install.
I only have one problem, but is not really a bug. In our channel we have bots that voice us then we get ops from them. The thing is we are seen as having both ops and voice so we show up twice on the list.
You can view what I mean on my forums .. http://forums.emufanatics.com
Anyway to check to see if the name matches and then avoid adding the voice name to the list?
Snake
04-03-2005, 09:51 AM
Need a live demo please.
Oblivion Knight
04-03-2005, 12:20 PM
Need a live demo please.I have this running on Gamers Euphoria (link in my sig).
My channel is hosted on irc.devcore.co.uk.. :)
ehjay
04-11-2005, 09:41 PM
I've attempted to use Knight's new file, but my topic is still refusing to update.
I'm wanting to also show the info in a box on my front page. Running vbadvanced CMPS.
I tried using just the calls in the irc_loggedin, but get nothing. Has anyone else done this yet?
Ok this is strange.... Anyone have an idea why it says this
Most users in the chat was 0 on 01-01-1970 at Array
It's not showing anything :(
( http://www.squareultima.com/forums/index.php? )
Also in irc I get
* Timer 1 activated
-
* Timer 2 activated
-
* /timer: timer act not active
-
* Timer 1 halted
-
* /sockopen: insufficient parameters (line 17, ircon_al.txt)
-
* Timer 2 halted
There's some settings in the files that need to be set. Make sure they are right.
in the section that says: Run mIRC, and connect to your channel server. Do the following.
Follow it closely.
You think I am a ++++ing idiot or something? I always have my mirc up.... been using it for years.
Most users in the chat was 2 on 04-29-2005 at Array
It's got the users right but it's not doing the @ part right.
Nice response...
Kick someone when they are trying to be helpful.
Sooner95
05-19-2005, 01:06 AM
well, i'm another having the same "Most users in the chat was 0 on 12-31-1969 at 07:00 PM.
Topic:" problem. hack is correct, no issues, no errors, SQL ran fine. But since support sucks for this hack, I might as well look for something else..
Mr. Brian
07-08-2005, 06:39 AM
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.
I've having the same problem..
Also, this is what I get
/sockwrite: 'vbmisc' not connected (line 18, ircon_rm.txt)
Anyclue?
lanc3lot
07-09-2005, 01:13 AM
Hello, same prob here as other guys:
* Timer 1 activated
-
* Timer 2 activated
-
* Timer 1 halted
-
* /sockwrite: 'vbusers' not connected (line 2, ircon_rm.txt)
-
* Timer 2 halted
-
* /sockwrite: 'vbusers' not connected (line 2, ircon_rm.txt)
All went ok during installation, cant understand what is going wrong :(
Snake
08-04-2005, 12:40 PM
Will this work RC1? I hope so...
Snake
08-04-2005, 08:05 PM
Anyone, please reply to my post as soon as you can.
VirtualBurn
08-08-2005, 10:48 PM
This hack needs updating, or removing before somebody screws their board.. I just tried with ver 3.0.8 and most of the lines to find in php files are different. judging by all the responses and problems here I would suggest not installing this unless you have a bit of coding exp yourself.
TyleR
11-07-2005, 07:16 PM
hey Velocd,
I am in the process of porting this to vB 3.5.x, but ran into a problem along the way.
I get this when opening mIRC:
* /timer: timer act not active
-
* Timer 1 halted
-
* /sockopen: insufficient parameters (line 17, ircon_al.txt)
-
* Timer 2 halted
- Tyler
fridayweb
12-08-2005, 02:33 AM
Tyler, any luck figuring it out? :(
TyleR
12-12-2005, 06:47 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=102771" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=102771</a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.