Jump to content
  • 0

Number search, unknown type of error


Starter1

Question

This is some kind of mysticism + lack of any logical explanation, the first part of the code works

gg.searchNumber("1769485", gg.TYPE_DWORD)
get_rs=gg.getResults(1)
local player={}
player[1]={}
player[1].address=get_rs[1].address+0x4
player[1].flags=gg.TYPE_DWORD
player=gg.getValues(player)
result=player[1].value

 

But the second part of the code seems to game guardian ignores, I don’t know why, maybe it’s some kind of joke, because everything is in order with the code and I don’t see any violations in terms of logic

gg.searchNumber(655365,gg.TYPE_DWORD)
cnta=gg.getResultsCount()
while cnta>0 do
gg.searchNumber(655365,gg.TYPE_DWORD)
gg.getResults(1)
wi=gg.getResults(1)
local q={}
q[1]={}
q[1].address=wi[1].address + 0x4
q[1].flags=gg.TYPE_DWORD
q[1].value=result
gg.setValues(q)

local B=gg.getResults(1)
gg.editAll('0',gg.TYPE_DWORD)
gg.removeResults(B)
cnta=cnta-1
gg.searchNumber(655365,gg.TYPE_DWORD)
gg.sleep(10)
end

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.