Raised This Month: $ Target: $400
 0% 

nIRC - An AMXX irc-bot


Post New Thread Reply   
 
Thread Tools Display Modes
sevoii
Junior Member
Join Date: May 2008
Location: South Africa
Old 04-11-2009 , 17:51   Re: nIRC - An AMXX irc-bot
Reply With Quote #91

Uhm... I had to change quite an amount of code actually. The whole hostmask thing is not necessary at all. It's actually completely useless.
__________________

IS Gaming - www.ISGaming.co.za
sevoii is offline
naeo
Member
Join Date: Apr 2006
Old 04-12-2009 , 04:32   Re: nIRC - An AMXX irc-bot
Reply With Quote #92

Quote:
Originally Posted by sevoii View Post
Uhm... I had to change quite an amount of code actually. The whole hostmask thing is not necessary at all. It's actually completely useless.
It works just as intended - host(NOT mask) decides if a user is admin.

Explain what you did, and why please. If I like the change I might update plugin with it.
__________________
naeo is offline
sevoii
Junior Member
Join Date: May 2008
Location: South Africa
Old 04-12-2009 , 18:53   Re: nIRC - An AMXX irc-bot
Reply With Quote #93

Uhm... It your case maybe it isnt HOSTMASK, in my case it is!

We (ShadowFire Users) have hosts yes, but it's all dynamic, so we can sign up for Virtual HOSTS (HOSTMASKS! MASKING OF THE HOST!!), which we need for this plugin to work.

Basicly I just removed those dependencies, and it worked perfectly.
__________________

IS Gaming - www.ISGaming.co.za
sevoii is offline
naeo
Member
Join Date: Apr 2006
Old 04-13-2009 , 04:53   Re: nIRC - An AMXX irc-bot
Reply With Quote #94

Quote:
Originally Posted by sevoii View Post
Uhm... It your case maybe it isnt HOSTMASK, in my case it is!

We (ShadowFire Users) have hosts yes, but it's all dynamic, so we can sign up for Virtual HOSTS (HOSTMASKS! MASKING OF THE HOST!!), which we need for this plugin to work.

Basicly I just removed those dependencies, and it worked perfectly.
I am glad you got it working.
My only point was that you put wrong info in the config,. you put name@host - it were expecting only host - Because checking name is only necessary when ident is forced, and there are just gibberish vhosts.

Anyway - Congrats on getting it working
__________________
naeo is offline
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 06-23-2009 , 23:36   Re: nIRC - An AMXX irc-bot
Reply With Quote #95

Im trying to get my bot to perform some commands for gamesurge but they do not work.

{
"/msg [email protected] AUTH Skindred password",
"//mode $me +x"
}
__________________
You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all.
Kitami is offline
naeo
Member
Join Date: Apr 2006
Old 06-26-2009 , 09:45   Re: nIRC - An AMXX irc-bot
Reply With Quote #96

Quote:
Originally Posted by Kitami View Post
Im trying to get my bot to perform some commands for gamesurge but they do not work.

{
"/msg [email protected] AUTH Skindred password",
"//mode $me +x"
}
this is not mirc. you need to use the raw irc commands.

"PRIVMSG [email protected] :AUTH auth pass",
"MODE botnick +x"

replace auth, pass and botnick.
__________________
naeo is offline
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 06-26-2009 , 14:11   Re: nIRC - An AMXX irc-bot
Reply With Quote #97

How do you chat ingame a message to the irc channel.
I can only do @say in irc, how do i chat ingame or what is the command?

Like !admin or !irc
__________________

Last edited by Switchie; 06-26-2009 at 14:26.
Switchie is offline
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 06-26-2009 , 15:31   Re: nIRC - An AMXX irc-bot
Reply With Quote #98

Quote:
Originally Posted by naeo View Post
this is not mirc. you need to use the raw irc commands.

"PRIVMSG [email protected] :AUTH auth pass",
"MODE botnick +x"

