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 


Game Detects My Trainer

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

Joined: 04 Jul 2015
Posts: 23

PostPosted: Tue Jul 28, 2015 11:24 am    Post subject: Game Detects My Trainer Reply with quote

I can launch the game and everything but once I execute a script from the trainer the game detects it. Any help? Thanks in advance.
Back to top
View user's profile Send private message
Daijobu
Master Cheater
Reputation: 13

Joined: 05 Feb 2013
Posts: 301
Location: the Netherlands

PostPosted: Tue Jul 28, 2015 12:15 pm    Post subject: Reply with quote

Today is "let's post in the LUA forum with a non-LUA related post" day.
_________________
Scripts/tables from scratch. Relation to other scripts is coincidental. Use of posted code is credited properly.
Euro Truck Simulator 2 Backwards Compatible Cheat
American Truck Simulator Backwards Compatible Cheat
Back to top
View user's profile Send private message
forested
Newbie cheater
Reputation: 0

Joined: 04 Jul 2015
Posts: 23

PostPosted: Tue Jul 28, 2015 1:24 pm    Post subject: Reply with quote

Daijobu wrote:
Today is "let's post in the LUA forum with a non-LUA related post" day.

Well the trainer is running my LUA script but im wondering what i can add to my script that will bypass the detection of my LUA script
Back to top
View user's profile Send private message
Alamer99
Expert Cheater
Reputation: 1

Joined: 04 Jan 2015
Posts: 136

PostPosted: Tue Jul 28, 2015 2:05 pm    Post subject: Reply with quote

The Game might be using some anti-cheating checks, use stealthedit plugin for example but since you said LUA Script then i really dont know (give more info if you can)

can you open CE and use it on the game anyway? (change your health/money or whatever you want to change)
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Jul 28, 2015 4:32 pm    Post subject: Reply with quote

You sure it's detecting your script and not simply crashing because you screwed up the code?
Back to top
View user's profile Send private message
Daijobu
Master Cheater
Reputation: 13

Joined: 05 Feb 2013
Posts: 301
Location: the Netherlands

PostPosted: Tue Jul 28, 2015 5:02 pm    Post subject: Reply with quote

forested wrote:
Daijobu wrote:
Today is "let's post in the LUA forum with a non-LUA related post" day.

Well the trainer is running my LUA script but im wondering what i can add to my script that will bypass the detection of my LUA script


Excuse my sarcasm in that case!

_________________
Scripts/tables from scratch. Relation to other scripts is coincidental. Use of posted code is credited properly.
Euro Truck Simulator 2 Backwards Compatible Cheat
American Truck Simulator Backwards Compatible Cheat
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Jul 28, 2015 5:12 pm    Post subject: Reply with quote

Does the game freak out if you attach CE's debugger?
_________________
Back to top
View user's profile Send private message
forested
Newbie cheater
Reputation: 0

Joined: 04 Jul 2015
Posts: 23

PostPosted: Tue Jul 28, 2015 6:54 pm    Post subject: Reply with quote

Alamer99 wrote:
The Game might be using some anti-cheating checks, use stealthedit plugin for example but since you said LUA Script then i really dont know (give more info if you can)

can you open CE and use it on the game anyway? (change your health/money or whatever you want to change)


The game has an anti-exploit and will usually detect Cheat Engine.

I use an inefficient bypass by messing with some of the settings in
Cheat Engine which will occasionally bypass the anti-exploit.

my bypass allows me to use my lua script which I created a form
for so I could compile it into a trainer. (Note: this script is functional
and operates correctly)

But I want to protect the source (the script) by compiling it to an trainer
so thats what I did. And I did it correctly. But when I turn it into a trainer
and try running it on my game. Its detected.

Here is the base script;
Code:
aalist=getAutoAttachList()
stringlist_add(aalist,"RobloxPlayerBeta.exe");
form_show(UDF1)

function CEButton10Click(sender)
dbvm_initialize(true)
end

function scanAob(array)
   result = nil
   scan = createMemScan(true)

   memscan_returnOnlyOneResult(scan, true)
   memscan_firstScan(scan, soExactValue, vtByteArray, rtTruncated, array, nil, 0x01000000, 0x20000000, "*W", fsmNotAligned, nil, true, false, false, false)
   memscan_waitTillDone(scan)

   result = memscan_getOnlyResult(scan)
   result = string.format("%x", result)
   result = ("0"):rep(8-#result) .. result
end

function CEButton8Click(sender)
end

function godOn(sender)
   debugProcess(3);
        autoAssemble([[

             GlobalAlloc(modecheck,7048)

             registerSymbol(health)
             registerSymbol(cave)

             label(original)
             label(health)
             label(start)
             label(cave)

             "RobloxPlayerBeta.exe"+2C4F88:
             health:

             modecheck:

             original:
             cave:
             db FF FF FF FF FF FF FF FF FF FF FF FF FF FF

             jmp start

             "msvcrt.dll"+26C09:
             jmp modecheck

             start:

         ]]);

         debugger_onBreakpoint=function()
             if EIP==getAddress'health'then
                 hasChangedARegister=true;
                 EAX=getAddress'cave';
                 changedEAX=true;
             end;
             debug_continueFromBreakpoint(co_run);
             return 1;
         end;

   debug_setBreakpoint(getAddress'health');
end

function godOff(sender)
   debug_removeBreakpoint(getAddress'health');
end

Structure = [[

      Created by Insanity and Mortalkombatman2 on V3rmillion.net
]]

--WallhackState = false
--WireState = false

--function Hook() -- PATCHED
--   createD3DHook()
--    d3dhook_initializeHook()
--end

--function WallhackClick(sender) -- PATCHED
--   if WallhackState == true then
--      WallhackState = false
--      d3dhook_setDisabledZBuffer(false)
--   elseif WallhackState == false then
--      WallhackState = true
--      d3dhook_setDisabledZBuffer(true)
--   end
--end

--function FramehackClick(sender) -- PATCHED
--   if WireState == true then
--      WireState = false
--      d3dhook_setWireframeMode(false)
--   elseif WireState == false then
--      WireState = true
--      d3dhook_setWireframeMode(true)
--   end
--end

function StructureClick(sender)
   showMessage(Structure)
end

function wsOn(sender)
   debugProcess(3);
         debugger_onBreakpoint=function()
             if EIP==getAddress'006B4D7A'then
                 hasChangedARegister=true;
                 ECX=getAddress'42C80000';
                 changedEAX=true;
             end;
             debug_continueFromBreakpoint(co_run);
             return 1;
         end;

   debug_setBreakpoint(getAddress'006B4D7A');
end

function wsOff(sender)
   debug_removeBreakpoint(getAddress'006B4D7A');
end

function flyOn(sender)
   scanAob("00 00 00 00 01 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 22")
end

function flyOff(sender)
   showMessage'not fixed yet :('
end

function setFlyOn()
   for i = 1,2 do
      writeBytes(result, 00, 00, 01)
      sleep(10)
      writeBytes(result, 00, 00, 00)
   end
end

createHotkey(setFlyOn, VK_SPACE)[quote][/quote]
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