Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Wed Sep 26, 2018 5:06 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Pixel bots are cool, but using base pointer it's cooler !
Thanked: 0 time(s)  Unread post Posted: Mon Apr 21, 2014 7:02 pm 
Contributor
Contributor



Joined: Sun Jun 12, 2011 9:44 am
Posts: 76
Location: France
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 105
Hi there !
Something like 3 years ago I made a little macro for a game named Florensia. It was a pixel bot (that I didn't really use finally).
Pixel bots are really cool, and using BE Macro for this was also really fun and easy, but now I wanted to use base pointer to read player's HP, MP and monster's HP.
So I follow the very good video from BE Macro on how locating base pointer adress with Cheat Engine, It worked really fine for player's HP and MP so now for potions I can directly read values in memory.
But the hard thing is there : I can't find where to read "if" a monster is targeted and what is its HP.
I explain : to locate my own life it was easy, I just had to search for the exact number of HP with cheat engine then finding base pointer for it.
But with monster life I have no idea how to do this, ingame monster's HP are not shown and even if I assume (by looking at the damage I deal to the monster) what his life is between, Cheat Engine never find me a good value for monster's HP :(
Can someone help me or explain me how I have to find this value in cheat engine?
Thanks a lot !


Top
 Profile  
Reply with quote  
 Post subject: Re: Pixel bots are cool, but using base pointer it's cooler
Thanked: 0 time(s)  Unread post Posted: Wed Apr 23, 2014 5:05 pm 
Contributor
Contributor



Joined: Sun Jun 12, 2011 9:44 am
Posts: 76
Location: France
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 105
Does anyone have a clue for my problem :x ?
In fact, all I want to do in the end, is make a bot that is able to work even with minimized game ...


Top
 Profile  
Reply with quote  
 Post subject: Re: Pixel bots are cool, but using base pointer it's cooler
Thanked: 2 time(s)  Unread post Posted: Mon Apr 28, 2014 3:35 pm 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4523
Been thanked: 1190 time(s)
Has thanked: 132 time(s)
Contribution Points: 32841
Often it is easier to find out whether your target is dead or not, simply by checking if "HasTarget" = false.

Search for 1 while you have a target, then loose the target (kill it) and now search for one of those values that has changed to 0.
Get a new target and search for 1 again, etc. etc.

Works in many Games, give it a try.

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: Pixel bots are cool, but using base pointer it's cooler
Thanked: 0 time(s)  Unread post Posted: Mon Apr 28, 2014 3:46 pm 
Contributor
Contributor



Joined: Sun Jun 12, 2011 9:44 am
Posts: 76
Location: France
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 105
Oooh thanks a lot :)
I'll try this !


Top
 Profile  
Reply with quote  
 Post subject: Re: Pixel bots are cool, but using base pointer it's cooler
Thanked: 0 time(s)  Unread post Posted: Sun Jun 03, 2018 9:01 am 
New User
New User
User avatar



Joined: Sat Jun 02, 2018 12:19 pm
Posts: 17
Location: Italy
Been thanked: 2 time(s)
Has thanked: 2 time(s)
Contribution Points: 227
Hello!
Maybe it's a little bit too late to answer this, but I am working on a Florensia bot too, so I'm reading every topic concerning Florensia.

I used the site https://www.flostats.de/ to get a monster's life value and then using Cheat Engine function "decreased value by" my attack value, I found the memory cell of monster life.
Here comes the problem: I found out that every monster has his own memory cell.

Maybe the graphic value used by the client side (the one used for the red bar on the top) could be in percent, we could try this path...
However, for a basic bot you don't really need to know how much life the monster still have, but simply if it is still alive or not: so Gigus solution is the best.
Conversely, if you want to know how much hp does stil the mob have to optimize the skill use, you could try subtracting your attack value from mob's life value (take it from FloStat). You can read your attack value from chat log.
This method only work if you know "a priori" the mob you want to kill.

Hope to have given some interesting ideas.
The algorithmist.


Top
 Profile  
Reply with quote  
 Post subject: Re: Pixel bots are cool, but using base pointer it's cooler
Thanked: 0 time(s)  Unread post Posted: Fri Jun 08, 2018 9:33 pm 
New User
New User
User avatar



Joined: Sat Jun 02, 2018 12:19 pm
Posts: 17
Location: Italy
Been thanked: 2 time(s)
Has thanked: 2 time(s)
Contribution Points: 227
Hello, it's me again. I worked all the day with cheat engine for my Florensia bot, but at the end I discovered all the main memory cells.
The one you were interested in, namely the target's HP, has beed the hardest to find: I used a search with 4 bytes int with unknown initial value, then I played with target's life for 20 minutes (there were a lot of results...), at the end I found 6 memory cells that were acting like the target life but with nosense numbers. Two of them didn't have any pointer to them, and only one of the other looked good enough. So I found the base pointer to it and I played with variable type. After few minutes the miracle happened: float type represented the HP value!!!

Here is the pointer with 2 offsets: FlorensiaEn.bin+71DF8C,10,10.

So what have we discovered till now:
- Every monster has his own memory cell with HP value (int 4 bytes).
- Graphic bar for target HP is a float.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group