View previous topic :: View next topic |
Author |
Message |
squerol Advanced Cheater Reputation: 2
Joined: 06 Jul 2015 Posts: 65 Location: Poland
|
Posted: Mon Aug 15, 2016 1:01 pm Post subject: [Q]Freeze values from adress list when .ct table is launched |
|
|
Hey guys, I have a question...
Is there a script to freeze some value from adress list when I launch my table?
Right now I've made something like that, it works as I wanted :
Code: |
<LuaScript>
OpenProcess("Gothic3.exe")
speedhack_setSpeed(1.5)
getAddressList().getMemoryRecordByDescription("Stamina").Value=0
getAddressList().getMemoryRecordByDescription("Stamina_alt").Value=0
</LuaScript>
|
Right now, when I start table, it automatically picks correct process, speedhacks my game and then sets value of some two adresses to 0.
I want to have those two values (stamina, stamina_alt) freezed automatically too, but I can't find a script to freeze value anywhere on internet or this forum.
Thanks
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Aug 15, 2016 1:37 pm Post subject: Re: [Q]Freeze values from adress list when .ct table is laun |
|
|
It is in main.lua:
Code: | Active: boolean - Set to true to activate/freeze, false to deactivate/unfreeze |
Code: | OpenProcess("Gothic3.exe")
speedhack_setSpeed(1.5)
mr1 = getAddressList().getMemoryRecordByDescription("Stamina")
mr2 = getAddressList().getMemoryRecordByDescription("Stamina_alt")
mr1.Active = true
mr2.Active = true
mr1.Value = 0
mr2.Value = 0 |
_________________
|
|
Back to top |
|
|
squerol Advanced Cheater Reputation: 2
Joined: 06 Jul 2015 Posts: 65 Location: Poland
|
Posted: Mon Aug 15, 2016 2:25 pm Post subject: |
|
|
Thank You very much for quick help, mgr.inz.Player, it works
Thanks for source too
Dzięki (po nicku wnioskuję, żeś rodak )
|
|
Back to top |
|
|
|