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 


CheckBox
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Fluffer_Nutter
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2015
Posts: 67

PostPosted: Wed Jan 06, 2016 6:51 pm    Post subject: Reply with quote

Zanzer wrote:

Now it sounds like there's no memory record with an ID of 11.


I think your right. I just removed the AA script from ID 11. I can check the box and nothing happens. But when I un-check it i get the same error he does.
Back to top
View user's profile Send private message
milosmml7777
Cheater
Reputation: 0

Joined: 31 Dec 2015
Posts: 39
Location: The Abyss

PostPosted: Wed Jan 06, 2016 6:57 pm    Post subject: Reply with quote

The CT file and a picture of the Checkbox that is giving me the error.

GGXXACPR_Win.CT has been deleted ( cheaters that are reading this, other cheaters have helped me)
(im working on the trainer, and i am the one who deleted GGXXACPR_Win.CT)



Screenshot_6.png
 Description:
 Filesize:  68.39 KB
 Viewed:  6918 Time(s)

Screenshot_6.png




Last edited by milosmml7777 on Wed Jan 06, 2016 7:32 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Jan 06, 2016 7:04 pm    Post subject: Reply with quote

Yep. No memory record with an ID of 11.
Select the memory record you want, press Ctrl-C to copy it.
Open NotePad and press Ctrl-V to paste it.
The <ID>#</ID> is listed there.
Back to top
View user's profile Send private message
milosmml7777
Cheater
Reputation: 0

Joined: 31 Dec 2015
Posts: 39
Location: The Abyss

PostPosted: Wed Jan 06, 2016 7:12 pm    Post subject: Reply with quote

sorry for me being dumb, i tought the ID was 11 because its the 11th one i have created...(found)
works now btw.
THANKS!!!! Very Happy
Back to top
View user's profile Send private message
Fluffer_Nutter
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2015
Posts: 67

PostPosted: Wed Jan 06, 2016 7:17 pm    Post subject: Reply with quote

@Zanzer
That is 2 things i learned from you today lol Thanks man.

@milosmml7777
You can also do it by Description. Would look like this.
Code:

function CECheckbox2Click(sender)
addresslist=getAddressList()
 if (checkbox_getState(CETrainer.CECheckbox2) == 1) then
    CheatEntry=addresslist.getMemoryRecordByDescription("PLAYER 1")
    memoryrecord_freeze(CheatEntry)
  else
    CheatEntry=addresslist.getMemoryRecordByDescription("PLAYER 1")
    memoryrecord_unfreeze(CheatEntry)
  end
end
Back to top
View user's profile Send private message
milosmml7777
Cheater
Reputation: 0

Joined: 31 Dec 2015
Posts: 39
Location: The Abyss

PostPosted: Wed Jan 06, 2016 7:24 pm    Post subject: Reply with quote

@Zanzer
i have learned 3 things today from dis guy... thanks man.

@Fluffer_Nutter
learned 2 things is that your code does not work i have tested it on GGXXACPR, and i had cheat engine open , and what it did is:
closed the header "Player 1" lol
AND
i learned to do it by destripction. (replaced "PLAYER 1" with S RAGE)
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

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

PostPosted: Wed Jan 06, 2016 7:38 pm    Post subject: Reply with quote

@milosmml7777

For such errors (Error:Invalid class object) I recommend my simple Lua debugger. It shows the last line executed:
http://forum.cheatengine.org/viewtopic.php?t=566876

Post with updated "SimpleLuaDebugger"
http://forum.cheatengine.org/viewtopic.php?p=5490226#5490226

Download link:
http://forum.cheatengine.org/download.php?id=102944

Add it to autorun folder.




Now, when you open Lua Script window, you will see new button, called "Find faulty line".
Click it, then click "execute script".


Script to try:
Code:
print("1")
memoryrecord_freeze(nil)
print("2")
memoryrecord_unfreeze(nil)
print("3")

(should show "last line executed: 4")

_________________
Back to top
View user's profile Send private message MSN Messenger
milosmml7777
Cheater
Reputation: 0

Joined: 31 Dec 2015
Posts: 39
Location: The Abyss

PostPosted: Wed Jan 06, 2016 7:45 pm    Post subject: Reply with quote

@mgr.inz.Player thank you for recommending your simple lua debuger.
and do you have something like anti-anti debugger, this game has anti-debugger and it was really hard to find health, it would crash every time when i attach the debugger to it.


Last edited by milosmml7777 on Wed Jan 06, 2016 7:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

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

PostPosted: Wed Jan 06, 2016 7:48 pm    Post subject: Reply with quote

Did you try all debuggers available?

In CE, there are: "windows debugger" (default), "VEH debugger" and "kernelmode debugger".

For example, in some Win10 builds, sometimes you have to use "page exceptions" breakpoint method and VEH debugger.

_________________
Back to top
View user's profile Send private message MSN Messenger
milosmml7777
Cheater
Reputation: 0

Joined: 31 Dec 2015
Posts: 39
Location: The Abyss

PostPosted: Wed Jan 06, 2016 8:48 pm    Post subject: Reply with quote

i used VEH debugger, previous time when i tried to use it it did not let me use it, but i used it now and the game was buggy as hell, but i found it again but this time not like this -----> 3839501
but like this -----> 460
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
Goto page Previous  1, 2
Page 2 of 2

 
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