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 


NFS Most Wanted 2012 crashing when using CEButton/Edit box

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Jun 21, 2016 5:43 pm    Post subject: Reply with quote

It could be the code under the button that is actually causing the crash

Perhaps you need to change the type (e.g don't use writeInteger when it's a float)

Perhaps easier is just edit the memory record value using the code under the button

_________________
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
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Jun 21, 2016 7:01 pm    Post subject: Reply with quote

Perhaps the wrong address

as for memoryrecord editing you can do
Code:

getAddressList().getMemoryRecordByDescription('the thing you wish to change').Value=CETrainer.CEEdit1.Text

_________________
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
Enksx1
Newbie cheater
Reputation: 0

Joined: 21 Jun 2016
Posts: 14
Location: United States

PostPosted: Tue Jun 21, 2016 7:06 pm    Post subject: Reply with quote

Thank you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Jun 24, 2016 6:09 am    Post subject: Reply with quote

get rid of writefloat
_________________
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
Enksx1
Newbie cheater
Reputation: 0

Joined: 21 Jun 2016
Posts: 14
Location: United States

PostPosted: Fri Jun 24, 2016 6:33 am    Post subject: Reply with quote

Code:
 -- Boost Edit box and button START --
function CEButton1Click(sender)
("NFS13.exe+00CEDB00", getProperty(CETrainer_CEEdit1,"Text"))
getAddressList().getMemoryRecordByDescription('Boost').Value=CETrainer.CEEdit1.text
end
-- Boost Edit box and button END --


-- General Functions --
form_show(CETrainer)
strings_add(getAutoAttachList(), "NFS13.exe+00CEDB00)
-- General Function --


end


I typed this. Now it wont execute.
Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Sun Jun 26, 2016 6:36 pm    Post subject: Reply with quote

Venomxone wrote:
Code:
 -- Boost Edit box and button START --
function CEButton1Click(sender)
("NFS13.exe+00CEDB00", getProperty(CETrainer_CEEdit1,"Text"))
getAddressList().getMemoryRecordByDescription('Boost').Value=CETrainer.CEEdit1.text
end
-- Boost Edit box and button END --


-- General Functions --
form_show(CETrainer)
strings_add(getAutoAttachList(), "NFS13.exe+00CEDB00)
-- General Function --


end


I typed this. Now it wont execute.


You know the Lua syntax, don't you?
When DB asked you to get rid of writeFloat, he meant remove the whole line with the function call, in other words, remove "("NFS13.exe+00CEDB00", getProperty(CETrainer_CEEdit1,"Text"))".

The next line in your code already sets the value, so no need to writeFloat
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 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