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

IRC Relay


Post New Thread Reply   
 
Thread Tools Display Modes
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 05-30-2007 , 21:43   Re: [PLUGIN] IRC Relay
Reply With Quote #11

Update (1.0.1)
  • 1.0.1
    • Fixed un-assigned not showing name
    • Added irc_server, irc_port, irc_password for joining other servers
    • Fixed relays not always joining /me slaps ChanServ
    • Added irc_auth to manually set the authentication string
4 new cvars:
// The IRC server to connect to
irc_server " "

// The port of the server to connect to
irc_port 6667

// The connection password of the irc server (optional)
irc_password "" (optional)

// 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 "AUTHSERV AUTH %s %s"
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!

Last edited by Olly; 05-30-2007 at 21:46.
Olly is offline
Send a message via MSN to Olly
trawiator
Senior Member
Join Date: Nov 2004
Old 05-31-2007 , 06:19   Re: [PLUGIN] IRC Relay
Reply With Quote #12

Quote:
Originally Posted by Olly View Post
DOD works, as well as any other (most) Source based mods. But at the moment, i havnt added the team names for other mods yet though. But 99% of the functionality will work.

QuakeNet works, and will be enabled in the next version
On Windows works fine but on Linux don't.

Code:
[IRC RELAY] Error during connection. Error ID: 22
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
czw maj 31 11:55:54 CEST 2007: Server restart in 10 seconds
Code:
[IRC RELAY] Error during connection. Error ID: 22
cat: srcds.pid: No such file or directory
email debug.log to [email protected]
czw maj 31 12:01:37 CEST 2007: Server restart in 10 seconds
debug.log:
Code:
----------------------------------------------
CRASH: czw maj 31 12:01:37 CEST 2007
Start Line: ./srcds_amd -console -game dod +maxplayers 19 +map dod_donner -debug -pidfile srcds.pid
End of Source crash report
----------------------------------------------
I'm use Metamod:Source version 1.4.1.400 and SourceMod Version: 1.0.0.872. on Linux SRCDS version : 1.0.0.7/7 3048 secure (DoD:S)
trawiator is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 06-01-2007 , 15:46   Re: [PLUGIN] IRC Relay
Reply With Quote #13

Update (1.0.2)
  • 1.0.2
    • Fixed multiple bots spamming you with the welcome msg on JOIN
    • All commands run on a 'per-user' permission config.
    • Fixed broken version number in last release ><
    • Fixed relays not joining on late load
    • Fixed !relayversion not working in 1.0.1
    • New file for command permissions (/sourcemod/configs/ircrelay/permissions.txt
    • Updated IrcRegisterCommand native to use the new permission types
    • Stopped some excess flood messages with multiple channels
    • Fixed player names not being found
First off, as well as the above fixes, this version fixes the last version which was the shittest update i have EVER done . The bots wernt joining, and when they did, they flooded the IRC server. But trust me, this one is much better ;)

The Command permissions have been completely redone. And unlike before where you could only run the main commands from the master channel. You can now run any command from any channel. This is because now there is a new file in this release (/sourcemod/configs/ircrelay/permissions.txt) which lists all of the commands you can use with the relay. Also you can set the minimum permission level you must be before you can run it.

Also the API has changed slightly.
Code:
/*********************************************************
 *  This native will allow external plugins to register their own command
 *
 * @param    String:command[]        The command to add eg: "!mycommand"
 * @param   String:mode[]            The minimum user mode to run this cmd (@, %, +)
 * @param    Function:callback        The callback for once that command has been run on the irc server
 * @noreturn        
 *********************************************************/
native RegisterIrcCommand(String:command[], String:permissions[], IrcCallbackFunc:callback);
The second param is now a string, so if you register a command that you only want OP to use, then you would use: RegisterIrcCommand("gaben", "@", gabe);

Update Instructions (from 1.0.1)
  1. Copy the all of the files from the zip (see first post) to your game server.
  2. Open \sourcemod\configs\ircrelay\permissions.txt and change the permissions to whatever you want.
  3. Restart your server
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
SirCole
Member
Join Date: Nov 2006
Old 06-06-2007 , 17:42   Re: [PLUGIN] IRC Relay
Reply With Quote #14

I have the same problems with linux except it does not crash my linux server it just spams error 22,

I am now going to quickly test it on a windows server.

Cole
SirCole is offline
imported_sparky
Member
Join Date: Dec 2004
Old 06-06-2007 , 22:16   Re: [PLUGIN] IRC Relay
Reply With Quote #15

Same here linux

VAC secure mode is activated.
[IRC RELAY] Error during connection. Error ID: 22
L 06/06/2007 - 10:09:24: [IRC RELAY] Error during connection. Error ID: 22
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Jun 6 10:09:24 EDT 2007: Server restart in 10 seconds
Wed Jun 6 10:09:27 EDT 2007: Server Quit
__________________
Longisland Game Servers
www.ligs.us
imported_sparky is offline
SirCole
Member
Join Date: Nov 2006
Old 06-13-2007 , 07:24   Re: [PLUGIN] IRC Relay
Reply With Quote #16

any idea on the error 22, yet?
SirCole is offline
imported_sparky
Member
Join Date: Dec 2004
Old 06-13-2007 , 08:16   Re: [PLUGIN] IRC Relay
Reply With Quote #17

I was told it was because the Sockets extension was not loading. I still cant seem to get the extention to load I added it to the proper directories but it will not load.
__________________
Longisland Game Servers
www.ligs.us
imported_sparky is offline
SirCole
Member
Join Date: Nov 2006
Old 06-13-2007 , 08:18   Re: [PLUGIN] IRC Relay
Reply With Quote #18

Yeah I figured it was the sockets extension, thus the reason I tried windows as well, but alas it still wouldn't work.

but hey! I don't know jack shit so yeah
SirCole is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 06-13-2007 , 18:36   Re: [PLUGIN] IRC Relay
Reply With Quote #19

I still need to find out what the linux socket error numbers mean :S they dont seem to be documented anywhere

I know there is an issue with linux with the sockets extension, ill get round to fixing that one day.

But we have IRC Relay running on some of our servers.. There is 9 bots in our channel now, and they are all running windows. So i dont know why it shouldnt work in windows.

Did you get an error message or just not joining?
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
imported_sparky
Member
Join Date: Dec 2004
Old 06-13-2007 , 19:54   Re: [PLUGIN] IRC Relay
Reply With Quote #20

server crash


Same here linux

VAC secure mode is activated.
[IRC RELAY] Error during connection. Error ID: 22
L 06/06/2007 - 10:09:24: [IRC RELAY] Error during connection. Error ID: 22
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Jun 6 10:09:24 EDT 2007: Server restart in 10 seconds
Wed Jun 6 10:09:27 EDT 2007: Server Quit
__________________
Longisland Game Servers
www.ligs.us
imported_sparky 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 14:52.


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