Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Attack Process NoxVMHandle.exe Failed

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
facecheats
Newbie cheater
Reputation: 0

Joined: 12 Jul 2015
Posts: 20

PostPosted: Fri Oct 07, 2016 10:31 am    Post subject: Attack Process NoxVMHandle.exe Failed Reply with quote

I'm trying to do my trainer attack NoxVMHandle.exe process but it is not the case. how to solve it. help out please.


NOX is a new emulator better than BlueStacks, with normal cheat engine is not necessary to enable the memory to the physical verredura, and the scan is very fast.

Nos process: NoxVMHandle.exe


my trainer test


Code:

--- BYPASS DECODE ( FUCK LEECH )
n={7946918697735711062,2406159617271886963}
t=''
for i=1,2 do
q=qwordToByteTable(n[i])
for j=1,8 do
t=t..string.char(q[j])
end
end


local b='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'

function bec(data)
    return ((data:gsub('.', function(x)
        local r,b='',x:byte()
        for i=8,1,-1 do r=r..(b%2^i-b%2^(i-1)>0 and '1' or '0') end
        return r;
    end)..'0000'):gsub('%d%d%d?%d?%d?%d?', function(x)
        if (#x < 6) then return '' end
        local c=0
        for i=1,6 do c=c+(x:sub(i,i)=='1' and 2^(6-i) or 0) end
        return b:sub(c+1,c+1)
    end)..({ '', '==', '=' })[#data%3+1])
end

function bdc(data)
    data = string.gsub(data, '[^'..b..'=]', '')
    return (data:gsub('.', function(x)
        if (x == '=') then return '' end
        local r,f='',(b:find(x)-1)
        for i=6,1,-1 do r=r..(f%2^i-f%2^(i-1)>0 and '1' or '0') end
        return r;
    end):gsub('%d%d%d?%d?%d?%d?%d?%d?', function(x)
        if (#x ~= 8) then return '' end
        local c=0
        for i=1,8 do c=c+(       x:sub(i,i)=='1' and 2^(8-i) or 0) end
        return string.char(c)
    end))
end
function attachBackground(wc,tblFile)
  local p = createPicture()
  p.loadFromStream(findTableFile(tblFile).Stream)
  wc.OnPaint = function(sender)
    local c = sender.getCanvas()
    local bitmap = p.getBitmap()
    c.draw(0,0,bitmap)
  end
end

title = "Ukilled Mega Hack PC - 07.10.2016"
credits=bdc('4pigVmVyc2lvbiB2Mi4wIOKYoCAgICAgICAgICAgICAgICAgIA==')
blue="0x00ff123"
red1="0x000000FF"
--Background color
Background="0x00FFD700"
white="0x00000000"
green="0x0043FF00"
--showMessage(bdc('Sm9pbiBNeSBncm91cCB0byBzdGF5IFVwZGF0ZWQsIGh0dHBzOi8vd3d3LmZhY2Vib29rLmNvbS9ncm91cHMvY3liZXIudGVybWluYXRvcnM='))


cs={}
cs[1]=bdc('RUpYTHJJV2tKM0pTcHh2MUZVNDRySUZpQ1ZKU3B4djFFYnpCcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQR1MxMUVIUFhySUZpQ1ZKU3B4djFGVTQ0cklGaUNWSlBJenIxRUx2MXJJRmlDVkpTcHh2MUZVNDRySUZpQ1ZKUEdTSjFFTHYxcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQcGJ6MUZVNDRySUZpQ1ZKU3B4djFGVTQ0cklUR0ozSlBzVkodipshitU0NHJJRmlDVkpTcHh2MUZVNDRySVg1SExKU3B4djFGVTQ0cklGaUNWSlNweHYxRUs1NXJJRmlDVkpTcHh2MUZVNDRySUZpQ1ZKUHNKQjFFSlhMcklUNEdMSlBzVkodipshitU0NHJJRmlDVkpTcHh2MUZVNDRySVRXcUxKUUdWejFFTHYxcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQc0pBOQ== ')
cs[2]=bdc('RUpYTHJJV2tKM0pTcHh2MUZVNDRySUZpQ1ZKU3B4djFFYnpCcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQR1MxMUVIUFhySUZpQ1ZKU3B4djFGVTQ0cklGaUNWSlBJenIxRUx2MXJJRmlDVkpTcHh2MUZVNDRySUZpQ1ZKUEdTSjFFTHYxcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQcGJ6MUZVNDRySUZpQ1ZKU3B4djFGVTQ0cklUR0ozSlBzVkodipshitU0NHJJRmlDVkpTcHh2MUZVNDRySVg1SExKU3B4djFGVTQ0cklGaUNWSlNweHYxRUs1NXJJRmlDVkpTcHh2MUZVNDRySUZpQ1ZKUHNKQjFFSlhMcklUNEdMSlBzVkodipshitU0NHJJRmlDVkpTcHh2MUZVNDRySVRXSExKUUdWejFFTHYxcklGaUNWSlNweHYdipshitU0NHJJRmlDVkpQc0pBOQ== ')


function cyberHacks()
t =
{
{'Unlimited Ammo',[[Luacall(scan(cs[1],cs[2]))]]},
{'God Mod',[[Luacall(scan(cs[3],cs[4]))]]},

}
end


cyberGUI     = {}
cyberGUI[1]  = createForm(false)
cyberGUI[5]  = createGroupBox(cyberGUI[1])
cyberGUI[6]  = createLabel(cyberGUI[5])
cyberGUI[7]  = createLabel(cyberGUI[5])
cyberGUI[8]  = createLabel(cyberGUI[1])
cyberGUI[9]  = createLabel(cyberGUI[5])
cyberGUI[10] = createComboBox(cyberGUI[5])
cyberGUI[11]  = createGroupBox(cyberGUI[1])
cyberGUI[12] = createButton(cyberGUI[5])
cyberGUI[13] = createLabel(cyberGUI[1])
cyberGUI[14]  = createLabel(cyberGUI[11])
cyberGUI[15] = createListBox(cyberGUI[11])
cyberGUI[16] = createButton(cyberGUI[11])
cyberGUI[17] = createButton(cyberGUI[11])
cyberGUI[18]  = createLabel(cyberGUI[11])
cyberGUI[19]  = createLabel(cyberGUI[11])
cyberGUI[40] = createButton(cyberGUI[11])
cyberGUI[41] = createButton(cyberGUI[11])
cyberGUI[42] = createButton(cyberGUI[11])
cyberGUI[43] = createButton(cyberGUI[11])
cyberGUI[44] = createButton(cyberGUI[1])



setProperty(cyberGUI[1] , "color", Background)
attachBackground(cyberGUI[1],[[BG3.jpg]])
setProperty(cyberGUI[1] , "ShowInTaskBar", 'stAlways')
setProperty(cyberGUI[1] , "Position", "poScreenCenter")
setProperty(cyberGUI[1] , "BiDiMode", "bdLeftToRight")
setProperty(cyberGUI[10] , "ReadOnly", "True")
FontHeight = getProperty(cyberGUI[5] , "Font")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", white)
FontHeight = getProperty(cyberGUI[8] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "23")
setProperty(FontHeight , "Color", blue)
FontHeight = getProperty(cyberGUI[9] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "16")
setProperty(FontHeight , "Color", white)
FontHeight = getProperty(cyberGUI[10] , "Font")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", black)
FontHeight = getProperty(cyberGUI[12] , "Font")
setProperty(FontHeight , "Height", "13")
FontHeight = getProperty(cyberGUI[13] , "Font")
setProperty(FontHeight , "Style", "[fsBold, fsitalic]")
setProperty(FontHeight , "Height", "16")
setProperty(FontHeight , "Color", blue)
setProperty(cyberGUI[13], "Cursor", "-21")
FontHeight = getProperty(cyberGUI[14] , "Font")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", white)
FontHeight = getProperty(cyberGUI[15] , "Font")
setProperty(FontHeight , "Height", "16")
FontHeight = getProperty(cyberGUI[18] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", white)
FontHeight = getProperty(cyberGUI[19] , "Font")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", blue)


control_setSize(cyberGUI[1], 425, 600)
control_setSize(cyberGUI[5], 400, 129)
control_setSize(cyberGUI[10], 255, 21)
control_setSize(cyberGUI[11], 400, 360)
control_setSize(cyberGUI[12], 107, 28)
control_setSize(cyberGUI[15], 280, 270)
control_setSize(cyberGUI[16], 100, 45)
control_setSize(cyberGUI[17], 100, 45)
control_setSize(cyberGUI[40], 100,45)
control_setSize(cyberGUI[41], 100,45)
control_setSize(cyberGUI[42], 100,45)
control_setSize(cyberGUI[43], 100,45)
control_setSize(cyberGUI[44], 70,20)

control_setPosition(cyberGUI[5], 10, 35)
control_setPosition(cyberGUI[6], 10, 5)
control_setPosition(cyberGUI[8], 15, 175)
control_setPosition(cyberGUI[9], 10, 75)
control_setPosition(cyberGUI[10], 10, 35)
control_setPosition(cyberGUI[11], 10, 205)
control_setPosition(cyberGUI[12], 280, 35)
control_setPosition(cyberGUI[13], 12, 580)
control_setPosition(cyberGUI[14], 10, 5)
control_setPosition(cyberGUI[15], 10, 35)
control_setPosition(cyberGUI[16], 295, 35)
control_setPosition(cyberGUI[17], 295, 80)
control_setPosition(cyberGUI[18], 10, 155)
control_setPosition(cyberGUI[19], 11, 310)
control_setPosition(cyberGUI[40], 295,125)
control_setPosition(cyberGUI[41], 295,170)
control_setPosition(cyberGUI[42], 295,215)
control_setPosition(cyberGUI[43], 295, 260)
control_setPosition(cyberGUI[44], 340,574)


control_setCaption(cyberGUI[1], title.."")
control_setCaption(cyberGUI[6], "Select your browser. Make sure the game is loaded.")
control_setCaption(cyberGUI[8],  " FaceCheats Brasil - The Best Cheats...")
control_setCaption(cyberGUI[9], "Attached To Process : Satus: waiting...")
control_setCaption(cyberGUI[12], "Select Process")
control_setCaption(cyberGUI[13], "" ..credits)
control_setCaption(cyberGUI[14],  "Refresh and Enable hacks while Game is still loading .")
control_setCaption(cyberGUI[16], 'Enable selected')
control_setCaption(cyberGUI[17], 'Enable all')
control_setCaption(cyberGUI[18],"Description:")
control_setCaption(cyberGUI[40], 'In-Base Hacks')
control_setCaption(cyberGUI[41], 'Reset Hacks')
control_setCaption(cyberGUI[42], 'Instructions')
control_setCaption(cyberGUI[43], 'Help')
control_setCaption(cyberGUI[44], 'About')
control_setCaption(cyberGUI[19],"Please seclect a Hack and click Enable")
control_setEnabled(cyberGUI[16], false)
control_setEnabled(cyberGUI[17], false)

cyberGUI[20] = createProgressBar(cyberGUI[11])
control_setPosition(cyberGUI[20], 10, 310)
control_setSize(cyberGUI[20], 320, 14)
control_setVisible(cyberGUI[20], false)
cyberGUI[21]  = createLabel(cyberGUI[11])
FontHeight = getProperty(cyberGUI[21] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "18")
setProperty(FontHeight , "Color", white)
control_setPosition(cyberGUI[21], 10, 323)
control_setVisible(cyberGUI[21], false)
cyberGUI[22]  = createLabel(cyberGUI[11])
FontHeight = getProperty(cyberGUI[22] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "18")
control_setPosition(cyberGUI[22], 10, 310)
control_setVisible(cyberGUI[22], false)

cyberHacks()
al = combobox_getItems(cyberGUI[10])
strings_clear(al)
strings_add(al, 'Browser list...')
strings_add(al, 'NoxVMHandle.exe')
setProperty(cyberGUI[10] , "ItemIndex", "0")
all_enabled = 0
success = 1
TeL = listbox_getItems(cyberGUI[15])
TempSave = {}
strings_clear(TeL)
check = 0
i = 0
repeat
if t[i+1]==nil then
   check = 1
else
   i = i+1
   strings_add(TeL, t[i][1])
   TempSave[i] = {}
   TempSave[i][1] = t[i][1]
   TempSave[i][2] = t[i][2]
   TempSave[i][3] = t[i][3]
   TempSave[i][4] = 2
   TempSave[i][5] = 0
   check = 0
end
until check == 1

errorOnLookupFailure(false)
alreadycheckedPIDS={}
openNextProcTimer = createTimer(nil,false)
timer_setInterval(openNextProcTimer, 1000)
timer_onTimer(openNextProcTimer,
function(sender)
   local tempPIDtable = getPids()
   if #tempPIDtable == 0 then return end
   timer_setEnabled(sender,false)
   openProcess(tempPIDtable[1])
end)


function checkProcessMajor()
   reinitializeSymbolhandler()
   if getAddress("pepflashplayer.dll")~=0 or getAddress("AdobeCPGetAPI") ~=0 then
      return true
   end
   return false
end

function getPids()
   local SL=createStringlist()
   getProcesslist(SL)
   local tempPIDtable={}
   for i=0,strings_getCount(SL)-1 do
      local entry = strings_getString(SL,i)
      local processname = entry:sub(10,255)
      local PID = tonumber('0x'..entry:sub(1,8))
      if processname == "chrome.exe" then
         if alreadycheckedPIDS[PID]~=true then
            table.insert(tempPIDtable,PID)
         end
      end
   end
   object_destroy(SL)
   return tempPIDtable
end

function checkProcess(sender)
   timer_setEnabled(sender,false)
   alreadycheckedPIDS[getOpenedProcessID()]=true
   if checkProcessMajor() then
      timer_setEnabled(openNextProcTimer,false)
      alreadycheckedPIDS={}
      enableHacks()
   else
      timer_setEnabled(openNextProcTimer,true)
   end
end

checkProcessTimer = createTimer(nil,false)
timer_setInterval(checkProcessTimer, 100)
timer_onTimer(checkProcessTimer, checkProcess)

function onOpenProcess()
   if success == 1 then return end
   timer_setEnabled(checkProcessTimer,true)
end


function scanBrowser()
   AttachItems = combobox_getItems(cyberGUI[10])
   AttachIndex = combobox_getItemIndex(cyberGUI[10])
   control_setEnabled(cyberGUI[16], false)
   control_setEnabled(cyberGUI[17], false)
   local font = getProperty(cyberGUI[9] , "Font")
   setProperty(font, "Color", white)
   control_setCaption(cyberGUI[9], "Attached to PID: " .. "Scanning Process, Please wait...")
   processMessages()
   if AttachIndex == -1 then return end
   if AttachIndex == 0 then
      control_setCaption(cyberGUI[9], "Attached to PID: " .. "no Browser selected.")
      return
   end
   local check = strings_getString(AttachItems,AttachIndex)
   if check == 'Google Chrome' then
      success = 0
      local test = openProcess("NoxVMHandle.exe")
      if test == nil then
         setProperty(font , "Color", orange1)
         control_setCaption(cyberGUI[9], "Attached to PID: " .. "NoxVMHandle.exe")
         timer_setEnabled(openNextProcTimer,false)
         return
      end
      strings_add(getAutoAttachList(),"chrome.exe")
      timer_setEnabled(openNextProcTimer,true)
      return
   end

   if check == 'Firefox' or check == 'NoxVMHandle.exe' or check == 'NoxVMHandle.exe' then openProcess("FlashPlayerPlugin") end
      errorOnLookupFailure(false)
      reinitializeSymbolhandler()
      err=getAddress("kernel32.dll")==0
   if err==true then
      setProperty(font , "Color", green)
      control_setCaption(cyberGUI[9], "Attached to PID: " .. "NoxVMHandle.exe")
   else
      local PID=getOpenedProcessID()
      setProperty(font, "Color", green)
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
      control_setEnabled(cyberGUI[16], true)
      control_setEnabled(cyberGUI[17], true)
   end

      if check == 'Firefox(Unity Game)' or check == 'NoxVMHandle.exe' or check == 'NoxVMHandle.exe' then openProcess("NoxVMHandle.exe") end
      errorOnLookupFailure(false)
      reinitializeSymbolhandler()
      err=getAddress("kernel32.dll")==0
   if err==true then
      setProperty(font , "Color", red)
      control_setCaption(cyberGUI[9], "Attached to PID: " .. "NoxVMHandle.exe not found")
   else
      local PID=getOpenedProcessID()
      setProperty(font, "Color", green)
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
      control_setEnabled(cyberGUI[16], true)
      control_setEnabled(cyberGUI[17], true)
   end



      local check = strings_getString(AttachItems,AttachIndex)
   if check == 'Maxthon' then
      success = 0
      local test = openProcess("NoxVMHandle.exe")
      if test == nil then
         setProperty(font , "Color", red1)
         control_setCaption(cyberGUI[9], "Attached to PID: " .. "NoxVMHandle.exe not found.")
         timer_setEnabled(openNextProcTimer,false)
         return
      end
      strings_add(getAutoAttachList(),"NoxVMHandle.exe")
      timer_setEnabled(openNextProcTimer,true)
      return
   end
end


local function browser(text, key)
   return text:gsub("%a", function(t)
         local base = (t:lower() == t and string.byte('a') or string.byte('A'))

         local r = t:byte() - base
         r = r + key
         r = r%26 -- works correctly even if r is negative
         r = r + base
         return string.char(r)
      end)
end

local function PIDD(text, key)
   return browser(text, -key)
end

Scanning = {
   browser = browser,
   PIDD = PIDD,
}


function enableHacks()
   setProperty(getProperty(cyberGUI[9] , "Font"), "Color", white)
   local PID=getOpenedProcessID()
   local check = strings_getString(AttachItems,AttachIndex)
   if check == 'Firefox' or check == 'NoxVMHandle.exe' then
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
                local font = getProperty(cyberGUI[9] , "Font")
   setProperty(font, "Color", green)

   elseif check == 'Google Chrome' then
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
            local font = getProperty(cyberGUI[9] , "Font")
   setProperty(font, "Color", green)

   elseif check == 'Maxthon' then
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
            local font = getProperty(cyberGUI[9] , "Font")
   setProperty(font, "Color", green)

elseif check == 'SeaMonkey' then
      control_setCaption(cyberGUI[9], "Attached to PID: " .. PID .. " - NoxVMHandle.exe")
            local font = getProperty(cyberGUI[9] , "Font")
   setProperty(font, "Color", green)


end
   success = 1
    control_setEnabled(cyberGUI[16], true)
    control_setEnabled(cyberGUI[17], true)

end

function show_progressbar()
     control_setPosition(cyberGUI[22], 10, 250)
     control_setCaption(cyberGUI[22], '')
     control_setVisible(cyberGUI[18], false)
     control_setVisible(cyberGUI[19], false)
     control_setVisible(cyberGUI[20], true)
     control_setVisible(cyberGUI[21], true)
     control_setVisible(cyberGUI[22], true)
     progressbar_setPosition(cyberGUI[20], 0)
end

function hide_progressbar()
    control_setVisible(cyberGUI[20], false)
    control_setVisible(cyberGUI[21], false)
    control_setVisible(cyberGUI[22], false)
    control_setVisible(cyberGUI[18], true)
    control_setVisible(cyberGUI[19], true)
end

function ExecuteHacks()
    Pause()
    HLS = listbox_getItemIndex(cyberGUI[15])
    LIST = listbox_getItems(cyberGUI[15])
    if HLS == -1 then return end
    i = HLS+1
    font=getProperty(cyberGUI[21], 'Font')
    control_setVisible(cyberGUI[18], false)
    control_setVisible(cyberGUI[19], false)
    control_setVisible(cyberGUI[20], false)
    control_setVisible(cyberGUI[21], true)
    control_setVisible(cyberGUI[22], false)
    if t[i][2]==nil then
         setProperty(font, 'Color', white)
         control_setCaption(cyberGUI[21], "You already enabled this hack !")
         unpause()
         return
    end
    control_setEnabled(cyberGUI[16], false)
    control_setEnabled(cyberGUI[17], false)

    control_setCaption(cyberGUI[21], "Executing hack...")
    control_setVisible(cyberGUI[22], true)
    control_setCaption(cyberGUI[22], '')
    control_setPosition(cyberGUI[22], 10, 250)
    strings_setString(LIST, HLS, t[i][1])
    processMessages()
    if TempSave[i][4] == 2 then
      Asm = autoAssemble(t[i][2])
      font=getProperty(cyberGUI[22], 'Font')
      control_setCaption(cyberGUI[21], "Executing hack. Finished.")
      unpause()
      if scanCheck~=true then
        TempText = t[i][1]..' - Failed'
        TempSave[i][5] = t[i][1]..' - Failed'
        strings_setString(LIST, HLS, TempText)
        setProperty(font, 'Color', red1)
        control_setCaption(cyberGUI[22], 'Failed to enable ')
        unpause()
 else
        TempText = t[i][1]..' - Enabled'
        TempSave[i][5] = t[i][1]..' - Enabled'
        strings_setString(LIST, HLS, TempText)
        setProperty(font, 'Color', green)
        control_setCaption(cyberGUI[22], 'Hack enabled. Enjoy it !')
unpause()
t[i][2] = nil
        TempSave[i][4] = 1
      end
    end
    if TempSave[i][4] == 0 then TempSave[i][4] = 2 end
    control_setEnabled(cyberGUI[16], true)
    control_setEnabled(cyberGUI[17], true)

end

function ExecuteAllHacks()
    Pause()
     font=getProperty(cyberGUI[21], 'Font')
     if all_enabled == 1 then
        control_setVisible(cyberGUI[18], false)
        control_setVisible(cyberGUI[19], false)
        control_setVisible(cyberGUI[20], false)
        control_setVisible(cyberGUI[21], true)
        control_setVisible(cyberGUI[22], false)
        setProperty(font, 'Color', red)
        control_setCaption(cyberGUI[21], "You already enabled all hacks !")
unpause()
return
     end
     lb = listbox_getItems(cyberGUI[15])
     LIST = listbox_getItems(cyberGUI[15])
     control_setEnabled(cyberGUI[16], false)
     control_setEnabled(cyberGUI[17], false)

     show_progressbar()
     progressbar_setMax(cyberGUI[20], strings_getCount(lb))
     for i = 1, strings_getCount(lb) do
         strings_setString(LIST, i-1, t[i][1])
     end
    count = 0
     for i = 1, strings_getCount(lb) do
          control_setCaption(cyberGUI[21], "Executing hack: "..t[i][1])
          progressbar_setPosition(cyberGUI[20], i)
          processMessages()
        if TempSave[i][4] == 2 then
              Asm = autoAssemble(t[i][2])
            if scanCheck~=true then
                    TempSave[i][5] = t[i][1]..' - Failed'
                    strings_setString(LIST, i-1, TempSave[i][5])
             else
                   TempSave[i][5] = t[i][1]..' - Enabled'
                    strings_setString(LIST, i-1, TempSave[i][5])
                   t[i][2] = nil
               TempSave[i][4] = 1
               count = count + 1
             end
         else
              count = count + 1
                 TempSave[i][5] = t[i][1]..' - Enabled'
                 strings_setString(LIST, i-1, TempSave[i][5])
         end
      if TempSave[i][4] == 0 then TempSave[i][4] = 2 end
   end
    control_setEnabled(cyberGUI[16], true)
    control_setEnabled(cyberGUI[17], true)
    setProperty(font, 'Color', green)
    control_setCaption(cyberGUI[21], "Executing hack. Finished ! ")
    unpause()
    font=getProperty(cyberGUI[22], 'Font')
   if count == strings_getCount(lb) then
      setProperty(font, 'Color', green)
        control_setCaption(cyberGUI[22], 'All hacks enabled. Enjoy it !')
        unpause()
        all_enabled = 1
   else
      diff = strings_getCount(lb) - count
        if diff == 1 then
           text = "hack"
        else
           text = "hacks"
        end
        setProperty(font, 'Color', red1)
       control_setCaption(cyberGUI[22], 'Failed to enable ' .. diff .. ' ' .. text .. ' !')
   unpause()
        end
unpause()
end

function ResetAllHacks()
     lb = listbox_getItems(cyberGUI[15])
     ct = strings_getCount(lb)
     for i = 1, ct do
         strings_setString(lb, i-1, t[i][1])
         TempSave[i][4] = 2
         t[i][2]= TempSave[i][2]
     end
     all_enabled = 0
     hide_progressbar()
     control_setVisible(cyberGUI[19], false)
     control_setCaption(cyberGUI[18], 'All hacks reseted.')
end

function DEC_HEX(IN)
   local B,K,OUT,I,D=16,"0123456789ABCDEF","",0
    if IN<1 then
      OUT=0
      return OUT
   end
   while IN>0 do
      I=I+1
      IN,D=math.floor(IN/B),math.fmod(IN,B)+1
      OUT=string.sub(K,D,D)..OUT
   end
   return OUT
end

function scan(enter, exit)
pretemp1 =Scanning.PIDD(enter,12)
pretemp2 =Scanning.PIDD(exit,12)
temp1 = bdc(pretemp1)
temp2 = bdc(pretemp2)
temp3 = Scanning.PIDD(temp1,12)
temp4 = Scanning.PIDD(temp2,12)
search = bdc(temp3)
change = bdc(temp4)
     aobs = AOBScan(search, "-W")
     if(aobs == nil) then
      scanCheck=false
    else
       j = stringlist_getCount(aobs)
      for i = 1, j do
          address=stringlist_getString(aobs,i-1)
          for i = 1, string.len(change), 3 do
             z = string.sub(change, i, i+2)
             x, y = string.find(z, "%?+")
              if (x == nil) then
                script=[[
                ]]..address.."+"..(DEC_HEX((i-1)/3))..[[:
                db ]]..z..[[
                ]]
                autoAssemble(script)
             end
          end
       end
      object_destroy(aobs);
      aobs=nil
      scanCheck=true
   end
end

function HackDescriptionsChange()
    hide_progressbar()
    control_setCaption(cyberGUI[18], 'Description:')
    HLS = listbox_getItemIndex(cyberGUI[15])
    if HLS == -1 then return end
    i = HLS+1
    if t[i][3]~='' and t[i][3]~=nil then
      control_setCaption(cyberGUI[19] ,t[i][3])
    else
      control_setCaption(cyberGUI[19], "")
    end
end
function OpenCW()
   shellExecute(" ")
end
function ingame()
         form_hide(cyberGUI[1])
         shellExecute("ingame.cetrainer")
         closeCE()
end

function info()
         form_show(UDF1)
end

function update()
         showMessage("You will be now redirected to the official Facebook Group,  where you can find updates and ask for help  ! If you are not a member then you can join .")
         shellExecute(" ")
end

function CloseTrainer()
   form_hide(cyberGUI[1])
   closeCE()
end

function donate()
         shellExecute(" ")
end

function about()
         showMessage("Developed By Team of FaceCheatsBrasil.  We are not associated with anyone in any manner .")
end




control_onClick(cyberGUI[12], scanBrowser)
control_onClick(cyberGUI[16], ExecuteHacks)
control_onClick(cyberGUI[13], OpenCW)
control_onClick(cyberGUI[17], ExecuteAllHacks)
control_onClick(cyberGUI[40], ingame)
control_onClick(cyberGUI[41], ResetAllHacks)
control_onClick(cyberGUI[42], info)
control_onClick(cyberGUI[44], about)
control_onClick(cyberGUI[43], update)

setMethodProperty(cyberGUI[15], 'OnSelectionChange', HackDescriptionsChange)
form_onClose(cyberGUI[1], CloseTrainer)
form_hide(UDF1)
form_hide(cyberGUI[40])
--form_hide(cyberGUI[17])
form_show(cyberGUI[1])

_________________
dved rvrdv vrevr rvrve
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites