Seeing kills in console

Host your own server and communicate with server operators.
6 posts Page 1 of 1
Poki
Deuce
Posts: 5
Joined: Sat Sep 14, 2013 12:06 am


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!
LeFizzy
Deuced Up
Posts: 116
Joined: Fri Jun 20, 2014 11:27 am


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
LeFizzy
Deuced Up
Posts: 116
Joined: Fri Jun 20, 2014 11:27 am


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
Poki
Deuce
Posts: 5
Joined: Sat Sep 14, 2013 12:06 am


Thanks! Would I just put this in the config?
LeCom
Post Demon
Post Demon
Posts: 866
Joined: Sat May 24, 2014 8:07 am


No, you save it as xyz.py and add xyz without the .py in the config.txt in "scripts".
LeFizzy
Deuced Up
Posts: 116
Joined: Fri Jun 20, 2014 11:27 am


Hay manus!
yutpwubo.py
(372 Bytes) Downloaded 60 times
6 posts Page 1 of 1
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 1 guest