Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help with locking addresses
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Wed Mar 27, 2013 4:07 pm    Post subject: help with locking addresses Reply with quote

ok i am still having problems with locking my addresses what i mean is right now i'm hacking ff7 in psxfin (not epsx). my address for item slot 1 is 05D9CC00 but when i close the game and reopen it that address is no longer. when i reopen the game the address for item slot 1 would change to something like 05efCC00. it can be any one of many codes but it's only 2 spots that change in the address like in this > 05??CC00 < the ? r the spots that change. i want to know what i can do to make 05D9CC00 the same address for item slot 1 every time i reopen the game. i tried to replace the code with one that don't do anything but it just freezes the game and makes me have to close it and reopen it. i also tried the pointer thing but i'm not sure if i'm doing it right i right click the item slot 1 address and go to what access the address and even tried what writes to the address change the value of the address in the game. once it shows what code was put in there i open it and c what it thinks the pointer value is i then do a 4byte hex search for that value and then add address manually with the address of what i found from the value of the pointer the code gave me. most the time it puts ?? in the value but when i just did it it made the value as 3 but when i closed the game and reopened it the address of item slot 1 is now 05D4CC00 which i had to refind the address i want to know how can i get it where when i close the game and reopen it my codes r the same as before i closed the game i'm getting sick of having to find my addresses over and over someone please help me thank you.!!
_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Mar 27, 2013 8:01 pm    Post subject: This post has 1 review(s) Reply with quote

1-Find the address for item slot 1 once more (sorry). Let's say that it's 05efCC00.
2-Go to memory viewer->view->memory regions.
3-There find the memory region that contains 05efCC00. Let's say that it's 05eE0000.
4-Note the result of item1_slot_address-region_start_address=1CC00 in this example.
5-Use the pointerscanner in address to find mode, looking for 05eE0000.
6-Restart emulator, find item slot 1 address - again. Example result: 05D9CC00
7-Subtract 1CC00 to this address, or whatever was the result at step 4.
8-In the pointerscanner, do a rescan looking for address 05D9CC00-1CC00.
9-Repeat steps 6-8 as much as needed. When you want to test a pointer, add it to your cheat table, edit its address, and add 1CC00 to the value in box just below "Pointer". Do NOT click on "Add offset".
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Wed Mar 27, 2013 9:27 pm    Post subject: Reply with quote

Gniarf wrote:
1-Find the address for item slot 1 once more (sorry). Let's say that it's 05efCC00.
2-Go to memory viewer->view->memory regions.
3-There find the memory region that contains 05efCC00. Let's say that it's 05eE0000.
4-Note the result of item1_slot_address-region_start_address=1CC00 in this example.
5-Use the pointerscanner in address to find mode, looking for 05eE0000.
6-Restart emulator, find item slot 1 address - again. Example result: 05D9CC00
7-Subtract 1CC00 to this address, or whatever was the result at step 4.
8-In the pointerscanner, do a rescan looking for address 05D9CC00-1CC00.
9-Repeat steps 6-8 as much as needed. When you want to test a pointer, add it to your cheat table, edit its address, and add 1CC00 to the value in box just below "Pointer". Do NOT click on "Add offset".


ok i tried to do what u said but was only able to get to step 5 or 9 when i first found the item slot 1 address it was 05D1CC00 i looked in the region thing and found that there was no 05d's but there was 05c (05C80000) and then 05e (05E81000) so i took my address '05D1CC00' - '05C80000' and got 9cc00 so i took the region address '05c80000' and did a pointer scan and it said pointer count 73847 i then restarted the game (closed it out and reopened it) found the new address of item slot 1 '05D5CC00' - 9cc00 ='05cc0000' did pointer scan on it and got pointer count 67087 then restarted it again found new address '05D4CC00' - the 9cc00 pointer scan got pointer count 63839 . but i'm not sure if i did all that right but if i did then i got to step 9 which i don't know what i'm to add to my cheat table and how. am i to take the new address - the 9cc00 =### and put the ### in add address manually clicking the pointer box and put the ### there as the address or what ? i'm stumped at this part and not sure what to due at this point thanks

_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.


Last edited by jeff_7214 on Thu Mar 28, 2013 12:09 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Mar 27, 2013 10:23 pm    Post subject: Reply with quote

