Kill Feed

Displays a basic Kill Feed on screen!

Total Downloads: 17,882 - First Release: Nov 9, 2015 - Last Update: Oct 27, 2017

5/5, 36 likes
  1. sometimes the plugin works correctly, but sometimes appears white background. need something to do with it.
     
  2. anyone figured out how to remove the white background?
     
  3. Remove the conflicting plugin would be the easiest for me :^)
    To be frank, I'm not really willing to fix it if it's caused by other plugin conflicts, mainly because I'm a lazy bum...
     
  4. already repaired themselves.
     
  5. How to remove white background ?
     

    Attached Files:

  6. As far as I know it seems to be a plugin conflict, try only running this plugin and see if it still shows a white background.
     
  7. I have a problem with your plugin, players don't see messages from animal killed, any idea ?
     
  8. we fixed a bug =D
     
  9. You can turn on/off animals being displayed through the configuration file. Maybe you have it turned off?
     
  10. CHR

    CHR

    Hey im not sure,

    But my keys,cfg gets written with killfeed Action true and shit... i think thats ur plugin or am i wrong?

    Second question is why the fuck (if it is yours) does ur plugin touch my file? I really want to know a reason for this.
     
  11. Yes it is my plugin! I bind custom console commands to certain keys (escape, tab, q by default) to detect when the inventory is being opened or closed. Currently there is no way to unbind those commands if a player disconnects, tho. So if you join another server the console will complain each time you hit those buttons because the commands assigned doesn't exist. You can fix this by writing the following in the console:
    • bind escape ""
    • bind tab inventory.toggle
    • bind q inventory.togglecrafting
    • writecfg
    Assuming those are the actual keys.
     
  12. Nope, they don't see messages when a player kill an other player :/ but me i see
     
  13. CHR

    CHR

    Would u enlight me why u do that? And im confused why u execute a write.cfg afaik you can make those binds vanish after DC... i really want to know why a plugin is touching my config.
     
  14. The closing mistake here is to set writecfg. To force a players config to set settings he does'nt want to have is not the way a plugin should work.
    Either you get it work by the available functions, or you need to play around with your plugin. But its not the right decision to force a players configuration ONLY to fit your plugin. with also additional saving the config. You should at minimum remove the writecfg part.
    I'm always really pissed, when i while developing was on a server with killfeed, and doing some things by clientconsole on my dev server, and always need then to change back my config options, becuase the meesages spam my console for not existing commands.
     
  15. I'm not executing the "writecfg" command. Never said I did. It just gets saved automatically. If you tell me how to make those binds vanish after a disconnect, please let me know.
    [DOUBLEPOST=1474210621][/DOUBLEPOST]
    I am not executing the "writecfg" command!
     
  16. Wulf

    Wulf Community Admin

    Pretty sure binding is saved the moment you bind the command. I don't think writecfg has anything to do with keybindings, check the Rust source. The issue is that binding is not an ideal method to handle the issue, but either way the bind should be reset to default when a player disconnects.
     
  17. Well I cannot use the "OnPlayerDisconnected()" hook because the player is already gone when that one is called. So I don't know how I should detect the player being gone before he is gone...
     
  18. Wulf

    Wulf Community Admin

    Why would the player already be gone before then? OnPlayerDisconnected is before they are fully disconnected, I've used it that way before.
     
  19. Then you should really think of removing it complete from the code and to remake your code that it works with bothering the clients functionality.
    If every developer would use such stuff, only to get his plugin to work for an "cosmetic" action, it what should this end?
    [DOUBLEPOST=1474211163][/DOUBLEPOST]
    example from working code:

    Code:
            void OnPlayerDisconnected(BasePlayer player)
            {
                ui.Destroy(player);
                if((bool)Config["Settings", "Use keybind"])
                    player.Command("bind "+Convert.ToString(Config["Settings", "Key to bind"])+" \"\"");
            }