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

The game is tailed demon slayer.

so as u can see in the first picture there are 12 values from the store.1643038478_Screenshot_20220113-212036_VMOSPro.thumb.jpg.05bc986fe3864b2457e7ae1f1e5bda2c.jpg

In the second picture u see the price in FLOAT and the amount in Dword one address under it.710213864_Screenshot_20220113-212031_VMOSPro.thumb.jpg.534bb3c2a8969408925b180d9c9fabe4.jpg

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 YahyaN
      Pᴀssᴡᴏʀᴅ :666
       
      ᴄ++ .ʙss
       
      Fᴇᴀᴛᴜʀᴇs :
      ᴄʜᴀɴɢᴇ ᴀʟʟ ᴘʀɪᴄᴇs ᴛᴏ 0
      ᴛʜᴇ sᴄʀɪᴘᴛ ᴍᴀʏ ɴᴏᴛ ʀᴜɴ ᴏɴ sᴏᴍᴇ ᴅᴇᴠɪᴄᴇs
    • By YahyaN
      View File Script Robbery Bob |
      Pᴀssᴡᴏʀᴅ :666
       
      ᴄ++ .ʙss
       
      Fᴇᴀᴛᴜʀᴇs :
       
      ᴄʜᴀɴɢᴇ ᴀʟʟ ᴘʀɪᴄᴇs ᴛᴏ 0
      Submitter YahyaN Submitted 01/18/2022 Category LUA scripts  
    • By Lucky_Brill
      Hi, I have been using a script for "Sky Children of the Light" called: *****CHINA_Full.lua* for a few months now, but sadly since the last update it stopped working. When I run it, it says that the script needs to be updated. I would be grateful if someone with programming knowledge could update it for me or at least share some other script to farm all the worlds. (I attach the script and the text that appears when I run it)


      ****CHINA_Full.lua.txt
    • By pro_ejder
      + Telegram'daki Tüm Komut Dosyalarına Erişin:   https://t.me/SktirAndroidHile
      CATS: Crash Arena Turbo Stars God Mode Vers. 2.41 Mod 👇
      +MOD APK DOWNLOAD : https://t.me/SktirAndroidHile/63
       
       
×
×
  • 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.