| View previous topic :: View next topic |
| Author |
Message |
ghmarko Cheater
Reputation: 0
Joined: 31 Jan 2020 Posts: 29 Location: 192.168.0.1
|
Posted: Tue Mar 17, 2020 1:45 pm Post subject: Store Address |
|
|
Hello....
I made this script to store the value from the shared instructions but this function called when doing something, so I need to store the address and not store the value to be updated automatically and use it at any time with an updated value How can this be done in the assembly
Sorry For google translate  |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Tue Mar 17, 2020 3:52 pm Post subject: |
|
|
Change mov with lea
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
ghmarko Cheater
Reputation: 0
Joined: 31 Jan 2020 Posts: 29 Location: 192.168.0.1
|
Posted: Wed Mar 18, 2020 4:51 am Post subject: |
|
|
| DaSpamer wrote: | Change mov with lea
|
Thank you man <3 |
|
| Back to top |
|
 |
ghmarko Cheater
Reputation: 0
Joined: 31 Jan 2020 Posts: 29 Location: 192.168.0.1
|
Posted: Thu Mar 19, 2020 6:37 am Post subject: quest |
|
|
| DaSpamer wrote: | Change mov with lea
|
How to use that address in another location ?? |
|
| Back to top |
|
 |
DanyDollaro Master Cheater
Reputation: 3
Joined: 01 Aug 2019 Posts: 334
|
Posted: Thu Mar 19, 2020 5:02 pm Post subject: Re: quest |
|
|
| ghmarko wrote: | | How to use that address in another location ?? |
If by "location" you mean "script" you can use the registersymbol() function and use the name of the symbol anywhere in CE, to delete the symbol use the unregistersymbol() function. |
|
| Back to top |
|
 |
ghmarko Cheater
Reputation: 0
Joined: 31 Jan 2020 Posts: 29 Location: 192.168.0.1
|
Posted: Fri Mar 20, 2020 6:23 am Post subject: Re: queste |
|
|
| DanyDollaro wrote: | | ghmarko wrote: | | How to use that address in another location ?? |
If by "location" you mean "script" you can use the registersymbol() function and use the name of the symbol anywhere in CE, to delete the symbol use the unregistersymbol() function. |
No i mean in another location in memory how to store tha address so now
[ber] store the address value for example address is 041E1000 so
[ber] = 041E1000 in 4byte value understand me? |
|
| Back to top |
|
 |
DanyDollaro Master Cheater
Reputation: 3
Joined: 01 Aug 2019 Posts: 334
|
Posted: Fri Mar 20, 2020 9:03 am Post subject: |
|
|
| Code: | [ENABLE]
alloc(location, 4)
mov [location], ebx
[DISABLE]
dealloc(location) |
|
|
| Back to top |
|
 |
|