Drakkus Posted February 11, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share Posted February 11, 2012 (edited) Hello, as the title 'says' Please let me know where should 'EDIT' on the side. Perhaps if implement it, then if i see a lots of MOBS. it will show their HP Bars. Preview: I only want that when i click the 'MOBS' it will show the HP Bars. Code: hpbar.patch Thank you! Yours Truly, Mindless Edited February 11, 2012 by Mindless Quote Link to comment Share on other sites More sharing options...
Gepard Posted February 11, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 392 Reputation: 285 Joined: 12/19/11 Last Seen: January 23, 2022 Share Posted February 11, 2012 Well, you could implement it this way, but I seriously doubt it's what you want to get. Clicking on a mob means attacking it with a normal attack (either ranged or melee), optionally with a targeted skill. AFAIK there is no way to detect right clicks or mouseover on monster in a consistent manner. Please keep in mind that it would not display HP bars of monster attacked with AoE spells. So, you could change in this way: initially do not display HP baroptionally you could display HP bars if monster that comes in sight is damaged, so its HP bar wouldn't be full[*]display HP bar only when monster is "clicked" (ie attacked or skill-targeted) & keep track of monster ID for that player optionally, you could change it to display HP bar only when monster is damaged by the player (or even better, damage by any party member)[*]when updating HP bar (on damage etc) only send packet if HP bar of that monster ID is tracked by the particular player I think this would be kinda cool feature if improved in the way described. Sorry, but no implementation details from me, just a concept. Quote Link to comment Share on other sites More sharing options...
Drakkus Posted February 11, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Author Share Posted February 11, 2012 Well, you could implement it this way, but I seriously doubt it's what you want to get. Clicking on a mob means attacking it with a normal attack (either ranged or melee), optionally with a targeted skill. AFAIK there is no way to detect right clicks or mouseover on monster in a consistent manner. Please keep in mind that it would not display HP bars of monster attacked with AoE spells. So, you could change in this way: initially do not display HP baroptionally you could display HP bars if monster that comes in sight is damaged, so its HP bar wouldn't be full[*]display HP bar only when monster is "clicked" (ie attacked or skill-targeted) & keep track of monster ID for that player optionally, you could change it to display HP bar only when monster is damaged by the player (or even better, damage by any party member)[*]when updating HP bar (on damage etc) only send packet if HP bar of that monster ID is tracked by the particular player I think this would be kinda cool feature if improved in the way described. Sorry, but no implementation details from me, just a concept. Well i guess, you have already say everything. the concept are very nice. any chances to Optimized the CODE?might you have interested on this. Regards, Mindless Quote Link to comment Share on other sites More sharing options...
Question
Drakkus
Hello, as the title 'says'
Please let me know where should 'EDIT' on the side.
Perhaps if implement it, then if i see a lots of MOBS. it will show their HP Bars.
Preview:
I only want that when i click the 'MOBS' it will show the HP Bars.
Code:
hpbar.patch
Thank you!
Yours Truly,
Mindless
Edited by MindlessLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.