Raised This Month: $32 Target: $400
 8% 

IRC Relay for SourceMod 2.5.0


Post New Thread Reply   
 
Thread Tools Display Modes
Sazpaimon
Member
Join Date: Apr 2008
Old 08-04-2008 , 17:28   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #221

Quote:
Originally Posted by Altar View Post
Ok for the motd but when i try on server with a short motd the bot don't connect too and i have no debug message
Make sure irc_debug is set to 1. It will show raw irc output in the console.
Sazpaimon is offline
Altar
Junior Member
Join Date: Aug 2006
Old 08-06-2008 , 17:08   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #222

Yes irc_debug is set to 1
Altar is offline
Sazpaimon
Member
Join Date: Apr 2008
Old 08-07-2008 , 05:01   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #223

Quote:
Originally Posted by Altar View Post
Yes irc_debug is set to 1
Can you paste your console output?
Sazpaimon is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 08-07-2008 , 13:59   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #224

Quote:
Originally Posted by Sazpaimon View Post
Looks like you have a similar problem to me. When I tried to connect to one of my networks, it would connect but not auth to nickserv and not join the channels. I deducted that the problem was the MOTD not being displayed all the way because it was very long. The IRC plugin is set to join channels and auth to nickserv when the message "End of /MOTD command." is displayed, then the plugin is set to connected, but this never happens due this bug in the socket extention. My fix was connecting it to a specific server with a much shorter MOTD and it fixed the issue. Unfortunately, if you don't have a server with either no MOTD or a short MOTD it won't fully connect.
I programmed IRC Relay according to the RFC. When the IRC server is done spewing the MOTD, it should send a numeric, which will be picked up by the relay, and join channels.

If the server is running some ircd that does'nt conform to the RFC, then problems can happen.

Quote:
Originally Posted by Sazpaimon View Post
Actually, I just checked my sp against the one in the first post, and it mine is the fixed one. Here's what's changed

Code:
    while(moreKeys)
    {
        new String:channelName[64], String:channelType[32], ChannelType:channelTypenum;
        
        KvGetSectionName(channelKV, channelName, sizeof(channelName));
        KvGetString(channelKV, "type", channelType, sizeof(channelType), "IRC_CHANNEL_PUBLIC");
        
        if(!strcmp(channelType, "IRC_CHANNEL_PUBLIC"))
            channelTypenum = IRC_CHANNEL_PUBLIC; // 1
        else if(!strcmp(channelType, "IRC_CHANNEL_PRIVATE"))
            channelTypenum = IRC_CHANNEL_PRIVATE; // 2
            
        PushArrayString(g_ChannelNames, channelName);
        PushArrayCell(g_ChannelTypes, channelTypenum);
        
        moreKeys = KvGotoNextKey(channelKV);
    }
Code:
    while(moreKeys)
    {
        new String:channelName[64], String:channelType[32], ChannelType:channelTypenum;
        
        KvGetSectionName(channelKV, channelName, sizeof(channelName));
        KvGetString(channelKV, "type", channelType, sizeof(channelType), "IRC_CHANNEL_PUBLIC");
        
        if(FindStringInArray(g_ChannelNames, channelName) != -1)
        {
            moreKeys = KvGotoNextKey(channelKV);
            continue;
        }
        
        if(!strcmp(channelType, "IRC_CHANNEL_PUBLIC"))
            channelTypenum = IRC_CHANNEL_PUBLIC; // 1
        else if(!strcmp(channelType, "IRC_CHANNEL_PRIVATE"))
            channelTypenum = IRC_CHANNEL_PRIVATE; // 2
            
        PushArrayString(g_ChannelNames, channelName);
        PushArrayCell(g_ChannelTypes, channelTypenum);
        
        moreKeys = KvGotoNextKey(channelKV);
    }
It's around line 1119 in the core sp file

What this does is check if the currently joined channel(s) are in the channel array, and doesn't re-add them if it is.
Oh - I dunno why I removed that :\ -- Thanks
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
Ywa*NL
Senior Member
Join Date: Apr 2005
Location: The Netherlands
Old 08-08-2008 , 19:18   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #225

Hi,

Great plugin Olly! It all works well on my Windows dedicated server (HL2DM), just some minor issues which I need to fix myself.

