Jump to content

Help with scipt.


 Share

Recommended Posts

Im working on a script where i want to change the prices of all items in the shop (Which is ez). But i want to change the amount u get to which is one address under the price. I can change one at the time but that will take ages.

My question is there a way to change all at the same time. 

Thx

Edited by SAGEPAPI
Link to comment
Share on other sites

use offsets maybe...?

= price address + offset

something like this..

local t = gg.getResults(1)--price address found

local p = {}
p[1] = {}
p[1].address = t[1].address --price address
p[1].flags = gg.TYPE_DWORD --value type
p[1].value = 0--edit to your value
gg.setValues(p)

p[1].address = t[1].address + 0x4-- add offset for amount address below it.
p[1].flags = gg.TYPE_DWORD --value type
p[1].value = 999999--edit to your value
gg.setValues(p)

or

local t = gg.getResults(1)

gg.setValues({
    {address = t[1].address,flags = gg.TYPE_DWORD,value = 0},
    {address = t[1].address + 0x4,flags = gg.TYPE_DWORD,value = 999999} })

 

Edited by MonkeySAN
Link to comment
Share on other sites

hmm..maybe add more offsets down the line but with 20 results more..its still long to write.

since i had no idea how the initial search is done or how the said codes appear structurely in the game of yours..i'll say you wait for someone else to give their inputs.

Edited by MonkeySAN
Link to comment
Share on other sites

oh man..thats the game.

i made a script for myself..

its slow(group search),long(offsets) but its worked everytime.

perhaps using pointers is a good idea.

libs(dump.cs) hack maybe?

---------------------------------------

you could just hack only the 3rd option for each category.

that can make the script less long than hack all of them.

Edited by MonkeySAN
Link to comment
Share on other sites

1 hour ago, MonkeySAN said:

you could just hack only the 3rd option for each category.

Thought abt that too. 

 

1 hour ago, MonkeySAN said:

that can make the script less long than hack all of them.

I try to hack all sorts of games ( that i know how to hack) with scripts. But making those scripts as compact as possible. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By GRANDALoST
      View File Hide Online GRANDALoST V0.0
      🇧🇷Br version:  Este hack foi feito por GRANDALoST! O hack tem as seguintes funções:
      🇺🇸Us version: This hack was made by GRANDALoST!  The hack has the following options:
      Teleport (Teleporte)
      Open FBI door (Abrir porta dos cassadores)
      Go to spawn (Voltar daonde comessou)
      Speed hack (Virar Frash)
      Vip options (opções Vip)
      Wall Hack
      Block ads (Tirar anúncios)
      Camera (câmera)
      Easy mode (modo fácil)
      Auto Gun+god mode+bug (arma automatica+vida infinita+bug)
      Back (SAIR)
      🇧🇷---Mod menu V0.0 ALGUMAS OPÇÕES PODEM NAO FUNCIONAR!!
      🇺🇸---Mod menu V0.0 SOME OPTIONS MAY NOT WORK!!
      Submitter GRANDALoST Submitted 01/15/2022 Category LUA scripts  
    • By GRANDALoST
      🇧🇷Br version:  Este hack foi feito por GRANDALoST! O hack tem as seguintes funções:
      🇺🇸Us version: This hack was made by GRANDALoST!  The hack has the following options:
      Teleport (Teleporte)
      Open FBI door (Abrir porta dos cassadores)
      Go to spawn (Voltar daonde comessou)
      Speed hack (Virar Frash)
      Vip options (opções Vip)
      Wall Hack
      Block ads (Tirar anúncios)
      Camera (câmera)
      Easy mode (modo fácil)
      Auto Gun+god mode+bug (arma automatica+vida infinita+bug)
      Back (SAIR)
      🇧🇷---Mod menu V0.0 ALGUMAS OPÇÕES PODEM NAO FUNCIONAR!!
      🇺🇸---Mod menu V0.0 SOME OPTIONS MAY NOT WORK!!
    • By Amongus0_0
      how to fix this error 
       
      error script: luaj.o: load /storage/emulated/0/DCIM/SharedFolder/[0.3] for Standoff 0.18.0.lua: luaj.o: unsupported int size: 32
       at luaj.LuaValue.a(src:997)
       at luaj.Globals.c_(src:255)
       at android.ext.Script.d(src:5992)
       at android.ext.Script$ScriptThread.run(src:5785)
      Caused by: luaj.o: unsupported int size: 32
       at luaj.f.a(src:518)
       at luaj.k.a(src:554)
       at luaj.Globals.a(src:301)
       at luaj.Globals.a(src:267)
       at luaj.Globals.c_(src:249)
       ... 2 more
    • By Heejun12
      I want to script what is shown in this video Help!
      Screen_Recording_20220104-212211_ .mp4
    • By Gamer880
      2021-12-27-11-11-38.mp4 I installed game guardian on Android 11 (root). Device: Asus Rog 2.
      Managed to install gg on a rooted android 11 device but I'm unable to run scripts.
      Can someone please help me with this issue? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.