Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/14/2020 in Posts

  1. "freezeType" parameter has default value of "gg.FREEZE_NORMAL", so it's not necessary to explicitly specify it. However, you are absolutely correct about missing call to "addListItems" function that is required to save values to saved list.
    2 points
  2. View File Real Racing 3 (12.2.2) Race Mode REAL RACING 3 RACE MODE Current version: 12.2.2.5.1 RR3 working version: 12.2.2 Description: With this script you can enable/disable following hacks: - Autodrive Mode - Drag Autolaunch/Autoshift - Freeze Mode - Ghost Mode - KickAss Mode (not helpful if you active ghost mode too) - Set formula-e battery to 100% Works with standard and rolling start Instructions: Run this script after signal light has turned green. Video: Submitter MarioRossi93i Submitted 05/13/2020 Category LUA scripts  
    1 point
  3. With hide toolbar: Is this height enough for you, or would you like to see more? For example, by hiding the tab bar. Something like this draft: Vote.
    1 point
  4. This way the values won't be frozen. Need to call "addListItems" function after the loop that sets "freeze" field to "true".
    1 point
  5. 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.
    1 point
  6. I didn't know why, but the values was not frozen. Only changed. If I manually freeze them, everything is OK, if not, the values change immediately. However, I didn't despair and found a way out of the situation, I found what you missed in your example: I don't know how critical this is, but you didn't specify table ["freezeType"] = gg.FREEZE_NORMAL line and the most important thing is that you forgot about gg.addListItems (table) line. But the main thing - the direction was set and eventually I was able to figure it out on my own. Thanks a lot! 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 end gg.setValues(table) gg.addListItems(table) gg.toast('Done!') gg.setVisible(true) os.exit() end
    1 point
  7. 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
    1 point
  8. Update: Finally Got all Weapons Indexed with their codes. Got all Armor indexed with their codes Got All items, but index code sequence incomplete match with codes New Sheet Designed for easy address auto update with only input the new Address of Herbs (Find Herbs address to update offsets) Previews of the Excel sheets Notes for steps are inside the Excel File... (v1.6) Monster Hunter Stories Memory Index.xlsx
    1 point
  9. Simcity buildit full building Nov 2019 working 100% (#d8x5q3b9) Here's my topic. Worked for newest update. The ID of buildings is at 9:45 of video. Full list
    1 point
×
×
  • 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.