$target(hp,XXX)

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

gnomepunter
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sat Jan 18, 2003 10:47 pm

$target(hp,XXX)

Post by gnomepunter » Sat Feb 08, 2003 1:10 am

Currently it only gives a % valur of the target's current/max/percent hp... Is there a way to /echo an exact number for max hp and current hp or a target?

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

Re: $target(hp,XXX)

Post by SingleServing » Sat Feb 08, 2003 1:45 am

gnomepunter wrote:Currently it only gives a % valur of the target's current/max/percent hp... Is there a way to /echo an exact number for max hp and current hp or a target?
In short no.

Long, you used to be able to but they no longer send that information to the client, in attempts to send less information to lighten lag and/or nurf SEQ and Macroquest.
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]

gnomepunter
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sat Jan 18, 2003 10:47 pm

Post by gnomepunter » Sat Feb 08, 2003 1:01 pm

kk thanks for the quick reply

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Sat Feb 08, 2003 10:21 pm

hmm yes kinda, but we would have to make $target take another paramater maybe called "maxhp" and you could, if you like me are hunting the same mobs over and over and know their maxhp just feed it to $target, and then have a calculation take place which would then give you the correct current hp of the target... so for example $target(hp,maxhp,XXX) where maxhp would be for example 8387 (parsed from my logfile for a level 48 npc that shall remain anon) when mob is at 63% we know the hp returned should be 0.63 * 8387 which means the npc has 5283 hp left

hmm I would like that function...

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Feb 09, 2003 12:44 am

In order to do something like that, you would need a database of mobs along with their zone and level (different hp based on level, different copies of the same name, etc). You could of course approximate based on zone and level instead of keeping an index of every mob. Basically, it's not an easy thing to do considering all the concrete information you have is the percentage, because thats what they give the client..
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0