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 


Could someone help me with the script

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

Joined: 19 Sep 2013
Posts: 27

PostPosted: Thu Sep 19, 2013 12:46 pm    Post subject: Could someone help me with the script Reply with quote

Hi, so at the beginning I will say that my English is very bad because I'm Pole;) mmm .. let's get to the point, Lua is encoded by less than 2-days I am very green at this, okay I have this code:

form_show(UDF1) -- pokazanie okna UDF1
setMethodProperty(UDF1,'OnClose',function (sender) closeCE(); return caFree end) --wylaczenie okna udf1 po kliknieciu w krzyzyk
strings_add(getAutoAttachList(), "MineSweeper") --nazwa procesu, w ktory ingerujemy
@edit
function CEButton1Click(sender) --dodajemy kod dla funkcji przycisku CEButton1
local mr = addresslist_getMemoryRecordByDescription­(getAddressList(),'Miny') --pobieramy adres z opisu w tabeli
memoryrecord_setValue(mr, memoryrecord_getValue(mr)+10) --dodajemy do powyzszego adresu wartosc 10
end --konczy funkcje

an error
[string "fomr_show (UDF1) ..."]: 2: ')' expected near '?'


if you can to help me with this code if someone could rewrote it to me so that I can click on the button froze, changed value, increased value, reduced value, but it's very very important to me


Last edited by dadajszen on Fri Sep 20, 2013 8:13 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25830
Location: The netherlands

PostPosted: Thu Sep 19, 2013 1:22 pm    Post subject: Reply with quote

Is this the actual code? Or did you type it over?

line 2: There should be a ) at the end
line 3a: functio-n should be function
line 3b: CLOSEç should be closeCE()
line 7: memoryrecord_getValue (mr) 10 should have some mathematical sign between ) and 10

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dadajszen
Cheater
Reputation: 0

Joined: 19 Sep 2013
Posts: 27

PostPosted: Fri Sep 20, 2013 8:20 am    Post subject: Reply with quote

RF HELP PLEASE
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