DamageDisplay GUI

Displays the given damage to a player in a GUI

Total Downloads: 4,951 - First Release: Apr 3, 2016 - Last Update: Apr 16, 2016

5/5, 15 likes
  1. Yees, wrong HP calculation in ver 1.5. ;(
    In first version everything is good.
     
  2. cogu 2 updated DamageDisplay GUI with a new update entry:

    1.5.1


    [DOUBLEPOST=1459798657][/DOUBLEPOST]
    HUGE APOLOGY! This has been fixed in the update. I tried something new and didn't notice that I messed up something else in the process, the most important part: THE DAMAGE!
    Won't happen again in the future and has been fixed!
     
  3. Last edited by a moderator: Apr 4, 2016
  4. He dude, great work. Ill test out the updated mod in a little bit and let you know how it goes. Thanks for the quick update I appreciate it :)
    [DOUBLEPOST=1459823759,1459811393][/DOUBLEPOST]Alright I got a chance to test it out more. The numbers seem to be working but there are some decent suggestions that came up when I was testing.

    The thing I think matters the most is keeping the damage from overlapping for example if you trade hits it overlaps and gets messy. On suicide its the same thing although that part doesn't matter much.

    Other suggestions good suggestions were adding damage over multiple hits in a short period and a hit counter for that period that would look like "76 damage in 3 hits"

    There is also some overlap with the values like damage and distance etc. Not that big of a deal since I dont use them.
     
  5. Thank you for your feedback, next update should fix those issues and should be coming out today or tomorrow!
     
  6. Hello can you fix it please: victim change position when player hit me.
    [DOUBLEPOST=1459863103][/DOUBLEPOST]
    Not need yet! I fix it, just replace MiddleCenter on MiddleLeft
     

    Attached Files:

  7. А как ты прицепил панельку к тулбару?
     
  8. hi guys. everything works but only administrators
     
  9. Coordinates magic!
     
  10. Cai

    Cai

    nothing indicates this plugin is working, i dont see any gui or anything
     
  11. Look at your server console, should say that DamageGUI is loaded.
     
  12. Cai

    Cai

    it is but it doesnt work..
     
  13. The layering of the attacker and the victim. Red and white. Is not very convenient. Please change the location of these two factors. Thank you!
     
  14. Cai

    Cai

    works now but all text piles on itself
     
  15. Seems, that current online players are added to the hashset only after plugin is Loaded (server start and runtime reload):
    Code:
    void Loaded()
            {
                LoadSavedData();
              
                foreach (BasePlayer player in BasePlayer.activePlayerList)
                {
                    users.Add(player.userID);
                }
              
                //Puts("DamageDisplay by cogu is now LIVE!");
            }
    But what is about new players, who connect? They are added only at plugin load. But file is written on every save.
    Code:
     void SaveData() => Interface.Oxide.DataFileSystem.WriteObject("DamageDisplay", users);
    What about adding
    Code:
    users.Add(player.userID);
    into hook OnServerSave or OnPlayerInit due to add new players immediately to memory and then, after OnServerSay it would be written in json?

    Sorry, if i misunderstood smth. But when i was checking that awesome plugin, it wasn working until it was reloaded.
     
  16. So you drop the plugin here and we'll check. And don't forget to remove the layers of red and white.
     
  17. Yes, I've seen that. I'm working on rewriting the whole plugin to make it more effective and lighter. Before I do that, I'll release version 1.5.2 with small fixes like these and with more config options. I'm planning on rewriting the plugin for version 1.6, thanks for the feedback anyways, love when people look deep into the plugin and take their time to show their findings! ;D
     
  18. cogu 2 updated DamageDisplay GUI with a new update entry:

    1.5.2

     
  19. for me its not showing at all after update :s
    deleted the old config etc aswel got the new one but no dmg display :s
    i have Playermanager and shop, lusty map, info panel all in gui maybe one of them is conpflicting ?
    thanks for the plugin i really liked it as dose the players on the server !
    hope to fix it fast :D