-
Posts
287 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by HorridModz
-
-
-
I wish I would have used this - it would have saved ages! Here's my solution: function armtohex(fullarm) progressalert("Converting edit value",false) fullhex = "" --Thanks to Enyby for the original arm hex converter I used code from: -- https://gameguardian.net/forum/files/file/2004-arm-converter/ for arm in string.gmatch(fullarm,'[^\r\n]+') do progressalert("Converting edit value",false) local addr = gg.getRangesList('libc.so') for i, v in ipairs(addr) do if v.type:sub(2,2) == 'w' then addr = {{address = v.start, flags = gg.TYPE_DWORD}} end end if not addr[1].address then print("Error occured converting arm code to hex: Failed to get address ", addr) gg.setVisible(true) os.exit() end if is64bit then --Armv8 (64bit) local old = gg.getValues(addr) addr[1].value = '~A8 '..arm local ok, err = pcall(gg.setValues, addr) local out if not ok then err = err:gsub("^.* '1': ", ''):gsub('\nlevel = 1.*$', '') print("Error occured converting arm code to hex: " .. err) gg.setVisible(true) os.exit() else out = gg.getValues(addr) out = out[1].value & 0xFFFFFFFF gg.setValues(old) if not hex then out = string.unpack('>I4', string.pack('<I4', out)) end out = string.format('%08X', out) fullhex = fullhex .. out end else --Armv7 (32bit) local old = gg.getValues(addr) addr[1].value = '~A '..arm local ok, err = pcall(gg.setValues, addr) local out if not ok then err = err:gsub("^.* '1': ", ''):gsub('\nlevel = 1.*$', '') print("Error occured converting arm code to hex: " .. err) gg.setVisible(true) os.exit() else out = gg.getValues(addr) out = out[1].value & 0xFFFFFFFF gg.setValues(old) if not hex then out = string.unpack('>I4', string.pack('<I4', out)) end out = string.format('%08X', out) fullhex = fullhex .. out end end end return(fullhex) end function hextodecimal(hex) progressalert("Converting edit value",false) --Remove spaces, then reverse bytes (ex: A1 B1 -> B1A1) oldhex = string.gsub(tostring(hex)," ","") hex = "" thisbyte = "" for letterindex = 1, #oldhex do thisbyte = thisbyte .. oldhex:sub(letterindex,letterindex) if #thisbyte == 2 then hex = thisbyte .. hex thisbyte = "" end end if not(string.sub(hex,1,2) == "0x") then hex = "0x" .. hex end return(tonumber(hex)) --[[ --thanks to ItsSC for this function (found at https://gameguardian.net/forum/topic/31634-converting-decimal-to-hex/) hex = tonumber(hex) gg.alert(tostring(tonumber(hex >= 0 and string.format("%X", tonumber(hex)) or string.format("%X", (hex~ 0xffffffffffffffff <<((math.floor(math.log(math.abs(hex))/math.log(10)) + 1) *4))),16))) return(tonumber(hex >= 0 and string.format("%X", tonumber(hex)) or string.format("%X", (hex~ 0xffffffffffffffff <<((math.floor(math.log(math.abs(hex))/math.log(10)) + 1) *4))),16)) --]] end
-
Pixel Gun 3D ALL UPDATE Custom Lottery + Sets Hack (32bit and 64bit)
HorridModz commented on HorridModz's file in LUA scripts
-
-
- 86 comments
-
2
-
- Pixel Gun 3d
- Pixel Gun
-
(and 6 more)
Tagged with:
-
Awesome script, and very useful! But there's a big problem with this script. The problem is that in the instructions, you give unclear instructions and I do not get exactly what to do and why. It would be awesome if you could more thoroughly test it and find out exsctly what to do and why. Also, it would be a lot easier to use if you used gg.alert and gg.sleep to guide the user through the process step by step.
- 16 comments
-
2
-
- Pixel Gun 3d
- Pixel Gun
-
(and 3 more)
Tagged with:
-
View File Pixel Gun 3D ALL UPDATE Custom Lottery + Sets Hack (32bit and 64bit) The script has been patched, but @Michael1541 went through a lot of effort to make an updated version for the community! Switch to that one instead: PG3D Lottery and Sets script updated - LUA scripts - GameGuardian @Michael1541's updated version has also been patched . Want to update the script yourself? I have created a lotto sets template! Notice: Armv7 (32bit) is not currency supported, because I grinded 18 hours to make this and I'm really burnt out. But it should be finished in a few days. Update: I said I would add Armv7 (32bit) support in a few days when this script was first released, but it never came out. I know a lot of people are upset about this. The reason is that I tried multiple times to make it work but kept encountering bugs and running into issues. Sorry to all the 32bit users! Contact Me: User123456789#6424 on discord Disclaimer: This script is bannable! Getting too much currency within a certain time frame will flag your account as suspicous and you will be banned in the next ban wave. I recommend only getting at most 10,000 gems per day, or your account will have a high risk of being banned. Even if you do play it safe, you can still be banned. Warning: Using the custom value option and setting the reward values to over 45,000 will instantly ban you! After almost 18 hours straight of work, and a completely sleepless night, I finally present: Pixel Gun 3D All Update Custom Lottery and Set Event Hack! This is not the ordinary lotto sets script. Here's what unique about it: -This script will work on all game updates (the lowest game version tested is 22.4.3, but downgrading is impossible anyway), even future updates -The script supports various values, and lets you enter a custom value if it does not have what you want. Currently, only whole numbers (no decimal values like 1.5) in the range of 0 to 65536 are supported. -This script supports devices with both armv7 (32bit) and armv8 (64bit) architectures -This script employs multiple searches, to ensure that only the correct value is edited, and as a backup in case the mIain search does not work -This script has a small antiban feature that warns you when you try to edit the reward values over 45,000 I really hope you enjoy, and that this was worth staying up until 5 AM for! Submitter HorridModz Submitted 08/20/2022 Category LUA scripts
-
Version 1.0.0
16,101 downloads
UPDATED 24.3.2: https://gameguardian.net/forum/files/file/3887-updated-pg3d-2432-actual-32bit-support-pixel-gun-3d-all-update-custom-lottery-rewards-hack-32bit-and-64bit/ The script has been patched, but @Michael1541 went through a lot of effort to make an updated version for the community! Switch to that one instead: PG3D Lottery and Sets script updated - LUA scripts - GameGuardian @Michael1541's updated version has also been patched . Want to update the script yourself? I have created a lotto sets template! Notice: Armv7 (32bit) is not currency supported, because I grinded 18 hours to make this and I'm really burnt out. But it should be finished in a few days. Update: I said I would add Armv7 (32bit) support in a few days when this script was first released, but it never came out. I know a lot of people are upset about this. The reason is that I tried multiple times to make it work but kept encountering bugs and running into issues. Sorry to all the 32bit users! Contact Me: User123456789#6424 on discord Disclaimer: This script is bannable! Getting too much currency within a certain time frame will flag your account as suspicous and you will be banned in the next ban wave. I recommend only getting at most 10,000 gems per day, or your account will have a high risk of being banned. Even if you do play it safe, you can still be banned. Warning: Using the custom value option and setting the reward values to over 45,000 will instantly ban you! After almost 18 hours straight of work, and a completely sleepless night, I finally present: Pixel Gun 3D All Update Custom Lottery and Set Event Hack! This is not the ordinary lotto sets script. Here's what unique about it: -This script will work on all game updates (the lowest game version tested is 22.4.3, but downgrading is impossible anyway), even future updates -The script supports various values, and lets you enter a custom value if it does not have what you want. Currently, only whole numbers (no decimal values like 1.5) in the range of 0 to 65536 are supported. -This script supports devices with both armv7 (32bit) and armv8 (64bit) architectures -This script employs multiple searches, to ensure that only the correct value is edited, and as a backup in case the mIain search does not work -This script has a small antiban feature that warns you when you try to edit the reward values over 45,000 I really hope you enjoy, and that this was worth staying up until 5 AM for! -
Thanks for trying to help, but he is also trying to help. Maybe you think your method is better, but we should all be allowed to contribute our methods. Do not try to denounce someone else's advice. This is also quite hypocritical of you because your method also involves editing a large number of values. I have another method. Another way to find the value you want is by group search. If there are multiple items in the shop, try searching multiple of these items with ";" in between (ex: if there is an offer 50 coins for item a and an offset 100 coins for item b, search 50;100 instead of just 50). A group search will only return values that are close together. In something like a shop, the different offers are usually close together in memory because they belong to the same elements of the game.
-
-
-
TUT A beginner's guide to brave frontier modding with IDA Pro [PICS]
HorridModz replied to xXL3g3ndXx's topic in Tutorials
Thanks so much for the awesome tutorial, you made ida pro (a very overwhelming tool) seem easy to use and helped me mod a function with ida pro. I do have one question: I was confused on this line: I am using arm64 (armv8), and my target function has four lines of code. For lines should be very comfortable for returning whatever value I want. However, I am kind of stuck on how. The Mul command looks like it doesn't exist in arm64. -
-
-
This post cannot be displayed because it is in a forum which requires at least 1 post to view.
-
This post cannot be displayed because it is in a forum which requires at least 1 post to view.
-
-
I thanked you in the review you made, but thanks again for the kind words. No, clan items are not lost if you leave a clan. However, clan armor cannot be uaed if you are not in a clan with that league or higher (ie golden division armor cannot be used in wooden division clan). Luckoly I was able to answer this question. But these are game mechanics, so consulting the pixel gun fandom wiki or asking fellow pg3d players is a better way to get answers to questions like this. It does work. I am just curios - If you can't test / use it, why does it affect you whether it works or not? No offense!
-
-
I just gave you a general guide. If you do not understand, you are on the perfect website to learn modding It works decent enough for 22.5.1. I just gave you a general guide. If you do not understand, you are on the perfect website to learn modding Weapon unlocker works on all versions, but when a new script update comes out, it is still best to update to get the improvements It works decent enough for 22.5.1. I just gave you a general guide. If you do not understand, you are on the perfect website to learn modding
-
It is possible, but price is server sided and will kick you. If you can someone bypass the kick, you can change the price not by modifying the unlocking, but modifying the price itself. The easiest way to do this is to hex patch the price of everything (can found in the ItemPrice class) Mentioning gameguardian mods is against the website's rules. I don't know why it is, but it is. I would delete that comment before your account gets banned.
-
Thanks for helping! My code does the same thing, but now @XkPPhas options! They can choose whichever one they understand the most.