Page 1 of 2
Kill Protection Module for Netadmins (Usermode +K)
Posted: Tue Mar 01, 2005 3:11 pm
by Darwin
Hello there,
I've coded and customized my first own UnrealIRCd module. The idea has been influenced by the +q mode which prevents IRCops from being kicked out of a channel. It adds a new Usermode (+K) which prevents NetAdmins from being killed by other IRC operators. I know that similiar modules already exist but I didn't find one which lets the Netadmin decide if he wants the be protected or not with setting a Usermode. I've taken some example code from other modules in order to get more familiar with coding unreal modules.
The module can be found there:
http://www.mburki.com/src/modules/m_killprotect.c
Please let me know whether you find it useful or not. Tell me your thoughts. Suggestions are always welcome.
Thanks
Darwin
Posted: Thu Mar 10, 2005 6:06 pm
by Itsme-HcK
Shouldn't it be nice to give the headers too?
Posted: Sat Mar 19, 2005 7:21 pm
by Stealth
A windows version of m_killprotect will soon be
here.
Posted: Mon Jun 20, 2005 3:09 pm
by black_skies4
Congradulations
Darwin 
.
One thing though, if some oper kills your NetAdmin, you will know that it's a bad oper and will deoper them. If they can't kill, one less way you can tell how good your opers are...
Posted: Mon Jun 20, 2005 7:27 pm
by Stealth
black_skies4, if you had actually used the module, you would notice that there is a notice sent to the netadmin with +K, and a globops notice sent to all the opers on the network saying there was an attempted kill on a netadmin.
Posted: Tue Jun 21, 2005 3:46 pm
by Jason
Can I point to m_netadmins by angrywolf?
Posted: Tue Jun 21, 2005 5:51 pm
by Stealth
IIRC, m_netadmins did not give netadmins a choice about not being killed. This module makes a new umode (+K), that allows netadmins to choose to be protected or not.
Posted: Wed Jun 22, 2005 9:25 am
by sdamon
does this effect services ghosting?
Posted: Wed Jun 22, 2005 7:18 pm
by Stealth
No. NetAdmins and Services can always kill people with +K
Posted: Fri Jul 01, 2005 2:17 am
by black_skies4
Hmm, well if the opers knew about the module, they wouldn't even attempt a kill. But hey, i see your point, thanks man.
Posted: Sun Aug 28, 2005 5:50 pm
by Darwin
Sorry guys I was away for quite a while. Busy in real life

But now I'm back.
@Stealth: thanks for supporting my module during my absence

error code
Posted: Sat Sep 17, 2005 7:35 pm
by KinG
After loading this module in the Unreal3.2 map, changing my unrealird.conf en rehashing i get the error code:
unrealircd.conf:36: loadmodule src/modules/m_killprotect.c: failed to load: tmp/C6474F3C.m_killprotect.c: invalid ELF header
Can someone help me with this error?
Thank you verry much...
KinG
Posted: Sun Sep 18, 2005 7:03 am
by w00t
Why are you trying to load a .c? You need to compile a module before you can use it.
ooops
Posted: Sun Sep 18, 2005 9:20 am
by KinG
Yeps...
I'm sorry. I've indeed tried to load it with the4 c file....
I've got a friend who had helped me with making the module etc.
I've now load it and everything works.
thanks again, learning every day....
KinG
Thanks again for de maker of this module.
Posted: Tue Sep 20, 2005 5:40 am
by steven_elvisda
Thanks Darwin for sharing nice module.
I hope u can share other nice module like this more and more.
I wish you good health, and good with everything that you wish.
