Why the code super short?
Hello,
since im trying to understand how to make hacks ive decided to start a learning project; a mw3 trainer. (Yes i know there are already alot , just to learn)
Now i'm using (as most trainers are im guessing) Jorndels memory class (much thanks ) and his youtube tutorial.
As far as i know i'm doing everything right but when i load up the game and try to edit my prestige it thinks the game isn't loaded and i have no clue why. I have a check to see if the games loaded or not with an error message and that works fine
Any help would be much appreciated since i'm getting kinda frustrated :3.
if it helps heres the code for when u click the edit prestige button:
I'm guessing this doesn't say much but im not sure where the error is.Code:if(Process_Handle("iw5mp")) WriteInteger(0x1DBD448, int.Parse(comboBox1.Text)); else MessageBox.Show("Game not found.");
Thanks in advance,
Alex.
Edit:
i think i've found the reason, my process isn't iw5mp.exe but iw5mp.exe*32 if i type winRAR and open close winrar with a messagebox to say if it can handle it or if it can't it works fine. Anyone know how to fix this?
Last edited by MerkedRoRa; 11-04-2012 at 02:07 AM. Reason: Additional info
Why the code super short?
How do u mean?
I'm not sure where the fault is so i'm not sure what code to post :/
Thanks for the fast reply !
---------- Post added at 03:07 AM ---------- Previous post was at 02:20 AM ----------
Edit:
i think i've found the reason, my process isn't iw5mp.exe but iw5mp.exe*32 if i type winRAR and open close winrar with a messagebox to say if it can handle it or if it can't it works fine. Anyone know how to fix this?
/Moved
It has nothing to do with the *32 thing... It is supposed to works just like you did (with Process_Handle("iw5mp") ). Dunno what could be wrong... Try to use another memory class or make your own.
CoD Minion from 09/19/2012 to 01/10/2013
The problem is easy to detect tho :S
Code: int.Parse(comboBox1.Text)
Try to do like: int.Parse(comboBox1.SelectedItem.ToString()) {Or somethng like that}
If not, there is nothing wrong but, you can always try :P
(If you have more than 1 MW3 open, that can cause problems )
---------- Post added at 08:26 PM ---------- Previous post was at 08:25 PM ----------
It belongs here:
Call of Duty Modern Warfare 3 Coding / Programming / Source Code - MPGH - MultiPlayer Game Hacking - Hacks, Cheats, Downloads, Trainers, Games
/moved.. again...
Didn't noticed he was trying to parse the ComboBox instead of the selected item...
CoD Minion from 09/19/2012 to 01/10/2013