Raised This Month: $32 Target: $400
 8% 

[ZR] Is there a way to fix this ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Elitcky
AlliedModders Donor
Join Date: Jun 2016
Location: Antofagasta, Chile
Old 11-10-2017 , 20:12   [ZR] Is there a way to fix this ?
Reply With Quote #1



It's so annoying :// it sometimes lags the server...
__________________

Last edited by Elitcky; 11-16-2017 at 15:09.
Elitcky is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 11-10-2017 , 20:28   Re: [ZR] Is there a way to fix this ?
Reply With Quote #2

You can most likely rewrite @psychonic's code from Plugin Request: Hide Killfeed , such as by adjusting it to hide either all kills, or make a boolean per client that allows people to turn kill feed completely off, etc.

Unless you have very shitty hardware, there is most likely also other things involved, such as improperly developed plugins in regards to your lagging, and hardly because of the kill feed alone..
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 11-13-2017 , 17:32   Re: [ZR] Is there a way to fix this ?
Reply With Quote #3

Or use this cvar:

mp_display_kill_assists 0

Regards.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM
rodrigo286 is offline
Elitcky
AlliedModders Donor
Join Date: Jun 2016
Location: Antofagasta, Chile
Old 11-13-2017 , 18:39   Re: [ZR] Is there a way to fix this ?
Reply With Quote #4

Quote:
Originally Posted by rodrigo286 View Post
Or use this cvar:

mp_display_kill_assists 0

Regards.
it worked thanks m8
__________________
Elitcky is offline
Elitcky
AlliedModders Donor
Join Date: Jun 2016
Location: Antofagasta, Chile
Old 11-16-2017 , 15:15   Re: [ZR] Is there a way to fix this ?
Reply With Quote #5

I know i posted than that command worked but it still bugging ://


There is a bug in Zombie Reloaded plugin or what ??? Always when a zombie infect the last human, it appears like he killed him 12 times in a row ://

Halp

EDIT: The thing is, i want to just show ONE KILL of the player, because the attacker is killing him or infecting him once... not 12 times... It shows a bug too with Zeph Store because the "attacker is killing the last human 12 times in the same seconds" and it give to players 1 credits for all infect things or kills. (so how there is a bug making the last kill repeat 12 times, the zeph store gives you 12 credits instead of just 1)

and well its not just for me, it shows to anyone the same...
__________________

Last edited by Elitcky; 11-16-2017 at 15:26.
Elitcky is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 11-16-2017 , 16:41   Re: [ZR] Is there a way to fix this ?
Reply With Quote #6

I thought the problem was that it was showing the kill with assitance.

But look at this pictures, i tell you it's ZR bug.

Regards.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM
rodrigo286 is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-16-2017 , 19:34   Re: [ZR] Is there a way to fix this ?
Reply With Quote #7

Quote:
Originally Posted by arne1288 View Post
Unless you have very shitty hardware, there is most likely also other things involved, such as improperly developed plugins in regards to your lagging, and hardly because of the kill feed alone..
this
__________________
8guawong is offline
Elitcky
AlliedModders Donor
Join Date: Jun 2016
Location: Antofagasta, Chile
Old 11-16-2017 , 20:50   Re: [ZR] Is there a way to fix this ?
Reply With Quote #8

Quote:
Originally Posted by 8guawong View Post
this
Yeh i know about that, im now not trying to have less lag xD, just trying to make the plugin kills once and not 12 times spamming the same kill... lol

but thanks :p
__________________
Elitcky is offline
Walgrim
AlliedModders Donor
Join Date: Dec 2015
Location: France
Old 11-17-2017 , 14:33   Re: [ZR] Is there a way to fix this ?
Reply With Quote #9

Hoi, I did that, hope it will help
PHP Code:
#include <sourcemod>
#include <sdkhooks>

public OnPluginStart() {
  
HookEvent("player_death"EventPlayerDeathEventHookMode_Pre);
}

public 
Action EventPlayerDeath(Event event, const char[] namebool dontBroadcast) {
  
char buffer[255];
  if (
GetEventString(event"weapon"buffersizeof(buffer)) && buffer[255] > 0) {
    if (
buffer[0]) {
      
SetEventString(event"weapon"buffer[0]);
    }
    else {
      return 
Plugin_Handled;
    }
  }
  return 
Plugin_Continue;

Oh and if I did some mistakes, feel free to correct it :^)
EDIT: I'm not sure if this will work (since I can't reproduce the exact situtation, but it can help (hope so))

Last edited by Walgrim; 11-18-2017 at 02:19.
Walgrim 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:00.


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