| View previous topic :: View next topic |
| Author |
Message |
ProB1 Advanced Cheater
Reputation: 0
Joined: 20 Jul 2019 Posts: 77 Location: At Home
|
Posted: Sun May 03, 2020 4:58 am Post subject: How Can i Combine 2 Codes |
|
|
local in = UDF1.CEMemo1
local out = UDF1.CEMemo2
local e = in.lines.text:gsub(".", function(bb) return "\\" .. bb:byte() end) or in.lines.text .. "\""
local o = encodeFunction(loadstring(in.lines.text))
--------------------------------------------------------
output.Lines.Text = "decodeFunction('"..e.."'); ()"
-----------------------------------------------------------
it obfuscates UDF1.CEMemo1.lines.text ( but this Num Obf )
e obfuscates that only
i want obfuscate to of them and results at UDF1.CEMemo2.lines.text
_________________
Hitler Hey im Back
Discord: ProB1#0100 |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sun May 03, 2020 6:35 am Post subject: |
|
|
Not really understand what is the matter, but:
first, check again your script:
| Code: | ..
local out = UDF1.CEMemo2
..
--------------------------------------------------------
output.Lines.Text = "decodeFunction('"..e.."'); ()"
----------------------------------------------------------- |
Questions:
1. From where this 'output' variable name comes?
2. When 'e' has encoded?
I tried with my own:
| Code: | -- without form:
txt = [[
Hello worlds
this is cheat engine
]]
local e = txt:gsub(".", function(bb) return "\\" .. bb:byte() end) or txt .. "\""
print(e)
local o = encodeFunction(loadstring(e))
print(o)
output = "decodeFunction('"..o.."'); ()"
print(output)
---- with form
input = UDF1.CEMemo1
out = UDF1.CEMemo2
input.clear()
out.clear()
function test()
input.lines.text = txt
local e = input.lines.text:gsub(".", function(bb) return "\\" .. bb:byte() end) or input.lines.text .. "\""
local o = encodeFunction(loadstring(e))
out.lines.text = "decodeFunction('"..o.."'); ()"
end
UDF1.Show()
UDF1.CEButton1.onClick = test
|
My own doesn't have any problems.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
ProB1 Advanced Cheater
Reputation: 0
Joined: 20 Jul 2019 Posts: 77 Location: At Home
|
Posted: Sun May 03, 2020 10:01 am Post subject: |
|
|
bro i say i want combine two codes
they working already
i cant combine two of them
_________________
Hitler Hey im Back
Discord: ProB1#0100 |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sun May 03, 2020 11:55 am Post subject: |
|
|
I didn't see two codes from your original script.
Sorry then, I do not understand what you want
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1549
|
Posted: Sun May 03, 2020 12:51 pm Post subject: |
|
|
| Code: | if f then f.Destroy() f=nil end
local f = createForm()
f.Position = poDesktopCenter
f.Width = 280
f.Height = 130
local m1=createMemo(f)
m1.Height=80 m1.Left=10 m1.Top=10 m1.Width=80 m1.Lines.Text="I'm the 1. code!"
m1.WordWrap=false m1.ScrollBars="ssAutoBoth"
local m2=createMemo(f)
m2.Height=80 m2.Left=100 m2.Top=10 m2.Width=80 m2.Lines.Text="I'm the 2. code!"
m2.WordWrap=false m2.ScrollBars="ssAutoBoth"
local m3=createMemo(f)
m3.Height=80 m3.Left=190 m3.Top=10 m3.Width=80
m3.WordWrap=false m3.ScrollBars="ssAutoBoth"
local b1=createButton(f)
b1.Left=110 b1.Top=100 b1.Width=60 b1.caption="Move"
b1.OnClick=function()
m3.Lines.Add(m1.Lines.Text)
m3.Lines.Add(m2.Lines.Text) end |
_________________
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1549
|
Posted: Sun May 03, 2020 6:54 pm Post subject: |
|
|
| Corroder wrote: | @Aylin, do you sure and really understand what he want?.
I fell I must learn again for whole rest of my life  |
I added the last word intentionally to the quote. Nice word.
As for the problem; I may not have understood what you want.
He wanted to combine the codes, I guessed.
memo1 + memo2 = memo3
_________________
|
|
| Back to top |
|
 |
|