Raised This Month: $239 Target: $400
 59% 

HLDS <-> IRC /w Integration By Devicenull 2.7 UPDATED 3-19-07


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Xanimos (85)
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Old 06-27-2006 , 18:42   HLDS <-> IRC /w Integration By Devicenull 2.7 UPDATED 3-19-07
Reply With Quote #1

See This Live on GameSurge in #HLDSIRC

for the best connection use irc.nuclearfallout.net

HOW TO INSTALL:

* Step 1: Download the .amxx file (Named irc.amxx)

* Step 2: Add the plugin to your /addons/amxmodx/plugins folder and to your plugins.ini in /addons/amxmodx/configs folder.

* Step 3: Configure your IRC bot by putting these cvars (Look below this) in your amxx.cfg
________________

REQUIRED CVARS - These must be set (in amxx.cfg or server.cfg)
________________
irc_server "irc_network_address" - The IRC server's address to connect to (For example; "irc.gamesurge.net")
irc_port "port_here" - The irc server's port (normally 6667)
irc_nick "your_bot_nick_here" The nickname the bot will use on IRC (For example; "ServerBot")
irc_username "bot_username_here" - Name that shows when someone /whois or ucentral's you
irc_channel "#your_chan_here" - Channel to join
irc_msg_usecolors (default 1; 0|1) - Makes messges from HLDS in IRC colored based on team. If you're channel restricts colors, set this to 0. If you don't run CS, set this to 0.
________________

OPTIONAL CVARS - You may want to set these
________________
irc_identify (default 0; 0|1) - If you have a nickserv/auth account, set this to "1"
irc_ident (default "") - If you have a nickserv/auth account set this to "authserv auth [account] [password]"
irc_map_change (default 1; 0|1) - Display Server name, ip, map and players connected on map change and server start.
irc_show_joins (default 1; 0|1) - Show a message when someone joins the server
irc_to_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from IRC to HLDS
irc_from_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from HLDS to IRC
irc_to_hlds_say_activator (default "!hlds") - If irc_to_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent to HLDS from IRC.
irc_from_hlds_say_activator (default "!irc") - If irc_from_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent from HLDS to IRC.
irc_msg_srvjoin (default "$name ($steamid) has joined the server") - Set the message that will be displayed in IRC when a player joins the server. Set to "" to disable.
irc_msg_srvpart (default "$name ($steamid) has left the server") - Set the message that will be displayed in IRC when a player leaves the server. Set to "" to disable.
irc_msg_startup (default "$servername - $ip Current Map: $map $curplayers / $maxplayers players") - Set the message that will be displayed in IRC when the server starts up or changes map. Set to "" to disable.

Variables you can use for irc_msg_serv(join/part)
* $name - Person's name
* $steamid - Person's steamid
* $team - Person's team
* $teamn - Person's team number
* $connected - How long they have been connected
* $access - Persons access

Variables you can use for irc_msg_startup
* $servername - Name of the server
* $ip - IP of the server
* $map - Name of the current map
* $curplayers - Current number of players on the server
* $maxplayers - Maximum players allowed on server
________________

COMMANDS
________________

In-game Commands:
irc connect - Connect to irc
irc disconnect - Disc from irc
irc say - Send message to irc
irc help - Get help

IRC Commands:

In Channel:
[email protected][email protected][email protected][email protected] - Displays a list of commands usable in channel.
[email protected] - Lists the players currently in the server.
[email protected] - Display the current map.
[email protected] - Display the next map in the map cycle.
[email protected] - Display the time left on the current map.
[email protected] - Display the IP of the server.
[email protected] - Display the same information contained in the start up message.
Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could do @amx_ban player in channel and it will ban player from the server.)

Commands That You PM To The Bot
-cmds/commands/info/help - Displays a list of commands usable in channel.
-players - Lists the players currently in the server.
-map - Display the current map.
-nextmap - Display the next map in the map cycle.
-timeleft - Display the time left on the current map.
-ip - Display the IP of the server.
-status - Display the same information contained in the start up message.
-login <username> <password> - Log in to the bot so you can use admin commands.
-logout - Log out from the bot.
Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could PM amx_ban player to the bot and it will ban player from the server.)

________________