replace auth, pass and botnick.
UPDATED -- I used that and it did not work are you sure you need the

Now is there a place I can find these raw IRC commands.

Also how do you properly add admins?

Quote:
/* Note that everything _MUST_ be in correct order. Dont mix it up! */
/* admin[0] uses: irc_names[0] irc_steamids[0] irc_hosts[0] irc_acessflags[0] and so do... */
#if defined IRC_SHOWADMINJOIN || defined IRC_SHOWADMINPART || defined IRC_SHOWADMINPLAYERS
new irc_names[][] =
{ /* Admin realnick's - Used when displaying admin is connecting to server */
"PySoMaNiC[SA]#CLaN-SA",
"Root2",
"Admin1",
"Admin2"
}
new irc_steamids[][] =
{ /* Admin steamids - Used to detect when an admin is connecting to server */
"STEAM_0:137209", /* Root1's ID */
"STEAM_0:0:1235", /* Root2's ID */
"STEAM_0:0:1236", /* Admin1's ID */
"STEAM_0:1:1237" /* Admin2's ID */
}
#endif
new irc_hosts[][] =
{ /* Admin irc_hosts's - Must be unique for each admin! */
"Kitami.users.gamesurge.net", /* Root1's IRC HOST */
"Root2.users.quakenet.org", /* Root2's IRC HOST */
"Admin1.users.quakenet.org",/* Admin1's IRC HOST */
"Admin2.users.quakenet.org" /* Admin2's IRC HOST */
}
new irc_flags[][] =
{ /* Admin irc_acessflags - These only matter in the livechannel */
"abcdefghijklmnopqrstu", /* Root1's irc flags */
"abcdefghijklmnopqrstu", /* Root2's irc flags */
"bcdefijmnu", /* Admin1's irc flags */
"bcdefijmnu" /* Admin2's irc flags */
}
Thats what I have but it doesn't work.
__________________
You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all.

Last edited by Kitami; 06-26-2009 at 15:47.
Kitami is offline
naeo
Member
Join Date: Apr 2006
Old 06-26-2009 , 17:18   Re: nIRC - An AMXX irc-bot
Reply With Quote #99

Quote:
Originally Posted by Switchie View Post
How do you chat ingame a message to the irc channel.
I can only do @say in irc, how do i chat ingame or what is the command?

Like !admin or !irc
all chat is sent to irc unless specified otherwise.
if you do not want all the chatter comment this out:
#define IRC_SHOWSAY
#define IRC_SHOWTEAMSAY

Then set up the nword plugin to react to whatever trigger you feel is approporiate (default it reacts to nigg,aimbot,wall,hack,cheat,admin,recoil,ghos t)

read the first post for more details.



@kitami:
whois yourself on irc. if your host is not "Kitami.users.gamesurge.net" then you need to get that sorted.
you may want to change the irc_realnick to something a bit... simpler.. like "pysomanic", but I don't see why that should be the problem.


about perform: it works exactly like how it is on mirc- except you need to send the raw irc data.
so "/msg user|#chan message" becomes "PRIVMSG #chan|user :message"

and "/mode user|#chan modestr" becomes "MODE user|#chan modestr"

I do not know the details on how authing is on gamesurge, since I mainly use quakenet, so you will have to figure out the correct messages to send yourself.

Most likely I would think you do not have mode +x on yourself so the host you set as admin is not the same as yours.

if you can't figure it out, read the first post, then try again - and if all else fails. post your whois info, your perform and your admin sections.
__________________
naeo is offline
obiwan
Junior Member
Join Date: Sep 2008
Old 08-16-2009 , 12:45   Re: nIRC - An AMXX irc-bot
Reply With Quote #100

could you add version with IP of player on IRC ? it would look like

#01:*ALIVE* (c0la^^ - 127.0.01): ple ple ple
obiwan 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 04:03.


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