Jump to content

WebReveuse1

Members
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by WebReveuse1

  1. I noticed that the FLOAT variable of the enemy's HP is associated with a DWORD value (it's the same value except that there is no comma lol) and when the enemy dies there is only this changing DWORD value and not the FLOAT at the same address So just make a new search in FLOAT with this DWORD value which corresponds to the HP value of the new enemy.
  2. yes I am French, but on this site they impose English, so that everyone can understand ... I would like to deepen this script and make everything happen automatically. I'd like to get into the fight and the script finds the value of HP alone,then that it modifies the HP of the allies. He is already able to automatically change the HOs of the next enemies after entering the enemy HP for the first time.But it does not work for the allies.
  3. LAST SCRIPT UPDATE : ::start:: mort = 0 if gg.isVisible(true) then gg.setVisible(false) end if gg.isProcessPaused() == false then gg.processPause() end gg.clearResults() gg.clearList() menu = gg.choice({"GodMod","Weak Ennemy","Both"},nil,"VIP ModMenu Dragon Ball Legends") if menu == nil then goto stop end weakmod = 1 godmod = 1e30 if menu == 1 then both = false goto a end if menu == 2 then both = false goto b end if menu == 3 then both = true goto a end if menu == nil then goto stop end ::a:: data = gg.prompt({[1]='My HP'}, {[1]=nil}) if data == nil then goto start end gg.searchNumber(data[1], gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) empty = gg.getResultsCount() if empty == 0 then gg.clearResults() gg.searchNumber(data[1], gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) end gg.getResults(12) gg.editAll(godmod, gg.TYPE_FLOAT) gg.clearResults() gg.toast("GodMod ACTIVATED") if both == true then goto b else goto stop end ::b:: data = gg.prompt({[1]='Ennemy HP'}, {[1]=nil}) if data == nil then goto start end gg.searchNumber(data[1], gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) next_ennemy = data[1] gg.getResults(20) gg.editAll(weakmod, gg.TYPE_FLOAT) gg.toast("Weak Ennemy ACTIVATED") goto c ::c:: gg.processResume() if gg.isVisible(true) then gg.setVisible(false) end val_inf = -1 goto f ::f:: for i, v in ipairs(gg.getResults(30, nil, nil, nil, nil, nil, gg.TYPE_QWORD)) do if v.value > weakmod and v.value ~= next_ennemy and v.value ~= val_inf then val_inf = v.value goto f elseif v.value > 1 and v.value ~= next_ennemy and v.value == val_inf then next_ennemy = v.value goto e end end goto f ::e:: mort = mort + 1 for i, v in ipairs(gg.getResults(30, nil, nil, nil, nil, nil, gg.TYPE_QWORD)) do if v.value == 0 then goto stop end end gg.toast(""..mort.." ennemies are Dead") goto d ::d:: if gg.isProcessPaused() == false then gg.processPause() end gg.clearResults() gg.searchNumber(next_ennemy, gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll(weakmod, gg.TYPE_FLOAT) gg.toast("Weak Ennemy ACTIVATED") goto c ::stop:: gg.toast("All Ennemies are Dead YOU WIN") gg.processResume() gg.clearResults() os.exit() Just copy-paste into a empty file named like "DBLEGENDSHACK.lua" or "Dblhack.txt" it's same
  4. If we use Android Studio to search the game's files and find these values we could perhaps find their location in memory? If you want to contact me by mail it will be easier: [email protected]
  5. Super thanks for your clear explanation ! Now that I have been able to test for myself that the HPs work, I find that the unlimited ki does not work.But the unlimited dodge works, though I put the variables at 99999 as you told me. Is there a way to directly win the game by setting the HP values of the enemy to 0 for example? thank you for responding so quickly
  6. Hello, Thank you for your answer ! On the other hand I am not sure of having understood everything ... according to what I understood it is enough simply to look for the value of the HP of the player and to replace by 1 for the godmod? Or do you have to go into the memory and change something else ...? And I did not understand your "FLOAT 0 FOAT 0 ..." Thank you
  7. Hello, I just created my first lua script on the Dragon Ball Legends game on Android and I would like to have your opinion on this work which took time because I started ... The ModMenu includes the following options: - GodMod: Become Invincible - Weak Ennemy: Make the opponent vulnerable (choice of the number of enemies to automate the task) For the Weak Ennemy, when the opponent dies in excruciating pain after your fatal blow with the infinity glove, you automatically return to GameGuardian and the next opponent is automatically made vulnerable, until you extermination of each opponent. ::start:: mort = 1 gg.setVisible(true) gg.clearResults() gg.clearList() menu = gg.choice({"GodMod","Weak Ennemy","Both"},nil,"VIP ModMenu Dragon Ball Legends") if menu == nil then goto stop end weakmod = 1 godmod = 1e30 if menu == 1 then both = false goto a end if menu == 2 then both = false goto b end if menu == 3 then both = true goto a end if menu == nil then goto stop end ::a:: data = gg.prompt({[1]='My HP'}, {[1]=nil}) if data == nil then goto start end gg.searchNumber(data[1], gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) empty = gg.getResultsCount() if empty == 0 then gg.clearResults() gg.searchNumber(data[1], gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) end gg.getResults(12) gg.editAll(godmod, gg.TYPE_FLOAT) gg.clearResults() gg.toast("GodMod ACTIVATED") if both == true then goto b else goto stop end ::b:: choix_nb_ennemy = gg.choice({'1', '2', '3'}, nil, 'Ennemy Number') data = gg.prompt({[1]='Ennemy HP'}, {[1]=nil}) if data == nil then goto start end gg.searchNumber(data[1], gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) next_ennemy = data[1] gg.getResults(20) gg.editAll(weakmod, gg.TYPE_FLOAT) gg.toast("Weak Ennemy ACTIVATED") goto c ::c:: if gg.isVisible(true) then gg.setVisible(false) end if choix_nb_ennemy == 1 then nb_ennemy = 1 end if choix_nb_ennemy == 2 then nb_ennemy = 2 end if choix_nb_ennemy == 3 then nb_ennemy = 3 end while mort <= nb_ennemy do if mort == nb_ennemy then break end for i, v in pairs(gg.getResults(16, nil, nil, nil, nil, nil, gg.TYPE_DWORD | gg.TYPE_QWORD)) do if v.value > 1 and v.value ~= next_ennemy then gg.toast("Ennemy is DeadBack to GG...") gg.sleep(1000) next_ennemy = v.value goto d end end end gg.toast("Ennemy is DeadYOU WIN") goto stop ::d:: mort = mort + 1 gg.setVisible(true) gg.clearResults() gg.searchNumber(next_ennemy, gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(16) gg.editAll(weakmod, gg.TYPE_FLOAT) gg.toast("Weak Ennemy ACTIVATED") goto c ::stop:: if gg.isVisible(true) then gg.setVisible(false) end gg.clearResults() os.exit() I also have a question: Can we make sure that the values are automatically found at the launch of the script without the user entering anything? For example when the fight begins, my character has 1 500 000 HP, can we find this value without the user entering "1500000" in the script? Thank you for your feedback! WebReveuse1
×
×
  • 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.