-- Maybe new updates
gg.alert("Discord server to learn about reverse engineering mobile: https://discord.gg/FtmfjxRSHw")
gg.toast("Finding for invisible players")
local libqplay = gg.getRangesList("libqplay.so")[1].start
local players = {}
local allplayers = gg.getValues({{address = libqplay + 0x0024a8b8, flags = 4}})[1].value
function getPlayersCount()
return gg.getValues({{address = allplayers + 4, flags = 4}})[1].value
end
local players_count = 0
function getPlayersList()
local players_list = gg.getValues({{address = allplayers + 12, flags = 4}})[1].value
local _ = {}
for i = 1, players_count do
_[i] = {address = players_list + (4 * (i - 1)), flags = 4}
players[i] = {}
end
_ = gg.getValues(_)
return _
end
local players_list
function main()
local count = getPlayersCount()
if(count == 0) then
return
end
if(count > players_count) then
players_count = count
players_list = getPlayersList()
end
for i = 1, players_count do
local alpha = gg.getValues({{address = players_list[i].value + 0x160, flags = gg.TYPE_FLOAT}})[1]
local zoom = gg.getValues({{address = players_list[i].value + 0x138, flags = gg.TYPE_FLOAT}})[1]
-- if (zoom.value < 1) then
alpha.value = 1.0
-- end
-- if (zoom.value < 1) then
zoom.value = math.random(1,10)
-- end
gg.setValues({alpha,zoom})
end
end
while(true) do
if(gg.isVisible()) then
gg.setVisible(false)
end
main()
end