View previous topic :: View next topic |
Author |
Message |
chem0ne Cheater Reputation: 0
Joined: 19 Nov 2014 Posts: 33 Location: germany
|
Posted: Tue May 16, 2017 11:16 pm Post subject: » Trainer without Tables? (memoryrecord_(un)freeze) |
|
|
Trainer without Tables:
so, it's possible or i'll need tables for a standalone trainers?
or in other words, is there any other method to (un)freeze through lua code instead of memoryrecord_(un)freeze?
OR only with timers?
regards
chem
_________________
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Wed May 17, 2017 5:35 am Post subject: |
|
|
First memoryrecord_ is the older method before DB made it a little more OOP so you can do memoryrecord.Active = True (if it's a script it'll run it, otherwise if it's a value it'll freeze it).
Second, you can do the same thing with a CETRAINER as a table since the trainer includes the address list, it's just not "editable" like a table is.
If you're wanting to do it without CE (C++, C#, etc) then you'll have to implement the parts that CE is doing for you, like constantly setting the value (eg. some kind of timer).
|
|
Back to top |
|
|
chem0ne Cheater Reputation: 0
Joined: 19 Nov 2014 Posts: 33 Location: germany
|
Posted: Wed May 17, 2017 6:32 am Post subject: |
|
|
ok, good so far. new changes, new features etc.
fine but sadly there is nowhere any reference for the new lua changes, form designer changes in ce etc.
isee, there is still no way to freeze values via lua without a real-time timer which checks every stuff.
i wish to see in future another function of readinteger(address,value,setfreeze_param).
regards
chem
_________________
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Wed May 17, 2017 6:39 am Post subject: |
|
|
The new information is in the main.lua file but no I don't think there's really any list of the actual changes/new features anywhere. Generally if you used to do x_y(x_object, ...) you can now do x_object.y(...).
chemOne wrote: | isee, there is still no way to freeze values via lua without a real-time timer which checks every stuff. | There are two ways (that I know of) to freeze values, the basic way CE provides is to use a timer to constantly write a value, the other is to write a script that changes the code that writes to that value so that it doesn't write to it anymore, effectively freezing it. Obviously the second method is more difficult since you much find, understand, and then change the all of the code that is writing it (if there are 20 different instructions that change it then you'd have to change all 20 to truly freeze it). There is a third related to these two where you simply hook an instruction that runs a lot (like some display code that's constantly reading health to show on the screen) and write to it there instead of an actual "timer"...
|
|
Back to top |
|
|
jededias !BEWARE! Deletes post on answer Reputation: 0
Joined: 15 Apr 2017 Posts: 17
|
Posted: Wed May 17, 2017 1:03 pm Post subject: Chemony |
|
|
chemony can add me in skype?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Wed May 17, 2017 2:42 pm Post subject: |
|
|
use lua to create a memory record and set that to active and set the value.
_________________
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 |
|
|
|