Raised This Month: $ Target: $400
 0% 

IRC Relay for SourceMod 2.5.0


Post New Thread Reply   
 
Thread Tools Display Modes
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 07-26-2008 , 18:47   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #201

Quote:
Originally Posted by Ph4ntomPhr34k View Post
I have everything installed and no major issues. I am just having an issue getting the bot to auth with Gamesurge.net. I can not provide any debugs because even with the setting on 1 its not sending any info the the console. I also messed with the hostmask setting in one of the previous post. Here is part of the config.

irc_server "irc.gamesurge.net"
irc_port 6667
irc_password ""
irc_nickname "MatchRelay"

// NAME CANNOT CONTAIN SPACES, OR QUOTES (This will be the bot trigger too!)
irc_name "tf2match"

// The delay from each message dispatch from the message queue
irc_flood_limit 0.5

// Group list for triggers
irc_trigger_groups "tf2match"

// 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 1

// 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 "******"
Quote:
Originally Posted by r3recon View Post
I think I have a solution for you.

If anyone has had trouble getting their relay to auth with GameSurge, I have a solution.

1. Connect to GameSurge and auth with the account you want your relay to use
2. Type the below command in the server window, replacing 123.123.123.123 with the ip address of the machine that you want the bot to be able to auth from (e.g. your game server).

/as addmask *@123.123.123.123
__________________
recon0 is offline
Sazpaimon
Member
Join Date: Apr 2008
Old 07-26-2008 , 20:06   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #202

Quote:
Originally Posted by Sazpaimon View Post
Just when I think my troubles are over, something new pops up :/ The bot seems to start repeating itself over and over after a while. I'm getting this in the channel:
Code:
(Player1): rtv 
(Player1): rtv 
(Player2): WAT U SAI
(Player2): WAT U SAI
etc. This goes on until a map change. Any way this can be resolved?
Alright well, I looked into it further, and it looks like it starts to repeat the same line once every map change, until i reload the plugin. No idea what's causing it.
Sazpaimon is offline
Altar
Junior Member
Join Date: Aug 2006
Old 07-27-2008 , 10:41   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #203

For me the bot don't connect to IRC, i have verify and the irc-relay cfg is loaded, i have no errors when i changemap bug when i try to reload irc relay core i have this error :

Quote:
[SM] Failed to reload plugin IRC Relay - Core Plugin.
and when i try to load i have this :

Quote:
[SM] Plugin irc-relay-core.smx failed to load: Native "IRC_GetAccessLevelByHost" was not found..
i don't understand because when i changemap and i see the plugin list irc-relay-core is loaded :/

this is my database cfg :

Quote:
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "relay"
"user" "User"
"pass" "Passe"
//"timeout" "0"
//"port" "0"
}

"irc_relay"
{
"driver" "sqlite"
"database" "irc_relay"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}
and my ircrelay.cfg :

Quote:
//********************************************* ************
//* IRC Relay Core
//********************************************* ************
irc_server "irc.epiknet.org"
irc_port 6667
irc_password ""
irc_nickname "CSSRelay"

// NAME CANNOT CONTAIN SPACES, OR QUOTES (This will be the bot trigger too!)
irc_name "IRCRelay"

// The delay from each message dispatch from the message queue
irc_flood_limit 0.5

// Group list for triggers
irc_trigger_groups "css"

// The type of channel to send /irc messages from in-game to
// * 1 = Public Channels
// * 2 = Private Channels
// * 3 = Both types
irc_relay_replytype 2

// Display raw IRC data in console, and log files
irc_debug 1

// 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 1

// 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_setchat 100
help me please
Altar is offline
Ph4ntomPhr34k
New Member
Join Date: Jul 2008
Old 07-27-2008 , 11:55   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #204

Well I still cant get the relay to auth to gamesurge.net I tried the /as *@<serverIP> with no luck.

I am also getting the issue where the relay repeats chat everytime the map changes. Once it gets to about 4 repeats it gets spammed out of the channel.

Is there any fix other than the reload command?
Ph4ntomPhr34k is offline
Sazpaimon
Member
Join Date: Apr 2008
Old 07-27-2008 , 22:53   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #205

Quote:
Originally Posted by Altar View Post
For me the bot don't connect to IRC, i have verify and the irc-relay cfg is loaded, i have no errors when i changemap bug when i try to reload irc relay core i have this error :

and when i try to load i have this :

i don't understand because when i changemap and i see the plugin list irc-relay-core is loaded :/

this is my database cfg :

and my ircrelay.cfg :



help me please
I've had the same issue, I resolved this by first reloading irc-access, then reloading irc-relay-core, and it fixed my issue.

Quote:
Originally Posted by Ph4ntomPhr34k View Post
Well I still cant get the relay to auth to gamesurge.net I tried the /as *@<serverIP> with no luck.

I am also getting the issue where the relay repeats chat everytime the map changes. Once it gets to about 4 repeats it gets spammed out of the channel.

Is there any fix other than the reload command?
Glad to see I'm not the only one with the repeating chat issue. I've been looking into the source to try and resolve the issue, but so far no luck.
Sazpaimon is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 07-28-2008 , 06:46   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #206

This is a really great plugin, and I set it up earlier tonight. i had to recompile the plugins to work on the latest sourcemod, as otherwise I got double output for some reason, but otherwise it works beautifully.

I'd really, really, love it though if there were a way to provide access to my admins to specific commands but not complete rcon besides the basics. For example, I really want to give them access to change maps and mute players, but not complete rcon...

It'd also be great to be able to assign privileges by rank in the channel instead of by logging in as a user. Thanks
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
Altar
Junior Member
Join Date: Aug 2006
Old 07-28-2008 , 18:39   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #207

Thanks Sazpaimon but it's not running for me : (
Altar is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 07-28-2008 , 18:39   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #208

Quote:
Originally Posted by Sazpaimon View Post
Alright well, I looked into it further, and it looks like it starts to repeat the same line once every map change, until i reload the plugin. No idea what's causing it.
Same issue here, now
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
Sazpaimon
Member
Join Date: Apr 2008
Old 07-29-2008 , 01:13   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #209

Give this one a try, I had someone look into the double message bug and see if he could fix it, and it seems to have resolved it on my server.

Edit: I've also attached the binary version because the source wont compile on the forums by itself.
Attached Files
File Type: sp Get Plugin or Get Source (irc-relay-core.sp - 199 views - 42.1 KB)
File Type: smx irc-relay-core.smx (22.4 KB, 255 views)
Sazpaimon is offline
mata
Junior Member
Join Date: Jun 2008
Old 08-01-2008 , 07:27   Re: IRC Relay (v2.1.0) UPDATED!
Reply With Quote #210

This solved the double posting on my servers too, tnx.
mata 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 06:07.


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