Jump to content
  • 0

[Support]Help Only Click the HP Bar will Shown.


Drakkus

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

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:

post-379-0-39449100-1328956994_thumb.png

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 Mindless
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

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 bar
    • optionally 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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

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 bar
    • optionally 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...