-
Posts
706 -
Joined
-
Last visited
-
Days Won
36
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by ItsSC
-
Also, after you look at the example, you also don't know what is b. So you actually understand that's the error part. Even you a human don't understand, how a machine understand. Then you blame that I'm not giving you solution. Look. You didn't ask for solution, you just ask where is the error part. I point it out, you understand it yet blame at me.
-
??????????? Obviously I answered your question. You didn't declare the variable. So you get error. So I let you know why it output an error. A= 20 B = B + 30 , what is B? No one know. Unless B = 20 B = B + 30 , then B is 50. It's same in this case. If I just give you answer, you will not know why you get an error. search1= 30 x = x/3 What is x? Also. You were asking where you wrong, I show you example why you wrong. You didn't ask for solution. Look back to your question and my reply. I show you where you wrong obviously. If you were attempt to get solution, then ask. "How to make this not output error".
-
a= 30 b = b - 300 Question, what is b? Exam: You have 3 apple and 1 pineapple. Question, how many kgs is the chicken?
-
This topic has nothing related to script. Different cases.
-
Do it before set value, after defined values. a= {{address =1 , flags = 1 , value = 1 ,freeze = true}} -- Defined the value gg.addListItems(a) -- add to save list gg.setValues(a) -- set the value
-
Alright, wrong order again. Thanks pointing out.
-
Oops yes I missed the save value. function Flash() gg.searchNumber("17~20", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineAddress("6??????4", -1, gg.TYPE_DWORD, gg.SIGN_EQUAL, 0, -1) while gg.getResultsCount() > 2 do gg.processResume() gg.sleep(2000) gg.processPause() gg.searchFuzzy("-4~-1", gg.SIGN_FUZZY_EQUAL, gg.TYPE_DWORD, 0, -1) end local table = gg.getResults(10) for i = 1, #table do table[i]["value"] = -1 table[i]["freeze"] = true --table[i]["freezeType"] = gg.FREEZE_NORMAL This is not needed since already declare that freeze = true end gg.addListItems(table) gg.setValues(table) gg.toast('Done!') gg.setVisible(true) os.exit() end Add list before set the value.
-
Welcome to learn Lua scripting. Try to use table if you failed this, it's a powerful feature. https://www.lua.org/pil/2.5.html function Flash() gg.searchNumber("17~20", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) while gg.getResultsCount() > 2 do gg.processResume() gg.sleep(1250) gg.processPause() gg.searchFuzzy("-3~-1", gg.SIGN_FUZZY_EQUAL, gg.TYPE_DWORD, 0, -1) end local table = gg.getResults(10) for i = 1, #table do table[i]["value"] = -1 table[i]["freeze"] = true end gg.setValues(table) gg.toast('Done!') gg.setVisible(true) os.exit() end
-
-
-
-
TranslateApi | Google Translate in GameGuardian ! (#qvyjmgp) You can refer to @saiaapiz 's demo script. Note : Use a vpn to run your script if you want to add translation. Google translate will ban your ip for requesting too much connection and malicious action.
-
-
Someone forced me to delete. In future, I will just show what my previous script can't do. Unlock everything with just one click. I will not add this to any script anymore, and don't ask for tutorial. video11.mp4
-
F[9] is an array of table F. ; is a string, when concatenate a array and a string, use ".." also you must add quotation marks to differentiate string. ";" instead of ; Solution: gg.searchNumber(F[9]..";1;"..F[1]..";2;"..F[3]..";3;"..F[7]..";4;"..F[5]..";5;"..F[10]..";6;"..F[2]..";7;"..F[4]..";8;"..F[8]..";9;"..F[6]..";10;"..F[14]..";11;"..F[11]..";12;"..F[12]..";13;"..F[13].."::105",gg.TYPE_DWORD) It's awful and many works. Do this function generate(tab) local str = "" for i = 1, #tab do str = str .. F[i] .. ";" .. i .. ";" if i == #tab then str = str .. F[i] .. "::" .. tostring(i * 4 - 3) end end return str end F = gg.prompt({"Question 1 ","Question 2"},{},{"number","number"}) gg.searchNumber(generate(F),4) For second method, you need to rearrange your question so that it will become F[1] 1 F[2] 2 F[3] 3 ...
-
use prompt for help and do the same as the iterate, just v.value = prompt[1]
-
Aight, this refreshed my knowledge of how the loop actually works. Thanks
-
So basically, it runs checking for all results at once, while my method is checking one by one?
-
Didn't notice that gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1014350479;1012202996;1083179008;1050253722;1031127695;1065353216;1065353216;1067282596:61', 4) -- search local t1 = gg.getResults(5000) for i = 1 ,#t1 do if(t1[i].value==1014350479)then t1[i].value = 1011011011 elseif(t1[i].value==1050253722 or t1[i].value ==1031127695)then t1[i].value = 1 end end gg.setValues(t1)
-
As a noob, here is my solution. gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1014350479;1012202996;1083179008;1050253722;1031127695;1065353216;1065353216;1067282596:61', 4) -- search gg.getResults(5000) gg.searchNumber("1014350479;1050253722;1031127695",4)-- refine the three values that you want to edit gg.editAll("1011011011;1;1",4) -- edit all of them individually
-
For me, it depends on how the game look like, some games looks not easy to hack, so straight use UTF hack, if it look easy, sure goes to DWORD search and memory hack.
- 17 replies
-
- animal restauraunt
- android
-
(and 3 more)
Tagged with:
-
Sure, you taught me this method. So I always use this method for the first try.
- 17 replies
-
1
-
- animal restauraunt
- android
-
(and 3 more)
Tagged with:
-
It's okay to try everything slowly. But since this guy told us what not work, so we need to think some ways that he didn't make.
- 17 replies
-
- animal restauraunt
- android
-
(and 3 more)
Tagged with: