seems like you just copy and pasted lua code here
Please how i do this CE code for search browsing process in C# or C++ vB net?
function CEToggleBox1Change(sender)
-- Form, and Exit and some Variables
--form_show(CETrainer)
-- Setting the attaching form on top and then as a normal
-- Like popup...
setProperty(CETrainer , "FormStyle", "fsSystemStayOnTop")
setProperty(CETrainer , "FormStyle", "fsNormal")
-- Closing the trainer..
--
--Defining some stuff...
ProcList = 0
--
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.mod(IN,B)+1
OUT=string.sub(K,D,D)..OUT
end
return OUT
end
function Aobswap(search, change)
aobs = AOBScan(search)
if(aobs ~= nil) then
j = stringlist_getCount(aobs)
--print("Found:",j);
for i = 1, j do
--print(stringlist_getString(aobs,i-1));
--66 ?? ?? d1 a1 68 ?? ?? d0 d0
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)
--print(z)
--print(address.."+"..(DEC_HEX((i-1)/3)))
end
end
end
object_destroy(aobs);
aobs=nil
end
end
-----------------------------------------------------------
-- Attaching using processor list..
function AttachList()
local SelectedItemIndex = comx_getItemIndex(CETrainer_CEComboBox1)
local pname=control_getCaption( CETrainer_CEEdit1 );
if SelectedItemIndex==-1 then return end
if SelectedItemIndex==-1 then return end
if SelectedItemIndex==0 and pname =='' then -- return end
ProcList = 0
--elseif pname~='' then
--AttachPID()
end
if SelectedItemIndex==0 and pname~='' then -- return end
ProcList = 0
AttachPID()
end
if SelectedItemIndex ==1 and pname =='' then
openProcess("FlashPlayerPlugin")
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
ProcList = 0
showMessage("I was unable to find the process")
else
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
ProcList = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
elseif SelectedItemIndex ==1 and pname~='' then
AttachPID()
else
if SelectedItemIndex ==2 and pname =='' then
openProcess("plugin-container.exe")
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
ProcList = 0
showMessage("I was unable to find the process")
else
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
ProcList = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
elseif SelectedItemIndex ==2 and pname~='' then
AttachPID()
else
if SelectedItemIndex ==3 and pname =='' then
openProcess("opera.exe")
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
ProcList = 0
showMessage("INFELIZMENTE VOCÊ SELECIONOU O NAVEGADOR ERRADO. \nSELECIONE O NAVEGADOR DO JOGO QUE VOCÊ ESTÁ JOGANDO. \nTENTE NOVAMENTE")
else
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
ProcList = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
elseif SelectedItemIndex ==3 and pname~='' then
AttachPID()
else
if SelectedItemIndex ==4 and pname =='' then
openProcess("opera_plugin_wrapper.exe")
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
ProcList = 0
showMessage("INFELIZMENTE VOCÊ SELECIONOU O NAVEGADOR ERRADO. \nSELECIONE O NAVEGADOR DO JOGO QUE VOCÊ ESTÁ JOGANDO. \nTENTE NOVAMENTE")
else
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
ProcList = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
elseif SelectedItemIndex ==4 and pname~='' then
AttachPID()
else
if SelectedItemIndex ==5 and pname =='' then
openProcess("iexplorer.exe")
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
ProcList = 0
showMessage("INFELIZMENTE VOCÊ SELECIONOU O NAVEGADOR ERRADO. \nSELECIONE O NAVEGADOR DO JOGO QUE VOCÊ ESTÁ JOGANDO. \nTENTE NOVAMENTE")
else
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
ProcList = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
elseif SelectedItemIndex ==5 and pname~='' then
AttachPID()
end
end
end
end
end
end
function AttachPID()
if ProcList == 0 then
local pname=tonumber(control_getCaption( CETrainer_CEEdit1 ));
if pname ~='' then
openProcess(pname)
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
showMessage("I Failed to attach the Given PID")
control_setCaption(CETrainer_CEEdit1, '')
elseif err~=0 then
local PID=getOpenedProcessID()
control_setCaption(CETrainer_CELabel5, "I am attached to PID: " .. PID)
control_setEnabled(CETrainer_CEButton2, true)
showMessage("I have successfuly Attached to the Given PID")
if pname=='' then return end
end
end
end
end
--function CEButton8Click(sender) --This is used to disable the scripts you have ativated in case they don't have disable function do not remove the -- in the begining of the rows
--local script1= addresslist_getMemoryRecordByDescription(getAddres sList(), "speedhack") --change this according to your scripts..
--local script2= addresslist_getMemoryRecordByDescription(getAddres sList(), "desorientation") --change this according to your scripts..
--local script3= addresslist_getMemoryRecordByDescription(getAddres sList(), "multihit") --change this according to your scripts..
--local script4= addresslist_getMemoryRecordByDescription(getAddres sList(), "disableai") --change this according to your scripts..
--memoryrecord_unfreeze(script1)
--memoryrecord_unfreeze(script2)
--memoryrecord_unfreeze(script3)
--memoryrecord_unfreeze(script4)--put this inside the Button function
--local script5= addresslist_getMemoryRecordByDescription(getAddres sList(), "speedhack") --change this according to your scripts..
--memoryrecord_freeze(script5)-- this will Freeze (AKA enable) the thes script
--showMessage("Speed Hack was Enabled") --remove the -- before the showMessage, if you'd like to show that message..
--memoryrecord_unfreeze(script5)
--showMessage("Speed Hack was Disabled")
--end
--function CEButton9Click(sender)
--showMessage("Before you continue!Please attach to your game processor,Using the following the following methodsNote that you need only to use 1 method).1. Attaching using processor list(You choose the browser processor of the Flash player)2. Attaching using Processor ID(You attach using the Flash Player ID, of course if you know whats the PID)3. Attaching by going to Fullscreen mode and pressing F6.(Only works if you got an fullscreen option inside the game,Or in any other Flash Player stuff, e.g Youtube, other games..)")
--end
InformationText="ESTE HACKER NÃO CONTÉM LINKS DE PROPAGANDAS\nNUNCA USE SEU ID E SENHA DO FACEBOOK EM HACKER\nAGORA SELECIONE O SEU NAVEGADOR ABAIXO E CLIQUE EM ATACK\nby hkl"
AttachFirst = {}
AttachFirst[1] = createForm(false)
AttachFirst[2] = createPanel(AttachFirst[1])
AttachFirst[3] = createButton(AttachFirst[2])
AttachFirst[4] = createLabel(AttachFirst[2])
AttachFirst[5] = createGroupBox(AttachFirst[2])
AttachFirst[6] = createLabel(AttachFirst[5])
AttachFirst[7] = createLabel(AttachFirst[5])
AttachFirst[9] = createLabel(AttachFirst[5])
AttachFirst[10] = createComboBox(AttachFirst[5])
AttachFirst[12] = createButton(AttachFirst[5])
AttachFirst[13] = createLabel(AttachFirst[2])
setProperty(AttachFirst[1] , "Position", "poScreenCenter")
setProperty(AttachFirst[1] , "BorderIcons", "[biSystemMenu]")
setProperty(AttachFirst[1] , "BiDiMode", "bdLeftToRight")
setProperty(AttachFirst[2] , "BiDiMode", "bdLeftToRight")
setProperty(AttachFirst[2] , "BiDiMode", "bdLeftToRight")
setProperty(AttachFirst[10] , "ReadOnly", "True")
local FontHeight = getProperty(AttachFirst[4] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "17")
local FontHeight = getProperty(AttachFirst[5] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
--
local FontHeight = getProperty(AttachFirst[6] , "Font")
setProperty(FontHeight , "Style", "[]")
setProperty(FontHeight , "Height", "14")
local FontHeight = getProperty(AttachFirst[7] , "Font")
setProperty(FontHeight , "Style", "[]")
setProperty(FontHeight , "Height", "13")
local FontHeight = getProperty(AttachFirst[9] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "14")
local FontHeight = getProperty(AttachFirst[7] , "Font")
setProperty(FontHeight , "Color", 0x000000FE)
setProperty(FontHeight , "Color", 0x000000FE)
local FontHeight = getProperty(AttachFirst[9] , "Font")
setProperty(FontHeight , "Color", 0x00007F00)
--
local FontHeight = getProperty(AttachFirst[10] , "Font")
setProperty(FontHeight , "Style", "[]")
setProperty(FontHeight , "Height", "13")
local FontHeight = getProperty(AttachFirst[12] , "Font")
setProperty(FontHeight , "Style", "[]")
setProperty(FontHeight , "Height", "13")
setProperty(AttachFirst[13], "Cursor", "-21")
local FontHeight = getProperty(AttachFirst[13] , "Font")
setProperty(FontHeight , "Style", "[fsBold]")
setProperty(FontHeight , "Height", "20")
setProperty(FontHeight , "Color", 0x00800180)
--
control_setEnabled(AttachFirst[3], false)
control_setSize(AttachFirst[1], 385, 250)
x,y = control_getSize(AttachFirst[1])
control_setSize(AttachFirst[2], x,y)
control_setSize(AttachFirst[3], 75,25)
control_setSize(AttachFirst[5], 375,190)
control_setSize(AttachFirst[10], 205,21)
control_setSize(AttachFirst[12], 79,45)
control_setPosition(AttachFirst[3], 303,219)
control_setPosition(AttachFirst[4], 5,5)
control_setPosition(AttachFirst[5], 5,25)
control_setPosition(AttachFirst[6], 5,0)
control_setPosition(AttachFirst[7], 5,110)
control_setPosition(AttachFirst[9], 5,150)
control_setPosition(AttachFirst[10], 75,108)
control_setPosition(AttachFirst[12], 287,97)
control_setPosition(AttachFirst[13], 5,219)
control_setCaption(AttachFirst[1],"HACKER CRIADO !")
control_setCaption(AttachFirst[3],"CONTINUE")
control_setCaption(AttachFirst[4],"BEM VINDO ")
control_setCaption(AttachFirst[5],"LEIA COM ATENÇÃO")
control_setCaption(AttachFirst[6],InformationText)
control_setCaption(AttachFirst[7],"PROCESSOS")
control_setCaption(AttachFirst[9],"NÚMEROS DO PID: ")
control_setCaption(AttachFirst[12],"ATACK")
control_setCaption(AttachFirst[13],"GAMES")
al = comx_getItems(AttachFirst[10])
strings_clear(al)
function OpenDolcepanna()
shellExecute("CHEATS GAMES")
end
strings_add(al, 'ESCOLHA SEU NAVEGADOR')
strings_add(al, 'chrome.exe')
strings_add(al, 'FlashPlayerPlugin')
strings_add(al, 'plugin-container.exe')
strings_add(al, 'opera.exe')
setProperty(AttachFirst[10] , "ItemIndex", "0")
success = 1
process = "chrome.exe" -- you can set this variable by using comx,
-- editbox or something
function ResetChrome()
success = 0
local test = openProcess("chrome.exe") if test ==nil then return showMessage("NÃO CONSEGUIMOS ENCONTRAR O GOOGLE CHROME"),timer_setEnabled(openNextProcTimer,false) end
strings_add(getAutoAttachList(),process)
timer_setEnabled(openNextProcTimer,true)
end
function enableCheatsGuiWhatEver()
-- initialize UI (or reinitialize UI)
-- or whatever you want to do afer finding right process:
-- enabling controls, cheats
local PID=getOpenedProcessID()
control_setCaption(AttachFirst[1],"I am Currently Attaching the Form!")
control_setEnabled(AttachFirst[3], true)
control_setCaption(AttachFirst[9], "I am attached to PID: " .. PID)
success = 1
showMessage("MUITO BEM,VOCÊ SELECIONOU O NAVEGADOR CORRETO,AGORA CLIQUE EM CONTINUE,BOM JOGO!")
end
-- this function returns true if good process, false if bad
function checkProcessMajor()
reinitializeSymbolhandler()
-- for Chrome flash
if getAddress("pepflashplayer.dll")~=0 or
getAddress("AdobeCPGetAPI") ~=0 then
return true
end
-- you can change above condition to something else.
-- for example you can make aobscan check - if pattern found -> return true
return false -- return false by default
end
-- ################################################## ###########################
-- do not thouch code below (unless you know what you are doing)
errorOnLookupFailure(false)
alreadycheckedPIDS={} -- checked processes pids
openNextProcTimer = createTimer(nil,false)
timer_setInterval(openNextProcTimer, 1000)
timer_onTimer(openNextProcTimer,
function (sender)
local tempPIDtable = getPids()
if #tempPIDtable == 0 then return end
--OK, we have new PID
timer_setEnabled(sender,false)
openProcess(tempPIDtable[1])
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 == process 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)
-- add currently opened process to ignore list
-- (openNextProc will ignore those)
alreadycheckedPIDS[getOpenedProcessID()]=true
if checkProcessMajor() then
-- OUR TARGET FOUND
timer_setEnabled(openNextProcTimer,false)
alreadycheckedPIDS={}
enableCheatsGuiWhatEver()
else
timer_setEnabled(openNextProcTimer,true)
end
end
function onOpenProcess()
if success == 1 then return end
timer_setEnabled(checkProcessTimer,true)
end
checkProcessTimer = createTimer(nil,false)
timer_setInterval(checkProcessTimer, 100)
timer_onTimer(checkProcessTimer, checkProcess)
function AttachToChrome()
control_setCaption(AttachFirst[1],"AGUARDE ENQUANTO PROCURAMOS O PROCESSO...")
ResetChrome()
end
function AttachList()
AttachItems = comx_getItems(AttachFirst[10])
AttachIndex = comx_getItemIndex(AttachFirst[10])
if AttachIndex == -1 then return end
if AttachIndex == 0 then return showMessage("INFELIZMENTE VOCÊ NÃO SELECIONOU NENHUM NAVEGADOR,SELECIONE UM NAVEGADOR ABAIXO") end
if strings_getString(AttachItems,AttachIndex)=='chrom e.exe' then return AttachToChrome() end
openProcess(strings_getString(AttachItems,AttachIn dex))
errorOnLookupFailure(false)
reinitializeSymbolhandler()
err=getAddress("kernel32.dll")==0
if err==true then
showMessage("INFELIZMENTE VOCÊ SELECIONOU O NAVEGADOR ERRADO. \nSELECIONE O NAVEGADOR DO JOGO QUE VOCÊ ESTÁ JOGANDO. \nTENTE NOVAMENTE")
else
local PID=getOpenedProcessID()
control_setCaption(AttachFirst[9], "LIGADO AO PID: " .. PID)
control_setEnabled(AttachFirst[3], true)
showMessage("ACHAMOS COM SUCESSO O PROCESSO DO SEU NAVEGADOR\nAGORA CLIQUE EM CONTINUE!")
end
end
function AttachClose()
closeCE()
end
function ExecuteHack()
--CreateTrainer()
form_show(CETrainer)
form_hide(AttachFirst[1])
end
control_onClick(AttachFirst[3], ExecuteHack)
control_onClick(AttachFirst[12],AttachList)
form_onClose(AttachFirst[1],AttachClose)
control_onClick(AttachFirst[13],OpenFlashacking)
form_show(AttachFirst[1])
end
RequiredCEVersion=6.4
if (getCEVersion==nil) or (getCEVersion()<RequiredCEVersion) then
messageDialog('Please install Cheat Engine '..RequiredCEVersion, mtError, mbOK)
closeCE()
end
getAutoAttachList().add("cheatengine-x86_64.exe")
gPlaySoundOnAction=false
CETrainer.show()
function AboutClick()
showMessage(gAboutText)
end
gAboutText[This trainer was made by Cheat Engine
]]
function CloseClick()
--called by the close button onClick event, and when closing the form
closeCE()
return caFree --onClick doesn't care, but onClose would like a result
end
What about learning C#?
hemersonkl (05-16-2016),Silent (05-17-2016)
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
Azuki (05-18-2016)