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

SourceIRC


Post New Thread Reply   
 
Thread Tools Display Modes
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 11-17-2010 , 15:18   Re: SourceIRC
Reply With Quote #31

Quote:
Originally Posted by Sipi View Post
Nice initiative - thanks a lot!

Although, I'm having some problems:
Code:
L 11/17/2010 - 03:06:40: [SM] Unable to load plugin "SourceIRC/sourceirc.smx": Native "SocketGetHostName" was not found
ConVarRef room_type doesn't point to an existing ConVar
L 11/17/2010 - 03:06:41: [SM] Native "IRC_MsgFlaggedChannels" reported: Plugin owning this native is currently paused.
L 11/17/2010 - 03:06:41: [SM] Displaying call stack trace for plugin "SourceIRC/sourceirc-relayall.smx":
L 11/17/2010 - 03:06:41: [SM]   [0]  Line 152, ../../scripting/SourceIRC/sourceirc-relayall.sp::OnMapStart()
Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.3.3
Code:
sm exts list
[07] Socket (2.4.0): Socket extension for SourceMod
Edit: btw, have you considered making a similar plugin with eggdrop support? Then it would be possible to have the same IRC bot for multiple servers.
You are using an old version of the sockets extension. Update to >= 3.0.1 to fix this
__________________
Azelphur is offline
Sipi
Member
Join Date: Sep 2007
Old 11-17-2010 , 16:05   Re: SourceIRC
Reply With Quote #32

Ah okay, thanks. Is it possible to define a channel key/password for the bot?
Sipi is offline
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 11-17-2010 , 17:53   Re: SourceIRC
Reply With Quote #33

Quote:
Originally Posted by Sipi View Post
Ah okay, thanks. Is it possible to define a channel key/password for the bot?
Not yet, It's gonna be in the next version

As a work around for now you can cheat by putting
irc_send JOIN #channel password
in cfg/sourcemod/irc-connected.cfg

(Your config file will still need the channel section)
__________________
Azelphur is offline
MrCapion
Junior Member
Join Date: Feb 2009
Old 01-09-2011 , 17:32   Re: SourceIRC
Reply With Quote #34

How can a dowload-link be accepted, to an external site, where You have to register to get access?

when trying to register an account a captcha-script is not working:

user warning: Unknown column 'token' in 'field list' query: UPDATE captcha_sessions SET token='f2807264588455a4cd9f9a3cce55be67' WHERE csid=2623 in /var/www/azelphur.com/sites/all/modules/captcha/captcha.module on line 213.

so..no one can get to the "project".
__________________
*If it works, Dont fix it*
MrCapion is offline
Send a message via ICQ to MrCapion Send a message via MSN to MrCapion
My Lost Shadow
Junior Member
Join Date: Feb 2010
Location: United Kingdom
Old 01-10-2011 , 18:26   Re: SourceIRC
Reply With Quote #35

Is there any way to only selectively broadcast to an IRC channel?

For example you have one set to ticketing and full broadcast so you can log everything that happens; on this channel only admins are present.

You then have a general chat channel where only things that start with !irc (for example) in-game get broadcasted to it and only things that start with !game in IRC get sent to the game server chat.

This would make it easier and reduce spam as only selected messages get broadcasted between players and people on IRC and it would also make it easier to integrate the bot on a more populated channel where not all present are interested in what is happening in-game.
__________________
My Lost Shadow is offline
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 01-11-2011 , 21:16   Re: SourceIRC
Reply With Quote #36

Quote:
Originally Posted by MrCapion View Post
How can a dowload-link be accepted, to an external site, where You have to register to get access?

when trying to register an account a captcha-script is not working:

user warning: Unknown column 'token' in 'field list' query: UPDATE captcha_sessions SET token='f2807264588455a4cd9f9a3cce55be67' WHERE csid=2623 in /var/www/azelphur.com/sites/all/modules/captcha/captcha.module on line 213.

so..no one can get to the "project".
You don't need to register to get access? and the download link is a direct link to the download, much like many other plugins on this forum. There's nothing wrong with hosting it on my website so I can automatically package new builds without having to mess with the forums

Also, fixed the registration, it should work now (Not that you need to register, to re-iterate the download link is a direct download link)
__________________

Last edited by Azelphur; 01-11-2011 at 21:19.
Azelphur is offline
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 01-11-2011 , 21:18   Re: SourceIRC
Reply With Quote #37

Quote:
Originally Posted by My Lost Shadow View Post
Is there any way to only selectively broadcast to an IRC channel?

For example you have one set to ticketing and full broadcast so you can log everything that happens; on this channel only admins are present.

You then have a general chat channel where only things that start with !irc (for example) in-game get broadcasted to it and only things that start with !game in IRC get sent to the game server chat.

This would make it easier and reduce spam as only selected messages get broadcasted between players and people on IRC and it would also make it easier to integrate the bot on a more populated channel where not all present are interested in what is happening in-game.
Everything apart from the !irc and !game is already done. !irc and !game could be implemented in a small SourceIRC module. A great beginner plugin if you feel like doing it. It'd be about 20 lines
__________________
Azelphur is offline
mjmfighter
Member
Join Date: Jun 2010
Old 06-05-2011 , 17:06   Re: SourceIRC
Reply With Quote #38

Does this work with sourcebans?
mjmfighter is offline
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 06-05-2011 , 21:43   Re: SourceIRC
Reply With Quote #39

Quote:
Originally Posted by mjmfighter View Post
Does this work with sourcebans?
tl;dr no.

Sourcebans doesn't hook the BanPlayer native, it should do. SourceIRC's default bans plugin is designed to fire the BanPlayer native, which all ban plugins should hook.

That said, SourceBans does have an API, and a module to support SourceBans would be fairly trivial to write.
__________________
Azelphur is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 06-06-2011 , 03:54   Re: SourceIRC
Reply With Quote #40

Please do so! Would be very nice to have :>
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
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 07:45.


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