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 


NEED HELP URGENT !!!!!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 9:47 am    Post subject: NEED HELP URGENT !!!!! Reply with quote

Hello everyone i need a urgent help right now i am tryin to complete my trainer everyone is waiting for it ... hopefully i have completed all the hack scripts and saved them by making a CT ...

now where i am stuck is i want to customize my trainer .. i want to add some buttons .. i knw i need a script for that and that is the problem i am new to making trainer its only a week or i think 13 -14 days .. please it wuld be so very nice if anyone help me by giving what to write as script and where ? i have no idea i can make basic trainers though but i i want to make a good looking trainer thats the reason i want to add buttons !!!

also please help me with this things form_show() where to write this code and how i mean is there any syntax of it like function before it and end after it ?

please help me !!!! Rolling Eyes
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 9:59 am    Post subject: Reply with quote

Code:
f = createForm(false)

function VisibleOrNot()
 if control_getVisible(f)==false then
  form_show(f)
 --control_setVisible(f, true) --Alternative
  else
   form_hide(f)
   --control_setVisible(f, false) --Alternative
  end
end

t=createTimer(nil)
timer_onTimer(t, VisibleOrNot)
timer_setInterval(t,1000)
timer_setEnabled(t, true)

LUA > Execute

P.S its me your mate from skype Wink.
The above is an example of the form_show
Back to top
View user's profile Send private message Visit poster's website
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 10:00 am    Post subject: Reply with quote

Flash hacker wrote:
Code:
f = createForm(false)

function VisibleOrNot()
 if control_getVisible(f)==false then
  form_show(f)
 --control_setVisible(f, true) --Alternative
  else
   form_hide(f)
   --control_setVisible(f, false) --Alternative
  end
end

t=createTimer(nil)
timer_onTimer(t, VisibleOrNot)
timer_setInterval(t,1000)
timer_setEnabled(t, true)

LUA > Execute

P.S its me your mate from skype Wink.
The above is an example of the form_show





hey Very Happy thnx Smile for giving some time inspite of ur huge project u wrking on

still anyone plz help me the buttons thats bit a problem i am facing from long time
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 10:08 am    Post subject: Reply with quote

Code:
check = 0 -- I love to compare between on/off
script = addresslist_getMemoryRecordByDescription(getAddressList(), "AutoAssembler") -- Change AutoAssembler according to your script description
function Enable()
if check==0 then memoryrecord_freeze(script) else memoryrecord_unfreeze(script)end
end
Back to top
View user's profile Send private message Visit poster's website
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 10:15 am    Post subject: Reply with quote

Flash hacker wrote:
Code:
check = 0 -- I love to compare between on/off
script = addresslist_getMemoryRecordByDescription(getAddressList(), "AutoAssembler") -- Change AutoAssembler according to your script description
function Enable()
if check==0 then memoryrecord_freeze(script) else memoryrecord_unfreeze(script)end
end


love u mate thnx a ton Very Happy vohoo u solved my problem so fast
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 10:23 am    Post subject: Reply with quote

No problem, you can go to skype if you want.
Back to top
View user's profile Send private message Visit poster's website
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 10:30 am    Post subject: Reply with quote

[quote:b1a1676022="Flash hacker"][code:1:b1a1676022]f = createForm(false)

function VisibleOrNot()
if control_getVisible(f)==false then
form_show(f)
--control_setVisible(f, true) --Alternative
else
form_hide(f)
--control_setVisible(f, false) --Alternative
end
end

t=createTimer(nil)
timer_onTimer(t, VisibleOrNot)
timer_setInterval(t,1000)
timer_setEnabled(t, true)[/code:1:b1a1676022]
LUA > Execute

P.S its me your mate from skype Wink.
The above is an example of the form_show[/quote:b1a1676022]


hey its works nice i can now see my form at last but it keeps on coming and going ??? its like poping over my screen it not opening properly ??
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 10:34 am    Post subject: Reply with quote

its because the timer.
write in the bottom of the LUA this:
Code:
form_show(f)  --edit F to your form name
Back to top
View user's profile Send private message Visit poster's website
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Fri Apr 12, 2013 10:35 am    Post subject: Reply with quote

abhijeet1001 wrote:
hey its works nice i can now see my form at last but it keeps on coming and going ??? its like poping over my screen it not opening properly ??

Because this script is doing exactly what you see.
Show form, hide form, show form, hide form, ............


About form_show(nameOfYourForm). Just paste this anywhere you want.
Most probably first line or last line of you code Razz

_________________
Back to top
View user's profile Send private message MSN Messenger
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 10:42 am    Post subject: Reply with quote

mgr.inz.Player wrote:
abhijeet1001 wrote:
hey its works nice i can now see my form at last but it keeps on coming and going ??? its like poping over my screen it not opening properly ??

Because this script is doing exactly what you see.
Show form, hide form, show form, hide form, ............


About form_show(nameOfYourForm). Just paste this anywhere you want.
Most probably first line or last line of you code Razz

Recommended last line if you create it and not design it.
Back to top
View user's profile Send private message Visit poster's website
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 11:01 am    Post subject: Reply with quote

ok after saving my form with show_form(dungeon) at last

i have saved it as dungeon.exe ewn i try to run it ... a lua engine opens up with a pop up of access violation Question
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 11:02 am    Post subject: Reply with quote

press execute and use print(..) to indicate wheres the issue.
And then find where the issue.
Edit:
Like really?!
again?
show_form?
I remember that I repeat 15-20 times in skype that its form_show
Back to top
View user's profile Send private message Visit poster's website
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Fri Apr 12, 2013 11:06 am    Post subject: Reply with quote

thnx guys i got it and its wrking Smile Very Happy thnx alot 4r the help

+rep Smile Very Happy
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