Jump to content
  • 0

1x1

Question

Posted

Sorry for my dumb brain.

 

I want a script that does offset and read the value with type, i'm making a hack called infinite jump which search for my gravity.

 

Let me explain:

1 — Script search 123456.0 FLOAT

I will get 6 results because there is 6 player in this server.

 

2 — Offset & Read Require Value

When doing offset in memory viewer, my value would be 100 WORD.

While my other player would have 1 WORD

So i will ask the script to make sure is 100 WORD then save it.

 

3 — Edit Value

Once it find all my infinite jump value then is going to edit the save value to alway freeze value.

 

4 — Offset Wrong Value

When is not the correct value then it won't do anything but goes to 2nd results until it find.

 

I want to make a script that does offset and read the value that is required to change. Because if i modify all anyway then my player will have the hack on my screen.

6 answers to this question

Recommended Posts

Posted

This should do the thing 
 

gg.searchNumber("123456.0", gg.TYPE_FLOAT)

for k, v in ipairs(gg.getResults(6)) do
    v.flags = gg.TYPE_WORD;
    if gg.getValues({ v })[1].value == 100 then
        v.flags = gg.TYPE_FLOAT;
        v.value = "edit here"
        v.freeze = true;

        gg.setValues({ v })
        gg.addListItems({ v })

        break;
    end
end

 

One thing i dont get it why are you talking about offset ? you are not moving to another value by offset here ? you are just dealing with the same value in different type, float, word

Posted
1 hour ago, MAARS said:

This should do the thing 
 

gg.clearResults()
gg.searchNumber("123456.0", gg.TYPE_FLOAT)

for k, v in ipairs(gg.getResults(6)) do
  v.flags = gg.TYPE_WORD;
  if gg.getValues({ v })[1].value == 100 then
    v.flags = gg.TYPE_FLOAT;
    v.value = "edit here"
    v.freeze = true;

    gg.setValues({ v })
    gg.addListItems({ v })

    break;
  end
end

 

One thing i dont get it why are you tanking about offset ? you are not moving to another value by offset here ? you are just dealing with the same value in different type, float, word

Sorry for my bad english.

 

So the memory position of some are static. so i can do offset, so i wanna read the value of that target offset. 

1 hour ago, MAARS said:

This should do the thing 
 

gg.clearResults()
gg.searchNumber("123456.0", gg.TYPE_FLOAT)

for k, v in ipairs(gg.getResults(6)) do
  v.flags = gg.TYPE_WORD;
  if gg.getValues({ v })[1].value == 100 then
    v.flags = gg.TYPE_FLOAT;
    v.value = "edit here"
    v.freeze = true;

    gg.setValues({ v })
    gg.addListItems({ v })

    break;
  end
end

 

One thing i dont get it why are you tanking about offset ? you are not moving to another value by offset here ? you are just dealing with the same value in different type, float, word

I'm trying to make a script search very fast. Because the gravity value is near with Teleport, Jump, Hitbox 

Posted

Ok this code should filter out the desired value, then all you need is to apply your offset from it 

Posted

I may provide a template for that but i am actually outside so no computer xD.

You could already provide all the offset with associated name like

0x108, Speed Hack

0x309, Damage Hack

This way i will write a ready to use script 

Posted

Hope this help

gg.clearResults()
gg.searchNumber("123456.0", gg.TYPE_FLOAT)

local gravity

for k, v in ipairs(gg.getResults(6)) do
    v.flags = gg.TYPE_WORD;
    if gg.getValues({ v })[1].value == 100 then
        v.flags = gg.TYPE_FLOAT;
        gravity = gg.getValues({ v })[1];
        break;
    end
end

-- can edit gravity.value here
gravity.freeze = true;
gravity.value = "can edit here or remove this line";


local teleport = {
    address = gravity.address + 0x4, -- replace offset
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}


local jump = {
    address = gravity.address + 0x8,
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}

-- must call setValues if you want to edit value
-- gg.setValues({ teleport, jump })

gg.addListItems({ gravity, teleport, jump })

 

another question, how can teleport be in a single value ? teleport normally require 3 coordinate, xyz 

Posted
14 hours ago, MAARS said:

Hope this help

gg.clearResults()
gg.searchNumber("123456.0", gg.TYPE_FLOAT)

local gravity

for k, v in ipairs(gg.getResults(6)) do
    v.flags = gg.TYPE_WORD;
    if gg.getValues({ v })[1].value == 100 then
        v.flags = gg.TYPE_FLOAT;
        gravity = gg.getValues({ v })[1];
        break;
    end
end

-- can edit gravity.value here
gravity.freeze = true;
gravity.value = "can edit here or remove this line";


local teleport = {
    address = gravity.address + 0x4, -- replace offset
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}


local jump = {
    address = gravity.address + 0x8,
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}

-- must call setValues if you want to edit value
-- gg.setValues({ teleport, jump })

gg.addListItems({ gravity, teleport, jump })

 

another question, how can teleport be in a single value ? teleport normally require 3 coordinate, xyz 

Yes teleport need x y z, but in this game, x y z is very near, i just need use y teleport so they can do noclip.

 

Thx for the code!

14 hours ago, MAARS said:

Hope this help

gg.clearResults()
gg.searchNumber("123456.0", gg.TYPE_FLOAT)

local gravity

for k, v in ipairs(gg.getResults(6)) do
    v.flags = gg.TYPE_WORD;
    if gg.getValues({ v })[1].value == 100 then
        v.flags = gg.TYPE_FLOAT;
        gravity = gg.getValues({ v })[1];
        break;
    end
end

-- can edit gravity.value here
gravity.freeze = true;
gravity.value = "can edit here or remove this line";


local teleport = {
    address = gravity.address + 0x4, -- replace offset
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}


local jump = {
    address = gravity.address + 0x8,
    flags   = gg.TYPE_FLOAT,
    freeze  = true,
    value   = "can edit here or remove this line",
}

-- must call setValues if you want to edit value
-- gg.setValues({ teleport, jump })

gg.addListItems({ gravity, teleport, jump })

 

another question, how can teleport be in a single value ? teleport normally require 3 coordinate, xyz 

also where the read value of offset?

Like me and my enemy have same memory.

 

Expect for infinite jump

 

mine is 100

my enemy is 1

 

so i search the gravity do the offset of the jump and if is 100 then edit my player.

 

If is not 100 but it show 1 then is going to ignore and find another results of gravity

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.