Jump to content

Alexxagra

Members
  • Content Count

    17
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 n00b

About Alexxagra

  • Rank
    Member

Additional Information

  • Android
    6.x (Marshmallow)

Recent Profile Visitors

142 profile views
  1. OK I will try using setvalue, but I will have to see how to use it! and manually it modifies the value quietly! thanks!
  2. I already put the freezer, but it does not work! It freezes but the value does not change to 0! already tested with freezer false and true, without result in changes the value!
  3. menu=gg.choice({'Pesquisa!', -- menu1 'Altera!', -- menu2 'cancelar atk!', -- menu3 'Em caso de erro', -- menu4 'atk final', -- menu5 'Sair!' -- menu6 }) --------------Pesquisa--------------------------- if menu == 1 then input = gg.prompt ( {'valor de cartas na mao!'}, {[1] = 'valor atual!'}, {[1] = 'number'} ) if input == nil then os.exit() end gg.clearList() -- limpa lista de salvos! gg.getRanges (REGION_C_ALLOC) -- define a regia da pesquisa gg.searchAddress('000C' , 0xFFFFFFFF, gg.TYPE_DWORD, gg.SING_EQUAL, 0x50000000, 0xA0000000) gg.searchNumber(input[1], gg.TYPE_DWORD, false, gg.SING_EQUAL, 0x50000000, 0xA0000000) end --/////////////Pesquisa//////////////////////////////////////////// ---------------Altera----------------------------------- if menu == 2 then menu2 = gg.choice({ 'Primeiro!', 'Segundo' }) if menu2 == 1 then --Primeiro gg.clearList() local t1 = gg.getResults(5) for i = 1, 100 do a = { { address = t1[1].address, --my mao flags = 4 }, { address = t1[1].address + 0x4, -- my deck flags = 4, -- Dword }, { address = t1[1].address + 0xD94, -- CPU MAO flags = 4, -- Dword} freeze = true, value = 0 }, { address = t1[1].address + 0xD98, -- CPU deck flags = 4 -- Dword} }, { address = t1[1].address + 0x5884, -- Dano atk flags = 4, -- Dword} freeze = true, value = 10000 }, { address = t1[1].address + 0x5894, -- atk stop flags = 4, -- Dword} } } end -- fecha o for gg.addListItems(a) os.exit() end -- fecha o if menu2 == 1 if menu2 == 2 then -- segundo gg.clearList() local t1 = gg.getResults(5) for i = 1, 100 do a = { { address = t1[1].address, --my mao flags = 4 }, { address = t1[1].address + 0x4, -- my deck flags = 4, -- Dword }, { address = t1[1].address + 0xD94, -- CPU MAO flags = 4, -- Dword} freeze = true, value = 0 }, { address = t1[1].address + 0xD98, -- CPU deck flags = 4 -- Dword} }, { address = t1[1].address + 0x5884, -- Dano atk flags = 4, -- Dword} freeze = true, value = 0 }, { address = t1[1].address + 0x5894, -- atk stop flags = 4 -- Dword} } } end -- fecha o for gg.addListItems(a) os.exit() end -- fecha o if menu2 == 2 end --//////////////Altera/////////////////////////////////////////// ---------------Cancelar atk------------------------------------- if menu == 3 then gg.clearList() local t1 = gg.getResults(5) -- testa o gg.getList(6) for i = 1, 100 do a = { { address = t1[1].address + 0xD94, -- cpu mao flags = 4, -- Dword freeze = true, value = 0 }, { address = t1[1].address + 0x5894, -- atk stop flags = 4, -- Dword} freeze = true, value = 1 } } end -- fecha o for gg.addListItems(a) os.exit() end --//////////////Cancelar atk/////////////////////////////////////////// ----------------Em caso de erro------------------------------------ if menu == 4 then gg.clearList() local t1 = gg.getResults(5) for i = 1, 100 do a = { { address = t1[1].address + 0xD94, -- CPU MAO flags = 4, -- Dword} freeze = true, value = 0 }, { address = t1[1].address + 0xD98, -- CPU deck flags = 4, -- Dword} value = 0 }, { address = t1[1].address + 0x5894, -- atk stop flags = 4, -- Dword} freeze = true, value = '1' } } gg.addListItems(a) os.exit() end -- fecha o end --///////////////Em caso de erro////////////////////////////////////////// ----------------final------------------------------------ if menu == 4 then gg.clearList() local t1 = gg.getResults(5) for i = 1, 100 do a = { { address = t1[1].address + 0xD94, -- my deck flags = 4, -- Dword value = 0 }, { address = t1[1].address + 0x5884, -- Dano atk flags = 4, -- Dword} freeze = true, value = 10000 }, } gg.addListItems(a) gg.clearResults(t1) os.exit() end -- fecha o end --///////////////final////////////////////////////////////////// -----------------Sair----------------------------------- if menu == 6 then os.exit() end --////////////////Sair///////////////////////////////////////// in the part between: -------------------Final-------------- and //////////////Final////////////////// the code is being executed correctly however, the first address I send it saves, freezes and changes to "0", and does everything right but it doesn't change the value to "0"! This makes no sense because everyone is working in the script but this is not! can you help me?
  4. I want can make my first script! But there is something I don't know how to do! I want to search an x value! I have several things to help me with this, such as: mask = 000c type = dword the memory = alloc_ca but still, I can not do with it (script) return me only an address! because for that I fear that before doing something manually to change the value and then I continue with the script! But I wanted to find a way to have the script do the normal search and give me a second, so I can change the value and it can only find one result! and then continue the rest of the script! can someone help me in how I can do an efficient search and that only returns the value I want, is that I can not see how I can make the script do everything for me, as it exudes even a part and keep waiting for me to tell it continues after I change the value in the game! sorry for my english! I speak brazilian portuguese
  5. didn't work! Erro: Script terminado: Talvez este script precise da versão mais recente do GameGuardian. Tente atualizar para a versão mais recente. Script error: luaj.LuaError: @/storage/emulated/0/Download/Lua/testes.lua:23 `gg.addListItems(a)` Failed parse item { -- table(ceaaf3d) ['address'] = 0x96080db4, } on key '1': bad argument for key 'flags': int expected, got nil level = 1, const = 14, proto = 0, upval = 1, vars = 8, code = 33 CALL v1..v2 ; PC 31 CODE 0100405D OP 29 A 1 B 2 C 1 Bx 1025 sBx -130046 stack traceback: /storage/emulated/0/Download/Lua/testes.lua:23 in main chunk [Java]: in ? at android.ext.Script.failedParse(Script.java:5251) at android.ext.Script$addListItems.invoke2(Script.java:4393) at android.ext.Script$ApiFunction.invoke(Script.java:1296) at luaj.lib.VarArgFunction.call(VarArgFunction.java:58) at luaj.LuaValue.callNotNull(LuaValue.java:3131) at luaj.LuaClosure.execute(LuaClosure.java:508) at luaj.LuaClosure.call(LuaClosure.java:159) at android.ext.Script.runScript(Script.java:5600) at android.ext.Script$ScriptThread.run(Script.java:5370) Caused by: luaj.LuaError: bad argument for key 'flags': int expected, got nil at android.ext.Script.badArg(Script.java:5259) at android.ext.Script.checkint(Script.java:5292) at android.ext.Script.toItem(Script.java:5174) at android.ext.Script.toSavedItem(Script.java:5238) at android.ext.Script$addListItems.invoke2(Script.java:4391) ... 7 more
  6. Erro in line -> gg.addListItems(a) Help!
  7. thank you! I will test and see if I can use it for my goal! Is there a good script to study? I'm starting now, but I already have a programming logic! i go test!
  8. I understand, I can't save an address multiple times by adding the different offsets to each item! thank you!
  9. but I want to do a search and at the same time save that address using the script! In the case of your script, I would like you to increase by putting the search in it too! if possible!
  10. How can I save an address book from a single output using offsets with a lua script?
  11. but do not give research the value of the mask! more thank you very much! helped!
  12. It would be great if in search mode I can already add the search mask! That would make the search much faster! ADMs trying to put this in the next updates would be very useful for a lot of people, I think! for me it will be very useful! thank you!
  13. I always search the same game for the same value and as usual I find it! but I have some information that could help me speed up my search for this address: is that the addresses found always end with the same pattern, ex: 8974000C 8437000C 9362000C ... Knowing that the last four digits are always the same, I was wondering if I could use this for faster search! using this information already! I tried it in many ways in the search tab but I can't! Anything, these information were taken from the game yugioh duel link, at the address of my hand! the other codes I just do only updates aparti this! which is much faster! thanks for listening!
  14. I wonder if anyone can help me manipulates the skills of yugioh characters?!? In case I want it can activate the ability when I want, and keep it active even if it were to be disabled! Can someone help me!
×
×
  • Create New...