Jump to content

change address


Recommended Posts

Hi, I tried to create a program which is looking for two given address in a given process. If the value of the adress is the 10% of the 2nd it will Send("I need Health!")

yes it'll be a "bot" for a game. but it's not modify any stuff of the games or not hack program (i think) and it won't do nothing it's only a little help for me.

If it count as a real Bot & hacking software then SORRY!

Link to comment
Share on other sites

1) Discussion of game bots are not allowed. Keep your questions relative to the function you are seeking help (i.e. your question should simply be "I am looking for two given address in a given process. If the value of the address is the 10% of the 2nd it will call another function")

2) Do you know where the addresses are located? Memory scanning is needed in this case, which is a far more in-depth process.

3) If you do know the addresses, then simply get the values and use an If statement or Switch:

$a = [address1value]
$b = [address2value]
If ($a / $b) <= .1 Then
  Send("I need Health!")
EndIf

$a = [address1value]
$b = [address2value]
$c = $a / $b
Switch $c
  Case 0 To .1
    Send("I need Health!")
  Case .1 To .5
    Send("I am low on Health")
  Case Else
    Return
EndSwitch
Edited by Affe

[center][/center]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...