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 


Why dont it work.? Need help,,,

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
F34Ek
How do I cheat?
Reputation: 0

Joined: 01 May 2013
Posts: 6

PostPosted: Fri May 03, 2013 1:15 pm    Post subject: Why dont it work.? Need help,,, Reply with quote

Hi, ive found a code from someone question, but i want to change the address of it to a pointer address, i tried '[[xxxxxxx]+xxx]+xx', but it didnt work.
The value of the pointer address didnt change.

Code:
function writeif(sender)
if readInteger("00ecf2c0")==5 then
writeInteger("[[00ec8005]+8f4]+50", 1250000000)
  end
end

t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) --check every 100 milliseconds


Whats wrong with it? Thx for asnwer><'(sry for bad eng)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri May 03, 2013 1:39 pm    Post subject: Reply with quote

Does address 00ecf2c0 contain the integer value 5 ?
If not, that's why.
Either change that readInteger address, or write the value 5 there

_________________
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
F34Ek
How do I cheat?
Reputation: 0

Joined: 01 May 2013
Posts: 6

PostPosted: Sat May 04, 2013 3:30 am    Post subject: Reply with quote

Dark Byte wrote:
Does address 00ecf2c0 contain the integer value 5 ?
If not, that's why.
Either change that readInteger address, or write the value 5 there


Thx for responese, but seems thats not the problem... the address does containes the correct value,,, but the ponirter address didnt change...


screenshot here
Code:
http://imgur.c om/3CtfupR.png
i cant post url yet....
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sat May 04, 2013 4:11 am    Post subject: Reply with quote

pointers go from bottom to top so try [[00ec8005]+50]+8f4
_________________
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
F34Ek
How do I cheat?
Reputation: 0

Joined: 01 May 2013
Posts: 6

PostPosted: Sat May 04, 2013 4:55 am    Post subject: Reply with quote

Dark Byte wrote:
pointers go from bottom to top so try [[00ec8005]+50]+8f4


Very Happy It worked !! Thanks Very HappyD
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