News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: [Added] TeamKill Plugin  (Read 6688 times)

0 Members and 1 Guest are viewing this topic.

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
[Added] TeamKill Plugin
« on: March 09, 2015, 11:47:49 AM »
FYI to all,

I placed the TeamKill Plugin on the 1upZ REALISM server so we could be sure to test it out.

It is just using the default settings for now. Admins, VIPs and players are invited to look over the default settings for the plugin and make comments on changes. Go here to read settings: https://forums.alliedmods.net/showthread.php?t=232902

This one should probably be changed to "1", but I'll wait for feedback.

// Amount of killed teammates required to ban/kick.
nmp_tkp_min_kills 3

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #1 on: March 09, 2015, 06:05:15 PM »
I've noted a lot of errors in the log.
I have contacted a Sourcemod coder to look about resolving them.

Offline Der Vampir

  • The #1 Hedonistic Enigma
  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 35
  • Karma: 4
  • Since: 01/09/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #2 on: March 09, 2015, 06:33:48 PM »
I'd personally set the nmp_tkp_min_kills 3 to nmp_tkp_min_kills 2 so they have one time to get the point and the next time they get kicked. Is it possible to set if they come back and do it again to ban them for a certain time? Or will the plugin not keep the data on them so when they come back they have a clean slate? That maybe a bit too harsh when I think about it considering people do kill each other on accident at times. Whats the nmp_tkp_team_attacks 4 do? It says "Number of team attacks to count as team kill." so does that mean they could be punished for just doing team damage and not even killing them necessarily? Also once it's fixed (you said there was some errors) I think it should be implemented on Public as well.

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #3 on: March 09, 2015, 08:02:36 PM »
I'd personally set the nmp_tkp_min_kills 3 to nmp_tkp_min_kills 2 so they have one time to get the point and the next time they get kicked. Is it possible to set if they come back and do it again to ban them for a certain time? Or will the plugin not keep the data on them so when they come back they have a clean slate? That maybe a bit too harsh when I think about it considering people do kill each other on accident at times. Whats the nmp_tkp_team_attacks 4 do? It says "Number of team attacks to count as team kill." so does that mean they could be punished for just doing team damage and not even killing them necessarily? Also once it's fixed (you said there was some errors) I think it should be implemented on Public as well.

Yes, this plugin needs to be edited to correct some errors that are causing it not to work properly. See example of log below:

L 03/09/2015 - 16:41:31: [SM] Displaying call stack trace for plugin "nmp_tkp.smx":
L 03/09/2015 - 16:41:31: [SM]   [0]  Line 579, /home/groups/alliedmodders/forums/files/7/0/1/4/3/129228.attach::PunishClient()
L 03/09/2015 - 16:41:31: [SM]   [1]  Line 427, /home/groups/alliedmodders/forums/files/7/0/1/4/3/129228.attach::Menu_Punishments()
L 03/09/2015 - 17:06:17: [SM] Native "SetEntProp" reported: Property "m_bHasPills" not found (entity 3/player)
L 03/09/2015 - 17:06:17: [SM] Displaying call stack trace for plugin "nmp_tkp.smx":
L 03/09/2015 - 17:06:17: [SM]   [0]  Line 643, /home/groups/alliedmodders/forums/files/7/0/1/4/3/129228.attach::PunishClient()
L 03/09/2015 - 17:06:17: [SM]   [1]  Line 427, /home/groups/alliedmodders/forums/files/7/0/1/4/3/129228.attach::Menu_Punishments()

Offline RoyalDart30[1upZ]

  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 22
  • Karma: 4
  • Since: 23/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #4 on: March 09, 2015, 08:22:32 PM »
I was online today for a few hours and was testing it out and I am quite pleased with it. I do not think you should be immidately kicked if you kill a teammate, maybe it was an accident or maybe you did it on purpose but were not aware of the fact that it was against the server rules. I think that is why the punishment system fits it perfectely and 3 kills to be killed sounds like a great ammount, specially if it logs the ammount of TKs and doesn't reset each time you log off. I feel that from 3 TK, you should be kicked, once you reach 5 you'll receive a 30 minute ban and so forth. Maybe set it so it takes instant action only when an admin is not online? Whatever the case is, I enjoyed the plugin quite alot.