One of those minor issues is that in every command you say you got like:
Code:
!myawesometrigger.msg Hi
Is there any possibility to remove the dot between the trigger and the command? I've already deleted the trigger stuff myself (since I don't like it). But now I must use this (and that's not what I want).
Code:
!.msg Hi
Thanks in advance .

Oh and for the people who are on networks with NICKSERV. Try this (it works here):
Code:
irc_auth_string "PRIVMSG nickserv identify your_password_here"
__________________
Ywa*NL is offline
Send a message via MSN to Ywa*NL
Altar
Junior Member
Join Date: Aug 2006
Old 08-09-2008 , 18:53   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #226

Quote:
Originally Posted by Sazpaimon View Post
Can you paste your console output?
Hum i have nothing just cvar and vars changed by the changemap but nothing for the plugins :/ and if i see sm plugins list i have irc relays load. It's strange and i don't understand why he don't connect.

For the motd problem i think it's strange because i litle know the irc protocol (i have begin an ircd in mirc scripting for the fun and learn how run irc but never finnish ) and the server where i am (epiknet) send good raws for the motd.

I'm sorry (very ) but i'm french so if you don't understand me say it please
Altar is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 08-16-2008 , 13:41   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #227

Quote:
Originally Posted by Ywa*NL View Post
Hi,

Great plugin Olly! It all works well on my Windows dedicated server (HL2DM), just some minor issues which I need to fix myself.

One of those minor issues is that in every command you say you got like:
Code:
!myawesometrigger.msg Hi
Is there any possibility to remove the dot between the trigger and the command? I've already deleted the trigger stuff myself (since I don't like it). But now I must use this (and that's not what I want).
Code:
!.msg Hi
Thanks in advance .

Oh and for the people who are on networks with NICKSERV. Try this (it works here):
Code:
irc_auth_string "PRIVMSG nickserv identify your_password_here"
The whole point of the plugin is so it can work with multiple servers (and requires a trigger)

You should just set it to something short if you don't want to use it. It will be very difficult for you to remove the trigger stuff, because of all of the string parsing that takes place.
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
Altar
Junior Member
Join Date: Aug 2006
Old 08-18-2008 , 18:21   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #228

Up my problems persist please :/
Altar is offline
xomp
BANNED
Join Date: Jul 2008
Old 08-21-2008 , 10:14   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #229

I can't get it to connect. Here's my wall-of-text known as my error log:
Quote:
L 08/20/2008 - 00:55:00: SourceMod error session started
L 08/20/2008 - 00:55:00: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 00:55:00: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 00:55:00: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 00:55:00: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 00:55:11: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 00:55:11: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 00:55:11: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 05:49:17: Error log file session closed.
L 08/20/2008 - 05:49:17: SourceMod error session started
L 08/20/2008 - 05:49:17: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 05:49:17: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 05:49:17: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 05:49:17: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 05:49:17: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 05:49:18: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 05:49:18: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 07:06:54: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 07:06:54: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 07:06:54: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:242: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:242: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:242: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:248: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:248: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:248: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:24:45: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:24:45: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:24:45: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:24:50: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:24:50: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:24:50: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:24:53: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:24:53: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:24:53: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:25:02: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:25:02: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:25:02: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:25:03: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:25:03: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:25:03: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:25:12: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:25:12: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:25:12: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:269: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:269: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:269: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 12:26:56: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/20/2008 - 12:26:56: [SM] Debug mode is not enabled for "quakesounds.smx"
L 08/20/2008 - 12:26:56: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 28 on
L 08/20/2008 - 13:44:40: Error log file session closed.
L 08/20/2008 - 13:44:40: SourceMod error session started
L 08/20/2008 - 13:44:40: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 13:44:40: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 13:44:40: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 13:44:40: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 13:44:40: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 13:44:42: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 13:44:42: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 15:170: Error log file session closed.
L 08/20/2008 - 15:170: SourceMod error session started
L 08/20/2008 - 15:170: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 15:170: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 15:170: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 15:170: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 15:170: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 15:172: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 15:172: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 15:17:45: [SM] Native "GetClientName" reported: Client 10 is not connected
L 08/20/2008 - 15:17:45: [SM] Debug mode is not enabled for "sodstats.smx"
L 08/20/2008 - 15:17:45: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 32 on
L 08/20/2008 - 17:18:47: Error log file session closed.
L 08/20/2008 - 17:18:47: SourceMod error session started
L 08/20/2008 - 17:18:47: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 17:18:47: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 17:18:47: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 17:18:47: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 17:18:47: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 17:18:49: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 17:18:49: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 177:59: [SM] Native "PushArrayString" reported: Invalid Handle 0 (error: 4)
L 08/20/2008 - 177:59: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 177:59: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 45 on
L 08/20/2008 - 177:59: [SM] Native "IRC_SendRaw" reported: Error encountered while processing a dynamic native
L 08/20/2008 - 177:59: [SM] Debug mode is not enabled for "irc-auth.smx"
L 08/20/2008 - 177:59: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 38 on
L 08/20/2008 - 177:59: [SM] Native "SocketConnect" reported: Invalid hostname specified (must not be empty)
L 08/20/2008 - 177:59: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 177:59: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 45 on
L 08/20/2008 - 17:54:55: [SM] Native "SocketConnect" reported: Invalid hostname specified (must not be empty)
L 08/20/2008 - 17:54:55: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 17:54:55: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 46 on
L 08/20/2008 - 18:28:56: [SM] Native "SocketConnect" reported: Invalid hostname specified (must not be empty)
L 08/20/2008 - 18:28:56: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 18:28:56: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 46 on
L 08/20/2008 - 181:11: [SM] Native "SocketConnect" reported: Invalid hostname specified (must not be empty)
L 08/20/2008 - 181:11: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 181:11: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 45 on
L 08/20/2008 - 183:58: [SM] Native "SocketConnect" reported: Invalid hostname specified (must not be empty)
L 08/20/2008 - 183:58: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 183:58: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 45 on
L 08/20/2008 - 19:08:47: [SM] Native "IsFakeClient" reported: Client 4 is not connected
L 08/20/2008 - 19:08:47: [SM] Debug mode is not enabled for "funcommandsX.smx"
L 08/20/2008 - 19:08:47: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 36 on
L 08/20/2008 - 19:19:45: Error log file session closed.
L 08/20/2008 - 19:19:45: SourceMod error session started
L 08/20/2008 - 19:19:45: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 19:19:45: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 19:19:45: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 19:19:45: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 19:19:45: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 19:19:47: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 19:19:47: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 19:19:47: [irc-relay-core.smx] socket error 5 (errno 10022)
L 08/20/2008 - 19:19:47: [irc-relay-core.smx] socket error 3 (errno 1003
L 08/20/2008 - 19:19:47: [SM] Native "CloseHandle" reported: Handle bcad0157 is invalid (error 1)
L 08/20/2008 - 19:19:47: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 19:19:47: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 44 on
L 08/20/2008 - 19:41:25: [SM] Native "SocketIsConnected" reported: Invalid handle: -1129512617
L 08/20/2008 - 19:41:25: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 19:41:25: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 44 on
L 08/20/2008 - 19:41:25: [SM] Native "SocketIsConnected" reported: Invalid handle: -1129512617
L 08/20/2008 - 19:41:25: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 19:41:25: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 44 on
L 08/20/2008 - 19:44:26: [n1g-tf2-stats.smx] Can't select character set (SET NAMES 'utf8')
L 08/20/2008 - 20:23:13: SourceMod error session started
L 08/20/2008 - 20:23:13: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 20:23:13: [adminmenu.smx] Warning! configs/dynamicmenu/menu.ini is now configs/adminmenu_custom.txt.
L 08/20/2008 - 20:23:13: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 20:23:13: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 20:23:13: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 20:23:13: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 20:23:13: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 20:23:29: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 20:23:29: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 200:47: SourceMod error session started
L 08/20/2008 - 200:47: Info (map "ctf_2fort") (file "errors_20080820.log")
L 08/20/2008 - 200:47: [adminmenu.smx] Warning! configs/dynamicmenu/menu.ini is now configs/adminmenu_custom.txt.
L 08/20/2008 - 200:47: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 200:47: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 08/20/2008 - 200:47: [admin-flatfile.smx] (line 54) Unknown group "Admins"
L 08/20/2008 - 200:47: [admin-flatfile.smx] (line 62) Unknown group "Admins"
L 08/20/2008 - 200:47: [admin-flatfile.smx] (line 70) Unknown group "Admins"
L 08/20/2008 - 200:53: [adminmenu.smx] Warning! configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt.
L 08/20/2008 - 200:53: [adminmenu.smx] Read the 1.0.2 release notes, as the dynamicmenu folder has been removed.
L 08/20/2008 - 206:59: [SM] Native "SocketBind" reported: Invalid handle: 24183136
L 08/20/2008 - 206:59: [SM] Debug mode is not enabled for "irc-relay-core.smx"
L 08/20/2008 - 206:59: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 29 on
L 08/20/2008 - 21:24:06: [SM] Native "SQL_GetRowCount" reported: Invalid query Handle 0 (error: 4)
L 08/20/2008 - 21:24:06: [SM] Debug mode is not enabled for "n1g-tf2-stats.smx"
L 08/20/2008 - 21:24:06: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 34 on
L 08/20/2008 - 212:04: [SM] Native "SQL_GetRowCount" reported: Invalid query Handle 0 (error: 4)
L 08/20/2008 - 212:04: [SM] Debug mode is not enabled for "n1g-tf2-stats.smx"
L 08/20/2008 - 212:04: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 34 on
L 08/20/2008 - 212:15: [SM] Native "SQL_FetchRow" reported: Invalid query Handle 0 (error: 4)
L 08/20/2008 - 212:15: [SM] Debug mode is not enabled for "n1g-tf2-stats.smx"
L 08/20/2008 - 212:15: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 34 on
And here is my ircrelay.cfg:
Quote:
//********************************************* ************
//* IRC Relay Core
//********************************************* ************
irc_server "KRYPT.CA.US.GAMESURGE.NET"
irc_port 6667
irc_password ""
irc_nickname "VNV-Bot"
// NAME CANNOT CONTAIN SPACES, OR QUOTES (This will be the bot trigger too!)
irc_name "VNV.Bot"
// The delay from each message dispatch from the message queue
irc_flood_limit 0.5
// Group list for triggers
irc_trigger_groups "css euro"
// The type of channel to send /irc messages from in-game to
// * 1 = Public Channels
// * 2 = Private Channels
// * 3 = Both types
irc_relay_replytype 3
// Display raw IRC data in console, and log files
irc_debug 0
// Enable sending of colour codes
irc_color 1
// Location of the channel, and mod config files (Do not change unless you know what you are doing! - Must end with /)
irc_config_dir "configs/ircrelay/"

//********************************************* ************
//* Authentication Module
//********************************************* ************
// The auth string to send (Dont remove %s, that will be replaced by username/pass)
// GameSurge (ChanServ): AUTHSERV AUTH %s %s
// QuakeNet (Q): PRIVMSG [email protected] :auth %s %s
irc_auth_string "AUTHSERV AUTH %s %s"
// AuthServ login details (optional)
irc_auth_username ""
irc_auth_password ""

//********************************************* ************
//* Chat Relay Module
//********************************************* ************
// Show ingame chat in IRC (1 = on, 0 = off)
irc_show_chat 0
// The type of channel to send ingame chat messages from in-game to
// * 1 = Public Channels
// * 2 = Private Channels
// * 3 = Both types
irc_chat_replytype 2

//********************************************* ************
//* Sets the access levels required to run each command (0-300)
//********************************************* ************
// Add User
irc_xs_adduser 300
// Make the relay speak in the channel
irc_xs_say 300
// Make the relay reload a module (SHOULD BE 300!)
irc_xs_reload 300
// Get player list
irc_xs_players 0
// Get information on a player
irc_xs_playerinfo 0
// Send a message to everyone in the server
irc_xs_msg 200
// Makes the relay perform an action (/me)
irc_xs_act 200
// Makes the relay perform an action (/me)
irc_xs_act 200
// Send a message to one player in the server
irc_xs_page 100
// Make the relay join a new channel
irc_xs_join 300
// Make the relay part from a channel
irc_xs_part 300
// == ADMIN COMMANDS ==
// Kick a player from the server
irc_xs_kick 150
// Bans a player from the server
irc_xs_ban 160
// Executes a command on the server (RCON)
irc_xs_rcon 250
// Set ingame chat to be redirected to IRC
irc_xs_set
I don't see "hostname" anywhere in any file for IRC-Relay. I'm assuming it means there's a problem with the irc server address? (Which shouldn't be)
xomp is offline
Send a message via Skype™ to xomp
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 08-22-2008 , 11:42   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #230

Quote:
Originally Posted by xomp View Post
I can't get it to connect. Here's my wall-of-text known as my error log:

<snip>

And here is my ircrelay.cfg:

<snip>

I don't see "hostname" anywhere in any file for IRC-Relay. I'm assuming it means there's a problem with the irc server address? (Which shouldn't be)
You probably didnt add exec sourcemod/ircrelay.cfg like the install instructions say.
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
Reply


Thread Tools
Display Modes

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 20:15.


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