|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Stick.Thug How do I cheat? Reputation: 0
Joined: 15 Mar 2015 Posts: 6
|
Posted: Sun Mar 15, 2015 11:26 pm Post subject: Help-Me Scripts |
|
|
I put many scripts of auto assembler in a check box and when I click to activate it , this taking too long, there is a script that enable the checkbox quickly? USE Script " READMEM "
|
|
Back to top |
|
|
Rydian Grandmaster Cheater Supreme Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Mon Mar 16, 2015 3:08 am Post subject: |
|
|
Could you show the scripts?
_________________
|
|
Back to top |
|
|
Stick.Thug How do I cheat? Reputation: 0
Joined: 15 Mar 2015 Posts: 6
|
Posted: Mon Mar 16, 2015 2:05 pm Post subject: |
|
|
Quote: | Could you show the scripts? |
Use these , scrits in a checkbox and when I activate it , it crashes and takes a long time to turn , have some other script that works in a way to quickly activate the checkbox
function CECheckbox1Change(sender)
autoAssemble([[
Aobscan(_aob1, d0 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 20 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 63 05)
Aobscan(_aob2, 66 ?? ?? 66 ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? 14 ?? ?? 00 60 ?? ?? ?? ?? ?? ?? ?? 60 ?? ?? 66 ?? ?? ?? ?? ?? ?? ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? A0 46 ?? ?? 02 4F ?? ?? 01 47)
_aob1:
db d0
_aob1+1:
READMEM(_aob2, 3)
]]
)
autoAssemble([[
Aobscan(_aob1, d0 ?? 66 ?? ?? ?? ?? ?? ?? ?? 11 ?? ?? 00 ?? 20 ?? d1 14 ?? ?? ?? ?? d0 66 ?? ?? ?? 66 ?? ?? 80 ?? ?? 63 ?? ?? ?? ?? ?? ?? ?? ?? ?? 80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? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 63 05)
Aobscan(_aob2, 66 ?? ?? 66 ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? 14 ?? ?? 00 60 ?? ?? ?? ?? ?? ?? ?? 60 ?? ?? 66 ?? ?? ?? ?? ?? ?? ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? A0 46 ?? ?? 02 4F ?? ?? 01 47)
_aob1:
db d0
_aob1+1:
READMEM(_aob2, 3)
]]
)
end
|
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Mon Mar 16, 2015 2:44 pm Post subject: |
|
|
Would you mind formatting your code? It's almost unreadable in this condition ... :/
|
|
Back to top |
|
|
Stick.Thug How do I cheat? Reputation: 0
Joined: 15 Mar 2015 Posts: 6
|
Posted: Mon Mar 16, 2015 3:50 pm Post subject: |
|
|
Quote: | Would you mind formatting your code? It's almost unreadable in this condition ... :/ |
format , in what way?
|
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Mon Mar 16, 2015 4:37 pm Post subject: |
|
|
As code of course
|
|
Back to top |
|
|
panraven Grandmaster Cheater Reputation: 55
Joined: 01 Oct 2008 Posts: 942
|
Posted: Mon Mar 16, 2015 11:29 pm Post subject: |
|
|
This script will combine the different AA script into one, under the assumption that it has a common aob pattern aob2, and the modification (readmem) is exactly the same.
Code: | local COMBINED = {
'66 ?? ?? 66 ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? 14 ?? ?? 00 60 ?? ?? ?? ?? ?? ?? ?? 60 ?? ?? 66 ?? ?? ?? ?? ?? ?? ?? ?? D2 60 ?? ?? 66 ?? ?? 66 ?? ?? A0 46 ?? ?? 02 4F ?? ?? 01 47', -- common pattern aob2
{
'd0 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 20 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 63 05', -- different aob1 patterns
'd0 ?? 66 ?? ?? ?? ?? ?? ?? ?? 11 ?? ?? 00 ?? 20 ?? d1 14 ?? ?? ?? ?? d0 66 ?? ?? ?? 66 ?? ?? 80 ?? ?? 63 ?? ?? ?? ?? ?? ?? ?? ?? ?? 80 ?? ?? 63 05',
-- etc.
'd0 ?? 66 ?? ?? ?? ?? ?? ?? 11 ?? ?? ?? ?? 20 d1 ?? 14 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 80 ?? ?? 63 05'
}
}
function makeCombinedScript(cb)
local line = {}
function add(s,...) table.insert(line,string.format(s,...)) end
local aob2 = cb[1]
local aob1 = cb[2]
local common = 'readmem(_aob2,3)'
add('aobscan(_aob2,%s)',aob2)
for i=1,#aob1 do
add('aobscan(_aob1_%03d,%s)',i,aob1[i])
add('_aob1_%03d:',i)
add(common)
end
return table.concat(line,"\n")
end
function CECheckbox1Change(sender)
local r = autoAssemble(makeCombinedScript(COMBINED))
if r== true then print("Success") else print("Fail") end -- for debug
end |
Some Explanations, hope you can understand:
1. When combined, if one of the label (ie. aob1_001, aob1_002...etc.) cannot be resolve, the whole script will not be activated. Make sure each original individual script work on its own;
2. reason of slow scanning, there is many script, each script will scan the whole memory till 1 result is found, and the common aob2 also add more slow down.
3. <NVM>ok, after pasting the code in preview, I can see that you have the 1st 3 scripts exactly the same?</NVM> ...hmm... May be you should check each script work on its own and has the expected result, and make sure no script is duplicated... gl~
|
|
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
|
|