Page 1 of 1

Seeing kills in console

Posted: Thu Sep 04, 2014 10:23 pm
by Poki
I was wondering if it's at all possible to see kills in the console? I only ask because there have been people using some pretty nice hacks that make it impossible to ban them as there name doesn't show up in the TAB list or when they get a kill its just a big black bar in the kill feed.

Thanks!

Re: Seeing kills in console

Posted: Sat Sep 06, 2014 12:12 pm
by LeFizzy
I think it possible!

Example of a script:
Code: Select all
def on_kill(self, idk):
print '$killer_name killed $dead_name'
return connection.on_kill(self, idk)
still very difficult i not know how it working :D

Re: Seeing kills in console

Posted: Sun Sep 07, 2014 1:31 pm
by LeFizzy
Thank you for helping Lecom!
Code: Select all
"""
Console kills for you
"""

def apply_script(protocol, connection, config):

	class ConsoleKillFeedConnection(connection):
		def on_kill(self, killer, type, grenade):
			if killer is not None:
				print('%s was killed by %s' % (self.name, killer.name))
			return connection.on_kill(self, killer, type, grenade)

	return protocol, ConsoleKillFeedConnection
Blue_Happy1 Green_Happy1

Re: Seeing kills in console

Posted: Sun Sep 07, 2014 9:36 pm
by Poki
Thanks! Would I just put this in the config?

Re: Seeing kills in console

Posted: Mon Sep 08, 2014 6:06 am
by LeCom
No, you save it as xyz.py and add xyz without the .py in the config.txt in "scripts".

Re: Seeing kills in console

Posted: Tue Sep 09, 2014 1:18 pm
by LeFizzy
Hay manus!
yutpwubo.py
(372 Bytes) Downloaded 320 times