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 


Help.. Process List KH Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sun Nov 08, 2015 1:22 am    Post subject: Help.. Process List KH Trainer Reply with quote

Hey Friends I Am Having A Problem With My Trainer Process List

I Am Changing " Google Chrome with Shadow Fight " And " Chrome.exe with Shadowfight.exe" But It Is Not Working Can Someone Help Me With This ?

Thanks In Advance Smile



process list.CT
 Description:
Here Is The Script

Download
 Filename:  process list.CT
 Filesize:  18.98 KB
 Downloaded:  639 Time(s)

Back to top
View user's profile Send private message
Fluffer_Nutter
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2015
Posts: 67

PostPosted: Sun Nov 08, 2015 3:09 am    Post subject: Reply with quote

Im confused. It is a facebook game. Why are you calling it a exe?
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sun Nov 08, 2015 3:16 am    Post subject: Reply with quote

I am talking about windows games... Shadow Fight Is Just A Imagination...
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sun Nov 08, 2015 9:54 am    Post subject: Reply with quote

Not sure what are you mentioning on your post.

But if I am not wrong, this is part of your script with Google Chrome changed to Shadow Fight.

Code:

setHack_Information()
al = combobox_getItems(MainGUI[10])
strings_clear(al)
strings_add(al, 'Browser list...')
strings_add(al, 'Firefox')
strings_add(al, 'Shadow Fight')
strings_add(al, 'Internex Explorer')
setProperty(MainGUI[10] , "ItemIndex", "0")
all_enabled = 0
success = 1
TeL = listbox_getItems(MainGUI[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)

----------------------------------------- CHECKPROCESS / PIDS -----------------------------------------

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 == "shadowfight.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

----------------------------------------- BROWSER SELECT -----------------------------------------

function scanBrowser()
   AttachItems = combobox_getItems(MainGUI[10])
   AttachIndex = combobox_getItemIndex(MainGUI[10])
   control_setEnabled(MainGUI[16], false)
   control_setEnabled(MainGUI[17], false)
    control_setEnabled(MainGUI[23], false)
   local font = getProperty(MainGUI[9] , "Font")
   setProperty(font, "Color", white)
   control_setCaption(MainGUI[9], "Attached to PID: " .. "Scanning Process...")
   processMessages()
   if AttachIndex == -1 then return end
   if AttachIndex == 0 then
      control_setCaption(MainGUI[9], "Attached to PID: " .. "no Browser selected.")
      return
   end
   local check = strings_getString(AttachItems,AttachIndex)
   if check == 'Shadow Fight' then
      success = 0
      local test = openProcess("shadowfight.exe")
      if test == nil then
         setProperty(font , "Color", red1)
         control_setCaption(MainGUI[9], "Attached to PID: " .. "Chrome not found.")
         timer_setEnabled(openNextProcTimer,false)
         return
      end
      strings_add(getAutoAttachList(),"shadowfight.exe")
      timer_setEnabled(openNextProcTimer,true)
      return
   end
   if check == 'Firefox' or check == 'Internet Explorer' then openProcess("FlashPlayerPlugin") end
      errorOnLookupFailure(false)
      reinitializeSymbolhandler()
      err=getAddress("kernel32.dll")==0
   if err==true then
      setProperty(font , "Color", red1)
      control_setCaption(MainGUI[9], "Attached to PID: " .. "Flash player plugin not found")
   else
      local PID=getOpenedProcessID()
      setProperty(font, "Color", white)
      control_setCaption(MainGUI[9], "Attached to PID: " .. PID .. " - flash player plugin")
      control_setEnabled(MainGUI[16], true)
      control_setEnabled(MainGUI[17], true)
        control_setEnabled(MainGUI[23], true)
   end
end

----------------------------------------- ENABLE HACKS -----------------------------------------
function enableHacks()
   setProperty(getProperty(MainGUI[9] , "Font"), "Color", white)
   local PID=getOpenedProcessID()
   local check = strings_getString(AttachItems,AttachIndex)
   if check == 'Firefox' or check == 'Internet Explorer' then
      control_setCaption(MainGUI[9], "Attached to PID: " .. PID .. " - flash player plugin")
   elseif check == 'Shadow Fight' then
      control_setCaption(MainGUI[9], "Attached to PID: " .. PID .. " - shadowfight.exe")
   end
   success = 1
    control_setEnabled(MainGUI[16], true)
    control_setEnabled(MainGUI[17], true)
    control_setEnabled(MainGUI[23], true)
end


regards
Back to top
View user's profile Send private message
lolAnonymous
Expert Cheater
Reputation: 1

Joined: 19 Jul 2015
Posts: 154

PostPosted: Sun Nov 08, 2015 11:57 am    Post subject: Reply with quote

Hmmm I'll test it and inbox u


Thanks Smile
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