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

IRC LiveBot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Elbandi
Member
Join Date: Jun 2005
Location: Budapest, Hungary
Old 12-15-2005 , 19:19   IRC LiveBot
Reply With Quote #1

Irc LiveBot
Version: 0.6 Beta

Description:
This plugin connect to a irc server, join the channel, and reports (player join, kill, bomb plant/defuse, hostage rescue, etc) what happened in the server.

Features:
- Nickserv, AuthServ (GameSurge) or Q (Quakenet) auth, automatic detection
- print some serverinfo to irc (map, mod, scores)
- irc user can query the player stats if he has the right permission (voice, op)
- irc ops can use rcon

Installation:
You need to download and Install SourceMM. Next, set it up like a normal plugin. If you start your server now, and type "meta list" into the console, you should see a line that says
-Id- Name Version Author Status
[01] IRC LiveBot v0.6b Elbandi RUN

Don't worry if it isnt exactly like that, as long as it says run you are all set.

You can stop your server now, and set up the config file.
Make a autoexec.cfg in cstrike/cfg if it is not exist.
Put this cvars into it:
ib_server "irc.somewhere.com" - IRC server to connect to
ib_port 6667 - IRC port to server
ib_password "" - If the IRC server requires a password
ib_channel "#mychannel" - Channel to report
ib_nick "myircbot" - IRC nick
ib_user "ircbot" - IRC user
ib_perm_players "v" - Permission to use !players
ib_perm_rcon "o" - Permission to use !rcon
ib_perm_say "o" - Permissions to use !say
ib_auth_user "user" - The username for the irc auth system
ib_auth_pass "pass" - The password for the irc auth system
ib_showsay "0" - Show the say and team_say to irc
ib_extraspace "0" - Add extra space after name (complete the name lenght to this value)
Change: ib_qauth_user, ib_qauth_pass, ib_nickservpass cvars no longer exist!!

Commands:
say_irc - can send a message to irc with rcon

Download:
Win32: ircbot_mm.zip , and unpack this file to windows\system32: ms71_dll.zip
Linux: ircbot_mm.tar.gz

Changelog:

Quote:
IrcBot 0.6b
Released: 7 Jan 2006
- SourceMM 1.2 compatible
- say_irc command added
- new ircuser handling (the old was buggy)
- extra space after name

IrcBot 0.5b
Released: 22 Dec 2005
- psybnc support: now can connect to a psybnc, set the ib_user, ib_password
- added all gameevents (bomb_*, hostage_*), uncomment from cstrike.cfg if you dont need one)
- show player ping in playerinfo
- in bomb effect, you can use {site}, replaced the bombsite (A or B), only works in standard maps

IrcBot 0.4b
Released: 20 Dec 2005
- Add Mods detect to !info command
- in !info command, If the user is a HLTV, prints the hltv info: proxies, slots, spect, delay
- some bugfixing (correct string handle, etc)

IrcBot 0.3b
Released: 18 Dec 2005
- added new irc command, to show the says or not
- added /irc and /me commands
- 2 crash bugfix
- fix right sayhook removing

IrcBot 0.2b
Released: 16 Dec 2005
- added AuthServ auth (cvars changed)
- color frags/deaths display
- detect the bomber before roundstart
- Some bugfix

IrcBot 0.1b
Released: 15 Dec 2005
Thanksgiving
I get many idea and code sample from sslice's IRC Relay plugin.
__________________
8 hobbit = 1 hobbyte?
Elbandi is offline
Send a message via ICQ to Elbandi Send a message via MSN to Elbandi
geezer
Junior Member
Join Date: Feb 2005
Location: Scotland
Old 12-15-2005 , 20:11  
Reply With Quote #2

Error reloading plugin: libstdc++.so.6: cannot open shared object file: No such file or directory.

Awww same problem on linux with your plugin
geezer is offline
Opossum
Senior Member
Join Date: Dec 2004
Location: weedcheaters.com
Old 12-15-2005 , 20:29  
Reply With Quote #3

Tried loading it on a windows server, but it won't. Console said failed to load bla..
__________________
194.126.237.23:27015

194.126.237.23:27015
Opossum is offline
Send a message via ICQ to Opossum Send a message via AIM to Opossum Send a message via MSN to Opossum Send a message via Yahoo to Opossum
Elbandi
Member
Join Date: Jun 2005
Location: Budapest, Hungary
Old 12-15-2005 , 21:41  
Reply With Quote #4

Quote:
Originally Posted by geezer
Error reloading plugin: libstdc++.so.6: cannot open shared object file: No such file or directory.
Awww same problem on linux with your plugin
eh, sorry, g++
i replaced to a new version, i hope it works

Opossum: what was the error msg?

(this is a beta version, so it log many info)
__________________
8 hobbit = 1 hobbyte?
Elbandi is offline
Send a message via ICQ to Elbandi Send a message via MSN to Elbandi
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 12-16-2005 , 05:55  
Reply With Quote #5

Crashes in windows right away when starting with SMM 1.1.2
tcviper is offline
Send a message via MSN to tcviper
timds
New Member
Join Date: Dec 2005
Old 12-16-2005 , 07:36  
Reply With Quote #6

This is realy strange, first this happens:

L 12/16/2005 - 132:03: [IRCLIVEBOT] No IRC server set, don't connect!
ib_server
"ib_server" = "irc.quakenet.org" ( def. "" )
- IRC server to connect to
ib_port
"ib_port" = "6667"
- IRC port to server
ib_nick
"ib_nick" = "pSyCho|BoX" ( def. "CS-LiveBot" )
- IRC nick
ib_channel
"ib_channel" = "#darkreavers" ( def. "#Livebot" )
- Channel to relay messages to

but as soon a client connects, the server crashes. Maybe this is somehow connected to the fact that the plugin is not connected?

greetings

Tim
timds is offline
Opossum
Senior Member
Join Date: Dec 2004
Location: weedcheaters.com
Old 12-16-2005 , 08:08  
Reply With Quote #7

Hm, I deleted it some hours ago. All I still know is that console in hlsw said "failed to load plugin". I also took the right path to load the plugin, because if it was wron, console would say "no file" or something.
__________________
194.126.237.23:27015

194.126.237.23:27015
Opossum is offline
Send a message via ICQ to Opossum Send a message via AIM to Opossum Send a message via MSN to Opossum Send a message via Yahoo to Opossum
Elbandi
Member
Join Date: Jun 2005
Location: Budapest, Hungary
Old 12-16-2005 , 08:33  
Reply With Quote #8

fixed the 1.1.2 SMM crash and notconnect bug.

i have only one workstation and one linux server, can't test to much...
__________________
8 hobbit = 1 hobbyte?
Elbandi is offline
Send a message via ICQ to Elbandi Send a message via MSN to Elbandi
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 12-16-2005 , 09:03  
Reply With Quote #9

does this mod also work with gamesurge irc?

authserve auth that is
tcviper is offline
Send a message via MSN to tcviper
yan
Junior Member
Join Date: Dec 2005
Location: Nottingham, UK
Old 12-16-2005 , 11:19  
Reply With Quote #10

Running Linux Redhat FC3 CS:S server

Server starts fine
Bot joins IRC
Bot announces itself and the current map to IRC
Player connects to server
Bot announces player connecting to server

Server crashed before player actually joins

Something not quite right
yan 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 17:30.


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