-
Posts
666 -
Joined
-
Last visited
-
Days Won
32
BadCase last won the day on March 25
BadCase had the most liked content!
Additional Information
-
Android
10.x
-
Device
SM-T510;SM-A505U
-
Service provider
Verizon
Profile Fields
-
Discord ID
BadCase#5054
Recent Profile Visitors
67,952 profile views
BadCase's Achievements
-
You can use the PasteBin API I just made to do this easily Create a paste containing the variables and then use this to load them into currently running script load(pasteBin.getPasteRaw("LFshihBT"))() --replace "LFshihBT" with your pastes key BadCase's PasteBin API (#72l4i839)
-
function compareOffsets (compareTo, checkedOffset) if checkedOffset > compareTo then return true else return false end end local shouldAdd = compareOffsets (0x4A7C24, 0x4A7C28) print (shouldAdd) local shouldAdd = compareOffsets (0x4A7C24, 0x4A7C20) print (shouldAdd)
- 1 reply
-
1
-
I am pretty sure this can be done by first renaming with os.rename and then removing the renamed file with os.remove
-
How can i make my scripts send a message in a paste site?
BadCase replied to _insidious's question in Help
Ah yes I ran into the max paste error while I made the API last night, thought I broke something at first lol BTW I made this after I posted my reply last night BadCase's PasteBin API (#72l4i839) Also if the reply I sent with the code in it worked you can mark it as the accepted answer -
I know it is late but I use this on my rooted device not unrooted, it allows you to bypass detection for root and for GG in many games
-
How can i make my scripts send a message in a paste site?
BadCase replied to _insidious's question in Help
If you want to post as private, make sure you are posting with username, you can't post private as Guest -
View File BadCase's PasteBin API Set these values at top of pasteBin table api_dev_key = "YOUR_API_DEV_KEY", api_user_name = "YOUR_USERNAME", api_user_password = "YOUR_PASSWORD", Usage: -- Upload with username -- print(pasteBin.publishPaste(api_paste_code, api_paste_name, true)) -- Upload without username --print(pasteBin.publishPaste(api_paste_code, api_paste_name, false)) -- List users pastes --print(pasteBin.listPastes()) -- Delete a paste -- print(pasteBin.deletePaste("Jef8vQcX")) -- replace "Jef8vQcX" with valid paste key from users paste -- Get users info -- print(pasteBin.getUser()) -- Get users private or public paste -- print(pasteBin.getUserPasteRaw("zbEbNh2n")) -- replace "zbEbNh2n" with valid paste key from users paste -- Get public or unlisted paste -- print(pasteBin.getPasteRaw("zbEbNh2n")) -- replace "zbEbNh2n" with valid paste key Submitter BadCase Submitted 03/24/2023 Category Tools
-
How can i make my scripts send a message in a paste site?
BadCase replied to _insidious's question in Help
2 = private https://pastebin.com/doc_api -
Version 1.0.1
126 downloads
Set these values at top of pasteBin table api_dev_key = "YOUR_API_DEV_KEY", api_user_name = "YOUR_USERNAME", api_user_password = "YOUR_PASSWORD", Usage: -- api_paste_format https://pastebin.com/doc_api#5 -- api_paste_expire_date https://pastebin.com/doc_api#6 -- api_paste_private https://pastebin.com/doc_api#7 -- Upload with username pasteBin.publishPaste(api_paste_code, api_paste_name, postAsUser, api_paste_private,api_paste_expire_date,api_paste_format) -- print(pasteBin.publishPaste(api_paste_code, api_paste_name, true,"2","N","lua")) -- Upload without username pasteBin.publishPaste(api_paste_code, api_paste_name, postAsUser, api_paste_private,api_paste_expire_date,api_paste_format) --print(pasteBin.publishPaste(api_paste_code, api_paste_name, false,"0", "N","lua")) -- List users pastes --print(pasteBin.listPastes()) -- Delete a paste -- print(pasteBin.deletePaste("Jef8vQcX")) -- replace "Jef8vQcX" with valid paste key from users paste -- Get users info -- print(pasteBin.getUser()) -- Get users private or public paste -- print(pasteBin.getUserPasteRaw("zbEbNh2n")) -- replace "zbEbNh2n" with valid paste key from users paste -- Get public or unlisted paste -- print(pasteBin.getPasteRaw("zbEbNh2n")) -- replace "zbEbNh2n" with valid paste key -
How can i make my scripts send a message in a paste site?
BadCase replied to _insidious's question in Help
function publishToPastebin(api_dev_key, api_paste_code, api_paste_name, api_user_name, api_user_password) local char_to_hex = function(c) return string.format("%%%02X", string.byte(c)) end local function urlencode(url) if url == nil then return end url = url:gsub("\n", "\r\n") url = url:gsub("([^%w ])", char_to_hex) url = url:gsub(" ", "+") return url end local api_user_key = "" if api_user_name then local url = "https://pastebin.com/api/api_login.php" local headers = { ["Content-Type"] = "application/x-www-form-urlencoded" } local data = "api_dev_key=" .. api_dev_key .. "&api_user_name=" .. api_user_name .. "&api_user_password=" .. api_user_password local result = gg.makeRequest(url, headers, data) api_user_key = result.content end local url = "https://pastebin.com/api/api_post.php" local api_paste_private = "0" local api_paste_expire_date = "N" local api_paste_format = "lua" api_paste_name = urlencode(api_paste_name) api_paste_code = urlencode(api_paste_code) local headers = { ["Content-Type"] = "application/x-www-form-urlencoded" } local data = "api_option=paste" .. "&api_dev_key=" .. api_dev_key .. "&api_user_key=" .. api_user_key .. "&api_paste_private=" .. api_paste_private .. "&api_paste_name=" .. api_paste_name .. "&api_paste_expire_date=" .. api_paste_expire_date .. "&api_paste_format=" .. api_paste_format .. "&api_paste_code=" .. api_paste_code local response = gg.makeRequest(url, headers, data) if response.code == 200 then return response.content else return "Error: " .. response.message end end local api_dev_key = "YOUR_DEV_KEY" local api_user_name = "YOUR_USERNAME" -- Only needed if you want paste uploaded with username otherwise paste will be uploaded as Guest local api_user_password = "YOUR_PASSWORD" -- Only needed if you want paste uploaded with username otherwise paste will be uploaded as Guest local api_paste_code = [[local testText = "Some Text" gg.alert(testText)]] local api_paste_name = "file name.lua" --Upload with username print(publishToPastebin(api_dev_key, api_paste_code, api_paste_name, api_user_name, api_user_password)) --Upload without username print(publishToPastebin(api_dev_key, api_paste_code, api_paste_name)) -
If I understand correctly and you want it to print out the total number of times a value appears then this should work. local count = {} local t = {} gg.searchNumber("3D;8D;4D::17", gg.TYPE_DWORD) -- random search count = gg.getResultsCount() t = gg.getResults(count) local totalsTable = {} for i,v in pairs (t) do if not totalsTable[tostring(v.value)] then totalsTable[tostring(v.value)] = 1 else totalsTable[tostring(v.value)] = totalsTable[tostring(v.value)] + 1 end end print(totalsTable)--totals of all values print(totalsTable["8"])--totals of specified value, make sure you put it in quotes so it is treated as string
-
can someone give me a script prompt like this, please help me
BadCase replied to toanpham6001's question in Help
https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b print('prompt 4: ', gg.prompt( {'seek bar 1 [32; 64]', 'checkbox label'}, nil, {'number', 'checkbox'} )) -
You can use Lover's script to get the class name that a value in A belongs to and then see if editing any of the methods in the class can accomplish your goal.
-
There can be arm instructions in Xa that set values found in Anon, maybe that is what you mean?