caliber1942
15th June 2005, 18:57
this will be quick as it is very similar to all the other bf games:
First, fire up the game in single player mode.
Start as the US team and then PAUSE:
alt-tab out to TSEARCH and then attach it to bf2.exe.
Start a search. since you are on the US team, use 2 as the value and leave the type as 4 Bytes (LONG). it will take some few seconds and then you will have 300,000 found values or more.
alt-tab back to the game. un-pause and then die and switch sides. after spawning to the MEC team, alt-tab back to TSEARCH and then do a search next.
enter 1 as the value, keep it as type 4 Bytes (LONG), and then start the search. You should have way less (100-200 or so).
Ok, keep this up (switching teams and entering the appropriate number 1 or 2 in TSEARCH) until you no longer are having any progress eliminating addresses.
you will have like 20-30 addresses now that all change when you change sides. only one of them is the true team address. what i do, and this is true for many searches, is go to each of them singly and see if it changes the game. that's right, you just change the value from 1 to 2 (or 2 to 1) and see if it changes the team you are on in the game.
how do you do this? simply copy all of the found addresses in the address table to the Cheats list window where you can then change the value of each address.
OK, some tips on this:
1) change it from 1 to 2 or 2 to 1. don't throw some other number in there as it will probably crash at some point.
2) changing the value at one address might cause one of the other addresses to change as well. keep an eye out for this, but this is normal.
3) make sure that you truly have found the correct address. sometimes (although i didn't find this to be true when doing this in bf2) two addresses may affect the team you are on but only one is the right one. run through them all and make sure there aren't two of them and weed the wrong one out.
4) change it back to what it was if it was the wrong address. for instance if you changed it from 1 to 2 while trying to see if you change teams, then if it didn't work, change the address back to 1. this prevents problems from occurring and crashes and false positives, etc.
5) once you have worked out the address, remember that likely the next time you run the game or even the next map this address will change. this address is a dynamic address, which means that it is temporarily stored and moves sometimes. you need to use the autohack feature to find areas of code that read and write to that address and then use that information to find the static pointer (defeat DMA) or use a code cave to help.
edit: future work/plans:
1) make it where both teams are showing at once (find code that displays the teams or decides which team to display and modify it or remove the compares that allow one or the other to be displayed)
2) possibly create a radar hack that displays enemies all over the map, not just where the radar shows them here and there. play around with radar.
3) possibly try to discover the code that controls the color of the map icons for players/vehicles as well as the icons in the game action window over players and vehicles. the idea here is to have the enemies red and friendlies blue if at some point they both can be displayed at once. or at least have the enemies red while you are swapping teams, etc.
4) play around with zoom, accuracy, player types, etc.
hope this helps!
cal
First, fire up the game in single player mode.
Start as the US team and then PAUSE:
alt-tab out to TSEARCH and then attach it to bf2.exe.
Start a search. since you are on the US team, use 2 as the value and leave the type as 4 Bytes (LONG). it will take some few seconds and then you will have 300,000 found values or more.
alt-tab back to the game. un-pause and then die and switch sides. after spawning to the MEC team, alt-tab back to TSEARCH and then do a search next.
enter 1 as the value, keep it as type 4 Bytes (LONG), and then start the search. You should have way less (100-200 or so).
Ok, keep this up (switching teams and entering the appropriate number 1 or 2 in TSEARCH) until you no longer are having any progress eliminating addresses.
you will have like 20-30 addresses now that all change when you change sides. only one of them is the true team address. what i do, and this is true for many searches, is go to each of them singly and see if it changes the game. that's right, you just change the value from 1 to 2 (or 2 to 1) and see if it changes the team you are on in the game.
how do you do this? simply copy all of the found addresses in the address table to the Cheats list window where you can then change the value of each address.
OK, some tips on this:
1) change it from 1 to 2 or 2 to 1. don't throw some other number in there as it will probably crash at some point.
2) changing the value at one address might cause one of the other addresses to change as well. keep an eye out for this, but this is normal.
3) make sure that you truly have found the correct address. sometimes (although i didn't find this to be true when doing this in bf2) two addresses may affect the team you are on but only one is the right one. run through them all and make sure there aren't two of them and weed the wrong one out.
4) change it back to what it was if it was the wrong address. for instance if you changed it from 1 to 2 while trying to see if you change teams, then if it didn't work, change the address back to 1. this prevents problems from occurring and crashes and false positives, etc.
5) once you have worked out the address, remember that likely the next time you run the game or even the next map this address will change. this address is a dynamic address, which means that it is temporarily stored and moves sometimes. you need to use the autohack feature to find areas of code that read and write to that address and then use that information to find the static pointer (defeat DMA) or use a code cave to help.
edit: future work/plans:
1) make it where both teams are showing at once (find code that displays the teams or decides which team to display and modify it or remove the compares that allow one or the other to be displayed)
2) possibly create a radar hack that displays enemies all over the map, not just where the radar shows them here and there. play around with radar.
3) possibly try to discover the code that controls the color of the map icons for players/vehicles as well as the icons in the game action window over players and vehicles. the idea here is to have the enemies red and friendlies blue if at some point they both can be displayed at once. or at least have the enemies red while you are swapping teams, etc.
4) play around with zoom, accuracy, player types, etc.
hope this helps!
cal