hoangninyb
-
Posts
74 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by hoangninyb
-
-
3 hours ago, Yuukis said:
Hi!
Using an FTP Server requires internet access, this is might not good for easy access. Maybe try some Json Web Token (JWT) so you can encrypt-decrypt script offline with ease.
-Yuuki
I create a database, when a user registers with my script on their device, the script creates a file containing the information and it is also sent to the database and saved to the database database.
when the user logs in, the information in the previously saved file will be sent to the database and compared by php
sorry my english is very bad!
0 -
12 hours ago, MAARS said:
Android id on Android 10+ can not be accessed by 3rd party apps, if you really need that you will need some java/smali knowledge to add that function in **. you know what i mean
I know what you mean! but i have no knowledge about java/smali. Where can I see instructions?
0 -
6 hours ago, MAARS said:6 hours ago, MAARS said:
That a really bad idea, never trust the client side, you cant save sensitive data in the client machine, get yourself a ftp server
Yes I understand what you mean, I tried reading files build.pro but some do not allow, if there is a method of reading Android ID is good
0 -
My script is encrypted with SELGG, and it's decrypted and shared for free by others! That's not good for me
1 -
9 hours ago, MonkeySAN said:
your script create a key on user devices.
you want it to be an encrypted keys..
that the script created itself?
Yes, we can't tell users to encrypt it
0 -
17 minutes ago, blocx said:
omg
What did I say wrong
0 -
I'm not interested in creating an encryption tool, it's just that my script creates a key on the user's device! Do you know what I mean
0 -
I mean, when I create it's encrypted, not using any other tools anymore
1 -
On 15/9/2021 at 06:00, HEROGAMEOfficial said:On 9/15/2021 at 6:00 AM, HEROGAMEOfficial said:
You can get source in load log
man, I don't know where to find it!
1 -
my device doesn't allow access to /sdcard/ so it got an error like in the picture!
but can access the path /storage/emulated/0/
So I have a small suggestion: change the path to /storage/emulated/0/ if /sdcard/ is inaccessible!
1 -
i don't understand what you mean, i tried with a piece of code like this, and when i click cancel the menu is always hidden, no matter what menu!
X = {"A","B"} function A() menu = gg.choice(X,nil,"Menu A") if menu == 1 then B() end if menu == 1 then B() end Homedm = -1 end function B() menu = gg.choice(X,nil,"Menu B") if menu == 1 then C() end if menu == 1 then C() end Homedm = -1 end function C() menu = gg.choice(X,nil,"Menu C") if menu == 1 then A() end if menu == 1 then A() end Homedm = -1 end while true do if gg.isVisible(true) then Homedm = 1 gg.setVisible(false) end if Homedm == 1 then A() end end
1 -
For example, the menu above is menu A and I have another menu B, can I transfer the data of menu A to menu B? only the data selected in menu A will appear in menu B!
and how to not get error when i click cancel in prompt
0 -
1 hour ago, CmP said:
Có, sử dụng nối chuỗi. Ví dụ:
i did like this and it works!
gg.refineNumber("2219816", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values_1 = gg.getValues(results)
gg.refineNumber("6", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values_2 = gg.getValues(results)
function ModAPet()
local P = gg.prompt({"🄸🄽🅂🄴🅁🅃 🄸🄳 🅅🄰🄻🅄🄴🅂\n •━━━ ✽ • ✽ ━━━•\n\nSKILL - 1","SKILL - 2","SKILL - 3"},{"9014","6014","13618"},{"number","number","number"})
gg.clearResults()
gg.loadResults(gg.getListItems())
gg.refineNumber(IDAP, gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
local values = {}
for i, v in ipairs(results) do
local index = (i - 1) * 4
local addr = v.address
values[index + 1] = {address = addr + 48, flags = gg.TYPE_DWORD, value = P[1], freeze = true}
values[index + 2] = {address = addr + 64, flags = gg.TYPE_DWORD, value = P[2], freeze = true}
values[index + 3] = {address = addr + 80, flags = gg.TYPE_DWORD, value = P[3], freeze = true}
values[index + 4] = {address = addr + 96, flags = gg.TYPE_DWORD, value = "0", freeze = true}
end
gg.setValues(values)
gg.addListItems(values)
end
local mapping = {
[10111]={name_1 ="Jock 2219816", name_2 ="Jock 6", IDAP = "10111", func = ModAPet},
[10112]={name_1 ="Mick 2219816", name_2 ="Mick 6", IDAP = "10112", func = ModAPet},
[10113]={name_1 ="Key 2219816", name_2 ="Key 6", IDAP = "10113", func = ModAPet},
[10114]={name_1 ="Jonseen 2219816", name_2 ="Jonseen 6", IDAP = "10114", func = ModAPet},
[10115]={name_1 ="Brickey 2219816", name_2 ="Brickey 6", IDAP = "10115", func = ModAPet}
}
local menuNames = {}
local menuFunctions = {}
local menuID = {}
for i, v in ipairs(values_1) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name_2)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
for i, v in ipairs(values_1) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name_1)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
for i, v in ipairs(values_2) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name_2)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
local choice = gg.choice(menuNames)
if choice ~= nil then
menuFunctions[choice]()
end
12 minutes ago, hoangninyb said:i did like this and it works!
gg.refineNumber("2219816", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values_1 = gg.getValues(results)
gg.refineNumber("6", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values_2 = gg.getValues(results)
function ModAPet()
local P = gg.prompt({"🄸🄽🅂🄴🅁🅃 🄸🄳 🅅🄰🄻🅄🄴🅂\n •━━━ ✽ • ✽ ━━━•\n\nSKILL - 1","SKILL - 2","SKILL - 3"},{"9014","6014","13618"},{"number","number","number"})
gg.clearResults()
gg.loadResults(gg.getListItems())
gg.refineNumber(IDAP, gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
local values = {}
for i, v in ipairs(results) do
local index = (i - 1) * 4
local addr = v.address
values[index + 1] = {address = addr + 48, flags = gg.TYPE_DWORD, value = P[1], freeze = true}
values[index + 2] = {address = addr + 64, flags = gg.TYPE_DWORD, value = P[2], freeze = true}
values[index + 3] = {address = addr + 80, flags = gg.TYPE_DWORD, value = P[3], freeze = true}
values[index + 4] = {address = addr + 96, flags = gg.TYPE_DWORD, value = "0", freeze = true}
end
gg.setValues(values)
gg.addListItems(values)
end
local mapping = {
[10111]={name_1 ="Jock 2219816", name_2 ="Jock 6", IDAP = "10111", func = ModAPet},
[10112]={name_1 ="Mick 2219816", name_2 ="Mick 6", IDAP = "10112", func = ModAPet},
[10113]={name_1 ="Key 2219816", name_2 ="Key 6", IDAP = "10113", func = ModAPet},
[10114]={name_1 ="Jonseen 2219816", name_2 ="Jonseen 6", IDAP = "10114", func = ModAPet},
[10115]={name_1 ="Brickey 2219816", name_2 ="Brickey 6", IDAP = "10115", func = ModAPet}
}
local menuNames = {}
local menuFunctions = {}
local menuID = {}
for i, v in ipairs(values_1) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name_2)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
for i, v in ipairs(values_2) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name_2)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
local choice = gg.choice(menuNames)
if choice ~= nil then
menuFunctions[choice]()
end
@CmP For example, the menu above is menu A and I have another menu B, can I transfer the data of menu A to menu B? only the data selected in menu A will appear in menu B!
0 -
10 hours ago, hoangninyb said:
gg.refineNumber("2219816;6::25", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values = gg.getValues(results)
function ModAPet()
local P = gg.prompt({"🄸🄽🅂🄴🅁🅃 🄸🄳 🅅🄰🄻🅄🄴🅂\n •━━━ ✽ • ✽ ━━━•\n\nSKILL - 1","SKILL - 2","SKILL - 3"},{"9014","6014","13618"},{"number","number","number"})
gg.clearResults()
gg.loadResults(gg.getListItems())
gg.refineNumber(IDAP, gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
local values = {}
for i, v in ipairs(results) do
local index = (i - 1) * 4
local addr = v.address
values[index + 1] = {address = addr + 48, flags = gg.TYPE_DWORD, value = P[1], freeze = true}
values[index + 2] = {address = addr + 64, flags = gg.TYPE_DWORD, value = P[2], freeze = true}
values[index + 3] = {address = addr + 80, flags = gg.TYPE_DWORD, value = P[3], freeze = true}
values[index + 4] = {address = addr + 96, flags = gg.TYPE_DWORD, value = "0", freeze = true}
end
gg.setValues(values)
gg.addListItems(values)
end
local mapping = {
[10111]={name ="Jock", IDAP = "10111", func = ModAPet},
[10112]={name ="Mick", IDAP = "10112", func = ModAPet},
[10113]={name ="Key", IDAP = "10113", func = ModAPet},
[10114]={name ="Jonseen", IDAP = "10114", func = ModAPet},
[10115]={name ="Brickey", IDAP = "10115", func = ModAPet}
}
local menuNames = {}
local menuFunctions = {}
local menuID = {}
for i, v in ipairs(values) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
local choice = gg.choice(menuNames)
if choice ~= nil then
menuFunctions[choice]()
end
@CmP is it possible to add a search value to the name?
i searched with 2219816;6::25
if 2219816 and v.address = v.address + -16 the value is 10111 then name ="Jock 2219816"
Or if 6 and v.address = v.address + -16 the value is 10111 then name = "Jock 6"
Can you do that?
0 -
18 minutes ago, CmP said:
Được rồi, đây là một ví dụ về hàm có tham số:
Tương tự như cách hàm "ModAPet" của bạn có thể chấp nhận id đó làm tham số
I got it! thank you very much!
0 -
8 minutes ago, CmP said:
Hãy thử tùy chọn này trước. Nếu nó hoạt động, bạn không nhất thiết phải thay đổi mã thêm.
it works fine man! I'm just curious about the new methods! can be said to be eager to learn
0 -
26 minutes ago, CmP said:
Một tùy chọn tốt hơn có thể là cấu trúc lại mã để làm cho hàm "ModAPet" chấp nhận tham số của chuỗi tìm kiếm để sử dụng cho lệnh gọi "refominh".
Can you give me a small example?
0 -
can you help me!
this is my code and i have edited it many times but it still gives me error like in the picture!
gg.refineNumber("2219816;6::25", gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
for i, v in ipairs(results) do
v.address = v.address + -16
end
local values = gg.getValues(results)
function ModAPet()
local P = gg.prompt({"🄸🄽🅂🄴🅁🅃 🄸🄳 🅅🄰🄻🅄🄴🅂\n •━━━ ✽ • ✽ ━━━•\n\nSKILL - 1","SKILL - 2","SKILL - 3"},{"9014","6014","13618"},{"number","number","number"})
gg.clearResults()
gg.loadResults(gg.getListItems())
gg.refineNumber(IDAP, gg.TYPE_DWORD)
local count = gg.getResultsCount()
local results = gg.getResults(count)
local values = {}
for i, v in ipairs(results) do
local index = (i - 1) * 4
local addr = v.address
values[index + 1] = {address = addr + 48, flags = gg.TYPE_DWORD, value = P[1], freeze = true}
values[index + 2] = {address = addr + 64, flags = gg.TYPE_DWORD, value = P[2], freeze = true}
values[index + 3] = {address = addr + 80, flags = gg.TYPE_DWORD, value = P[3], freeze = true}
values[index + 4] = {address = addr + 96, flags = gg.TYPE_DWORD, value = "0", freeze = true}
end
gg.setValues(values)
gg.addListItems(values)
end
local mapping = {
[10111]={name ="Jock", IDAP = "10111", func = ModAPet},
[10112]={name ="Mick", IDAP = "10112", func = ModAPet},
[10113]={name ="Key", IDAP = "10113", func = ModAPet},
[10114]={name ="Jonseen", IDAP = "10114", func = ModAPet},
[10115]={name ="Brickey", IDAP = "10115", func = ModAPet}
}
local menuNames = {}
local menuFunctions = {}
local menuID = {}
for i, v in ipairs(values) do
local item = mapping[v.value]
if item ~= nil then
table.insert(menuNames, item.name)
table.insert(menuFunctions, item.func)
table.insert(menuID, item.IDAP)
end
end
local choice = gg.choice(menuNames)
if choice ~= nil then
menuFunctions[choice]()
end
0 -
0
-
1 hour ago, CmP said:
Don't call "setValues" function in loop. The code above from @HEROGAMEOfficial's post illustrates the approach that should be used instead: construct table with all desired values and pass it to "setValues" function. Something like this:
gg.searchNumber("2219816;6::25", gg.TYPE_DWORD) gg.refineNumber("2219816", gg.TYPE_DWORD) local count = gg.getResultsCount() local results = gg.getResults(count) local values = {} for i, v in ipairs(results) do local index = (i - 1) * 4 local addr = v.address values[index + 1] = {address = addr + 64, flags = gg.TYPE_DWORD, value = "7"} values[index + 2] = {address = addr + 80, flags = gg.TYPE_DWORD, value = "8"} values[index + 3] = {address = addr + 96, flags = gg.TYPE_DWORD, value = "9"} values[index + 4] = {address = addr + 112, flags = gg.TYPE_DWORD, value = "10"} end gg.setValues(values)
Very Thanksthank you very much! it works great
1 hour ago, HEROGAMEOfficial said:Try it (fixed):
gg.searchNumber("2219816;6::25", gg.TYPE_DWORD) gg.refineNumber("2219816", gg.TYPE_DWORD) local results = gg.getResults(gg.getResultCount()) local t = {} for _, __ in next, results do t[#t + 1] = {__.address = __.address + 64, flags = __.flags, value = 7} t[#t + 1] = {__.address = __.address + 80, flags = __.flags, value = 8} t[#t + 1] = {__.address = __.address + 96, flags = __.flags, value = 9} t[#t + 1] = {__.address = __.address + 112, flags = __.flags, value = 10} t[#t + 1] = {__.address = __.address + 64, flags = __.flags, value = 7} end gg.setValues(t)
Thanks for helping me! problem solved! it's great!
0 -
-
6 hours ago, Lover1500 said:
results is over 2000k. really? which is slower searching and setting value in yours?
finding the value is very fast, but setvalue is very long!
2 hours ago, HEROGAMEOfficial said:Search code which has not changed, Near the hack code.
yes it is common ground!
0 -
Hi!
My code:
function setVal (address, value)
local t = {{
address = address,
flags = 4,
value = value,
freeze = true,
}}
gg.setValues(t)
end
gg.searchNumber("2219816;6::25", gg.TYPE_DWORD)
gg.refineNumber("2219816", gg.TYPE_DWORD)
local p = gg.getResultCount()
local m = gg.getResults(p)
for i = 1,p do
addr = m[i].address
setVal (addr + 64, 7)
setVal (addr + 80, 8)
setVal (addr + 96, 9)
setVal (addr + 112, 10)
end
my problem is that there are a lot of 2219816 values, and the modification takes a long time.
Do you guys have any method that can help me to do it quickly?
Thanks!
1
Can I encrypt a file when my script creates it?
in Help
Posted · Edited by hoangninyb
Oh, man! I already have a database and connect to my script using php! My problem is that there is no method for receiving device IDs! And maybe it's a problem for you and me
I created the Ankulua script, and there they have a method for receiving device ID: getDeviceID()
I wish GG had it