Jump to content

How can I use pointer search in script


Lover1500

Recommended Posts

@Enyby 

Hi sir!

I'm facing the problem to use pointer search in writing script.As in video, I search -1,358,776,912 in Xa(code system) which will end by 548 in addresses.And I will get the only one address.I copy its address and paste in search box.

I have to change a little bit.If the address is ?????548,

I'll have to search ?????549h.Otherwise nothing found.

 

After I search ?????549h, I'll have two addresses.In this case I have to choose the one which offset end is B0.

I copy it again and search.Then the only one will be found(pointer).

That address + 94(offset) == my willing things.

How can I do this process in script?

Espectially I dont know how to copy and search those addresses in script.

Help me pls and Thanks everybody in advance!

(Forgive me for my bad english)

(I think if the pointer and offset work perfectly as video we can use gg like cheat engine which can point the one by offsets)

I like New features and updates of gg

Link to comment
Share on other sites

Yeah youre right.And good news

I got it 😁.

Its easy to find the value but need to use current point or value.May get wrong values according to its code arround.

But if you use pointers and offsets you will need prompt only how many you want or can use editAll().

By specific pointers,search become so fast as in video.No more wrong values.

I think next gg updates become involves pointer function like cheat engine table

Link to comment
Share on other sites

wow ...thats cool.

im know about offsets...though not so much.

but pointers...no idea.

im trying to learn sometime ago but my brain cant keep up.

i know i shouldnt ask this but can i somehow get the script that you use in the last video?

just trying my luck.

Link to comment
Share on other sites

Here is all my codes in script(not re-edited)

gg.setVisible(false)

function MAIN()

menu = gg.choice({"ဟိဟိ","Exit"},nil,('made By မနဝ'))

if menu == nil then else end

if menu == 1 then hack() end

if menu == 2 then exit() end

LOL = -1 end

 

function hack()

local ice = gg.prompt({[1] = "How many do you want"},{[1] = "999999"})

if ice == nil then return end

gg.setRanges(gg.REGION_CODE_APP)

gg.clearResults()

gg.searchNumber("-1,358,776,912", gg.TYPE_DWORD, false, gg.SIGH_EQUAL,0,-1)

gg.refineAddress("548")

gg.setRanges(gg.REGION_C_DATA)

local haha = gg.getResults(1)

local po = haha[1].address + 0x1

local po1 = string.format("%16x", po)

local popo = po1.."h"

gg.clearResults()

gg.searchNumber(popo)

gg.refineAddress("B0")

local soso = gg.getResults(1)

local iko = soso[1].address + 0x0

local haha2 = string.format("%16x", iko)

local haha3 = haha2.."h"

gg.setRanges(gg.REGION_C_ALLOC)

gg.clearResults()

gg.searchNumber(haha3,gg.TYPE_DWORD)

local koko = gg.getResults(1)

koko1 = koko[1].address + 0x94

koko2 = koko[1].address + 0x98

gg.setValues({{address = koko1,flags = gg.TYPE_FLOAT,value = ice[1]},{address = koko2,flags = gg.TYPE_FLOAT,value = ice[1]}})

end

 

function exit()

os.exit()

end

 

while true do

if gg.isVisible(true) then LOL = 1

gg.setVisible(false) end

if LOL == 1 then MAIN() end

end

 

This script can only be run successfully in vmos, virtual xposed ,rooted devices and some virtual spaces.

Because some virtual apks such as parallel space are emulators which may interrupt game pointers.

You can notice if you play games in parallel space the game hex address members are not just 8,they are 10.

(i.e.77FFFFFFFF,79BC24D674)if like so,its not easy to use pointer search.

Ok.Just try it !

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.