Blue Eye Macro
http://blueeye-macro.com/

Pixel bots are cool, but using base pointer it's cooler !
http://blueeye-macro.com/viewtopic.php?f=122&t=17785
Page 1 of 1

Author:  Groutch [ Mon Apr 21, 2014 7:02 pm ]
Post subject:  Pixel bots are cool, but using base pointer it's cooler !

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 !

Author:  Groutch [ Wed Apr 23, 2014 5:05 pm ]
Post subject:  Re: Pixel bots are cool, but using base pointer it's cooler

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 ...

Author:  Gigus [ Mon Apr 28, 2014 3:35 pm ]
Post subject:  Re: Pixel bots are cool, but using base pointer it's cooler

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.

Author:  Groutch [ Mon Apr 28, 2014 3:46 pm ]
Post subject:  Re: Pixel bots are cool, but using base pointer it's cooler

Oooh thanks a lot :)
I'll try this !

Author:  The algorithmist [ Sun Jun 03, 2018 9:01 am ]
Post subject:  Re: Pixel bots are cool, but using base pointer it's cooler

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.

Author:  The algorithmist [ Fri Jun 08, 2018 9:33 pm ]
Post subject:  Re: Pixel bots are cool, but using base pointer it's cooler

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/