.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
HLIRC plugin version 4.0 released!
Old
  (#1)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default HLIRC plugin version 4.0 released! - 26-01-2004

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 !



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 02-07-2004 at 04:24..
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#2)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: HLIRC plugin version 4.0 released! - 01-02-2004

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
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#3)
Nova
Council Member
 
Nova's Avatar
 
Status: Offline
Posts: 761
Join Date: Nov 2003
Location: Kiel, Germany
Default Re: HLIRC plugin version 4.0 released! - 01-02-2004

Quote:
Originally Posted by memed
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
Is anstaller permanently, pointing to the channels

#csserver and
#tfcserver

Ive already done that ...


nova

- Quote: <kodex> I swear. Beta testing increases your e-wang ! :p

- Remember, today is the tomorrow you worried about yesterday.


  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#4)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: HLIRC plugin version 4.0 released! - 01-02-2004

Wow, cool didn't see that before :-)
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: HLIRC plugin version 4.0 released! - 02-02-2004

I'm gonna modify the IRC applet template so that we can choose #csserver and #tfcserver in the list of channels then... thanks Nova!



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#6)
Chan Kong-sang
Guest
 
Status:
Posts: n/a
Default Re: HLIRC plugin version 4.0 released! - 26-06-2004

Hello
i have just a 'little' suggestion
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 :-)

Last edited by Chan Kong-sang; 26-06-2004 at 20:12..
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#7)
knaeuel
Guest
 
Status:
Posts: n/a
Default Re: HLIRC plugin version 4.0 released! - 01-07-2004

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);
}
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#8)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: HLIRC plugin version 4.0 released! - 02-07-2004

Indeed. A bug.
A darn pesky bug in my code - AGAIN
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



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#9)
[WbOF]LuZiFeR
Guest
 
Status:
Posts: n/a
Default Re: HLIRC plugin version 4.0 released! - 31-07-2004

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...!?
  
Reply With Quote
Re: HLIRC plugin version 4.0 released!
Old
  (#10)
gK.CN
Guest
 
Status:
Posts: n/a
Default Re: HLIRC plugin version 4.0 released! - 30-08-2004

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??
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com