HOW TO ADD ADMINS
________________

Edit your ircadmins.ini (It will be created in /addons/amxmodx/configs after the first time you run the plugin. If you don't see it, make sure the plugin is properly installed and then restart or change map on the server, then check again.)

Make sure to put it in this format:
"username" "password" "flags" "unique id"

*Flags should be the same as users.ini or your amxbans admins config
*Unique ID is an arbitrary number (it can be anything you want), just make sure that no two admins have the same ID.
________________

IMPORTANT: If your bot does not connect to the network, and you are sure you have all the settings right (Should work as long as you have the default cvars in amxx.cfg or Server.cfg), it means that your host is blocking the ports. This is common among gameserver providers now (More likely on the datacenter's end).
Attached Files
File Type: sma Get Plugin or Get Source (irc.sma - 4644 views - 30.1 KB)
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.

Last edited by {NM}Jason; 03-20-2007 at 00:27.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Old 06-27-2006 , 18:42   Re: HLDS <-> IRC Bot By Devicenull /w Integration 2.4
Reply With Quote #2

-Originally made by Devicenull
Now Mantained By twistedeuphoria & {NM}JRBLOODMIST again as of 6-27-06

Version 2.7
a delay problem when connecting, also when you connect to irc server with HLDS <-> IRC , it sends the ping in the same packet as the NOTICE AUTH, and the plugin doesnt parse it properly witch wont allow it to connect at all
so we added another delay before it sends the notice auth also we added a delay before connecting wile the server is starting up
thanks FatalisDK teame06 for there help
Version 2.6
-Massive reworks
-Removed amx bans commands
-Removed extra irc_from_hlds triggers
-Added admin commands (see commands in first post)
-Removed say cvars
-Added irc_msg_usecolor
-I'm probably forgetting stuff, read the first post.
Version 2.5
-Very Minor Code Tweaks and Changes
Version 2.4
-Added @[email protected][email protected][email protected] commands
Version 2.3
-Added more triggers for irc_from_hlds_say
Version 2.2
-Added amxbans integration
Version 2.1
-Added the amx_ban feature
-Added bolds to usernames from HLDS
Version 2.0
-Taken over by chowdown
Version 1.1:
-Ping timeout fix. Thanks LogiC.
Version 1.0:
-Increased maximum hostname length (when sending to IRC)
-Decreased time between sending messages to IRC
-Cleaned, streamlined and upstaed code
-Added server admining from IRC
-Edited say cvars' defaults
-Added cvars for controlling say messages
-Lots of stuff
Version 0.39:
-Fixed some compiling errors. Thanks to v3x for help.
Version 0.38:
-Added a bunch of IRC commands and a cvar to control the startup message.
Version 0.37:
-Added GNU and setup(since removed) in .sma.
Version 0.36:
-Added irc_map_change and map change information
-Taken over by {NM}JRBLOODMIST and twistedeuphoria
Version 0.35
-Fixed something I broke
Version 0.34:
-Fixed mapchange issue
-Added some basic commands from IRC
Version 0.33:
-Fixed a rconnect problem
Version 0.32:
-Added ability to identify/send message on connected
Version 0.31:
-Fixed mapchange bug
-Fixed auto-connect
Version 0.30:
-Rewrote entire thing
-Added some cool stuff
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.

Last edited by {NM}Jason; 03-20-2007 at 00:29.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
Old 06-27-2006, 18:54
{NM}Jason
This message has been deleted by {NM}Jason. Reason: it was posted before The Froums had Delete.
Niro
Member
Join Date: Oct 2004
Location: Russia,St-Petersburg
Old 07-01-2006 , 00:11   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #3

Nice
__________________
At you one chance to create the correct future
Niro is offline
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 07-02-2006 , 12:48   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #4

sorry... dont work for me... the server shut down if i use this plugin

i have:

Rootserver (linux suse 9.3)
newest cstrike
AMXX 1.71
Metamod 1.19p28

in my amxx.cfg i put these:

############################################# ###
irc_server "splatterworld.de.quakenet.org"
irc_port "6669"
irc_nick "KX-Server-Bot"
irc_username "KX-Server-Bot"
irc_channel "#Kelten-Xtreme"
irc_identify "1"
irc_ident "authserv auth KX-Server-Bot xxxxxxxx"
irc_map_change "1"
irc_show_joins "1"
irc_to_hlds_say_auto "0"
irc_from_hlds_say_auto "0"
irc_to_hlds_say_activator @hlds
irc_from_hlds_say_activator !irc
irc_amxbans "0"
irc_msg_srvjoin "$name betritt den WC3FT-Server"
irc_msg_srvpart "$name verlässt den WC3FT-Server"
irc_msg_startup "$servername ($ip) | Mapchange to: $map"
############################################# ###

then i restart my server and type "irc connect" in the console... after this the the bot join the channel and server shutting down
__________________

Last edited by Mulan; 07-02-2006 at 13:01.
Mulan is offline
Send a message via ICQ to Mulan
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Old 07-02-2006 , 14:09   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #5

what dose it say in your error logs ?
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 07-02-2006 , 16:09   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #6

nothings
__________________
Mulan is offline
Send a message via ICQ to Mulan
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Old 07-03-2006 , 07:37   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #7

add this
Code:
irc.amxx debug
to your plugins.ini
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 07-03-2006 , 12:42   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #8

nothing too

Code:
          [ 37] Exploding Gernade  1.0      P34nut            grenaderealism.  running  
          [ 38] LaserMine Entity   1.2beta  +ARUKARI-         LaserMine.amxx   running  
          [ 39] teamalert          1.0      Allenwr           teamalert.amxx   running  
          [ 40] HLDS<->IRC         2.5      devicenull        irc.amxx         debug
my log:

Code:
L 07/03/2006 - 18:35:57: -------- Mapchange to fy_paintball --------
L 07/03/2006 - 18:35:58: [restrictnames.amxx] 24 Saetze von addons/amxmodx/configs/restrictnames.ini geladen.
L 07/03/2006 - 18:36:06: [amxbans_new.amxx] AMXBans amxx_4.0 is online
L 07/03/2006 - 18:36:06: [amxbans_menu_new.amxx] AMXBans Menu is online (6 reasons loaded)
L 07/03/2006 - 18:36:07: [warcraft3FT.amxx] Connection to MySQL database successful
L 07/03/2006 - 18:36:27: -------- Mapchange to fy_paintball --------
L 07/03/2006 - 18:36:27: [restrictnames.amxx] 24 Saetze von addons/amxmodx/configs/restrictnames.ini geladen.
L 07/03/2006 - 18:36:40: [amxbans_new.amxx] AMXBans amxx_4.0 is online
L 07/03/2006 - 18:36:40: [amxbans_menu_new.amxx] AMXBans Menu is online (6 reasons loaded)
L 07/03/2006 - 18:36:41: [warcraft3FT.amxx] Connection to MySQL database successful
L 07/03/2006 - 18:37:00: -------- Mapchange to fy_paintball --------
L 07/03/2006 - 18:37:01: [restrictnames.amxx] 24 Saetze von addons/amxmodx/configs/restrictnames.ini geladen.
L 07/03/2006 - 18:37:07: [amxbans_new.amxx] AMXBans amxx_4.0 is online
L 07/03/2006 - 18:37:07: [amxbans_menu_new.amxx] AMXBans Menu is online (6 reasons loaded)
L 07/03/2006 - 18:37:08: [warcraft3FT.amxx] Connection to MySQL database successful
__________________
Mulan is offline
Send a message via ICQ to Mulan
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Old 07-03-2006 , 14:18   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #9

IMPORTANT: If your bot does not connect to the network, and you are sure you have all the settings right (Should work as long as you have the default cvars in amxx.cfg), it means that your host is blocking the ports. This is common among gameserver providers now (More likely on the datacenter's end).

ask your server provider if they block port 6667 or 6666
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
chowdown
Member
Join Date: Nov 2005
Old 07-04-2006 , 00:58   Re: HLDS <-> IRC /w Integration By Devicenull 2.5 UPDATED 6-30-06
Reply With Quote #10

Use this server on quakenet: http://staff.quakenet.org/server_show.phtml?serverid=56

Use the 7000 port or port 8080, it should work then.
__________________
woot
chowdown is offline
Send a message via AIM to chowdown
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 12:42.


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