Jump to content
  • 0

Monster Hp Bar always showing


WhiteEagle

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Hey :D

How can I change the setting to show the 'Monster Hp Bar' always and not only when a monster is attacked?

Thanks in advance.

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

Link to comment
Share on other sites

  • 1

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

//conf/battle/monster.conf
// Display some mob info next to their name? (add as needed)
// (does not works on guardian or Emperium)
// 1: Display mob HP (Hp/MaxHp format)
// 2: Display mob HP (Percent of full life format)
// 4: Display mob's level
show_mob_info: 0 // Change This to 2

 

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Thats for your answer, but this displayed not the monster hp bar.

Only the % of the life in the name.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   7
  • Joined:  08/10/17
  • Last Seen:  

I think you need an updated client (like 2013+) for this.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Have the Client version 2017-01-25.

Well,... I can see the Monster Hp Bar, but only if a monster was attacked.

I want to changed it to always. 

 

Thanks Nitrous.

I'll will test it and report the result.   :P

 

Works perfect. Thanks sir ~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  10/25/17
  • Last Seen:  

Quote

#if PACKETVER >= 20120404
    if (battle_config.monster_hp_bars_info && !map[md->bl.m].flag.hidemobhpbar) {
        int i;
        for(i = 0; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob.
            struct map_session_data *sd = map_charid2sd(md->dmglog.id);
            if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range
                clif_monster_hp_bar(md, sd->fd);
        }
    }
#endif

 


        for(i = 1; i < DAMAGELOG_SIZE; i++){ // change this line make 0 to 1 under src/map/mob.cpp then recompile
      
      

#if PACKETVER >= 20120404
    if (battle_config.monster_hp_bars_info && !map[md->bl.m].flag.hidemobhpbar) {
        int i;
        for(i = 1; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob.
            struct map_session_data *sd = map_charid2sd(md->dmglog[i].id);
            if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range
                clif_monster_hp_bar(md, sd->fd);
        }
    }
#endif

 

Edited by kayko11
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/26/14
  • Last Seen:  

Help , i'm using this https://github.com/vstumpf/rathena/blob/playground/diffs/mob_hp_bars.diff and cant' compili server

bump

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...