|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Thu May 16, 2013 3:58 pm Post subject: |
|
|
its the description ones =).
I've put it before for the script version.
If user wants to disable that behavior, he could input nil that sets the description of "No available description"
if user forgot to input (Added it because the trainer) which equal to '' it will display "No available description" too.
in the trainer theres Description Memo box, if user skips it, then its equals to ''.
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 17, 2013 3:32 am Post subject: |
|
|
Yes,
( A~='' or A~=nil ) is always true.
Code: |
A | A~='' | A~=nil | (A~='' or A~=nil)
------------------------------------------------------
'' | false | true | true
nil | true | false | true
'something' | true | true | true |
Finally, this if is useless.
There should be AND
Code: | A | A~='' | A~=nil | (A~='' and A~=nil)
------------------------------------------------------
'' | false | true | false
nil | true | false | false
'something' | true | true | true |
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 17, 2013 5:47 am Post subject: |
|
|
Oh I see now!
Its not vaild because its always true.
Updating!
And you guys made me fix a big bug if user deletes entry =P.
I was using this script to check if next table entry is nil or not, without getting count.
(Ignore the way it looks, pretty noobish, got little bit tired here =P.)
Code: | NilCheck = 0
Ti = 0
AnotherTempTeb = {}
repeat
if HackTable[Ti+1]==nil then
if HackTable[Ti][5]=="yes" then
AnotherTempTeb[Ti] = "{'"..HackTable[Ti][1].."',[["..HackTable[Ti][2].."]],[["..HackTable[Ti][3].."]],[["..HackTable[Ti][4].."]], '"..HackTable[Ti][5].."',[["..HackTable[Ti][6].."]],[["..HackTable[Ti][7].."]]}"
memo_append(gc[4], "--Entry "..Ti..":")
memo_append(gc[4], AnotherTempTeb[Ti])
else
AnotherTempTeb[Ti] = "{'"..HackTable[Ti][1].."',[["..HackTable[Ti][2].."]],[["..HackTable[Ti][3].."]],[["..HackTable[Ti][4].."]], '"..HackTable[Ti][5].."'}"
memo_append(gc[4], "--Entry "..Ti..":")
memo_append(gc[4], AnotherTempTeb[Ti])
end
NilCheck = 1
else
if HackTable[Ti]==nil then
else
if HackTable[Ti][5]=="yes" then
AnotherTempTeb[Ti] = "{'"..HackTable[Ti][1].."',[["..HackTable[Ti][2].."]],[["..HackTable[Ti][3].."]],[["..HackTable[Ti][4].."]], '"..HackTable[Ti][5].."',[["..HackTable[Ti][6].."]],[["..HackTable[Ti][7].."]]},\n"
memo_append(gc[4], "--Entry "..Ti..":")
memo_append(gc[4], AnotherTempTeb[Ti])
memo_append(gc[4], "")
else
AnotherTempTeb[Ti] = "{'"..HackTable[Ti][1].."',[["..HackTable[Ti][2].."]],[["..HackTable[Ti][3].."]],[["..HackTable[Ti][4].."]], '"..HackTable[Ti][5].."'},"
memo_append(gc[4], "--Entry "..Ti..":")
memo_append(gc[4], AnotherTempTeb[Ti])
memo_append(gc[4], "")
Ti = Ti+1
end
end
NilCheck = 0
end
until NilCheck == 1 |
But decided to to use pairs (which i don't like xD for some reason).
And now its.
Code: | AnotherTempTeb = {}
In = 0
for y in pairs( HackTable ) do
In = In+1
end
In = In-1
for x=0,In do
if HackTable[x][7]==nil then HackTable[x][7]='' end --Dunno whats wrong but getting the caption from CEMemo5 returns a nil, this will solve it.
if x==In then
if HackTable[x]==nil then
else
if HackTable[x][5]=="yes" then
AnotherTempTeb[x] = "{'"..HackTable[x][1].."',[["..HackTable[x][2].."]],[["..HackTable[x][3].."]],[["..HackTable[x][4].."]], '"..HackTable[x][5].."',[["..HackTable[x][6].."]],[["..HackTable[x][7].."]]}"
memo_append(gc[4], "--Entry "..x..":")
memo_append(gc[4], AnotherTempTeb[x])
else
AnotherTempTeb[x] = "{'"..HackTable[x][1].."',[["..HackTable[x][2].."]],[["..HackTable[x][3].."]],[["..HackTable[x][4].."]], '"..HackTable[x][5].."'}"
memo_append(gc[4], "--Entry "..x..":")
memo_append(gc[4], AnotherTempTeb[x])
end
end
else
if HackTable[x]==nil then
else
if HackTable[x][5]=="yes" then
AnotherTempTeb[x] = "{'"..HackTable[x][1].."',[["..HackTable[x][2].."]],[["..HackTable[x][3].."]],[["..HackTable[x][4].."]], '"..HackTable[x][5].."',[["..HackTable[x][6].."]],[["..HackTable[x][7].."]]},\n"
memo_append(gc[4], "--Entry "..x..":")
memo_append(gc[4], AnotherTempTeb[x])
memo_append(gc[4], "")
else
AnotherTempTeb[x] = "{'"..HackTable[x][1].."',[["..HackTable[x][2].."]],[["..HackTable[x][3].."]],[["..HackTable[x][4].."]], '"..HackTable[x][5].."'},"
memo_append(gc[4], "--Entry "..x..":")
memo_append(gc[4], AnotherTempTeb[x])
memo_append(gc[4], "")
end
end
end
end |
Also the trainer in the first post is updated.
_________________
|
|
Back to top |
|
|
chiyoko10 Cheater Reputation: 0
Joined: 30 Mar 2013 Posts: 35 Location: Philippines
|
Posted: Fri May 17, 2013 7:17 am Post subject: |
|
|
How to make something like shellexecute(website) that i will make it invisible and not shown in the desktop??
_________________
Hi ! |
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 17, 2013 7:31 am Post subject: |
|
|
what you mean shellExecute(website) and make invisible and not shown in desktop?
shellExecute opens the url in the default web page, you don't have control on the browser.
_________________
|
|
Back to top |
|
|
chiyoko10 Cheater Reputation: 0
Joined: 30 Mar 2013 Posts: 35 Location: Philippines
|
Posted: Fri May 17, 2013 7:33 am Post subject: |
|
|
I mean like it opens the website invisibly and do not get noticed by the players who are using my trainer
_________________
Hi ! |
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 17, 2013 7:36 am Post subject: |
|
|
You can't open their browser without them to be noticed.
If Im right? Am I?
Maybe it is possible but I don't know it (Although Im pretty sure you can't do it using only C.E)
_________________
|
|
Back to top |
|
|
chiyoko10 Cheater Reputation: 0
Joined: 30 Mar 2013 Posts: 35 Location: Philippines
|
Posted: Fri May 17, 2013 7:42 am Post subject: |
|
|
Or this option like ur ad trainer in farmville 2 that every 5 seconds it will automatically open to flashacking .
_________________
Hi ! |
|
Back to top |
|
|
abhijeet1001 Advanced Cheater Reputation: 0
Joined: 10 Apr 2013 Posts: 87
|
Posted: Fri May 17, 2013 7:44 am Post subject: |
|
|
Flash hacker wrote: | You can't open their browser without them to be noticed.
If Im right? Am I?
Maybe it is possible but I don't know it (Although Im pretty sure you can't do it using only C.E) |
lol
|
|
Back to top |
|
|
chiyoko10 Cheater Reputation: 0
Joined: 30 Mar 2013 Posts: 35 Location: Philippines
|
Posted: Fri May 17, 2013 7:48 am Post subject: |
|
|
xD somewhat like dat
_________________
Hi ! |
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 17, 2013 7:57 am Post subject: |
|
|
You can try using supportCheatEngine()? (Check main.lua).
P.S
Updated First post picture for better example.
chiyoko10 wrote: | Or this option like ur ad trainer in farmville 2 that every 5 seconds it will automatically open to flashacking . |
That was removed, no point getting hits .
Since all who use it, already registered =).
Edit:
If anyone has suggestion, If they don't require too much (like disabling part required.. messed up most of the script..and from it I got really confused, because I had to store original stuff).
Don't be shy to request it.
I will add it =).
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 17, 2013 3:49 pm Post subject: |
|
|
Maybe I will analyze whole code.
Unfortunately those indentions (or rather lack of them) give me headache
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 17, 2013 3:52 pm Post subject: |
|
|
Haha no need to analyze it,
Its now good =).
Decided to take the time and to write it properly (I got some nil errors at first, so I decided to go after the easy way).
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 17, 2013 4:06 pm Post subject: |
|
|
"Maybe I will analyze whole code." - a little practice for my mind; to be in shape.
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
|
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
|
|