![]() |
HLIRC plugin version 4.0 released!
foHi !
I have released a new version of my HLIRC plugin. This version adds support for ports other than 6667 in the IRC protocol. What this plugin does: HLIRC acts as a proxy between the Half-Life server and a specified IRC channel. You can participate in IRC discussions while you play the game (when you are dead, for example) and people in the IRC channel can see what messages the players are exchanging between each other. What it does that other similar plugins don't: unlike the other IRC plugins for HL/CS, this one works with ANY HL mod (Half-Life, TFC, CS, OpFor, DoD, etc)., but foremost it's NOT just a one-way system that sends things to IRC but wouldn't let the players take part in the IRC discussion. The main difference with the other IRC plugins is that this one will let you SEE what the people in IRC are talking about WHILE you are in game, and you will be able to chat with them interactively. Each time someone posts a message in the IRC channel, it will appear on the player's HUD ; and each time a players posts a message in the game HUD, it will appear on IRC too. With this version the plugin also posts in IRC the death events (player X killed player Y with weapon Z) *edit* Version 4.0 is out! - Linux support added (with UNIX domain sockets and pthreads multithreading library - thanks to memed for the Linux config of the server) - Bugfixes in the connection process (the bot won't spam the server log if it fails to connect to the IRC server) - Cleaner handling of the IRC bot thread - Several remote queries added to the IRC bot: send it a PM message with one of the following words: VERSION, CLIENTINFO, TIME - Does not disconnect/reconnect 10 seconds later on map change - Now also reports player connections, player disconnections, and map changes in the IRC window. *edit* Version 5.0 is out! - Rewritten to support latest Steam update which screwed up the HL netcode again - Better and easier configuration through a single "irc" server command - Ability to disconnect/reconnect without shutting down the HL server - Ability to change the IRC bot's nickname and channel without disconnecting - Bot chat is no longer forwarded to the IRC channel (helps spamming less) - Cosmetics: player names now appear in bold in the IRC window ;) Binaries and source code available at http://filebase.bots-united.com/pafi...ion=file&id=69 A demo is currently running on the Bots United IRC server... Enjoy ! 8) |
Re: HLIRC plugin version 4.0 released!
Hi PMB,
nice, i love that one :-) would you mind if i install it permanetly, of course with a different irc channel than #bots-united ;-) Cheers |
Re: HLIRC plugin version 4.0 released!
Quote:
#csserver and #tfcserver ;) Ive already done that ... :) |
Re: HLIRC plugin version 4.0 released!
Wow, cool didn't see that before :-)
|
Re: HLIRC plugin version 4.0 released!
I'm gonna modify the IRC applet template so that we can choose #csserver and #tfcserver in the list of channels then... thanks Nova! :)
|
Re: HLIRC plugin version 4.0 released!
Hello
i have just a 'little' suggestion :D Could you make your plugin more compatible to this AM plugin? *edit* Just got more ideas ^^ How about a mode where you only can chat between both sides with certain commands? And maybe a function/command set to control the server via rcon/AMXX/AM. I know that's quite big changes/improvements but it would be a very powerful tool. Thanks for your ears :-) |
Re: HLIRC plugin version 4.0 released!
hi, i have problems with the linux-version of the irc-plugin.
all works besides game-to-irc with chat-messages. The bot in irc only says Chat_AllDead and similar things. i searched for mistakes in the cpp-file and found some strange things in this function :-) void WriteString (const char *sz) { // if this packet is part of a SayText message, then it contains some player chat and we need // to send it to the IRC server through the IRC bot // are we supposed to send this message ? if (send_this_message) { send_this_message = FALSE; // clear the flag that indicated us this // there are actually SayText messages that are not player chat strings. Since player // chat strings begin with a special character, we can discard those who are irrelevant knaeuel: all fine but now an if-statement followed by a semicolon, so the if statement has no effect. so the following code-block is done everytime. but thats of course not the reason for the wrong text. it would be nice to have an example of this sz-string filled with the chat text of a client :-) if ((char) sz[0] == 0x02); { sprintf (ircbot.game_to_irc, &sz[1]); // copy chat string, skip the special character ircbot.new_game_to_irc = TRUE; // tell the IRC bot it has a new message to send } } RETURN_META (MRES_IGNORED); } |
Re: HLIRC plugin version 4.0 released!
Indeed. A bug.
A darn pesky bug in my code - AGAIN :D thanks for pointing it out ! anyway as Stefan found out lately there have been a few changes to the Steam HL netcode and they don't send the SayText messages in the same way. I had to rewrite the plugin. Version 5.0 is out and I tested it, now it works ;) http://filebase.bots-united.com/pafi...ion=file&id=69 @Chan Kong-sang: I understand your suggestions, however I don't have much time to devote to this plugin specifically. The source code is available, so maybe you can find a goodwilling coder to help fix it for you, or if you know C maybe you can do it yourself :) |
Re: HLIRC plugin version 4.0 released!
I've try the plugin now, but my server is crashing....
Is this version still working with the actual Steam ? Or could it be an other reason why it don't work ? 'Can't connect to server' and then crash...!? :) |
Re: HLIRC plugin version 4.0 released!
Hey folks, on one server I can send chat from the irc channel to the game, but on another server no messages are sent from irc to the game? Any ideas?? :(
http://gk.fearjihad.com/signature.php |
Re: HLIRC plugin version 4.0 released!
well if you can give us more details about these servers...
|
Re: HLIRC plugin version 4.0 released!
they both are running the latest steam, I got them on EFnet #gkchat and #gkchat2 , the one in #gkchat works fine, sends text to and from, #gkchat2 doesn't. The one that doesn't send from irc to server has counter-strike death match plugin with the runes plugin, no other metamod plugins. :( Not sure, what else do you want to know?
|
Re: HLIRC plugin version 4.0 released!
also they are both running latest metamod, with amxx .016 ? help! :( I tried everything, the configs are virtually the same just a difference of not as many plugins. Latest steam is version 9? I don't think the one that is functioning properly is the latest steam version, could that be it?
|
Re: HLIRC plugin version 4.0 released!
Let's try things with method.
First off, when you make the config of your 2 game servers identical (I'm talking about the metamod plugins), does it work ? It should. Anyhow, when it does, commit your changes in the metamod plugins list step by step and test again after each change until you narrow down the plugin that causes the problem to happen. I'd like to know what you find out. |
Re: HLIRC plugin version 4.0 released!
so your saying eliminate metamod plugins? Or eliminate amxx plugins? I don't think I have anything more than the core metamod plugins required for CS.
|
Re: HLIRC plugin version 4.0 released!
cs doesn't require any metamod plugins..
and I think he means metamod plugins.. |
Re: HLIRC plugin version 4.0 released!
Ah, okay, I will work on that now.
|
Re: HLIRC plugin version 4.0 released!
Is it possible to make the bot do something else on connect like /authserv ?
|
Re: HLIRC plugin version 4.0 released!
It is possible to code the bot to do anything a normal client could do, however at the time when I was writing it, I didn't knew the IRC protocol well, and I very seldom used it myself for chatting, that's why I never thought about implementing such a feature. But IMO, any coder knowing a bit of C could add it quite simply.
If I find time, I'll update it someday. |
Re: HLIRC plugin version 4.0 released!
Quote:
Only issue now is that it's doing the call before it's on the server and ready for the call, is there a way to delay the call? |
Re: HLIRC plugin version 4.0 released!
Yes, since the plugin is a multithreaded process, you can put a blind delay in the connection process. But a better method would be to insert a new state in the plugin's state machine, that would take care of this delay itself (so that the thread does not clutter the CPU when the delay is elapsing)
*edit* I would be interested in seeing your changes when you make this work, so that I don't have to bother with that myself :D credits given, of course, where credit is due :) |
Re: HLIRC plugin version 4.0 released!
Hi everyone...
Im using this plugins on 2 of my servers, (got 3) 1 linux and 1 windows. The linux machine runs it perfect... But the windows dont really work... Or that means IRC->Game messages dont work. It dont write anything in-game from IRC. I would like this to be fixed again, because this is an IRC bot which dont seem to crash our servers. Its Natural Selection-servers... Regards & thanks in advance, UsO |
Re: HLIRC plugin version 4.0 released!
broken link, PMB
|
Re: HLIRC plugin version 4.0 released!
Here is the correct link.
http://filebase.bots-united.com/inde...ion=file&id=69 Can some supermoderator / admin fix that link in the first post? |
All times are GMT +2. The time now is 11:01. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.