Jump to content
Sign in to follow this  
Daisy123

Search and edit a big hex number.

Recommended Posts

Hello. I am learning to write lua script for GG. I have a question. If you know please help me.
I want to search a big hex number for example: 02390D000000026FC90801066FAB0701A66B2A22000000402A  and then edit it to 00000000000000000000000000000000000000220000C8422A in memory.
To search I use this :

gg.clearResults()
gg.clearList()

gg.searchNumber('h02390D000000026FC90801066FAB0701A66B2A22000000402A', gg.TYPE_BYTE)

But I dont know how to edit results to 00000000000000000000000000000000000000220000C8422A.
Please help me. Thank you.

 

Share this post


Link to post
Share on other sites

It is not a number. It is text in hex view. So you need search text, not a number.

See examples for searchNumber in API help.

[added 1 minute later]
-- search for HEX '5C E3 0B 4B 90 9B 11 7B'
gg.searchNumber('h 5C E3 0B 4B 90 9B 11 7B')

For edit use editAll

-- edit HEX
gg.searchNumber('h 5C E3 0B')
gg.getResults(30)
gg.editAll('h 4B 90 9B', gg.TYPE_BYTE)

 

Share this post


Link to post
Share on other sites
10 minutes ago, Enyby said:

It is not a number. It is text in hex view. So you need search text, not a number.

See examples for searchNumber in API help.

[added 1 minute later]

-- search for HEX '5C E3 0B 4B 90 9B 11 7B'
gg.searchNumber('h 5C E3 0B 4B 90 9B 11 7B')

For edit use editAll


-- edit HEX
gg.searchNumber('h 5C E3 0B')
gg.getResults(30)
gg.editAll('h 4B 90 9B', gg.TYPE_BYTE)

 

Oh. I didn't read the editAll in API help carefully. Sorry for that and thank for your help.

Btw, What happend if I ignore space character when put hex value like 'h5CE30B' instead of 'h 5C E3 0B'

Edited by Daisy123

Share this post


Link to post
Share on other sites

Spaces between bytes not necessary. Both is same as above.

-- edit HEX
gg.searchNumber('h 5CE30B')
gg.getResults(30)
gg.editAll('h 4B909B', gg.TYPE_BYTE)

-- edit HEX
gg.searchNumber('h5CE30B')
gg.getResults(30)
gg.editAll('h4B909B', gg.TYPE_BYTE)

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Similar Content

    • By MooMooScripterBoi2
      View File Creative Destruction Script
      The YouTube video: https://youtu.be/LZRJmuMJGpM
      [+] Aimbot or Aimlock
      [+]One second heal
      [+]Hide Script
      [+]Wall Hack
      More Coming Soon 😁
      Submitter MooMooScripterBoi2 Submitted 06/01/2020 Category LUA scripts  
    • By MooMooScripterBoi2
      The YouTube video: https://youtu.be/LZRJmuMJGpM
      [+] Aimbot or Aimlock
      [+]One second heal
      [+]Hide Script
      [+]Wall Hack
      More Coming Soon 😁
    • By Brilliant_Azure
      View File PUBG MOBILE 0.18.0 ANTIBAN SAFE VIP SCRIPT
       ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
      Submitter Brilliant_Azure Submitted 10/29/2019 Category PUBG  
    • By Brilliant_Azure
      ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
    • By MarioRossi93i
      Real Racing 3 Ghost & Freeze bots
       
      Requirements
      - Game Guardian v.96.0+
      - Rooted device
      - Android 10
      - Real Racing 3 v.8.4.2
       
      Instructions
      - Run it after the traffic light has turned green
       
      Video:
       
×
×
  • Create New...