You should have taken 05C90000 since it contains your address,ie: 05C90000 < 05Dxxxxx < 05C90000+size_of_region_05C90000 = 05C90000+201000 = 5Exxxxx
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Thu Mar 28, 2013 12:46 am    Post subject: Reply with quote

Gniarf wrote:
You should have taken 05C90000 since it contains your address,ie: 05C90000 < 05Dxxxxx < 05C90000+size_of_region_05C90000 = 05C90000+201000 = 5Exxxxx


yes i took that and used it but i'm not sure what i'm to do with step 9 and if u read the new edit i posted up top u will c what i have done and where i'm at

_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu Mar 28, 2013 8:55 am    Post subject: Reply with quote

jeff7214 wrote:
but i'm not sure if i did all that right but if i did then i got to step 9 which i don't know what i'm to add to my cheat table and how. am i to take the new address - the 9cc00 =### and put the ### in add address manually clicking the pointer box and put the ### there as the address or what ? i'm stumped at this part and not sure what to due at this point thanks

10-In the pointer scanner, double click on one line that seems good to you. This will add an entry named "pointerscan result" in your cheat table.
11-In your cheat table, double click on the address of "pointerscan result" (it starts with "P->"). You will see a dialog box that is a lot like the add address manually menu.
12-In this dialog box, add 9CC00 to the value in the box just below "☑ Pointer".


Last edited by Gniarf on Fri Mar 29, 2013 1:27 am; edited 1 time in total
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Thu Mar 28, 2013 4:16 pm    Post subject: Reply with quote

Gniarf wrote:
jeff7214 wrote:
but i'm not sure if i did all that right but if i did then i got to step 9 which i don't know what i'm to add to my cheat table and how. am i to take the new address - the 9cc00 =### and put the ### in add address manually clicking the pointer box and put the ### there as the address or what ? i'm stumped at this part and not sure what to due at this point thanks

10-In the pointer scanner, double click on one line that seems good to you. This will add an entry names "pointerscan result" in your cheat table.
11-In your cheat table, double click on the address of "pointerscan result" (it starts with "P->"). You will see a dialog box that is a lot like the add address manually menu.
12-In this dialog box, add 9CC00 to the value in the box just below "☑ Pointer".


ok i did what u said i added few of the pointer scan addresses and put the pointer address as 9cc00 yet when i close the game out and reopen it i still have to find the code which is what i want to stop so it seems that what u said still don't help me from getting the addresses to lock so i don't have to keep finding the codes every time the game starts up it seems like everything i try is not working here in a min i will get pictures or maybe just make a video showing u what i'm doing and c if i'm doing it right to find out y it's not working right

_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Mar 28, 2013 4:25 pm    Post subject: Reply with quote

Just to be sure...the game is not an online game, is it? Also, you have completed the CE tutorial for pointer scanning?
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Thu Mar 28, 2013 7:04 pm    Post subject: Reply with quote

GNIREENIGNE wrote:
Just to be sure...the game is not an online game, is it? Also, you have completed the CE tutorial for pointer scanning?


i have used CE for about 2 years off and on hacking games but i never once tried to keep the address to stay the same every time i load the game up i have done the tutorials and no the game is not online it's a download cd file that i got from a website and i'm using psx (not epsx) like i stated in my posts above. i have done got all my codes from hp/mp gil battle gain of exp, ap and gil items materia weapon (change weapons fast) growth rate limit breaks kill count timer's (game timer and count down timer) quad +master summon without having the materia linked to that player same with master magic+ all and enemy skills i was working on getting the rest of the materia things like master command + mega all w-item w-summon and w-magic but i stopped with them cause there is no point of getting them cause every time i have to close the game it will change address so i would have to go through it all over again it becomes a pain so i won't do it any more till i can lock the addresses

_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Mar 28, 2013 7:14 pm    Post subject: Re: help with locking addresses Reply with quote

jeff7214 wrote:
i also tried the pointer thing but i'm not sure if i'm doing it right


This might be the problem. This is why I asked about completing the CE tutorial.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu Mar 28, 2013 8:46 pm    Post subject: Re: help with locking addresses Reply with quote

GNIREENIGNE wrote:
jeff7214 wrote:
i also tried the pointer thing but i'm not sure if i'm doing it right


This might be the problem.
We'll see, on the pictures....


