If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Freya:
L2JDP Revision Freya:
Hi,
i have one question maybe someone can help me to find it! i have search but nothing
where is called the HpBar Update for L2Monster ?
i mean where the monster is updating the PixelBar Up or Down
i want to put there some packet but i can't find it.
ty
HpBar Update
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: HpBar Update
com.l2jserver.gameserver.model.actor.L2Character.broadcastStatusUpdate()
-
- Posts: 37
- Joined: Tue Jun 24, 2008 2:55 pm
Re: HpBar Update
ty jiv but there i think is for player not for Mob!!!
i want to send a AbstractNpcInfo.NpcInfo packet to player every time mobs hp is updated
i have a title on every monster with his HP
now i have it on l2attackable,when i hit mob title is updated but not when i dont hit!
how send npc info to player when he just see the mob?
ty
i want to send a AbstractNpcInfo.NpcInfo packet to player every time mobs hp is updated
i have a title on every monster with his HP
now i have it on l2attackable,when i hit mob title is updated but not when i dont hit!
how send npc info to player when he just see the mob?
ty
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: HpBar Update
its not used by player, but if you think you know better why you asked? 

-
- Posts: 37
- Joined: Tue Jun 24, 2008 2:55 pm
Re: HpBar Update
JIV wrote:its not used by player, but if you think you know better why you asked?
i try there to send the packet but not work
anyway ty jiv
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: HpBar Update
try npc.updateAbnormalEffect();
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: HpBar Update
simply because NpcInfo do not update hp bars.
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: HpBar Update
I think he want update the npc/title when no one are attacking him, so when the npc are regenerating his hp he want update too his title with his current hp, you mean this energy?
-
- Posts: 37
- Joined: Tue Jun 24, 2008 2:55 pm
Re: HpBar Update
LasTravel wrote:I think he want update the npc/title when no one are attacking him, so when the npc are regenerating his hp he want update too his title with his current hp, you mean this energy?
yes man! this i mean
now i have it on l2attackable!
when player hit mob title of mob is changed like title is HP=1000 title goes 853 etc.
but its wrong in l2attackable. Must updated when you just see the mob not on hit
example :like i am in hell i see a mob with full HP like 1000 on title !someone attacked it hp goes 853 etc.
when the player goe away or he just stop attacked it title must updated to UP like 853 855 856 etc.
thats my problem