Jump to content
  • 0

Why This Script crash the game?


MihaiACC

Question

Hi, I wanted to compile a small lua-script based to eliminate Ghosts in all Career Classic events form Asphalt 8, but after script ended the game freeze for few seconds and then it crush...

local count = 100000
local pointer = 0

gg.clearResults()
gg.searchNumber ('1~1000;0;7;0;0;0;0;1::41', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber ('0;7;0;0;0;0;0;1::29', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber ('0;7::5', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(count)
print('Ghosts in classic turned to Off', gg.getResultCount(), gg.editAll('0', gg.TYPE_DWORD))

 

@No Ghosts.lua

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

18 hours ago, Enyby said:

Because you change all to zero. Include 7.

You must know what you do. And what mean exactly every byte in changed memory.

Yes, but you did it in the same way with your script "Hack Events"...

{'Career: unlock, ghosts, filters', '1~1000;0;7;0;0;0;0;1::41', '0;7;0;0;0;0;0;1::29', '0;7::5', '0', 'career'}

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.