Raised This Month: $51 Target: $400
 12% 

[Request] IRC Forward For SMAC Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-23-2011 , 12:00   [Request] IRC Forward For SMAC Messages
Reply With Quote #1

Hi Tony.

I am currently using IRCRelay on our TF2 servers (just switched from SourceIRC due to the memory leak) and I was wondering if it would be possible to use IRCRelay in some way to forward the admin SMAC messages so that our admins on IRC spot them for all servers.

IRCRelay uses a simple /irc trigger for players to send messages to IRC and I had a quick look at the SMAC translation file wondering if it would just be a simple case of ading /irc before the SMAC messages, but I'm sure it wouldn't be that easy, so I haven't dabbled as yet :-)

Would this be a feature that could easily be added? We would find it very useful indeed.

Thanks as always for your great work.

Cheers
MrBen
MrBen is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-23-2011 , 12:26   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #2

This is a good idea and it looks very easy to add. Should the admin messages be sent to the "ticket" channel or the "relay" channel?
__________________
GoD-Tony is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-23-2011 , 12:50   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #3

Oh thats great news. If I understand what you mean correctly, I would prefer the ticket channel personaly, as I have all server chat going to a dedicated IRC channel, and the /IRC tickets going to the admins channel so they are easier to spot without the rest of the server chat.

I'm not sure if you saw my post in the sourcemod request forum but I'll link it just for info as there was no response from anyone over the weekend.

It will be awesome if you can do this Tony. Thanks again for looking into it.

Cheers
MrBen
MrBen is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-23-2011 , 14:39   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #4

This has been added in r285 and will make it into the next update.
__________________
GoD-Tony is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-23-2011 , 14:54   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #5

Wow - you don't hang about do you :-)

What can I say but thank you very much mate. I can't wait to give it a try.

Thanks again Tony!

Cheers
MrBen
MrBen is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-23-2011 , 15:00   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #6

Oh wow, I read it too quickly and thought you meant that you currently used SourceIRC. I'll have to take a look at it when I get a chance since it's not built-in to SourceMod. Well at least SMAC now has SourceIRC support.

Edit: What version of IRCRelay are you using? If it's 2.5.0 then it should be just as easy to add.
__________________

Last edited by GoD-Tony; 10-23-2011 at 15:10.
GoD-Tony is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-23-2011 , 16:10   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #7

Ahhh darn it, foiled again hehe :-)

Well, until last night I was using SourceIRC but it has a memory leak and with multiple servers running it was slowly killing the dedi after about 14 hours uptime.

So I switched to IrcRelay last night/this morning and finally got it all setup
this evening. I have to say that now I have got my head around it I like it a lot.

Yes, I am using the latest version 2.5.0. Fingers crossed its possible in IRCRelay but if not I may have to ask you nicely if you can use your skills to see if you can find the memory leak in SourceIRC, as I'd swap back to it just for the SMAC feature for sure :-)

Cheers
MrBen
MrBen is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-23-2011 , 17:43   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #8

Turns out that IRC Relay support was just as easy to add (r289). It's setup to only send messages to channels labeled as "private".

Someone requested SourceIRC support a while back so this worked out fine.
__________________
GoD-Tony is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-24-2011 , 04:05   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #9

Brilliant news, looking forward to seeing it in action. Thanks so much for all that work mate. With several servers up this will prove invaluable to us.

On a general note. Since the rebuild, SMAC has been relatively quiet in detecting anything and I was starting to worry, but yesterday it went into overdrive and picked up a number of things across the servers as well as temp banning 3 players for sv_cheat violations, so all is well for sure.

Thanks again for all your excellent work - it's really appreciated :-)

Cheers
MrBen
MrBen is offline
MrBen
SourceMod Donor
Join Date: Sep 2011
Old 10-25-2011 , 12:05   Re: [Request] IRC Forward For SMAC Messages
Reply With Quote #10

Hi Tony.

Just a quick note to let you know that the ircRelay function appears to be working just fine. Thanks again! :-)
MrBen is offline
Reply



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


All times are GMT -4. The time now is 23:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode