AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [ZR] Is there a way to fix this ? (https://forums.alliedmods.net/showthread.php?t=302786)

Elitcky 11-10-2017 20:12

[ZR] Is there a way to fix this ?
 
https://image.prntscr.com/image/EcH4...JVeaFGBuDw.png

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

DarkDeviL 11-10-2017 20:28

Re: [ZR] Is there a way to fix this ?
 
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..

rodrigo286 11-13-2017 17:32

Re: [ZR] Is there a way to fix this ?
 
Or use this cvar:

mp_display_kill_assists 0

Regards.

Elitcky 11-13-2017 18:39

Re: [ZR] Is there a way to fix this ?
 
Quote:

Originally Posted by rodrigo286 (Post 2560307)
Or use this cvar:

mp_display_kill_assists 0

Regards.

it worked :D thanks m8

Elitcky 11-16-2017 15:15

Re: [ZR] Is there a way to fix this ?
 
I know i posted than that command worked but it still bugging ://
https://image.prntscr.com/image/zKQ6..._dT8D1-P5g.png

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...
https://image.prntscr.com/image/5NWO...Jgo79L_NSA.png

rodrigo286 11-16-2017 16:41

Re: [ZR] Is there a way to fix this ?
 
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.

8guawong 11-16-2017 19:34

Re: [ZR] Is there a way to fix this ?
 
Quote:

Originally Posted by arne1288 (Post 2559709)
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

Elitcky 11-16-2017 20:50

Re: [ZR] Is there a way to fix this ?
 
Quote:

Originally Posted by 8guawong (Post 2560915)
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

Walgrim 11-17-2017 14:33

Re: [ZR] Is there a way to fix this ?
 
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))


All times are GMT -4. The time now is 23:25.

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