Suggestion for autobuffing/petfeeder

04/14/2010 00:34 12sky2helper#1
I'm sorry if i come off stupid or just state something obvious here its my first post and I'm just trying to help out the coders and some leechers. There's a program called AcTool which provides the same functions as Auto it but is much simpler and user friendly so my idea was to create an actool script that hits the button of your pet feeder every 12 minutes or so which is approximately the time for 50 hp on a pet to go down. also you can make a script that spams your buffing key after 3 minutes which is how long the buff takes.

I will not be posting any scripts or hacks on here since i honestly dont have the time to help people with it, if u want to learn google an actool guide and figure out the program urself its the easiest thing ever and this may help the coders a LOT because this isn't a temporary adress or solution its a permanent method to ensure autobuffing and pet feeding al though it may not be as accurate as some others.

P.S i have been using this method and its been working very effectively for the past few weeks.

if this post helps u don't hesitate to hit the thanks button! GL!
04/14/2010 16:13 rhotar#2
well same can be achieved with autoit, is just matter of sending a key to the game client, now using your approach of just spaming or sending a key without checking 1.- if the buff was correctly applied 2.- if the key was even sent (due to lag, other key being processed such as aoe key) 3.- if there is enough mana to cast the skill, seems a lot of hassle for just buffing.

granted, can work on a very specific situation and is patch independent, however if you want to bot and heavily rely on a buff such as guardian wall for def or bloodlust for more dmg output, i shouldnt use it at all.


Buffing using autoit and memory addresses is not that hard to acomplish, and even if the addresses changes every now and then, is just a "read only" memory address, since you are only checking if the buff is active or not so is unlikely that the devs of the game will try to hide it or recode it in a way that is hard to find.

here is a pseudo code or algorithm to implement buffing, something similar of what i do in my private bot:


Code:
 function isBuffActive(bufftype)
    
   Buff =memoryRead(BuffTypeAddress)
   if Buff > 0 then
    return true
      else 
    return false 
    end if
  end func


   //implementation

 // user selected and filled the required fields for buffing in gui
  if Buff is set and not IsBuffActive(bufftype)
 then
  SendKeyToGameClient(BuffAssociatedKey)
end if
u can also do this checking every 3 mins to save some cpu cycles, and even get in a loop sending continously the key till the buff is active so u can be sure the buff was applied


BuffAddress isnt hard to get using ce, for instance using Bloodlust as an example, just use the buff and search for a value equal to the % of dmg that the buff adds to your char, then take off your weapon and in next search put exact value 0 since the value changed from 20%(at max lvl) to 0% rinse and repeat till u get only one address, and every buff address can be found analogy to bloodlust.

Hope it helps and nevertheless your suggestion and approach was useful
04/15/2010 00:47 Hafus#3
I personally use pixel detection. Works perfectly everytime. which can be done with autoit very easily. Here, ill give you a sample of what my pet feeder is


Func FeedPet()
$coor3 = PixelSearch( 787,7,798,18,0x526D00, 0, 0 ) ; Pet Health Coords and color
While @error
Sleep(400)
Send("0") ; 0 is key for heavely fruit
Sleep(300)
$coor3 = PixelSearch( 787,7,798,18,0x526D00, 0, 0 ) ; Pet Health Coords and color
WEnd
EndFunc


This feeds it when it hits 21
04/15/2010 01:00 spare2#4
Wrong section. Reported.

You can just easily find the Pet current health address using CE in less than 30 seconds.