![]() |
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 |
All times are GMT +2. The time now is 07:50. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.