 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
vil33 Cheater
Reputation: 0
Joined: 29 Jul 2020 Posts: 34
|
Posted: Fri Oct 09, 2020 12:17 am Post subject: |
|
|
| ByTransient wrote: | | vil33 wrote: |
| Code: | function GetTheProcessList()
local T = {}
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
T[i] = strings_getString(SL,i)
end
return T
end
function GetPros(sender)
local PL = GetTheProcessList()
local S = {}
local variable = UDF1_CEComboBox1.text
UDF1_CEListBox1.Clear()
for x = 0, #PL do
if variable == "All"
then
UDF1_CEListBox1.Items.Add(PL[x])
else
if string.sub(PL[x],10) == variable
then
S[#S+1] = PL[x] --list for reference
UDF1_CEListBox1.Items.Add(PL[x])
end
end
end
end
UDF1.Show()
UDF1_CEButton1Click = GetPros
function OpenPro()
local a = UDF1_CEListBox1.ItemIndex
if a ~= -1 -- negative 1 is nno selection
then
local b = string.sub(UDF1_CEListBox1.Items[a],0,8)
b = tonumber(b,16)
openProcess(b)
showMessage('SUCCESS')
else
showMessage('SELECT PROCESS FIRST')
end
end
UDF1.Show()
UDF1_CEButton2Click = OpenPro
UDF1_CEComboBox1.Text = "All"
UDF1_CEComboBox1.Items.Add('All')
UDF1_CEComboBox1.Items.Add('PUBG.exe')
UDF1_CEComboBox1.Items.Add('chrome.exe') |
|
|
| Corroder wrote: | Run your game and then try open / attach the game process using CE default without any trainer. Check how many processes you found,
On attached image, I try open chrome process and as you can see there are more than one chrome process. So, that is chrome process by default. |
finally it solved master....
i found a mistake if we added combo box just excute script and save
if we edit it process name show duplicate
thank master sorry for disturb your time
have a nice day
|
|
| Back to top |
|
 |
ByTransient Expert Cheater
Reputation: 5
Joined: 05 Sep 2020 Posts: 240
|
Posted: Fri Oct 09, 2020 12:27 am Post subject: |
|
|
| vil33 wrote: | | ByTransient wrote: | | vil33 wrote: |
| Code: | function GetTheProcessList()
local T = {}
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
T[i] = strings_getString(SL,i)
end
return T
end
function GetPros(sender)
local PL = GetTheProcessList()
local S = {}
local variable = UDF1_CEComboBox1.text
UDF1_CEListBox1.Clear()
for x = 0, #PL do
if variable == "All"
then
UDF1_CEListBox1.Items.Add(PL[x])
else
if string.sub(PL[x],10) == variable
then
S[#S+1] = PL[x] --list for reference
UDF1_CEListBox1.Items.Add(PL[x])
end
end
end
end
UDF1.Show()
UDF1_CEButton1Click = GetPros
function OpenPro()
local a = UDF1_CEListBox1.ItemIndex
if a ~= -1 -- negative 1 is nno selection
then
local b = string.sub(UDF1_CEListBox1.Items[a],0,8)
b = tonumber(b,16)
openProcess(b)
showMessage('SUCCESS')
else
showMessage('SELECT PROCESS FIRST')
end
end
UDF1.Show()
UDF1_CEButton2Click = OpenPro
UDF1_CEComboBox1.Text = "All"
UDF1_CEComboBox1.Items.Add('All')
UDF1_CEComboBox1.Items.Add('PUBG.exe')
UDF1_CEComboBox1.Items.Add('chrome.exe') |
|
|
finally it solved master....
i found a mistake if we added combo box just excute script and save
if we edit it process name show duplicate
thank master sorry for disturb your time
have a nice day |
Probably the above code might not work.
Button click events are incorrect.
Check out the warnings below.
Below is your code.
Look for "Cancellation" and "Added" notes.
| Code: | function GetTheProcessList()
local T = {}
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
T[i] = strings_getString(SL,i)
end
return T
end
function GetPros(sender)
local PL = GetTheProcessList()
local S = {}
local variable = UDF1_CEComboBox1.text
UDF1_CEListBox1.Clear()
for x = 0, #PL do
if variable == "All"
then
UDF1_CEListBox1.Items.Add(PL[x])
else
if string.sub(PL[x],10) == variable
then
S[#S+1] = PL[x] --list for reference
UDF1_CEListBox1.Items.Add(PL[x])
end
end
end
end
--UDF1.Show() --<<------Cancellation
--UDF1_CEButton1Click = GetPros --<<------Cancellation
UDF1.CEButton1.OnClick = GetPros --<<---- Added
function OpenPro()
local a = UDF1_CEListBox1.ItemIndex
if a ~= -1 -- negative 1 is nno selection
then
local b = string.sub(UDF1_CEListBox1.Items[a],0,8)
b = tonumber(b,16)
openProcess(b)
showMessage('SUCCESS')
else
showMessage('SELECT PROCESS FIRST')
end
end
--UDF1.Show() <<------ Cancellation
--UDF1_CEButton2Click = OpenPro <<------ Cancellation
UDF1.CEButton2.OnClick = OpenPro --<<---- Added
--UDF1_CEComboBox1.Text = "All" <<------ Cancellation
UDF1_CEComboBox1.Clear() --<<---- Added
UDF1_CEComboBox1.Items.Add('Process Select') --<<---- Added
UDF1_CEComboBox1.Items.Add('All')
UDF1_CEComboBox1.Items.Add('GAME.exe')
UDF1_CEComboBox1.Items.Add('chrome.exe')
UDF1.CEComboBox1.ItemIndex="0" --<<---- Added --or index 1 = All
UDF1.Show() --<<------ Added |
|
|
| Back to top |
|
 |
vil33 Cheater
Reputation: 0
Joined: 29 Jul 2020 Posts: 34
|
Posted: Fri Oct 09, 2020 12:36 am Post subject: |
|
|
| ByTransient wrote: | | vil33 wrote: | | ByTransient wrote: | | vil33 wrote: |
| Code: | function GetTheProcessList()
local T = {}
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
T[i] = strings_getString(SL,i)
end
return T
end
function GetPros(sender)
local PL = GetTheProcessList()
local S = {}
local variable = UDF1_CEComboBox1.text
UDF1_CEListBox1.Clear()
for x = 0, #PL do
if variable == "All"
then
UDF1_CEListBox1.Items.Add(PL[x])
else
if string.sub(PL[x],10) == variable
then
S[#S+1] = PL[x] --list for reference
UDF1_CEListBox1.Items.Add(PL[x])
end
end
end
end
UDF1.Show()
UDF1_CEButton1Click = GetPros
function OpenPro()
local a = UDF1_CEListBox1.ItemIndex
if a ~= -1 -- negative 1 is nno selection
then
local b = string.sub(UDF1_CEListBox1.Items[a],0,8)
b = tonumber(b,16)
openProcess(b)
showMessage('SUCCESS')
else
showMessage('SELECT PROCESS FIRST')
end
end
UDF1.Show()
UDF1_CEButton2Click = OpenPro
UDF1_CEComboBox1.Text = "All"
UDF1_CEComboBox1.Items.Add('All')
UDF1_CEComboBox1.Items.Add('PUBG.exe')
UDF1_CEComboBox1.Items.Add('chrome.exe') |
|
|
finally it solved master....
i found a mistake if we added combo box just excute script and save
if we edit it process name show duplicate
thank master sorry for disturb your time
have a nice day |
Probably the above code might not work.
Button click events are incorrect.
Check out the warnings below.
Below is your code.
Look for "Cancellation" and "Added" notes.
| Code: | function GetTheProcessList()
local T = {}
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
T[i] = strings_getString(SL,i)
end
return T
end
function GetPros(sender)
local PL = GetTheProcessList()
local S = {}
local variable = UDF1_CEComboBox1.text
UDF1_CEListBox1.Clear()
for x = 0, #PL do
if variable == "All"
then
UDF1_CEListBox1.Items.Add(PL[x])
else
if string.sub(PL[x],10) == variable
then
S[#S+1] = PL[x] --list for reference
UDF1_CEListBox1.Items.Add(PL[x])
end
end
end
end
--UDF1.Show() --<<------Cancellation
--UDF1_CEButton1Click = GetPros --<<------Cancellation
UDF1.CEButton1.OnClick = GetPros --<<---- Added
function OpenPro()
local a = UDF1_CEListBox1.ItemIndex
if a ~= -1 -- negative 1 is nno selection
then
local b = string.sub(UDF1_CEListBox1.Items[a],0,8)
b = tonumber(b,16)
openProcess(b)
showMessage('SUCCESS')
else
showMessage('SELECT PROCESS FIRST')
end
end
--UDF1.Show() <<------ Cancellation
--UDF1_CEButton2Click = OpenPro <<------ Cancellation
UDF1.CEButton2.OnClick = OpenPro --<<---- Added
--UDF1_CEComboBox1.Text = "All" <<------ Cancellation
UDF1_CEComboBox1.Clear() --<<---- Added
UDF1_CEComboBox1.Items.Add('Process Select') --<<---- Added
UDF1_CEComboBox1.Items.Add('All')
UDF1_CEComboBox1.Items.Add('GAME.exe')
UDF1_CEComboBox1.Items.Add('chrome.exe')
UDF1.CEComboBox1.ItemIndex="0" --<<---- Added --or index 1 = All
UDF1.Show() --<<------ Added |
|
ohh i see... then i just added 1 UDF1.Show() master?
and click replace with onclick
thanks for explain about that master
hope you keep support me
|
|
| Back to top |
|
 |
|
|
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
|
|