Jump to content

Sami1982

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by Sami1982

  1. Let's forget about the script and exclude it. So no need for the print() function. Let's say I want to manually run a group search without a script every time I restart the game. The group search is not static. What good will the print() function do now?
  2. I already know what the issue is. The block I am using for the group search is randomly changing. I just told you that.
  3. Well I'm not even executing the script at this point. All I am doing is manually finding the health value again, and repeating my steps to arrive at the block of numbers that I saw how a moment ago they were identical with the same distance on both devices, but now they aren't identical anymore. What is that called other than "randomly changing"?
  4. Okay even with my latest script (which is only using the Anonymous region) it still fails randomly and I think I know why. Despite having the same values (static ones) at the same distance on both devices, they sometimes randomly change. So I guess having them on 2 devices isn't a hard and fast rule that they are static, unless it's just the case with this game
  5. I sure will my friend. You have done BEYOND helped lol. The amount of knowledge you fed me is absolutely phenomenal. Do you know that the small, basic piece of advice about "using 2 devices simultaneously" is something I had not seen in any place (forum or youtube tutorial) before?? I didn't realize that if you see the same value on 2 devices simultaneously this means it's static and you can rest assured that when you search for it after you restart the game you will find it. So simple yet brilliant. Unless it was so obvious and everybody knew it except me and I'm such a noob lol. Also I used to be scared of something called "pointers" but after your lesson and your method of simplifying and clarifying I am not scared anymore.
  6. I just managed to find a working group search in Anonymous only region. Went blind and spent hours to find it....and some more blindness and some more hours to figure out how to script it, but the end result and the reward and sense of accomplishment is more than worth it! Couldn't have done it without your help. Let's just hope it's reliable because I've only tested with 2 restarts of the game so far Lol.
  7. Actually sorry let me rephrase that. I am not able to find a working group search if I specify only 1 region. So I guess I am out of luck then. Oh well it's better than nothing.
  8. Okay but I have done some extensive testing and even when I specify only 1 region the script randomly fails to provide the correct health address. If I close and re-open the game let's say 5 times in a row for example, one of those times will fail. This kills all the fun if every time I open the game I have to cross my fingers and pray and hope that it works LOL.
  9. Okay but just to clarify...I want to make sure I understand something....why did you specify 3 regions in your script? Isn't it okay if the pointer is in any of those 3 regions?
  10. Okay, got it. Thanks again for all your help.
  11. Sorry for the late response. Not sure if you saw but I edited my last post last night to inform you that I've reached my maximum number of posts for yesterday. This restriction in the forum is so annoying by the way lol. Anyhow, it finally worked when you gave me this line: healthPointer[i] = {address = t[i].address + 0x18, flags = gg.TYPE_DWORD} The reason I was gettin an error was because silly me (due to being so late into the night and my eyes had turned into rocks and my brain had frozen lol) I had a "multiplied by" sign in 0x18 which also looks like the letter X LOL. Also, I know how to write basic scripts but coding pertaining to pointers and offsets in a script is something new to me. But I will try to learn it. You have been wonderful about all of this and I will never forget what you taught me and the favors you did for me But you never answered those 2 questions for me: 1) Even your script randomly fails sometimes (i.e. it doesn't give the correct address). Why? Is it normal to happen once in a while? 2) When you said "That's why specify the regions as accurate as possible in which you want find the pointers in in or it will already bring issues" Why did I run into this issue? I simply chose the same 3 regions that you had in your script. I chose them in both the emulator and my phone.
  12. Oh maaaan I was so close to finishing this script lol. Could you please please just fix it for me like you did yesterday and make me happy It's just one small piece left. By the way I've reached my maximum posts for today. I will send you the script tomorrow. Thanks again
  13. Oh i just saw this sorry lol. But it is is resulting in an error
  14. Yes I understand what you mean by offsets 0x4, 0x8, 0xc, 0x10....etc but I don't know how to write it out in the script. Like the syntax and where it should go. Also alot of points are getting skipped (lost in translation lol)....So I will write everything here one shot.... 1) Your script randomly fails sometimes (i.e. it doesn't give the correct address). Why? Is it normal to happen once in a while? 2) When you said "That's why specify the regions as accurate as possible in which you want find the pointers in in or it will already bring issues" Why did I run into this issue? I simply chose the same 3 regions that you had in your script. I chose them in both the emulator and my phone.
  15. Why did I run into this issue? I simply chose the same 3 regions that you had in your script. I chose them in both the emulator and my phone.
  16. Sorry man I am still confused lol. I already have this line: healthPointer[i] = {address = t[i].address, flags = gg.TYPE_DWORD} and I don't understand how to write this out: add the offset from your start address to the address on which you want to perform the pointer search on to get the health value. Sorry if I am asking for a little hand-holding because it's something new and a bit advanced for me
  17. I don't understand this part.....where does this show in your script? Also btw, I just realized even your script sometimes randomly fails...it gives me the incorrect address. Is this normal?
  18. I am really going blind here Lol. Please please help me fix my script and this will be the last thing I ask you for. Honest to God man. d. I noticed in your script you only specified regions in the first line. So could you tell me what I need to add and where to add it to make my script do what your script does?
  19. I also removed the quotes around 256 so now it's like this: if sensitivity[i].value == 256 then but I still just get the same 3 results as show in the video.
  20. Yes it's for personal use. I have specified 3 regions: gg.REGION_ANONYMOUS | gg.REGION_C_BSS | gg.REGION_C_ALLOC) Yes the value "256" is in REGION_ANONYMOUS. Isn't this okay? Okay even when I fixed it to + 0x8 I still got the same exact thing as in the video.
  21. This should absolutely be the last time I bother you LOL. I got my own nice accurate group search now. And I almost have it down perfectly but I am stuck on the part where I can filter out the remaining addresses to only have 1 address left. I saw a "256D" value 8 bytes down from the pointer. So I tried to do what you did with that "1.0F" value to filter them out but it's not working. I've been racking my brain until I got a headache LOL. In this video the script gets me halfway through to the health value, and the remaining part I did manually. Could you help me bridge the gap in the script to get to the health value? Here is the script I am using: gg.setRanges(gg.REGION_ANONYMOUS | gg.REGION_C_BSS | gg.REGION_C_ALLOC) gg.searchNumber("-1,049,624,576A;1,092,616,192A;1,082,130,432A;1,056,964,608A;1,062,333,317A::73", gg.TYPE_DWORD) gg.refineNumber("-1,049,624,576A", gg.TYPE_DWORD) print("Group search: ", gg.getResultsCount()) local grp = gg.getResults(1) gg.loadResults({{address = grp[1].address - 0x88, flags = gg.TYPE_DWORD}}) gg.searchPointer(0) local t = gg.getResults(gg.getResultsCount()) print("First Pointer search: ", gg.getResultsCount()) local t = gg.getResults(gg.getResultsCount()) local sensitivity = {} for i, v in ipairs(t) do sensitivity[i] = {address = v.address - 0x8, flags = gg.TYPE_FLOAT} end sensitivity = gg.getValues(sensitivity) local healthPointer = {} for i = 1, #sensitivity do if sensitivity[i].value == "256" then healthPointer[i] = {address = t[i].address, flags = gg.TYPE_DWORD} end end You are almost finished with me I PROMISE GG video2.mp4
  22. You nailed it right on the head. My feeling exactly. This forum is so rich and if we just use youtube and google, we feel a scarcity in information and knowledge
  23. Okay okay I finally got it! You dug into deeper pointer "layers" in order to fine tune your group search and make it more accurate, which in turn resulted in needing that third "extra" pointer search while backtracking to find the health value. Makes perfect sense! LOL OMG bro you are amazing! You've literally taught me from scratch a skill I never had. I will be forever in your debt man!
  24. Okay let's see if I can figure out where I am going wrong. I ran your script and got your health value. Then I also ran your group search. Here is your group search results. All addresses start with "B431FBxx" Next, I press on your health value from the saved area, and I press GOTO Then I press on the address which is 4 bytes above it "AC0912E8" and I chose "Goto pointer" I arrive at this list and I scoured the entire list (up and down) and I can't find your block of your group search whose addresses should start with "B431FBxx" What am I doing wrong?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.