| View previous topic :: View next topic |
| Author |
Message |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Wed Feb 17, 2021 4:14 am Post subject: Changing Values With Script |
|
|
| Hi! I found a string value and i have to change this value from text| to text|`2 with script, so how can i change this value with script ?
|
|
| Back to top |
|
 |
MMM-304 Expert Cheater
Reputation: 0
Joined: 17 Aug 2020 Posts: 170 Location: Milkey Way
|
Posted: Wed Feb 17, 2021 11:01 am Post subject: |
|
|
for proper string handling in asm
| Code: |
push esi
push eax
lea esi,[string]
lodsb
mov [addressWhereYouWannaWrite],eax
pop eax
pop esi
string:
db '45' //;A String number ASCII-8 (use dw for Unicode and lodsw in main code)
|
and u can always use this as well:
mov [addressWhereYouWannaWrite],'45'
|
|
| Back to top |
|
 |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Thu Feb 18, 2021 12:08 pm Post subject: |
|
|
i try this script:
[ENABLE]
"Growtopia.exe"+56B596:
mov ["Growtopia.exe"+56B596],'text|`2'
[DISABLE]
but my value is changed to �����textConsoleInputBGDelete
|
|
| Back to top |
|
 |
MMM-304 Expert Cheater
Reputation: 0
Joined: 17 Aug 2020 Posts: 170 Location: Milkey Way
|
Posted: Thu Feb 18, 2021 9:44 pm Post subject: |
|
|
| is string ASCII or unicode?
|
|
| Back to top |
|
 |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Sat Feb 20, 2021 3:42 am Post subject: |
|
|
| MMM-304 wrote: | | is string ASCII or unicode? |
its ASCII
|
|
| Back to top |
|
 |
MMM-304 Expert Cheater
Reputation: 0
Joined: 17 Aug 2020 Posts: 170 Location: Milkey Way
|
Posted: Sat Feb 20, 2021 7:18 am Post subject: |
|
|
| did u try the first code?
|
|
| Back to top |
|
 |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Sat Feb 20, 2021 12:03 pm Post subject: |
|
|
| MMM-304 wrote: | | did u try the first code? |
yes i try but it give error
|
|
| Back to top |
|
 |
sbryzl Master Cheater
Reputation: 6
Joined: 25 Jul 2016 Posts: 252
|
Posted: Sat Feb 20, 2021 2:31 pm Post subject: |
|
|
| You would need to put your script here. There's no way to know otherwise.
|
|
| Back to top |
|
 |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Mon Feb 22, 2021 5:54 am Post subject: |
|
|
This is the first script I tried:
| Code: |
[ENABLE]
Growtopia.exe+58BE96:
mov ["Growtopia.exe"+58BE96],'text|`2'
[DISABLE]
|
This is the 2nd script I tried:
| Code: |
[ENABLE]
push esi
push eax
lea esi,[string]
lodsb
mov [Growtopia.exe+58BE96],eax
pop eax
pop esi
string:
db 'text|`2'
[DISABLE]
| [/code]
|
|
| Back to top |
|
 |
MMM-304 Expert Cheater
Reputation: 0
Joined: 17 Aug 2020 Posts: 170 Location: Milkey Way
|
Posted: Mon Feb 22, 2021 7:43 am Post subject: |
|
|
My first script was supposed for writing only one byte of string.
Also, all that code is suppose to be for x32bit process
for writing more than one byte/char of string use
| Code: |
push esi
push edi
push ecx
mov ecx,7 //;number of chars of string
lea esi,[string]
lea edi, [Growtopia.exe+58BE96]
rep movsb
pop ecx
pop edi
pop esi
string:
db 'text|`2'
|
this code is also for x32 process
|
|
| Back to top |
|
 |
Furkan125 Newbie cheater
Reputation: 0
Joined: 18 Jan 2020 Posts: 11 Location: Turkey
|
Posted: Wed Mar 03, 2021 1:10 pm Post subject: |
|
|
| Sorry for my late response, I was busy, I tried the script you gave, it changes the value but it doesn't change the value I want, so it doesn't change the value to text | `2. Thats change to ?eJ2
|
|
| Back to top |
|
 |
|