Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 12:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



current hp not showing right

Discussion on current hp not showing right within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2006
Posts: 5
Received Thanks: 0
Question current hp not showing right

This should be the correct addresses.
Code:
PTR_HP_E				= 0xd3b0e0
;offset 1				= 0x104
;current hp				= 0x28
My code looks right, correct?
Code:
$OFF1 = 0x104
$OFF2 = 0x28

$PlayersCLife1= _MemoryRead(0xd3b0e0, $DllInformation)
$PlayersCLife2= _MemoryRead($PlayersCLife + $OFF1, $DllInformation)
$PlayersCLife3 = _MemoryRead($PlayersCLife + $OFF2, $DllInformation)
$continentID = $PlayersCLife3
ControlSetText($App_Title, "", $Finalrandom, $PlayersCLife)
But my current_Hp is : 480 &
It's saying Current_Hp(GUI): 1065353216
If im hit or taking dmg, The numbers start to fall to zero
& if healed the numbers go back up.
If I die the number will say zero
as in game... Why cant i get my gui to read my real_current life?
- Thanks

First Post after 3 years, heh.
evilelf is offline  
Old 12/14/2009, 22:29   #2
 
elite*gold: 0
Join Date: Dec 2007
Posts: 81
Received Thanks: 29
its an float value 1 means 100% and 0 0% afaik the only way to get YOUR real heath is by reading the agent struct
73rm1n4t0r is offline  
Old 12/14/2009, 22:32   #3
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
adress is right, its your current lifepoints in percent, just read the values as float type.
1=100%=480hp


edit: omg too slow...
kknb is offline  
Old 12/14/2009, 22:52   #4
 
in MIND's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 442
Received Thanks: 189
just use gwca then u dont need these crappy mems anymore
in MIND is offline  
Old 12/14/2009, 23:01   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 81
Received Thanks: 29
You can read your MaxHp this Way:
Quote:
;PatternScan by ACB
AgentArrayPtr =0xD3B118
;AgentStruct =AgentArrayPtr + 4 x AgentID
OwnId =0xD3B0C4
so MaxHp would be AgentarrayPtr + 4 * OwnId + 0x134(HP Offset)

€: current hp is then MaxHP * CurrentHP(percentage)
73rm1n4t0r is offline  
Old 12/14/2009, 23:01   #6
 
elite*gold: 0
Join Date: May 2006
Posts: 5
Received Thanks: 0
Thank you both,
What would I need to learn
about this? I know how to search,
just dont know what for exactly.

i didnt think u said try this
_MemoryRead(0xd3b0e0, $DllInformation,'float') - but did it anyways. Zero
Yes, Im trying to get my real current_heath so i can change to
100%,99%,98%..ect for a Self/Auto healing scrip im making / testing...
and maybe move onto self heal party members

EDIT:

I found my Max Health, im trying to pull
current health.

This is for my own project and learning
where gwca is already made and its
something that I dont like...
Ps: " crappy mems " there only **** if you dont use them right..
evilelf is offline  
Old 12/14/2009, 23:06   #7
 
elite*gold: 0
Join Date: Dec 2007
Posts: 81
Received Thanks: 29
the float value is (if your mem is correct) already percentage just do CurrentHP(read as float) * 100 else the current HP offset in agnt struct should be 0x130
73rm1n4t0r is offline  
Thanks
1 User
Old 12/15/2009, 01:14   #8
 
elite*gold: 0
Join Date: May 2006
Posts: 5
Received Thanks: 0
* Thanks 73rm1n4t0r
It works now...

All I had to do
$Max_HP_Total is another memsearch to count the total life.
my main code is still quick and gui can update
around the exact game time. Thanks again, I was thinking to hard.
Code:
_MemoryRead($Current_Hp + $HP_OFFSet2, $DllInformation,'float')  * $Max_HP_Total ;<---
evilelf is offline  
Old 12/15/2009, 18:53   #9
 
elite*gold: 0
Join Date: May 2006
Posts: 5
Received Thanks: 0
Is there another way to know
your party-members health without pixelsearching?

maybe a mem?
i dont need the work done,
just a yes or no & maybe some idea
how to...

Thanks again.
evilelf is offline  
Old 12/15/2009, 19:52   #10
 
elite*gold: 0
Join Date: Dec 2007
Posts: 81
Received Thanks: 29
Quote:
;PatternScan by ACB
AgentArrayPtr =0xD3B118
;AgentStruct =AgentArrayPtr + 4 x AgentID
Offset_HP = 0x130
this is for every agent

btw not do:
Code:
ptr=memread(AgentArrayPtr)
ptr += 4 * AgentId
ptr=memread(ptr)
ptr += 0x130
hp=memread(ptr)
but
Code:
ptr = memread(AgentArrayPtr + 4 * AgentID)
ptr += 0x130
hp = memread(ptr)
its an float Value 1=100% 0,99 = 99% 0=0%

PS: better use GWCA it can read every informations from GW
73rm1n4t0r is offline  
Old 12/15/2009, 23:59   #11
 
elite*gold: 0
Join Date: May 2006
Posts: 5
Received Thanks: 0
Thank you.
I understand what your saying about GWCA but
im trying to go with my own work...
Yeah ill start looking over there scrips but
i just dont want to copy, paste and run somebody
elses funcs..

Edit:

" inject the .Dll into Guild Wars " - I thought injecting was bad...will we get banned?
evilelf is offline  
Old 12/16/2009, 10:06   #12
 
elite*gold: 0
Join Date: Dec 2007
Posts: 81
Received Thanks: 29
nope thats only clientside and anet was to stupid to integrate an clientside anti hack
73rm1n4t0r is offline  
Reply


Similar Threads Similar Threads
Models not showing
06/15/2010 - Metin2 Private Server - 0 Replies
When I "try" to add a new weapon into my client, it doesn't show. The icon shows but not the model.. Why is this happening? xD (If thread already exists, my bad, I can't use search function as efficiently as I would like to ;) )
no Banners Showing up
08/30/2009 - Grand Chase - 29 Replies
:( SIr can i ak something . . ? i had a very bug problem i have this engine Radical Engine 7.5.2 why does the banners not showing up??? im using this engine for 3-4 days after 1 night i cant open it baceus the banners are not showing up?/ respond..
Showing TQ what's up
07/10/2007 - Conquer Online 2 - 13 Replies
This might not be the best place to post it, but I know a lot of people go through this sole section so it'd get a lot of views. A lot of people here also think the same way I do so I figured it'd be a good place. Better than on official CO since they like deleting threads. The post is such: The goal is to stop playing CO until TQ realizes they can't let shit like this slide and act like nothing happened. When is enough enough? What will it take for you to finally take action? If...
No skills showing up, just for me only.
05/15/2007 - Silkroad Online - 2 Replies
When i log onto my character no skills come up, i hit refresh i tried all the tips from everyone, but nothing happens. Maybe its my character for some reason, because my brothers works perfectly. Could anyone give me some help.text2schild.php?smilienummer=1&text=HELP! ' border='0' alt='HELP!' />
showing +X's?
01/04/2006 - Conquer Online 2 - 6 Replies
Sry if this has been asked before, i couldnt find anything on the subject >.< Is it possible to edit a file somewhere to show drops on the ground like +1, +2, +3, etc as you can to make it show Supers , elites, etc?



All times are GMT +1. The time now is 12:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.