taultunleashed logodefensive heal return? : VGExtreme General Discussion
newtopic  postreply
 [ 6 posts ] 
blue large dot

defensive heal return? : VGExtreme General Discussion

Posted: December 3rd, 2007, 7:17 pm
 
tlucredael

Total Posts: 35
Joined: August 23rd, 2007, 5:41 am
tlucredael's Reps: 1
User avatar
Hello,

I was wondering if anyone knows if there is a way to get the defensive target health return? I'm working on adding group heals to cleric bot..
something like "function getTargetHealth()" but for defensive target.. instead of mob..

Thanks for all the awesome code everyone is puttin out!

Thanks much!
Sincerley, tluc.


Reply with quote
Posted: December 4th, 2007, 2:35 pm
 
beergeek

Total Posts: 434
Joined: July 10th, 2005, 9:59 am
beergeek's Reps: 21
User avatar
Moderator
premium
Yes, it's getDefTargetHP()

If you load VGExtreme, click on vgservice.vbs tab and you can see the functions available.


Reply with quote
Posted: December 4th, 2007, 2:47 pm
 
tlucredael

Total Posts: 35
Joined: August 23rd, 2007, 5:41 am
tlucredael's Reps: 1
User avatar
Thanks very much for the reply Beergeek! Now if only I had getDefTargetMAXHP .. I'm not sure how to add healing with just the one get hp call with out it knowing what its max hp are.. argh. I tried something like (getDefTargetHP <= 1300) and seems to work ok lol.. guess doesnt work actually lol, i'm retarded. that just makes it heal constantly :(


Reply with quote
Posted: December 5th, 2007, 8:43 pm
 
beergeek

Total Posts: 434
Joined: July 10th, 2005, 9:59 am
beergeek's Reps: 21
User avatar
Moderator
premium
That is a good point. I haven't done any adventuring bot code so didn't consider it.

I suppose you could either have a constant defined in the script where you can plug in the max hp manually before running (so you could then do something like "if getDefTargetHP <= iMaxDefTargetHP...") or have your script save a running max value of getDefTargetHP. In the last case, though, you'd have to be careful with fading buffs lowering the value again.

A less desirable but more effective option would be to read RGB values from the health bar on the screen to estimate health percentage.

Lastly, you could just bug wyvernx to make a new offset :)


Reply with quote
Posted: December 5th, 2007, 10:36 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Somebody shoudl just keep bugging me to add these.

These things are very easy to add.. :)

Well.. most of them are.

Just keep PM'ing me about it.. and within a few days it will be done.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: December 14th, 2007, 12:43 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
This is added to the patch I'm posting here in a minute.

_________________
Use Search first, ask questions later!


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 22 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?