Offline Der Vampir

  • The #1 Hedonistic Enigma
  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 35
  • Karma: 4
  • Since: 01/09/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #5 on: March 10, 2015, 02:40:44 PM »
I like that idea if they stay logged over time. Maybe not indefinitely but for a set amount of time. Every time the server resets it getting reset along with it.
Have you had any luck at getting a hold of the author so you can get it fixed?

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #6 on: March 10, 2015, 03:37:57 PM »
I like that idea if they stay logged over time. Maybe not indefinitely but for a set amount of time. Every time the server resets it getting reset along with it.
Have you had any luck at getting a hold of the author so you can get it fixed?

I'm still waiting to hear back from our coder.

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #7 on: March 10, 2015, 10:13:43 PM »
Notes from the Coder:

 set nmp_tkp_allow_slap and nmp_tkp_allow_infect to 0.

Config will be changed to:

nmp_tkp_allow_forgive 1
nmp_tkp_allow_slap 0
nmp_tkp_allow_slay 1
nmp_tkp_allow_bury 1
nmp_tkp_allow_infect 0
nmp_tkp_allow_disarm 0
nmp_tkp_allow_revenge 2 

Offline RoyalDart30[1upZ]

  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 22
  • Karma: 4
  • Since: 23/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #8 on: March 11, 2015, 07:42:45 AM »
Alright sounds great. Does the server keep a log of a player's TK record even after he disconnects or it gets reset each time someone joins the server?

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #9 on: March 11, 2015, 10:22:48 AM »
Alright sounds great. Does the server keep a log of a player's TK record even after he disconnects or it gets reset each time someone joins the server?

It continues to log until the server is restarted or until the person has reached the punishment.

Offline RoyalDart30[1upZ]

  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 22
  • Karma: 4
  • Since: 23/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #10 on: March 11, 2015, 12:00:45 PM »
Awesome! Is there any plans to add some new maps to the servers? Or maybe some script functions like these ones: #1 #2

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #11 on: March 12, 2015, 01:18:31 PM »
Awesome! Is there any plans to add some new maps to the servers? Or maybe some script functions like these ones: #1 #2

We already have death notifications running.
I have no plans to add code breaker for keypad.
I am interested in adding new maps when I find some that are completed and appealing. I usually add new maps in bulk, three to five at a time.

Offline RoyalDart30[1upZ]

  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 22
  • Karma: 4
  • Since: 23/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #12 on: March 12, 2015, 08:07:36 PM »
I see. There's a couple of glitches on the server that the community has found which are:

-Sometimes the !rank system somewhat "resets" to a player, causing him to go from rank 40 to 2751 for example;
-First aid kits only restore 30 per cent of HP to VIP/Admins and not the 100 percent that are stated in the thread.

Offline RonaldLee[1up]

  • *[1up] Clan Founder
  • [1up] UrT Admin
  • [1up] KF Admin
  • [1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 5,569
  • Karma: 2634
  • 1up Founder
  • Since: 02/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • 1up Clan
    • Youtube's channel
Re: [Added] TeamKill Plugin
« Reply #13 on: March 12, 2015, 08:50:34 PM »
I see. There's a couple of glitches on the server that the community has found which are:

-Sometimes the !rank system somewhat "resets" to a player, causing him to go from rank 40 to 2751 for example;
-First aid kits only restore 30 per cent of HP to VIP/Admins and not the 100 percent that are stated in the thread.

I have contacted the coder on the VIP health issue.
The stats issue is a SM prob. Sometimes SM crashes, but the game will keep working. When the map reloads, SM restarts. The ranks are regulated by SM, so it must be working for ranks to work.

Offline Corpsekisser[1upZ]

  • *[1upZ] NMRiH Admin
  • [1upZ] Zombie
  • Posts: 14
  • Karma: 2
  • Since: 25/01/2015
    YearsYearsYearsYearsYearsYearsYearsYearsYears
Re: [Added] TeamKill Plugin
« Reply #14 on: March 14, 2015, 01:30:16 PM »
Any chance you could remove tnt from the guns command? Im asking this becuase it can be used to teamkill uninfected players and cuases some people with low end computers to crash.