| View previous topic :: View next topic |
| Author |
Message |
RLLRBR How do I cheat?
Reputation: 0
Joined: 16 Apr 2010 Posts: 3
|
Posted: Fri Apr 16, 2010 11:26 am Post subject: help -> values from CE into MACRO (possible? how to?) |
|
|
hi
i will go straight to point here...
how can i get values that CE got from a game into macro's variables???
(...without having to manualy input the variables into the macro...and without using the macro's "pixel checks" to determine the values shown ingame or in CE...)
(basicaly, having the ce to retrieve and update values from the game and somehow making these values be somehow sent to the macro... in order to never having to minimize the game nor bring any of macro's inputboxes up...cannon's angle is always changed automaticaly every turn)
----------
for example:
----------
*Objective:
maquing a macro to automaticaly calculate the angle of the cannon on a 2d artillery game... based on windspeed of current turn and the current cannon's angle.
----------
*CE part:
Finding the values for the turn's wind and the current angle of the cannon.
----------
*Macro part:
Receive the wind's value on a variable, and the cannon's angle in another variable... Calculate what angle is nessessary to compensate the wind and make the shot bullseye on target... and finaly, push the button that increasse/decreasse the cannon's angle until its on the correct angle.
----------
*PROBLEM: how to make the macro's variables receive the values from CE AUTOMATICALY (without being reviewed on CE by user and then manualy inputed on the macro's variables)
===============
so...
if you know of a way to make CE send the values to another program or window (would be an inputbox from the macro, opened, filled and then closed in a blink) plz tell...
also, my macro works with C++ language, so if you know any C++ command to get values from another program, plz tell me, it may help. (inverse of having CE sending the values to macro, having the macro retrieve values from CE)
===============
thx in advance for any and every help.
regards,
RLLRBR.
|
|
| Back to top |
|
 |
CouLomB Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 45
|
Posted: Fri Apr 16, 2010 11:37 am Post subject: |
|
|
You just need to know a bit of Vb.net or C++ or C# to write and readmemory functions you can find lots of codes and tutorials for that also u will learn much things when u do this...After you can use AutoitX.dll to put a macro into ur own program like this u will have 2of want u want with only 1application voila its all u need...Just search arround a bit
|
|
| Back to top |
|
 |
RLLRBR How do I cheat?
Reputation: 0
Joined: 16 Apr 2010 Posts: 3
|
Posted: Fri Apr 16, 2010 3:42 pm Post subject: |
|
|
ok...i have searched quite a bit now and i fownd lots of examples and tutorials that aparently show how to get the addresses/values from my own variables...
eg.
| Code: | // more pointers
#include <iostream>
using namespace std;
int main ()
{
int numbers[5];
int * p;
p = numbers; *p = 10;
p++; *p = 20;
p = &numbers[2]; *p = 30;
p = numbers + 3; *p = 40;
p = numbers; *(p+4) = 50;
for (int n=0; n<5; n++)
cout << numbers[n] << ", ";
return 0;
} |
but none that show how to get the addresses/values from external programs...
none that show a code that involves an address from "outside the code"...
and since the game's "wind-speed" and "angle-the-cannon-is-at" variables are not in the same code as my macro's code, i have no idea how to get them.
plz give an example...
regards,
RLLRBR
|
|
| Back to top |
|
 |
CouLomB Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 45
|
Posted: Fri Apr 16, 2010 11:49 pm Post subject: |
|
|
| I will give you a full source when i back home ok...
|
|
| Back to top |
|
 |
CouLomB Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 45
|
Posted: Sat Apr 17, 2010 11:09 am Post subject: |
|
|
http://cid-56188a029b46d649.skydrive.live.com/browse.aspx/.Public
Here in my upload u will find an example for how to use AotuItX and how to read write memory of a game...To understand the code u will need practice but its very very easy.You will need VS2008 to open and to compile the project.Good luck with it, u may ask anywhere u didnt understand
|
|
| Back to top |
|
 |
RLLRBR How do I cheat?
Reputation: 0
Joined: 16 Apr 2010 Posts: 3
|
Posted: Sat Apr 17, 2010 12:40 pm Post subject: |
|
|
| link seems to be broken...IE download box says "site not found" when click on the download link...
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Apr 17, 2010 1:47 pm Post subject: |
|
|
| either inject a dll or look into the WriteProcessMemory() and ReadProcessMemory() windows apis
|
|
| Back to top |
|
 |
CouLomB Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 45
|
Posted: Sat Apr 17, 2010 2:41 pm Post subject: |
|
|
Link working for me anyway here is the 2.link to files;
http://ul.to/z0yarp
|
|
| Back to top |
|
 |
|