Jump to content
  • 0

Why this not working (lua)


n3kitOzz

Question

7 answers to this question

Recommended Posts

35 minutes ago, n3kitOzz said:

Why this not working(firerate changing):


gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000)
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

But here this working:(recorded manually)


gg.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)

 

 

[added 0 minutes later]

Edited.

Link to comment
Share on other sites

7 minutes ago, Enyby said:

This "not working" because you not provide text of error or clear description what happens instead of what you want. Nobody play with you on guessing game.

http://www.catb.org/~esr/faqs/smart-questions.html#idm573

No errors. Just no effect, if I do this manually, or load record - its working. But in my lua script this not working.

[added 1 minute later]

Cooldown of gun is 0.15, and data in anonymous region. Im founding all var-s, and change they to 0.005.

Link to comment
Share on other sites

  • Administrators
20 minutes ago, n3kitOzz said:

if I do this manually

Use record feature for get script. After that compare results with your code.

Your code doing something wrong.

[added 2 minutes later]

gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000) -- stResults is nil
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- g is nil, no clear previuos search resulta
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

 

Link to comment
Share on other sites

9 minutes ago, Enyby said:

Use record feature for get script. After that compare results with your code.

Your code doing something wrong.

[added 2 minutes later]


gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('30', gg.TYPE_DWORD)
gg.stResults(10000) -- stResults is nil
gg.sleep(100)
gg.editAll('10000000', gg.TYPE_DWORD)
g.searchNumber("0.15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- g is nil, no clear previuos search resulta
gg.getResults(2000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.005", gg.TYPE_FLOAT)
gg.toast('Firerate hacked')

 

g.searchNumber... its error after copypasting here. In script this is gg.

Link to comment
Share on other sites

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.