Screencaps that could be useful:
-pointerscanner window, showing all columns (but NOT all lines!).
-your cheat table after adding the "pointerscanner result". Be sure to show the line for item 1 slot.
-the dialog box that allows to edit its address, before AND after you do the 9CC00 modification.
-memory region window showing the region that contains item 1 slot's address + a few lines around.
-more at your discretion.
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Fri Mar 29, 2013 12:54 am    Post subject: Re: help with locking addresses Reply with quote

Gniarf wrote:
GNIREENIGNE wrote:
jeff7214 wrote:
i also tried the pointer thing but i'm not sure if i'm doing it right


This might be the problem.
We'll see, on the pictures....


Screencaps that could be useful:
-pointerscanner window, showing all columns (but NOT all lines!).
-your cheat table after adding the "pointerscanner result". Be sure to show the line for item 1 slot.
-the dialog box that allows to edit its address, before AND after you do the 9CC00 modification.
-memory region window showing the region that contains item 1 slot's address + a few lines around.
-more at your discretion.


ok i first tried to load all pics on here but it would only let me put 5 up and not post more then once so i edited without pics and just uploaded them all to imageshack and pasted the link for where each picture was taken from! (note delete the spaces with-in the links!!) ht(space)tp

i opened my game up using psx ( ht tp://img705.imageshack.us/img705/4944/gameew.jpg ) then i opened and loaded my cheat engine ff7 cheat file and found the first address of item slot 1 ( ht tp://img543.imageshack.us/img543/7007/itemslot1firstcode.jpg ) then went to the memory region to find the code that holds my address of item slot 1 ( ht tp://img715.imageshack.us/img715/6933/memoryregion.jpg ) i took the address from item slot 1 and subtracted the address from memory region ( ht tp://img42.imageshack.us/img42/4826/mathog.jpg ). i then took that address from memory region and ran the pointer scan looking for that address ( ht tp://img213.imageshack.us/img213/766/startoffirstpointerscan.jpg ) to find the result ( ht tp://img35.imageshack.us/img35/290/firstpointerscanresult.jpg ) then closed the game and reopened it and found the new address of item slot 1 ( ht tp://img801.imageshack.us/img801/2559/seconditemslot1address.jpg ) i took that address and subtracted 9cc00 from it ( ht tp://img42.imageshack.us/img42/4826/mathog.jpg ) i checked the region to make sure my math was right ( ht tp://img571.imageshack.us/img571/9093/proofofsecondregionisri.jpg ) i then started the next the pointer scan for the address of the region ( ht tp://img585.imageshack.us/img585/2299/startofsecondpointersca.jpg ) and got the result of it (ht tp://img856.imageshack.us/img856/5183/secondpointerscanresult.jpg ) i then picked a pointer (not sure how to tell if it's a good one or not ) ( ht tp://img820.imageshack.us/img820/1163/proofofpointeraddingtot.jpg ) and added it to me cheat table and clicked the address of it ( ht tp://img822.imageshack.us/img822/3043/pointerfirstadded.jpg ) i put 9cc00 in as a pointer address believe that is where u said to put it ( ht tp://img41.imageshack.us/img41/6986/pointerafteradding9cc00.jpg ) i then closed the game again and reopened it to check if it keep the same address but it didn't ( ht tp://img405.imageshack.us/img405/7204/thirdtimeopeninggame.jpg ) i went and found the new address of opening the game for the third time ( ht tp://img16.imageshack.us/img16/2301/thirdnewaddress.jpg ) that is where i stopped.



game.JPG
 Description:
 Filesize:  76.14 KB
 Viewed:  27256 Time(s)

game.JPG



proof of pointer adding to table.JPG
 Description:
 Filesize:  125.54 KB
 Viewed:  27256 Time(s)

proof of pointer adding to table.JPG



pointer first added.JPG
 Description:
 Filesize:  84.96 KB
 Viewed:  27256 Time(s)

pointer first added.JPG



pointer after adding 9cc00.JPG
 Description:
 Filesize:  86.84 KB
 Viewed:  27256 Time(s)

pointer after adding 9cc00.JPG



_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.


Last edited by jeff_7214 on Fri Mar 29, 2013 1:48 am; edited 4 times in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Fri Mar 29, 2013 1:23 am    Post subject: This post has 1 review(s) Reply with quote

Click anywhere in your cheat table, and paste the following:
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Is that item slot 01?"</Description>
      <Color>80000008</Color>
      <VariableType>4 Bytes</VariableType>
      <Address>"psxfin.exe"+171a44</Address>
      <Offsets>
        <Offset>9CC00</Offset>
        <Offset>4</Offset>
        <Offset>0</Offset>
        <Offset>68</Offset>
        <Offset>28</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


I used one line from your pointerscan at random so it's not guaranteed to work. However if it works, you somehow misunderstood my instructions; double click on the "P->hex_number" and see what you should have done at step 12.
Otherwise it might be a problem with finding a stable pointer, in which case, just keep doing rescans. Using the "only filter out invalid pointers" can save some time since you don't need to know the address of the memory region containing your item slot1.

Just in case: when you restart cheat engine, don't do a "first pointerscan", directly open your last .ptr file and do rescans.
Back to top
View user's profile Send private message
jeff_7214
Advanced Cheater
Reputation: 0

Joined: 24 Mar 2013
Posts: 51
Location: usa

PostPosted: Fri Mar 29, 2013 1:56 am    Post subject: Reply with quote

Gniarf wrote:
Click anywhere in your cheat table, and paste the following:
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Is that item slot 01?"</Description>
      <Color>80000008</Color>
      <VariableType>4 Bytes</VariableType>
      <Address>"psxfin.exe"+171a44</Address>
      <Offsets>
        <Offset>9CC00</Offset>
        <Offset>4</Offset>
        <Offset>0</Offset>
        <Offset>68</Offset>
        <Offset>28</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


I used one line from your pointerscan at random so it's not guaranteed to work. However if it works, you somehow misunderstood my instructions; double click on the "P->hex_number" and see what you should have done at step 12.
Otherwise it might be a problem with finding a stable pointer, in which case, just keep doing rescans. Using the "only filter out invalid pointers" can save some time since you don't need to know the address of the memory region containing your item slot1.

Just in case: when you restart cheat engine, don't do a "first pointerscan", directly open your last .ptr file and do rescans.


ok i just copied and pasted that into my CE table but it popped up a window (picture below ) was no t sure if i put anything in that or not so i just left it blank and clicked paste.

edit ok i went ahead and was checking about i was mistaken by step 12 i put it in pointer address and not pointers offset i was thinking that the code was not working still cause the code i already had placed in my CE table was not taking on the new address and the code i put in was not showing the right value of what my item was but here i seen that it was in 4byte (stupid me) so when i changed it to bytes like how it is to be it was working even when i closed the game and reopened it just now i have to redo my whole table to something like this code and then i will be good i am thinking of trying to paste the code over and over and just change the 9cc00 to 9cc01(item slot 1 amount 9cc02 item slot 2 9cc03 item slot 2 amount ect till i get them all done up just idk if that would work but thank you so much for ur time and h elp u was the only person that sit with me to help me make sure i understand and fix my problem which brings me to this question how do i give rep to u for all this time and help cause i'm glad that i now know and understand more of what i was doing wrong and what i need to do when no one else would help out they would just post 1 thing and never come back to reply or anything else thanks so much for that u don't know how much it means to me it was driving me nuts that i keep having to redo my codes over and over thank you again



Capture.JPG
 Description:
 Filesize:  20.04 KB
 Viewed:  27255 Time(s)

Capture.JPG



_________________
Anyone that needs a trainer / table for any ps1/ps2 emulators pm me with what game/system and what you would like. and i'll get right on it.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Fri Mar 29, 2013 10:50 am    Post subject: Reply with quote

jeff7214 wrote:
i am thinking of trying to paste the code over and over and just change the 9cc00 to 9cc01(item slot 1 amount 9cc02 item slot 2 9cc03 item slot 2 amount ect till i get them all done up just idk if that would work
That would work, and that is exactly what you should do. Specifically, when you're hacking SomethingNew, the top level offset (=9cc00 for item 1 slot) is given by this formula:
top_level_offset=0x9CC00+address_of_SomethingNew-address_of_item_1_slot .


jeff7214 wrote:
how do i give rep to u for all this time and help
Normally there should be a yellow hand with a thumb up near my reputation count, click this to +rep me.
Maybe you haven't posted enough to be allowed to give rep, in which case may I ask for something else: could you use punctuation (. , ? !) in your posts and put blank lines between paragraphs? Personally, I find your current writing style a bit hard to understand.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites