[INTERNATIONAL] [gz] Poolstate menu

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 40
  1. #1
    gjuz's Avatar Contributor
    Reputation
    120
    Join Date
    Mar 2017
    Posts
    227
    Thanks G/R
    49/117
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    [v9.2] [INTERNATIONAL] [gjuz] Poolstate

    Supported TurboHUD version: 9.2



    Hi,


    this plugin shows you: (next to your portrait frame)
    • your current pool count
    • your deaths (in total for the current hud session)
    • your death in this GR
    • your death timer for next death in this GR

    and your partys pool count next to their portrait


    for customisation:
    Code:
    Hud.RunOnPlugin<gjuz.PoolState>(plugin =>
    {
    	plugin.ShowDeathCounter = true;		//overall death counter
    	plugin.ShowGRDeathCounter = true;	//death counter for current GR
    	plugin.ShowGRSecondsCounter = true;	//death penalty time for current GR
    	plugin.BracketGRDeathCounter = true;	//bracketing GR death counter for better reading
    	
    	plugin.DeathsTotalSymbol = Char.ConvertFromUtf32(0x00002620);	//Unicode Character 'SKULL AND CROSSBONES' (U+2620)
    	plugin.DeathsInRiftSymbol = Char.ConvertFromUtf32(0x0001F548);	//Unicode Character 'CELTIC CROSS' (U+1F548)
    	plugin.HasPoolSymbol = Char.ConvertFromUtf32(0x00002B1F);	//Unicode Character 'BLACK PENTAGON' (U+2B1F)
    	plugin.EmptyPoolSymbol = Char.ConvertFromUtf32(0x00002B20);	//Unicode Character 'WHITE PENTAGON' (U+2B20)
    	
    	plugin.PortraitInfoFont = Hud.Render.CreateFont("tahoma", 7f, 255, 180, 147, 109, false, false, true);
    	plugin.OffsetXmultiplier = 0.05f;
    	plugin.OffsetYmultiplier = 0.117f;
    });
    Plugin install to /plugins/gjuz/PoolState.cs
    scr: [C#] PoolState.cs - Pastebin.com



    #Hint :
    if you want to change unicode symbols use
    Code:
    System.Char.ConvertFromUtf32(UTF-32 (hex) number);
    the hexadecimal number can be found on Unicode Character 'SKULL AND CROSSBONES' (U+2620), just search for your symbol.
    unicode.png



    #Edit :
    #Update :
    support HUD [v9.2]
    fixed "suspicious code" exception (unicode)


    have fun
    greetz gjuz
    Last edited by gjuz; 11-18-2020 at 02:45 PM. Reason: remarks

    These ads disappear when you log in.

  2. Thanks johnbl, bobbydigital12, Csavo, cherouvim13, Lootsalot, JohnWick, bm206, RealGsus, b0ob1ik (9 members gave Thanks to gjuz for this useful post)
  3. #2
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    530
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    50/486
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great, one less to do for me ^^'

    Some quick remarks :
    - public properties should be in CamelCase not camelCase.
    - little typo in the method name 'wirtePlayerInfo' -> 'writePlayerInfo' (and personnaly i would have used 'draw' instead of 'write' but that's ok ;p)
    - method names should be CamelCase as well not camelCase (private or public doesn't matter for methods)
    - be sure someone will ask you to move the text around, you should make an option ;p

    Good job overall.
    Hide the Rum! --> Default theme customization 101 <--

  4. #3
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great stuff! I only need death counts from this one, I will modify it accordingly if you don't mind
    Well done

  5. #4
    gjuz's Avatar Contributor
    Reputation
    120
    Join Date
    Mar 2017
    Posts
    227
    Thanks G/R
    49/117
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Great, one less to do for me ^^'

    Some quick remarks :
    - public properties should be in CamelCase not camelCase. Done
    - little typo in the method name 'wirtePlayerInfo' -> 'writePlayerInfo' (and personnaly i would have used 'draw' instead of 'write' but that's ok ;p) Done, yes Draw ist better
    - method names should be CamelCase as well not camelCase (private or public doesn't matter for methods) Done
    - be sure someone will ask you to move the text around, you should make an option ;p check OffsetXmultiplier & OffsetYmultiplier

    Good job overall.
    greetz gjuz

  6. #5
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gjuz, can you make it so we can see party member DeathsInRift count too?

    Thnaks

  7. #6
    gjuz's Avatar Contributor
    Reputation
    120
    Join Date
    Mar 2017
    Posts
    227
    Thanks G/R
    49/117
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Csavo View Post
    gjuz, can you make it so we can see party member DeathsInRift count too?

    Thnaks
    No, Hud only counts other players correctly if they are in range...
    you will notice this with pools, too.

    Hud has to offer a precise state if players are alive - even if they are out of range.
    if there is an update in future, i'll add this

    greetz gjuz

  8. #7
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see, OK, no problemo

  9. #8
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    530
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    50/486
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it's possible to clean up GetPlayerInfoText() a bit.
    But it's ok for me.

    Hide the Rum! --> Default theme customization 101 <--

  10. #9
    crayfish14's Avatar Member
    Reputation
    1
    Join Date
    Sep 2016
    Posts
    13
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm sorry what is poolcount?

  11. #10
    d2k2's Avatar Active Member
    Reputation
    30
    Join Date
    Jul 2015
    Posts
    130
    Thanks G/R
    57/22
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    very useful, thx

  12. #11
    cherouvim13's Avatar Member
    Reputation
    14
    Join Date
    Mar 2017
    Posts
    212
    Thanks G/R
    258/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gjuz, how to disable death counts and keep only the pool count?

  13. #12
    gjuz's Avatar Contributor
    Reputation
    120
    Join Date
    Mar 2017
    Posts
    227
    Thanks G/R
    49/117
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cherouvim13 View Post
    gjuz, how to disable death counts and keep only the pool count?
    #Added option to enable/disable DeathCounter
    use
    PHP Code:
    ShowDeathCounter false
    greetz gjuz

  14. Thanks cherouvim13 (1 members gave Thanks to gjuz for this useful post)
  15. #13
    d2k2's Avatar Active Member
    Reputation
    30
    Join Date
    Jul 2015
    Posts
    130
    Thanks G/R
    57/22
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you make it that it remembers the last poolstate of a partymember in range?

  16. #14
    gjuz's Avatar Contributor
    Reputation
    120
    Join Date
    Mar 2017
    Posts
    227
    Thanks G/R
    49/117
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    it usually remembers the state, for some time...

    but i can add a variable to store data in, if player is not in range. if you like.


    greetz gjuz
    Last edited by gjuz; 10-06-2017 at 10:16 PM.

  17. Thanks cherouvim13 (1 members gave Thanks to gjuz for this useful post)
  18. #15
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to make an option for showing deaths in current hud session?

Page 1 of 3 123 LastLast

Similar Threads

  1. Internal Mail Error
    By delldude1989 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-05-2008, 04:35 PM
  2. International Talk Like a Pirate Day!
    By Loveshock in forum Community Chat
    Replies: 13
    Last Post: 09-20-2007, 12:11 PM
  3. International Rules to Calling Shotgun
    By matswurld in forum Community Chat
    Replies: 1
    Last Post: 05-18-2007, 08:37 PM
  4. President Bush, CAUGHT SWEARING at international meeting
    By mantalcore in forum Community Chat
    Replies: 15
    Last Post: 08-14-2006, 09:41 AM
All times are GMT -5. The time now is 06:05 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search