content
stringlengths
5
1.05M
local LOCAL_PLAYER = Game.GetLocalPlayer() local CONFETTI_TEMPLATE = script:GetCustomProperty("Confetti_Victory_Template") local function FindPlayerById(id) for _, player in ipairs(Game.GetPlayers()) do if player.id == id then return player end end end function OnPlayConfetti(targetId) local target = FindPlayerById(targetId) local targetPos = target:GetWorldPosition() targetPos.z = targetPos.z + 200 local confetti = World.SpawnAsset(CONFETTI_TEMPLATE, {position = targetPos}) Task.Spawn( function() if confetti and Object.IsValid(confetti) then confetti:Destroy() end end, 10 ) end Events.Connect("PlayConfetti", OnPlayConfetti)
-- Copyright 2006-2021 Mitchell. See LICENSE. -- Rexx LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, S = lpeg.P, lpeg.S local lex = lexer.new('rexx') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1)) -- Keywords. lex:add_rule('keyword', token(lexer.KEYWORD, word_match({ 'address', 'arg', 'by', 'call', 'class', 'do', 'drop', 'else', 'end', 'exit', 'expose', 'forever', 'forward', 'guard', 'if', 'interpret', 'iterate', 'leave', 'method', 'nop', 'numeric', 'otherwise', 'parse', 'procedure', 'pull', 'push', 'queue', 'raise', 'reply', 'requires', 'return', 'routine', 'result', 'rc', 'say', 'select', 'self', 'sigl', 'signal', 'super', 'then', 'to', 'trace', 'use', 'when', 'while', 'until' }, true))) -- Functions. lex:add_rule('function', token(lexer.FUNCTION, word_match({ 'abbrev', 'abs', 'address', 'arg', 'beep', 'bitand', 'bitor', 'bitxor', 'b2x', 'center', 'changestr', 'charin', 'charout', 'chars', 'compare', 'consition', 'copies', 'countstr', 'c2d', 'c2x', 'datatype', 'date', 'delstr', 'delword', 'digits', 'directory', 'd2c', 'd2x', 'errortext', 'filespec', 'form', 'format', 'fuzz', 'insert', 'lastpos', 'left', 'length', 'linein', 'lineout', 'lines', 'max', 'min', 'overlay', 'pos', 'queued', 'random', 'reverse', 'right', 'sign', 'sourceline', 'space', 'stream', 'strip', 'substr', 'subword', 'symbol', 'time', 'trace', 'translate', 'trunc', 'value', 'var', 'verify', 'word', 'wordindex', 'wordlength', 'wordpos', 'words', 'xrange', 'x2b', 'x2c', 'x2d', -- 'rxfuncadd', 'rxfuncdrop', 'rxfuncquery', 'rxmessagebox', 'rxwinexec', 'sysaddrexxmacro', 'sysbootdrive', 'sysclearrexxmacrospace', 'syscloseeventsem', 'sysclosemutexsem', 'syscls', 'syscreateeventsem', 'syscreatemutexsem', 'syscurpos', 'syscurstate', 'sysdriveinfo', 'sysdrivemap', 'sysdropfuncs', 'sysdroprexxmacro', 'sysdumpvariables', 'sysfiledelete', 'sysfilesearch', 'sysfilesystemtype', 'sysfiletree', 'sysfromunicode', 'systounicode', 'sysgeterrortext', 'sysgetfiledatetime', 'sysgetkey', 'sysini', 'sysloadfuncs', 'sysloadrexxmacrospace', 'sysmkdir', 'sysopeneventsem', 'sysopenmutexsem', 'sysposteventsem', 'syspulseeventsem', 'sysqueryprocess', 'sysqueryrexxmacro', 'sysreleasemutexsem', 'sysreorderrexxmacro', 'sysrequestmutexsem', 'sysreseteventsem', 'sysrmdir', 'syssaverexxmacrospace', 'syssearchpath', 'syssetfiledatetime', 'syssetpriority', 'syssleep', 'sysstemcopy', 'sysstemdelete', 'syssteminsert', 'sysstemsort', 'sysswitchsession', 'syssystemdirectory', 'systempfilename', 'systextscreenread', 'systextscreensize', 'sysutilversion', 'sysversion', 'sysvolumelabel', 'syswaiteventsem', 'syswaitnamedpipe', 'syswindecryptfile', 'syswinencryptfile', 'syswinver' }, true))) -- Identifiers. lex:add_rule('identifier', token(lexer.IDENTIFIER, lexer.alpha * (lexer.alnum + S('@#$\\.!?_'))^0)) -- Strings. local sq_str = lexer.range("'", true, false) local dq_str = lexer.range('"', true, false) lex:add_rule('string', token(lexer.STRING, sq_str + dq_str)) -- Comments. local line_comment = lexer.to_eol('--', true) local block_comment = lexer.range('/*', '*/', false, false, true) lex:add_rule('comment', token(lexer.COMMENT, line_comment + block_comment)) -- Numbers. lex:add_rule('number', token(lexer.NUMBER, lexer.number)) -- Preprocessor. lex:add_rule('preprocessor', token(lexer.PREPROCESSOR, lexer.to_eol(lexer.starts_line('#')))) -- Operators. lex:add_rule('operator', token(lexer.OPERATOR, S('=!<>+-/\\*%&|^~.,:;(){}'))) -- Fold points lex:add_fold_point(lexer.KEYWORD, 'do', 'end') lex:add_fold_point(lexer.KEYWORD, 'select', 'return') lex:add_fold_point(lexer.COMMENT, '/*', '*/') lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('--')) -- lex:add_fold_point(lexer.OPERATOR, ':', ?) return lex
----------------------------------- -- Area: Fort Ghelsba -- NM: Orcish Panzer -- Note: PH for Chariotbuster Byakzak -- !pos 23.935 -48.474 35.489 141 ----------------------------------- function onMobDeath(mob, player, isKiller) if (isKiller) then local mobId = mob:getID() local nq = GetMobByID(mobId + 1) -- Orcish Fighter local hq = GetMobByID(mobId + 2) -- Chariotbuster Byakzak DisallowRespawn(mobId, true) if os.time() > hq:getLocalVar("pop") then SpawnMob(mobId + 2):updateClaim(player) hq:setPos(mob:getXPos(), mob:getYPos(), mob:getZPos(), 0) else SpawnMob(mobId + 1):updateClaim(player) nq:setPos(mob:getXPos(), mob:getYPos(), mob:getZPos(), 0) end end end function onMobDespawn(mob) mob:setRespawnTime(math.random(3600, 4200)) -- 60 to 70 minutes end
local losc = require'losc' local Packet = require'losc.packet' describe('Packet', function() local message, bundle local mdata, bdata setup(function() message = losc.new_message('/foo') bundle = losc.new_bundle(losc:now(), message) end) it('can pack messages', function() mdata = Packet.pack(message) assert.not_nil(mdata) assert.is.equal(0, #mdata % 4) end) it('can pack bundles', function() bdata = Packet.pack(bundle) assert.not_nil(bdata) assert.is.equal(0, #bdata % 4) end) it('can unpack messages', function() local m = Packet.unpack(mdata) assert.not_nil(m) assert.is.equal(type(m), 'table') assert.are.equal('/foo', m.address) end) it('can unpack bundles', function() local b = Packet.unpack(bdata) assert.not_nil(bdata) assert.is.equal(type(b), 'table') assert.are.equal('/foo', b[1].address) end) end)
return { PlaceObj("ModItemOptionToggle", { "name", "AlwaysDusty", "DisplayName", T(302535920011125, "Always Dusty"), "DefaultValue", true, }), PlaceObj("ModItemOptionToggle", { "name", "AlwaysClean", "DisplayName", T(302535920011126, "Always Clean"), "DefaultValue", false, }), PlaceObj("ModItemOptionToggle", { "name", "SkipCablesPipes", "DisplayName", T(302535920011987, "Skip Cables Pipes"), "Help", T(302535920011988, "Doesn't change pipes or cables (hopefully helps for the borken looking pipes/cables)."), "DefaultValue", false, }), }
require('tests/tests') local T = {} -- VERBOSITY OPTIONS -- Verbose output. function T.verbose_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-v'}) -- Asserts lutl:assert_equal(fix.lutl:get_verbosity(), lutl.VERBOSE) end -- Minimal output. function T.minimal_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-m'}) -- Asserts lutl:assert_equal(fix.lutl:get_verbosity(), lutl.MINIMAL) end -- Silent ouput. function T.silent_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-s'}) -- Asserts lutl:assert_equal(fix.lutl:get_verbosity(), lutl.SILENT) end -- COLOR OPTIONS -- Enable color. function T.color_on_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-c', 'on'}) -- Asserts lutl:assert_true(fix.lutl:get_color()) end -- Disable color. function T.color_off_test(lutl, fix) -- Function under test fix.lutl:set_color(0) fix.lutl:parse_args({'-c', 'off'}) -- Asserts lutl:assert_false(fix.lutl:get_color()) end -- Auto color. -- If color autodetection is enabled then color is disabled for files; otherwise -- color is always disabled. Either way, it's off here. function T.color_auto_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-c', 'auto'}) -- Asserts lutl:assert_false(fix.lutl:get_color()) end -- Bad color argument. function T.color_bad_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-c', 'bad'}) -- Asserts local expected = "[ERROR cutl_parse_args()] Invalid argument for ".. "option 'c': 'bad'.\n"; lutl:assert_content(fix.output, expected) lutl:assert_true(fix.lutl:get_error()) lutl:assert_false(fix.lutl:get_color()) end -- Missing color argument. function T.color_missing_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-c'}) -- Asserts local expected = "[ERROR cutl_parse_args()] Missing argument for ".. "option 'c'.\n"; lutl:assert_content(fix.output, expected) lutl:assert_true(fix.lutl:get_error()) lutl:assert_false(fix.lutl:get_color()) end -- OUTPUT OPTION -- Set output file. function T.output_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-o', os.tmpname()}) fix.lutl:get_output():write("Message") -- Asserts lutl:assert_false(fix.lutl:get_error()) lutl:assert_content(fix.output, "") end -- Bad output file. function T.output_bad_test(lutl, fix) -- Setup fix.lutl:set_verbosity(lutl.SILENT) -- Function under test fix.lutl:parse_args({'-o', '/'}) fix.lutl:get_output():write("Message") -- Asserts lutl:assert_true(fix.lutl:get_error()) lutl:assert_content(fix.output, "Message") end -- Missing output file. function T.output_missing_test(lutl, fix) -- Function under test fix.lutl:parse_args({'-o'}) -- Asserts local expected = "[ERROR cutl_parse_args()] Missing argument for ".. "option 'o'.\n" lutl:assert_content(fix.output, expected) lutl:assert_true(fix.lutl:get_error()) end -- PARSE ARGS SUITE return function(lutl) lutl:at_start(fixture_setup) lutl:at_end(fixture_clean) lutl:test(T, 'verbose_test') lutl:test(T, 'minimal_test') lutl:test(T, 'silent_test') lutl:test(T, 'color_on_test') lutl:test(T, 'color_off_test') lutl:test(T, 'color_auto_test') lutl:test(T, 'color_bad_test') lutl:test(T, 'color_missing_test') lutl:test(T, 'output_test') lutl:test(T, 'output_bad_test') lutl:test(T, 'output_missing_test') end
local InventoryFunctions = require "util/inventoryfunctions" local ConfigFunctions = require "util/configfunctions" local KeybindService = MOD_EQUIPMENT_CONTROL.KEYBINDSERVICE local CanWalkTo = { [ACTIONS.RUMMAGE] = true, [ACTIONS.DRY] = true, [ACTIONS.BAIT] = true, [ACTIONS.ADDFUEL] = true, [ACTIONS.ADDWETFUEL] = true, [ACTIONS.PICK] = true, [ACTIONS.GIVE] = true, [ACTIONS.GIVETOPLAYER] = true, [ACTIONS.GIVEALLTOPLAYER] = true, [ACTIONS.FEEDPLAYER] = true, [ACTIONS.COOK] = true, [ACTIONS.SLEEPIN] = true, [ACTIONS.PLANT] = true, [ACTIONS.HARVEST] = true, [ACTIONS.SMOTHER] = true, [ACTIONS.PICKUP] = true, [ACTIONS.JUMPIN] = true, [ACTIONS.MIGRATE] = true, [ACTIONS.STEER_BOAT] = true, [ACTIONS.MOUNT_PLANK] = true, } local function IsCompatibleLeftClickAction() local buffaction = ThePlayer.components.playercontroller:GetLeftMouseAction() if not buffaction then return true end return CanWalkTo[buffaction.action] end local AUTO_EQUIP_CANE = GetModConfigData("AUTO_EQUIP_CANE", MOD_EQUIPMENT_CONTROL.MODNAME) local function ValidateCaneClick() return IsCompatibleLeftClickAction() and TheInput:GetHUDEntityUnderMouse() == nil end local function IsLightSourceEquipped() local equipped = InventoryFunctions:GetEquippedItem(EQUIPSLOTS.HANDS) if not equipped then return false end return Categories.LIGHTSOURCE.fn(equipped) end local function ShouldEquipCane() local cane = ThePlayer.components.actioncontroller:GetItemFromCategory("CANE") return cane and InventoryFunctions:GetEquippedItem(EQUIPSLOTS.HANDS) ~= cane end local function CanEquipCane() return AUTO_EQUIP_CANE and not IsLightSourceEquipped() and not InventoryFunctions:IsHeavyLifting() and ShouldEquipCane() end local function EquipCane() InventoryFunctions:Equip( ThePlayer.components.actioncontroller:GetItemFromCategory("CANE"), true ) end local function Init() local PlayerController = ThePlayer and ThePlayer.components.playercontroller if not PlayerController then return end local PlayerControllerOnLeftClick = PlayerController.OnLeftClick function PlayerController:OnLeftClick(down) if down and CanEquipCane() and ValidateCaneClick() then EquipCane() -- Avoid action interference self.inst:DoTaskInTime(GetTickTime(), function() PlayerControllerOnLeftClick(self, down) end) return end PlayerControllerOnLeftClick(self, down) end local PlayerControllerDoDragWalking = PlayerController.DoDragWalking function PlayerController:DoDragWalking(...) local isDragWalking = PlayerControllerDoDragWalking(self, ...) if isDragWalking and CanEquipCane() then EquipCane() end return isDragWalking end local PlayerControllerDoDirectWalking = PlayerController.DoDirectWalking function PlayerController:DoDirectWalking(...) PlayerControllerDoDirectWalking(self, ...) if self.directwalking and CanEquipCane() then EquipCane() end end end KeybindService:AddKey("TOGGLE_AUTO_EQUIP_CANE", function() AUTO_EQUIP_CANE = ConfigFunctions:DoToggle("Auto-equip cane", AUTO_EQUIP_CANE) end) return Init
C_ConfigurationWarnings = {} ---@param configurationWarning ConfigurationWarning ---@return boolean hasSeenConfigurationWarning ---[Documentation](https://wow.gamepedia.com/API_C_ConfigurationWarnings.GetConfigurationWarningSeen) function C_ConfigurationWarnings.GetConfigurationWarningSeen(configurationWarning) end ---@param configurationWarning ConfigurationWarning ---@return string configurationWarningString ---[Documentation](https://wow.gamepedia.com/API_C_ConfigurationWarnings.GetConfigurationWarningString) function C_ConfigurationWarnings.GetConfigurationWarningString(configurationWarning) end ---@param includeSeenWarnings boolean ---@return ConfigurationWarning[] configurationWarnings ---[Documentation](https://wow.gamepedia.com/API_C_ConfigurationWarnings.GetConfigurationWarnings) function C_ConfigurationWarnings.GetConfigurationWarnings(includeSeenWarnings) end ---@param configurationWarning ConfigurationWarning ---[Documentation](https://wow.gamepedia.com/API_C_ConfigurationWarnings.SetConfigurationWarningSeen) function C_ConfigurationWarnings.SetConfigurationWarningSeen(configurationWarning) end ---@class ConfigurationWarning local ConfigurationWarning = { ShaderModelWillBeOutdated = 0, ShaderModelIsOutdated = 1, ConsoleDeviceSseOutdated = 2, DriverBlacklisted = 3, DriverOutOfDate = 4, DeviceBlacklisted = 5, GraphicsApiWillBeOutdated = 6, OsBitsWillBeOutdated = 7, }
fxtypes = { { effect = "root", fx = { properties = { property_00 = { name = "Emitter_Duration", type = "VARTYPE_FLOAT", value = 1, }, property_01 = { name = "Emitter_Loop", type = "VARTYPE_BOOL", value = 0, }, property_02 = { name = "Emitter_RandomStartTime", type = "VARTYPE_BOOL", value = 0, }, property_03 = { name = "Emitter_ScaleSpeed", type = "VARTYPE_BOOL", value = 0, }, property_04 = { name = "Emitter_Direction", type = "VARTYPE_INT", value = 1, }, property_05 = { name = "Emitter_InheritVelocity", type = "VARTYPE_FLOAT", value = 0, }, property_06 = { name = "Emitter_Drag", type = "VARTYPE_FLOAT", value = 0.10000, }, property_07 = { name = "Emitter_Rate", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 0.02500, 600.53302, 0.16000, 400, 0.19000, 250, 0.28500, 0, 1, 0, }, }, property_08 = { name = "Emitter_Rate_LOD%", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_09 = { name = "Emitter_Deviation", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_10 = { name = "Emitter_Volume", type = "VARTYPE_ARRAY_TIMEVECTOR3", value = { entry_00 = { 0, 0, 0, 0, }, entry_01 = { 1, 0, 0, 0, }, }, }, property_11 = { name = "Emitter_Offset", type = "VARTYPE_ARRAY_TIMEVECTOR3", value = { entry_00 = { 0, 0, 0, 0, }, entry_01 = { 1, 0, 0, 0, }, }, }, property_12 = { name = "Particle_Speed", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 1, 1, 1, }, }, property_13 = { name = "Emitter_RotRate", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_14 = { name = "Particle_Fx", type = "VARTYPE_STRING", value = "witch_hunters_sentinel_claw_ring", }, property_15 = { name = "Particle_Dynamics", type = "VARTYPE_INT", value = 0, }, property_16 = { name = "Particle_Gravity", type = "VARTYPE_FLOAT", value = 1, }, property_17 = { name = "Gravwell_Strength", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 9.81000, 1, 9.81000, }, }, property_18 = { name = "Particle_Scale", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0.46000, 1, 0.46000, }, }, property_19 = { name = "Detail_From", type = "VARTYPE_FLOAT", value = 0, }, property_20 = { name = "Detail_To", type = "VARTYPE_FLOAT", value = 1, }, }, style = "STYLE_SPRAY", }, }, { effect = "root>witch_hunters_sentinel_claw_ring", fx = { properties = { property_00 = { name = "Radius", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0.50000, 1, 0.50000, }, }, property_01 = { name = "Offset", type = "VARTYPE_ARRAY_TIMEVECTOR3", value = { entry_00 = { 0, 0, 0, 0, }, entry_01 = { 1, 0, 0, 0, }, }, }, property_02 = { name = "SpinX", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_03 = { name = "SpinY", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_04 = { name = "SpinZ", type = "VARTYPE_ARRAY_TIMEFLOAT", value = { 0, 0, 1, 0, }, }, property_05 = { name = "Colour", type = "VARTYPE_ARRAY_TIMECOLOUR", value = { entry_00 = { 0, 105, 103, 101, 9, }, entry_01 = { 0.55882, 86, 86, 86, 7, }, entry_02 = { 1, 0, 0, 0, 12, }, }, }, property_06 = { name = "RadiusEpsilon", type = "VARTYPE_FLOAT", value = 0, }, property_07 = { name = "RateEpsilon", type = "VARTYPE_FLOAT", value = 0, }, property_08 = { name = "SpinEpsilonX", type = "VARTYPE_FLOAT", value = 0, }, property_09 = { name = "SpinEpsilonY", type = "VARTYPE_FLOAT", value = 0, }, property_10 = { name = "SpinEpsilonZ", type = "VARTYPE_FLOAT", value = 0, }, property_11 = { name = "SpinRandom", type = "VARTYPE_BOOL", value = 0, }, property_12 = { name = "Duration", type = "VARTYPE_FLOAT", value = 0.15000, }, property_13 = { name = "UseMesh", type = "VARTYPE_BOOL", value = 0, }, property_14 = { name = "UseDepthTest", type = "VARTYPE_BOOL", value = 0, }, property_15 = { name = "UseDepthSort", type = "VARTYPE_BOOL", value = 0, }, property_16 = { name = "Loop", type = "VARTYPE_BOOL", value = 0, }, property_17 = { name = "Billboard", type = "VARTYPE_BOOL", value = 1, }, property_18 = { name = "SelfIlluminated", type = "VARTYPE_BOOL", value = 0, }, property_19 = { name = "Blending", type = "VARTYPE_INT", value = 2, }, property_20 = { name = "Texture", type = "VARTYPE_STRING", value = "WITCH_HUNTER_FX/SISTERS/TRAIL.JPG", }, property_21 = { name = "Mesh", type = "VARTYPE_STRING", value = "Data:art/fx/box.sgm", }, property_22 = { name = "Spawn_Fx", type = "VARTYPE_STRING", value = "", }, property_23 = { name = "BirthSpawn_Fx", type = "VARTYPE_STRING", value = "", }, property_24 = { name = "SortOrder", type = "VARTYPE_INT", value = 0, }, property_25 = { name = "DepthOffset", type = "VARTYPE_FLOAT", value = 0, }, property_26 = { name = "Detail_From", type = "VARTYPE_FLOAT", value = 0, }, property_27 = { name = "Detail_To", type = "VARTYPE_FLOAT", value = 1, }, }, style = "STYLE_RING", }, }, }
-- -- make_solution.lua -- Generate a solution-level makefile. -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- function premake.make_solution(sln) -- create a shortcut to the compiler interface local cc = premake[_OPTIONS.cc] -- build a list of supported target platforms that also includes a generic build local platforms = premake.filterplatforms(sln, cc.platforms, "Native") -- write a header showing the build options _p('# %s solution makefile autogenerated by GENie', premake.action.current().shortname) _p('# Type "make help" for usage help') _p('') -- set a default configuration _p('ifndef config') _p(' config=%s', _MAKE.esc(premake.getconfigname(sln.configurations[1], platforms[1], true))) _p('endif') _p('export config') _p('') -- list the projects included in the solution _p('PROJECTS := %s', table.concat(_MAKE.esc(table.extract(sln.projects, "name")), " ")) _p('') _p('.PHONY: all clean help $(PROJECTS)') _p('') _p('all: $(PROJECTS)') _p('') -- write the project build rules for _, prj in ipairs(sln.projects) do _p('%s: %s', _MAKE.esc(prj.name), table.concat(_MAKE.esc(table.extract(premake.getdependencies(prj), "name")), " ")) if (not sln.messageskip) or (not table.contains(sln.messageskip, "SkipBuildingMessage")) then _p('\t@echo "==== Building %s ($(config)) ===="', prj.name) end _p('\t@${MAKE} --no-print-directory -C %s -f %s', _MAKE.esc(path.getrelative(sln.location, prj.location)), _MAKE.esc(_MAKE.getmakefilename(prj, true))) _p('') end -- clean rules _p('clean:') for _ ,prj in ipairs(sln.projects) do _p('\t@${MAKE} --no-print-directory -C %s -f %s clean', _MAKE.esc(path.getrelative(sln.location, prj.location)), _MAKE.esc(_MAKE.getmakefilename(prj, true))) end _p('') -- help rule _p('help:') _p(1,'@echo "Usage: make [config=name] [target]"') _p(1,'@echo ""') _p(1,'@echo "CONFIGURATIONS:"') local cfgpairs = { } for _, platform in ipairs(platforms) do for _, cfgname in ipairs(sln.configurations) do _p(1,'@echo " %s"', premake.getconfigname(cfgname, platform, true)) end end _p(1,'@echo ""') _p(1,'@echo "TARGETS:"') _p(1,'@echo " all (default)"') _p(1,'@echo " clean"') for _, prj in ipairs(sln.projects) do _p(1,'@echo " %s"', prj.name) end _p(1,'@echo ""') _p(1,'@echo "For more information, see http://industriousone.com/premake/quick-start"') end
---- -- Test cases for xlsxwriter.lua. -- -- Test the creation of a simple xlsxwriter.lua file with hyperlinks. -- This example has link formatting. -- -- Copyright 2014-2015, John McNamara, jmcnamara@cpan.org -- local Workbook = require "xlsxwriter.workbook" local workbook = Workbook:new("test_hyperlink20.xlsx") -- Simulate custom colour for testing. workbook.custom_colors = {"FF0000FF"} local worksheet = workbook:add_worksheet() local format1 = workbook:add_format{["font_color"] = "blue", ["underline"] = 1} local format2 = workbook:add_format{["font_color"] = "red", ["underline"] = 1} worksheet:write_url("A1", "http://www.python.org/1", format1) worksheet:write_url("A2", "http://www.python.org/2", format2) workbook:close()
-- Setup indent_blankline plugin -- see https://github.com/lukas-reineke/indent-blankline.nvim -- Example chars: ⦙ ¦ ┆ │ ⎸ ▏ require('indent_blankline').setup { char = '▏', show_end_of_line = false, buftype_exclude = {'terminal'}, fileTypeExclude = {'json', 'markdown'}, use_treesitter = true, -- alternating colored columns --[[ char = "", char_highlight_list = { "IndentBlanklineIndent1", "IndentBlanklineIndent2", }, space_char_highlight_list = { "IndentBlanklineIndent1", "IndentBlanklineIndent2", }, show_trailing_blankline_indent = false, --]] }
_G.savedEnv = getfenv() module( "mode_generic_laning", package.seeall ) bot = nil team = nil lane = nil role = nil function GetDesire() -- if hero is roamer, consider roaming and switch to roaming mode return BOT_MODE_DESIRE_HIGH end function OnStart() bot = GetBot() print(bot:GetUnitName() .. " entering mode: Laning") team = bot:GetTeam() lane = bot:GetAssignedLane() -- For debugging purposes if lane == LANE_NONE then lane = LANE_MID end print(bot:GetUnitName() .. " assigned lane: " .. lane) role = 0 end function OnEnd() bot = GetBot() print(bot:GetUnitName() .. " entering mode: Laning") team = nil lane = nil role = nil end function Think() if role == 0 then lastHitAndDeny() elseif role == 1 then if not pull() then if not stack() then if not harrass() then lastHitAndDeny() end end end else -- call generic roaming? end end function lastHitAndDeny() laneFront = GetLaneFrontLocation(team, lane, -(bot:GetAttackRange())) if GetUnitToLocationDistance(bot, laneFront) > (bot:GetAttackRange())then bot:Action_MoveToLocation(laneFront) else creeps = bot:GetNearbyCreeps(1200, true) croops = bot:GetNearbyCreeps(1200, false) lowest = nil for k, v in pairs(creeps) do if lowest == nil then lowest = v elseif(lowest:GetHealth() > v:GetHealth()) then lowest = v end end -- Should add range from lane front and general agro avoidance. if lowest ~= nill then closeEnough = (bot:GetAttackRange() >= GetUnitToUnitDistance(bot, lowest)) killable = (lowest:GetHealth() < (bot:GetAttackDamage() * 1.5)) if closeEnough and killable then bot:Action_AttackUnit(lowest, false) elseif not closeEnough then bot:Action_MoveToUnit(lowest) elseif not killable then return false else return false end end end return true end function pull() return false end function stack() return false end function harrass() return false end for k,v in pairs( mode_generic_laning ) do _G.savedEnv[k] = v end BotsInit = require("game/botsinit"); local my_generic_laning = BotsInit.CreateGeneric(); my_generic_laning.GetDesire = GetDesire; my_generic_laning.OnStart = OnStart; my_generic_laning.OnEnd = OnEnd; my_generic_laning.Think = Think; return my_generic_laning;
local utils = require"test_utils" local sh, stdout, stderr, sleep, sh_ex, sh_until_ok = utils.sh, utils.stdout, utils.stderr, utils.sleep, utils.sh_ex, utils.sh_until_ok local kong_utils = require"kong_utils" local JSON = require"JSON" local host_git_root = os.getenv"HOST_GIT_ROOT" local git_root = os.getenv"GIT_ROOT" local test_root = host_git_root .. "/t/specs/gluu-openid-connect" local pl_path = require "pl.path" local pl_tmpname = pl_path.tmpname local pl_file = require "pl.file" -- finally() available only in current module environment -- this is a hack to pass it to a functions in kong_utils local function setup_db_less(model) kong_utils.setup_db_less(finally, test_root .. "/" .. model, true) -- create_cookie_tmp_filename = true end test("basic", function() setup_db_less("oxd-model1.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 4, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url" }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -v -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"request second time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) sh_ex("sleep 5"); print"id_token is expired, require silent reauth" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890123&state=473ot4nuqb4ubeokc139raur13123' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"logout and check the cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/logout_path --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("session=;", 1, true)) -- no cookie is available print"just check getting 200 when request comes to post_logout_redirect_path_or_url" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/post_logout_redirect_path_or_url --header 'Host: backend.com']]) assert(res:find("200", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("OpenID Connect with UMA, Metrics", function() setup_db_less("oxd-model2.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url" }, }, { name = "gluu-uma-pep", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, deny_by_default = true, obtain_rpt = true, uma_scope_expression = JSON:encode{ { path = "/page1", conditions = { { httpMethods = {"GET"}, } } }, { path = "/page2/{todos|photos}", conditions = { { httpMethods = {"GET"}, } } }, { path = "/path/?/image.jpg", conditions = { { httpMethods = {"GET"}, } } } } } }, { name = "gluu-metrics", } }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"request second time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"check metrics, it should return openid_connect_users_authenticated = 2" local res, err = sh_ex( [[curl --fail -i -sS -X GET --url http://localhost:]], ctx.kong_admin_port, [[/gluu-metrics]] ) assert(res:lower():find("gluu_openid_connect_users_authenticated", 1, true)) assert(res:lower():find(string.lower([[gluu_endpoint_method{endpoint="/page1",method="GET",service="demo-service"} 3]]), 1, true)) assert(res:lower():find(string.lower([[gluu_openid_connect_users_authenticated{service="demo-service"} 2]]), 1, true)) assert(res:lower():find(string.lower([[gluu_uma_client_granted{consumer="openid_connect_authentication",service="demo-service"} 2]]), 1, true)) assert(res:lower():find(string.lower([[gluu_uma_ticket{service="demo-service"} 1]]), 1, true)) print"request third time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"request to another path page2/photos" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page2/photos --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"request to another path /path/one/two/image.jpg" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/path/123/image.jpg --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"check metrics, it should return openid_connect_users_authenticated = 5" local res, err = sh_ex( [[curl --fail -i -sS -X GET --url http://localhost:]], ctx.kong_admin_port, [[/gluu-metrics]] ) assert(res:lower():find("gluu_openid_connect_users_authenticated", 1, true)) assert(res:lower():find(string.lower([[gluu_endpoint_method{endpoint="/page1",method="GET",service="demo-service"} 4]]), 1, true)) assert(res:lower():find(string.lower([[gluu_endpoint_method{endpoint="/page2/photos",method="GET",service="demo-service"} 1]]), 1, true)) assert(res:lower():find(string.lower([[gluu_endpoint_method{endpoint="/path/123/image.jpg",method="GET",service="demo-service"} 1]]), 1, true)) assert(res:lower():find(string.lower([[gluu_openid_connect_users_authenticated{service="demo-service"} 5]]), 1, true)) assert(res:lower():find(string.lower([[gluu_uma_client_granted{consumer="openid_connect_authentication",service="demo-service"} 5]]), 1, true)) assert(res:lower():find(string.lower([[gluu_uma_ticket{service="demo-service"} 3]]), 1, true)) print "deny for tha path which is not registered in UMA resources" local res, err = sh_ex([[curl -i -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/todos --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("403", 1, true)) ctx.print_logs = false end) test("OpenID Connect with UMA, PCT", function() setup_db_less("oxd-model3.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url" }, }, { name = "gluu-uma-pep", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, deny_by_default = false, obtain_rpt = true, require_id_token = true, pushed_claims_lua_exp = "id_token", uma_scope_expression = JSON:encode{ { path = "/page1", conditions = { { httpMethods = {"GET"}, } } } } } }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"request second time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"request third time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"just check getting 200 when request comes to post_logout_redirect_path_or_url" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/post_logout_redirect_path_or_url --header 'Host: backend.com']]) assert(res:find("200", 1, true)) ctx.print_logs = false end) test("OpenID Connect with UMA Claim gathering flow", function() setup_db_less("oxd-model4.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url" }, }, { name = "gluu-uma-pep", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, deny_by_default = true, obtain_rpt = true, redirect_claim_gathering_url = true, claims_redirect_path = "/claim_gathering_path", uma_scope_expression = JSON:encode{ { path = "/page1", conditions = { { httpMethods = {"GET"}, } } } } } }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state and save userinfo in session" local res, err = sh_ex([[curl -i --fail -sS -X GET --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("302", 1, true)) assert(res:find("page1", 1, true)) assert(res:find("session=", 1, true)) print"request to /page1 to redirect to claim gathering url" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("gather_claims", 1, true)) assert(res:find("ticket=", 1, true)) assert(res:find("session=", 1, true)) print"call /claim_gathering_path get ticket, obtain RPT and Grant" local res, err = sh_ex([[curl -i --fail -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/claim_gathering_path?ticket=fba00191-59ab-4ed6-ac99-a786a88a9f40&state=d871gpie16np0f5kfv936sc33k' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"request second time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) print"request third time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) ctx.print_logs = false end) test("acr_values testing", function() setup_db_less("oxd-model5.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, { path = "/superhero", conditions = { { required_acrs = { "superhero" }, httpMethods = { "?" }, -- any } } }, { path = "/open/??", conditions = { { no_auth = true, httpMethods = { "?" }, -- any } } }, }, }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/open/page,html --header 'Host: backend.com' ]]) assert(res:find("200", 1, true)) print"acr=auth_ldap_server" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) kong_config.plugins[1].config.required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { required_acrs = { "otp" }, httpMethods = { "?" }, -- any } } }, { path = "/superhero", conditions = { { required_acrs = { "superhero" }, httpMethods = { "?" }, -- any } } }, } kong_utils.db_less_reconfigure(kong_config) print"acr=OTP, acr updated so plugin should redirect for re-auth" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"simulate redirect from GS 2" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) kong_config.plugins[1].config.required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, { path = "/superhero", conditions = { { required_acrs = { "superhero" }, httpMethods = { "?" }, -- any } } }, { path = "/any_acr", conditions = { { httpMethods = { "?" }, -- any } } }, } kong_utils.db_less_reconfigure(kong_config) print"acr=auth_ldap_server, plugin should allow because already authenticated with auth_ldap_server" local res, err = sh_ex([[curl -i -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"test url based required acrs, unescaped space in URI, protected with superhero acr" local res, err = sh_ex([[curl -i --fail -sS -X GET --url 'http://localhost:]], ctx.kong_proxy_port, [[/superhero bla' --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"simulate redirect from GS 3" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890qwerty&state=473ot4nuqb4ubeokc139raur13qwerty' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("superhero", 1, true)) print"should allow, this path accept any acr" local res, err = sh_ex([[curl -i -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/any_acr --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) assert(res:find("any_acr", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("not enough acr", function() setup_db_less("oxd-model6.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, }, }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"acr=auth_ldap_server" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"simulate redirect from OP, model returns only basic acr, should be redjected" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("403", 1, true)) assert(res:find("The resource requires one of the", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) -- https://github.com/GluuFederation/gluu-gateway/issues/355 test("required_acrs in user session", function() setup_db_less("oxd-model7.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { httpMethods = { "?" }, -- any } } }, { path = "/users/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, }, custom_headers = { {header_name = "KONG_USER_INFO_JWT", value_lua_exp = "userinfo", format = "jwt"}, {header_name = "kong_id_token_jwt", value_lua_exp = "id_token", format = "jwt"}, }, }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"acr=any" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) assert(res:find("kong-id-token-jwt", 1, true)) assert(res:find("kong-user-info-jwt", 1, true)) print"acr=auth_ldap_server" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/users/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) assert(res:find("kong-id-token-jwt", 1, true)) assert(res:find("kong-user-info-jwt", 1, true)) kong_config.plugins[1].config.required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { httpMethods = { "?" }, -- any } } }, { path = "/users/??", conditions = { { required_acrs = { "otp" }, httpMethods = { "?" }, -- any } } } } kong_utils.db_less_reconfigure(kong_config) print"acr=otp" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/users/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890qwerty&state=473ot4nuqb4ubeokc139raur13qwerty' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("unset required_acrs_expression", function() setup_db_less("oxd-model7.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { httpMethods = { "?" }, -- any } } }, { path = "/users/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, }, }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print "acr=any" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print "follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) kong_config.plugins[1].config.required_acrs_expression = nil kong_utils.db_less_reconfigure(kong_config) print"it should allow, because we already have any acr id_token" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/users/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("HTTP/1.1 200", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("Check custom header", function() setup_db_less("oxd-model8.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 14, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", custom_headers = { { header_name = "http_sm_name", value_lua_exp = "userinfo.name", format = "string" }, { header_name = "KONG_USER_INFO_JWT", value_lua_exp = "userinfo", format = "jwt" }, { header_name = "kong_id_token_jwt", value_lua_exp = "id_token", format = "jwt" }, { header_name = "KONG_OPENIDC_USERINFO_{*}", value_lua_exp = "userinfo", format = "string", iterate = true }, { header_name = "KONG_OPENIDC_idtoken_{*}", value_lua_exp = "id_token", format = "base64", iterate = true }, { header_name = "http_dept_id", value_lua_exp = "123", format = "base64" }, { header_name = "http_kong_api_version", value_lua_exp = [["version 1.0"]], format = "urlencoded" }, { header_name = "GG-ACCESS-TOKEN", value_lua_exp = "access_token", format = "urlencoded" }, } }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -v -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) local headers = { "kong-openidc-idtoken-auth-time", "kong-openidc-idtoken-aud", "kong-openidc-userinfo-sub", "kong-openidc-idtoken-at-hash", "kong-openidc-userinfo-email", "kong-openidc-idtoken-iat", "kong-openidc-userinfo-given-name", "kong-openidc-userinfo-family-name", "kong-openidc-idtoken-nonce", "kong-openidc-idtoken-iss", "kong-openidc-userinfo-picture", "http-sm-name", "kong-id-token-jwt", "http-dept-id", "http-kong-api-version", "kong-openidc-idtoken-sub", "kong-user-info-jwt", "kong-openidc-userinfo-preferred-username", "kong-openidc-idtoken-exp", "kong-openidc-userinfo-name", "gg-access-token"} for i = 1, #headers do assert(res:find(headers[i], 1, true), "Missed header: " .. headers[i]) end assert(not res:find("cookie: ", 1, true)) print"request second time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) for i = 1, #headers do assert(res:find(headers[i], 1, true), "Missed header: " .. headers[i]) end print"request third time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) for i = 1, #headers do assert(res:find(headers[i], 1, true), "Missed header: " .. headers[i]) end print"request fourth time with cookie" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) for i = 1, #headers do assert(res:find(headers[i], 1, true), "Missed header: " .. headers[i]) end ctx.print_logs = false -- comment it out if want to see logs end) test("custom headers for non protected page", function() setup_db_less("oxd-model5.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", required_acrs_expression = JSON:encode{ { path = "/??", conditions = { { required_acrs = { "auth_ldap_server" }, httpMethods = { "?" }, -- any } } }, { path = "/superhero", conditions = { { required_acrs = { "superhero" }, httpMethods = { "?" }, -- any } } }, { path = "/open/??", conditions = { { no_auth = true, httpMethods = { "?" }, -- any } } }, }, custom_headers = { { header_name = "http_sm_name", value_lua_exp = "userinfo.sub", format = "string" }, }, }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/open/page.html --header 'Host: backend.com' ]]) assert(res:find("200", 1, true)) assert(not res:find("http_sm_name", 1, true)) print"acr=auth_ldap_server" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) local res, err = sh_ex([[curl -i -v -sS --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/open/page.html --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) assert(res:find("http-sm-name", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("2 kongs, session decryption", function() setup_db_less("oxd-model5.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 10, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", }, }, }, } local injected_kong_proxy = "set $session_secret 1234567890;" kong_utils.gg_db_less(kong_config, nil, nil, injected_kong_proxy) kong_utils.gg_db_less(kong_config, nil, nil, injected_kong_proxy, true) assert(ctx.kong_id2) local cookie_tmp_filename = ctx.cookie_tmp_filename local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"follow redirect 1" local res, err = sh_ex([[curl -i -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) print"request to another GG node with session cookie" local res, err = sh_ex([[curl -i -v -sS --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port2, [[/page2 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("200", 1, true)) assert(res:find("page2", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) -- based on real life issue https://github.com/GluuFederation/gluu-gateway/issues/432 test("unexpected error, max_id_token_age - 1 hour and max_id_token_auth_age - 1 min", function() setup_db_less("oxd-model9.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 60*60, -- one hour max_id_token_auth_age = 60, -- one min required_acrs_expression = "[{\"path\":\"/payments/??\",\"conditions\":[{\"httpMethods\":[\"?\"],\"required_acrs\":[\"otp\"],\"no_auth\":false}]}]", logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url" }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X GET --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model9, follow redirect" local res, err = sh_ex([[curl -i -L -v -sS -X GET --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("500", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end) test("restore POST after authentication", function() setup_db_less("oxd-model1.lua") local register_site_response = kong_utils.register_site() local kong_config = { _format_version = "1.1", services = { { name = "demo-service", url = "http://backend", }, }, routes = { { name = "demo-route", service = "demo-service", hosts = { "backend.com" }, }, }, plugins = { { name = "gluu-openid-connect", service = "demo-service", config = { op_url = "http://stub", oxd_url = "http://oxd-mock", client_id = register_site_response.client_id, client_secret = register_site_response.client_secret, oxd_id = register_site_response.oxd_id, authorization_redirect_path = "/callback", requested_scopes = {"openid", "email", "profile"}, max_id_token_age = 14, max_id_token_auth_age = 60*60*24, logout_path = "/logout_path", post_logout_redirect_path_or_url = "/post_logout_redirect_path_or_url", restore_original_auth_params = true, custom_headers = { { header_name = "kong_id_token_jwt", value_lua_exp = "id_token", format = "jwt" }, } }, }, }, } kong_utils.gg_db_less(kong_config) local cookie_tmp_filename = ctx.cookie_tmp_filename print"test it responds with 302" local res, err = sh_ex([[curl -i --fail -sS -X POST --url http://localhost:]], ctx.kong_proxy_port, [[/page1 --header 'Content-Type: text' --data 'qwerty1234567' --header 'Host: backend.com' -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) assert(res:find("302", 1, true)) assert(res:find("response_type=code", 1, true)) assert(res:find("session=", 1, true)) -- session cookie is here print"call callback with state from oxd-model1, follow redirect" local res, err = sh_ex([[curl -i -v -sS -X GET -L --url 'http://localhost:]], ctx.kong_proxy_port, [[/callback?code=1234567890&state=473ot4nuqb4ubeokc139raur13' --header 'Host: backend.com']], [[ -c ]], cookie_tmp_filename, [[ -b ]], cookie_tmp_filename) -- test that we redirected to original url assert(res:find("200", 1, true)) assert(res:find("page1", 1, true)) assert(res:find("kong-id-token-jwt", 1, true)) assert(res:find("content-type: text", 1, true)) assert(res:find("Method: POST", 1, true)) ctx.print_logs = false -- comment it out if want to see logs end)
--- --- Nginx upstream load balancing utils --- --- Copyright (c)GoGo Easy Team & Jacobs Lei --- Author: Jacobs Lei --- Date: 2018/6/20 --- Time: 下午4:35 local require = require local tonumber = tonumber local ipairs = ipairs local global_cache = require("core.cache.local.global_cache_util") local req_var_extractor = require("core.req.req_var_extractor") local ngx = ngx local hash = ngx.crc32_long local ngx_ERR = ngx.ERR local ngx_DEBUG = ngx.DEBUG local ngx_INFO = ngx.INFO local ngx_log = ngx.log local str_format = string.format local log_config = require("core.utils.log_config") local resty_lock = require "resty.lock" local balancer_round_robin_lock_key_prefix = "balancer_round_robin_group_lock_key" local shard_name = require("core.constants.shard_name") local json = require("core.utils.json") local healthchecker_helper = require("core.router.healthcheck_helper") local is_half_close_circuit_break_target = healthchecker_helper.is_half_close_circuit_break_target --- -- @field ROUND_ROBIN 轮询 -- @field IP_HASH IP哈希 -- local LB_ALGO = { ROUND_ROBIN = 1, IP_HASH = 2 } local GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX = "balancer_current_round_robin_index" --- --- get peer from targets using round-robin -- @param group_id api group's id -- @param targets api group's being selected targets -- @param balancer_wheel_size round-robin wheel's size -- @return ip, port, unhealthy node's half_open status -- @return 返回节点的ip和port, 第三个返回参数如果是true则表示节点为非健康节点且开启半开状态 local function get_peer_using_round_robin(group_id,targets,balancer_wheel_size) local lock = resty_lock:new(shard_name.lock) local lock_key = balancer_round_robin_lock_key_prefix .. group_id local elapsed, err = lock:lock(lock_key) if not elapsed then ngx_log(ngx_ERR,"failed to acquire the lock: ", err) return nil, nil end ngx_log(ngx_DEBUG,"execute round-robin: wheel_size=",balancer_wheel_size) local current_idx = tonumber(global_cache.get(GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX .. group_id )) or 1 -- current loop index greater than balancer wheel size, set current index to 1 if current_idx > balancer_wheel_size then current_idx = 1 end ngx.log(ngx.DEBUG,"get_peer_using_round_robin current_idx=",current_idx) local selected_target local begin_index = current_idx for _, target in ipairs(targets) do local end_idx = target.end_idx if current_idx <= end_idx then selected_target = target ngx_log(ngx_INFO,"execute round-robin: selected_target_index=",current_idx, ",ip=", target.host, ", port=",target.port,", health status=",selected_target.health) if selected_target.health == true or selected_target.health == nil then global_cache.set(GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX .. group_id, current_idx + 1) local ok, err = lock:unlock() if not ok then ngx.log(ngx.ERR, "failed to release the lock: ",err ) end return selected_target.host, selected_target.port else -- if the selected_target is not in unhealthy collection, then marks the unhealthy target half open status and return. if is_half_close_circuit_break_target(group_id,selected_target.host,selected_target.port) then -- half_open ngx.log(ngx.INFO,"in half close - host=",selected_target.host,"port=",selected_target.port) global_cache.set(GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX .. group_id, current_idx + 1) local ok, err = lock:unlock() if not ok then ngx.log(ngx.ERR, "failed to release the lock: ",err ) end return selected_target.host, selected_target.port,true end -- selected target is unhealth, change to other target current_idx = end_idx + 1 end end end -- if current index greater then balancer wheel size if current_idx > balancer_wheel_size then current_idx = 1 end ngx.log(ngx.DEBUG,"get_peer_using_round_robin current_idx=",current_idx) for _, target in ipairs(targets) do local end_idx = target.end_idx if current_idx <= end_idx then selected_target = target ngx_log(ngx_INFO,"execute round-robin: selected_target_index=",current_idx, ",ip=", target.host, ", port=",target.port,", health status=",selected_target.health) if selected_target.health == true or selected_target.health == nil then global_cache.set(GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX .. group_id, current_idx + 1) local ok, err = lock:unlock() if not ok then ngx.log(ngx.ERR, "failed to release the lock: ",err ) end return selected_target.host, selected_target.port else -- if the selected_target is not in unhealthy collection, then marks the unhealthy target half open status and return. if is_half_close_circuit_break_target(group_id,selected_target.host,selected_target.port) then -- half_open global_cache.set(GLOBAL_CACHE_KEY_CURRENT_ROUND_ROBIN_INDEX .. group_id, current_idx + 1) local ok, err = lock:unlock() if not ok then ngx.log(ngx.ERR, "failed to release the lock: ",err ) end return selected_target.host, selected_target.port,true end -- selected target is unhealth, change to other target current_idx = end_idx + 1 -- last time of loop, break if current_idx > begin_index then break end end end end local ok, err = lock:unlock() if not ok then ngx.log(ngx.ERR, "failed to release the lock: ",err ) end local msg = "getting ip or port fails,targets:"..json.encode(targets) ngx_log(ngx_ERR,str_format(log_config.biz_error_format,log_config.ERROR,msg)) return nil, nil end --- -- get peer from all the targets by remote client ip's hash value -- @param targets the targets will be selected from -- local function get_peer_using_remote_ip_hash(group_id,targets) local remote_ip = req_var_extractor.extract_IP() local targets_count = #targets local key = hash(remote_ip) local index = key % targets_count+1 for i = index, targets_count do local selected_target = targets[i] ngx_log(ngx_INFO,"execute ip hash: ip=", selected_target.host, ", port=",selected_target.port,", health status=",selected_target.health) if selected_target.health == true then return selected_target.host, selected_target.port else if is_half_close_circuit_break_target(group_id,selected_target.host,selected_target.port) then -- half_open return selected_target.host, selected_target.port,true end end end for i = 1, index-1 do local selected_target = targets[i] ngx_log(ngx_INFO,"execute ip hash: ip=", selected_target.host, ", port=",selected_target.port,", health status=",selected_target.health) if selected_target.health == true then return selected_target.host, selected_target.port else if is_half_close_circuit_break_target(group_id,selected_target.host,selected_target.port) then -- half_open return selected_target.host, selected_target.port,true end end end return nil, nil end local function get_peer(lb_algo, group_id,targets, balancer_wheel_size) lb_algo = tonumber(lb_algo) or 1 if lb_algo == LB_ALGO.ROUND_ROBIN then return get_peer_using_round_robin(group_id,targets,balancer_wheel_size) elseif lb_algo == LB_ALGO.IP_HASH then return get_peer_using_remote_ip_hash(group_id,targets) else ngx_log(ngx_ERR,str_format(log_config.biz_error_format,log_config.ERROR,"balancer execute error, just support round-robin and ip-hash algorithm.")) return nil, nil end end --=========================================================== -- Main entry point when resolving --=========================================================== -- Resolves the balancer_addr structure in-place (field `ip`, port). -- -- If the hostname matches an 'upstream' pool, then it must be balanced in that pool, -- in this case any port number provided will be ignored, as the pool provides it. -- -- @param balancer_addr the data structure as defined in `core.access` phase where it is created -- @return success + nil, failed + error_information local function execute(balancer_addr) local group_id = balancer_addr.group_id local targets = balancer_addr.targets ngx_log(ngx_DEBUG,"balancer targets :",json.encode(targets)) local balance_algo = balancer_addr.balance_algo local balancer_wheel_size = balancer_addr.wheel_size if not targets or #targets==0 then return false, "targets are empty" end local ip, port,half_open = get_peer(balance_algo,group_id,targets,balancer_wheel_size) ngx.log(ngx.INFO,"perr ip:",ip ,"port:", port,"half_open:",half_open) balancer_addr.ip = ip balancer_addr.port = port balancer_addr.half_open = half_open if not ip or not port then local msg = "group_id:" .. group_id .. ",targets:" .. json.encode(targets) .. ",balance_algo:" .. balance_algo if balancer_wheel_size then msg = msg .. ",balancer_wheel_size:" .. balancer_wheel_size end ngx_log(ngx_ERR,str_format(log_config.biz_error_format,log_config.ERROR,msg)) -- 无可用节点,取第 1个节点 balancer_addr.ip = targets[1].host balancer_addr.port = targets[1].port -- return false, "there is no available balancer node which can be selected." end return true,nil end return { execute = execute }
hud.item_eat = hunger.item_eat hud.set_hunger = hunger.save hud.get_hunger = hunger.load hud.save_hunger = hunger.save hud.load_hunger = hunger.load
local editor = {} local conf = require "modules.editor.config" -- editor['Raimondi/delimitMate'] = { -- event = 'InsertEnter', -- config = conf.delimimate, -- } editor["windwp/nvim-autopairs"] = { event = "InsertEnter", config = conf.autopairs, } editor["rhysd/accelerated-jk"] = { opt = true, } editor["norcalli/nvim-colorizer.lua"] = { ft = { "html", "css", "sass", "vim", "typescript", "typescriptreact" }, config = conf.nvim_colorizer, } editor["itchyny/vim-cursorword"] = { event = { "BufReadPre", "BufNewFile" }, config = conf.vim_cursorwod, } editor["hrsh7th/vim-eft"] = { opt = true, config = function() vim.g.eft_ignorecase = true end, } editor["tpope/vim-surround"] = { event = { "BufReadPre", "BufNewFile" }, } editor["tpope/vim-sleuth"] = { event = "BufEnter", config = function() vim.g.sleuth_automatic = 0 end, } editor["tpope/vim-commentary"] = { event = { "BufReadPre", "BufNewFile" }, } editor["kana/vim-niceblock"] = { opt = true, } return editor
-- System defaults: return { ---- -- Logging ---- -- The log file path for the logger -- -- default: "" - logs will go to stdout log_file = "", ---- -- Server ---- -- Maximum permitted backlog connections for the server -- -- See https://man7.org/linux/man-pages/man2/listen.2.html for more info. backlog_connections = 128, ---- -- Templates ---- -- A table of template directories to scan for templates -- -- default: {} template_dirs = {}, }
--------------------------------------------------------------------------------------------------- -- --filename: game.ui.battle.NextWaveInfo --date:2020/1/8 23:16:01 --author: --desc: -- --------------------------------------------------------------------------------------------------- local strClassName = 'game.ui.battle.NextWaveInfo' local NextWaveInfo = lua_declare(strClassName, lua_class(strClassName)) function NextWaveInfo:Start() self.content = self.transform:Find("Content") self.timeText = LuaGameUtil.GetTextComponent(self.content, "LeftTimeText") self.waveText = LuaGameUtil.GetTextComponent(self.content, "WaveText") self.isVisible = false self.content.gameObject:SetActive(self.isVisible) OzMessage:addEvent(CommonEvent.UpdateNextWaveMonsterTime, self.UpdateNextWaveMonsterTime, self) end function NextWaveInfo:OnDestroy() OzMessage:removeEvent(CommonEvent.UpdateNextWaveMonsterTime, self.UpdateNextWaveMonsterTime, self) end function NextWaveInfo:UpdateNextWaveMonsterTime(t) if t > 0 then local lt = string.format("%.2f", t) self.timeText.text = LuaGameUtil.FormatText(400001, lt) if not self.isVisible then self.isVisible = true self.content.gameObject:SetActive(self.isVisible) end else if self.isVisible then self.isVisible = false self.content.gameObject:SetActive(self.isVisible) end end end return NextWaveInfo
tvs = {} controls = {} function link_control_tv (control, tv) map (control, 'RETURN_', tv, 'TURN_ON') map (control, 'ESC', tv, 'TURN_OFF') map (control, 'P', tv, 'PLAY') map (control, 'SPACE', tv, 'PAUSE') map (control, 'RIGHT', tv, 'SEEK_FORWARD') map (control, 'LEFT', tv, 'SEEK_BACKWARD') map (control, 'UP', tv, 'VOLUME_UP') map (control, 'DOWN', tv, 'VOLUME_DOWN') end MARS.onConnect = function (p) local interfaces = p:getInterfaces() local isControl = false local isTv = false print (serialize(p)) for i,_ in pairs (interfaces) do print (i) if i == 'TV' then table.insert (tvs, p) isTv = true elseif i == 'CONTROL_V1' then table.insert (controls, p) isControl = true end end if isControl then for _,tv in ipairs(tvs) do link_control_tv (p, tv) end end if isTv then for _,control in ipairs (controls) do link_control_tv (control, p) end end end
local ffi = require 'ffi' local mswin = require 'exports.mswindows' local guids = require 'exports.guids' local com = require 'exports.mswindows.com' local automation = require 'exports.mswindows.automation' ffi.cdef [[ typedef enum FDE_SHAREVIOLATION_RESPONSE { FDESVR_DEFAULT = 0, FDESVR_ACCEPT = 1, FDESVR_REFUSE = 2 } FDE_SHAREVIOLATION_RESPONSE; typedef enum FDE_OVERWRITE_RESPONSE { FDEOR_DEFAULT = 0, FDEOR_ACCEPT = 1, FDEOR_REFUSE = 2 } FDE_OVERWRITE_RESPONSE; enum { FOS_OVERWRITEPROMPT = 0x00000002, // (on by default in the save dialog) FOS_STRICTFILETYPES = 0x00000004, // In the save dialog, only allow the user to choose a file that has // one of the file extensions provided in SetFileTypes. FOS_NOCHANGEDIR = 0x00000008, // Don't change the current working directory FOS_PICKFOLDERS = 0x00000020, // Invoke the open dialog in folder picking mode. FOS_FORCEFILESYSTEM = 0x00000040, // Ensure that items returned are filesystem items. FOS_ALLNONSTORAGEITEMS = 0x00000080, // Allow choosing items that have no storage. FOS_NOVALIDATE = 0x00000100, FOS_ALLOWMULTISELECT = 0x00000200, FOS_PATHMUSTEXIST = 0x00000800, // (on by default) FOS_FILEMUSTEXIST = 0x00001000, // (on by default in the open dialog and folder picker) FOS_CREATEPROMPT = 0x00002000, FOS_SHAREAWARE = 0x00004000, FOS_NOREADONLYRETURN = 0x00008000, // (on by default in the save dialog) FOS_NOTESTFILECREATE = 0x00010000, // Avoid testing the creation of the chosen file in the save dialog // (specifying this flag will circumvent some useful error handling, such as access denied) FOS_HIDEMRUPLACES = 0x00020000, // (not used in Win7) FOS_HIDEPINNEDPLACES = 0x00040000, // Don't display the standard namespace locations in the navigation pane. // (generally used along with AddPlace) FOS_NODEREFERENCELINKS = 0x00100000, // Don't treat shortcuts as their target files. FOS_DONTADDTORECENT = 0x02000000, // Don't add the chosen file to the recent documents list (SHAddToRecentDocs) FOS_FORCESHOWHIDDEN = 0x10000000, // Show all files including system and hidden files. FOS_DEFAULTNOMINIMODE = 0x20000000, // (not used in Win7) FOS_FORCEPREVIEWPANEON = 0x40000000 }; typedef enum FDAP { FDAP_BOTTOM = 0, FDAP_TOP = 1 } FDAP; typedef struct COMDLG_FILTERSPEC { const wchar_t* pszName; const wchar_t* pszSpec; } COMDLG_FILTERSPEC; typedef enum SIGDN { // lower word (& with 0xFFFF) SIGDN_NORMALDISPLAY = 0x00000000, // SHGDN_NORMAL SIGDN_PARENTRELATIVEPARSING = (int) 0x80018001, // SHGDN_INFOLDER | SHGDN_FORPARSING SIGDN_DESKTOPABSOLUTEPARSING = (int) 0x80028000, // SHGDN_FORPARSING SIGDN_PARENTRELATIVEEDITING = (int) 0x80031001, // SHGDN_INFOLDER | SHGDN_FOREDITING SIGDN_DESKTOPABSOLUTEEDITING = (int) 0x8004c000, // SHGDN_FORPARSING | SHGDN_FORADDRESSBAR SIGDN_FILESYSPATH = (int) 0x80058000, // SHGDN_FORPARSING SIGDN_URL = (int) 0x80068000, // SHGDN_FORPARSING SIGDN_PARENTRELATIVEFORADDRESSBAR = (int) 0x8007c001, // SHGDN_INFOLDER | SHGDN_FORPARSING | SHGDN_FORADDRESSBAR SIGDN_PARENTRELATIVE = (int) 0x80080001 // SHGDN_INFOLDER } SIGDN; typedef enum SIATTRIBFLAGS { SIATTRIBFLAGS_AND = 0x00000001, SIATTRIBFLAGS_OR = 0x00000002, SIATTRIBFLAGS_APPCOMPAT = 0x00000003, SIATTRIBFLAGS_MASK = 0x00000003, SIATTRIBFLAGS_ALLITEMS = 0x00004000 } SIATTRIBFLAGS; typedef enum CDCONTROLSTATEF { CDCS_INACTIVE = 0x00000000, CDCS_ENABLED = 0x00000001, CDCS_VISIBLE = 0x00000002, CDCS_ENABLEDVISIBLE = 0x00000003, } CDCONTROLSTATEF; ]] com.def { {'IShellItem'; methods = { {'BindToHandler', 'IBindCtx*, GUID* bhid, GUID* iid, void** out_value'}; {'GetParent', 'IShellItem** out_parent'}; {'GetDisplayName', 'SIGDN, wchar_t** out_name'}; {'GetAttributes', 'uint32_t sfgao_mask, uint32_t* out_sfgao_attribs'}; {'Compare', 'IShellItem*, uint32_t sichint, int* out_order'}; }; iid = '43826d1e-e718-42ee-bc55-a1e261c37bfe'; }; {'IShellItemArray'; methods = { {'BindToHandler', 'IBindCtx*, GUID* bhid, GUID* iid, void** out_obj'}; {'GetPropertyStore', 'GETPROPERTYSTOREFLAGS flags, GUID* iidof_store, void** out_store'}; {'GetPropertyDescriptionList', 'PROPERTYKEY* keyType, GUID* iidof_list, void** out_list'}; {'GetAttributes', 'SIATTRIBFLAGS attrib_flags, uint32_t sfgao_mask, uint32_t* out_sfgao_attribs'}; {'GetCount', 'uint32_t* out_count'}; {'GetItemAt', 'uint32_t index, IShellItem** out_item'}; {'EnumItems', 'IEnumShellItems** out_enum'}; }; iid = 'b63ea76d-1f85-456f-a19c-48159efa858b'; }; automation.enumdef { 'IEnumShellItems'; ctype = 'IShellItem*'; iid = '70629033-e363-4a28-a567-0db78006e6d7'; }; {'IShellItemFilter'; methods = { {'IncludeItem', 'IShellItem*'}; {'GetEnumFlagsForItem', 'IShellItem*, uint32_t* out_shcont_flags'}; }; iid = '2659B475-EEB8-48b7-8F07-B378810F48CF'; }; {'IModalWindow'; methods = { {'Show', 'void* owner_hwnd'}; }; iid = 'b4db1657-70d7-485e-8e3e-6fcb5a5c1802'; }; {'IFileDialogEvents'; methods = { {'OnFileOk', 'IFileDialog*'}; {'OnFolderChanging', 'IFileDialog*, IShellItem*'}; {'OnFolderChange', 'IFileDialog*'}; {'OnSelectionChange', 'IFileDialog*'}; {'OnShareViolation', 'IFileDialog*, IShellItem*, FDE_SHAREVIOLATION_RESPONSE* out_response'}; {'OnTypeChange', 'IFileDialog*'}; {'OnOverwrite', 'IFileDialog*, IShellItem*, FDE_OVERWRITE_RESPONSE* out_response'}; }; iid = '973510db-7d7f-452b-8975-74a85828d354'; }; {'IFileDialog', inherits='IModalWindow'; methods = { {'SetFileTypes', 'uint32_t specs_count, COMDLG_FILTERSPEC* specs'}; {'SetFileTypeIndex', 'uint32_t'}; {'GetFileTypeIndex', 'uint32_t*'}; {'Advise', 'IFileDialogEvents*, uint32_t* out_cookie'}; {'Unadvise', 'uint32_t cookie'}; {'SetOptions', 'uint32_t options'}; {'GetOptions', 'uint32_t* out_options'}; {'SetDefaultFolder', 'IShellItem*'}; {'SetFolder', 'IShellItem*'}; {'GetFolder', 'IShellItem** out_folder'}; {'GetCurrentSelection', 'IShellItem** out_selection'}; {'SetFileName', 'const wchar_t*'}; {'GetFileName', 'wchar_t* out_name'}; {'SetTitle', 'const wchar_t*'}; {'SetOkButtonLabel', 'const wchar_t*'}; {'SetFileNameLabel', 'const wchar_t*'}; {'GetResult', 'IShellItem** out_result'}; {'AddPlace', 'IShellItem*, FDAP'}; {'SetDefaultExtension', 'const wchar_t*'}; {'Close', 'int32_t hresult'}; {'SetClientGuid', 'GUID*'}; {'ClearClientData'}; {'SetFilter', 'IShellItemFilter*'}; }; iid = '42f85136-db7e-439c-85f1-e4075d135fc8'; }; {'IFileOpenDialog', inherits='IFileDialog'; methods = { {'GetResults', 'IShellItemArray** out_results'}; {'GetSelectedItems', 'IShellItemArray** out_items'}; }; iid = 'd57c7288-d4ad-4768-be02-9d969532d960'; }; {'IFileSaveDialog', inherits='IFileDialog'; methods = { {'SetSaveAsItem', 'IShellItem*'}; {'SetProperties', 'IPropertyStore*'}; {'SetCollectedProperties', 'IPropertyDescriptionList*, bool32 append_default'}; {'GetProperties', 'IPropertyStore** out_properties'}; {'ApplyProperties', 'IShellItem*, IPropertyStore*, void* hwnd, IFileOperationProgressSink*'} }; iid = '84bccd23-5fde-4cdb-aea4-af64b83d78ab'; }; {'IFileDialogCustomize'; methods = { {'EnableOpenDropDown', 'uint32_t id'}; {'AddMenu', 'uint32_t id, const wchar_t* label'}; {'AddPushButton', 'uint32_t id, const wchar_t* label'}; {'AddComboBox', 'uint32_t id'}; {'AddRadioButtonList', 'uint32_t id'}; {'AddCheckButton', 'uint32_t id, const wchar_t* label, bool32 checked'}; {'AddEditBox', 'uint32_t id, const wchar_t* text'}; {'AddSeparator', 'uint32_t id'}; {'AddText', 'uint32_t id, const wchar_t*'}; {'SetControlLabel', 'uint32_t id, const wchar_t*'}; {'GetControlState', 'uint32_t id, CDCONTROLSTATEF* out_state'}; {'SetControlState', 'uint32_t id, CDCONTROLSTATEF'}; {'GetEditBoxText', 'uint32_t id, wchar_t** out_text'}; {'SetEditBoxText', 'uint32_t id, const wchar_t* text'}; {'GetCheckButtonState', 'uint32_t id, bool32* out_checked'}; {'SetCheckButtonState', 'uint32_t id, bool32 checked'}; {'AddControlItem', 'uint32_t control_id, uint32_t item_id, const wchar_t* label'}; {'RemoveControlItem', 'uint32_t control_id, uint32_t item_id'}; {'RemoteAllControlItems', 'uint32_t id'}; {'GetControlItemState', 'uint32_t control_id, uint32_t item_id, CDCONTROLSTATEF* out_state'}; {'SetControlItemState', 'uint32_t control_id, uint32_t item_id, CDCONTROLSTATEF state'}; {'GetSelectedControlItem', 'uint32_t control_id, uint32_t* out_item_id'}; {'SetSelectedControlItem', 'uint32_t control_id, uint32_t item_id'}; {'StartVisualGroup', 'uint32_t id, const wchar_t* label'}; {'EndVisualGroup'}; {'MakeProminent', 'uint32_t id'}; -- one control only {'SetControlItemText', 'uint32_t control_id, uint32_t item_id, const wchar_t*'}; }; iid = 'e6fdd21a-163f-4975-9c8c-a69f1ba37034'; }; {'IFileOperationProgressSink'; methods = { {'StartOperations'}; {'FinishOperations', 'int32_t hresult'}; {'PreRenameItem', 'uint32_t flags, IShellItem*, const wchar_t* new_name'}; {'PostRenameItem', [[ uint32_t flags, IShellItem*, const wchar_t* new_name, int32_t rename_hresult, IShellItem* newly_created]]}; {'PreMoveItem', 'uint32_t flags, IShellItem*, IShellItem* dest_folder, const wchar_t* new_name'}; {'PostMoveItem', [[ uint32_t flags, IShellItem*, IShellItem* dest_folder, const wchar_t* new_name, int32_t move_hresult, IShellItem* newly_created]]}; {'PreCopyItem', 'uint32_t flags, IShellItem*, IShellItem* dest_folder, const wchar_t* new_name'}; {'PostCopyItem', [[ uint32_t flags, IShellItem*, IShellItem* dest_folder, const wchar_t* new_name, int32_t copy_hresult, IShellItem* newly_created]]}; {'PreDeleteItem', 'uint32_t flags, IShellItem*'}; {'PostDeleteItem', 'uint32_t flags, IShellItem*, int32_t delete_hresult, IShellItem* newly_created'}; {'PreNewItem', 'uint32_t flags, IShellItem* dest_folder, const wchar_t* new_name'}; {'PostNewItem', [[ uint32_t flags, IShellItem* dest_folder, const wchar_t* new_name, const wchar_t* template_name, uint32_t file_attributes, int32_t file_attributes, int32_t new_hresult, IShellItem* new_item]]}; {'UpdateProgress', 'uint32_t total_work, uint32_t so_far'}; {'ResetTimer'}; {'PauseTimer'}; {'ResumeTimer'}; }; iid = '04b0f1a7-9490-44bc-96e1-4296a31252e2'; }; {"ITaskbarList"; methods = { {'HrInit'}; {'AddTab', 'void* hwnd'}; {'DeleteTab', 'void* hwnd'}; {'ActivateTab', 'void* hwnd'}; {'SetActiveAlt', 'void* hwnd'}; }; iid = '56FDF344-FD6D-11d0-958A006097C9A090'; }; {"ITaskbarList2", inherits='ITaskbarList'; methods = { {'MarkFullscreenWindow', 'void* hwnd, bool32'}; }; iid = '602D4995-B13A-429b-A66E1935E44F4317'; }; {"ITaskbarList3", inherits='ITaskbarList2'; methods = { {'SetProgressValue', 'void* hwnd, uint64_t done, uint64_t total'}; {'SetProgressState', 'void* hwnd, uint32_t tbpfFlags'}; {'RegisterTab', 'void* hwndTab, void* hwndMDI'}; {'UnregisterTab', 'void* hwndTab'}; {'SetTabOrder', 'void* hwndTab, void* hwndInsertBefore'}; {'SetTabActive', 'void* hwndTab, void* hwndMDI, uint32_t tbatFlags'}; {'ThumbBarAddButtons', 'void* hwnd, uint32_t buttons, void* button'}; {'ThumbBarUpdateButtons', 'void* hwnd, uint32_t buttons, void* button'}; {'ThumbBarSetImageList', 'void* hwnd, void* himagelist'}; {'SetOverlayIcon', 'void* hwnd, void* hicon, const wchar_t* description'}; {'SetThumbnailTooltip', 'void* hwnd, const wchar_t* toolTip'}; {'SetThumbnailClip', 'void* hwnd, RECT* clip'}; }; iid = 'EA1AFB91-9E28-4B86-90E99E9F8A5EEFAF'; }; } ffi.cdef [[ enum { WM_DROPFILES = 0x0233 }; void DragAcceptFiles(void* hwnd, bool32); uint32_t DragQueryFileA(void* hdrop, uint32_t index, char* buffer, uint32_t bufferSize); uint32_t DragQueryFileW(void* hdrop, uint32_t index, wchar_t* buffer, uint32_t bufferSize); bool32 DragQueryPoint(void* hdrop, POINT*); void DragFinish(void* hdrop); void* ExtractIconW(void* hInstance, const wchar_t* path, uint32_t index); int32_t ShellExecuteW( void* hwnd, const wchar_t* operation, const wchar_t* file, const wchar_t* parameters, const wchar_t* directory, int32_t show); enum { NIM_ADD = 0, NIM_MODIFY = 1, NIM_DELETE = 2, NIM_SETFOCUS = 3, NIM_SETVERSION = 4, NIF_MESSAGE = 1, NIF_ICON = 2, NIF_TIP = 4, NIF_STATE = 8, NIF_INFO = 0x10, NIF_GUID = 0x20, NIF_REALTIME = 0x40, NIF_SHOWTIP = 0x80, NIIF_NONE = 0, NIIF_INFO = 1, NIIF_WARNING = 2, NIIF_ERROR = 3, NIIF_USER = 4, NIIF_ICON_MASK = 0xF, NIIF_NOSOUND = 0x10, NIIF_LARGE_ICON = 0x20, NIIF_RESPECT_QUIET_TIME = 0x80, NOTIFYICON_VERSION_4 = 4, NIN_SELECT = WM_USER + 0, NINF_KEY = 0x1, NIN_KEYSELECT = NIN_SELECT | NINF_KEY, NIN_BALLOONSHOW = WM_USER + 2, NIN_BALLOONHIDE = WM_USER + 3, NIN_BALLOONTIMEOUT = WM_USER + 4, NIN_BALLOONUSERCLICK = WM_USER + 5, NIN_POPUPOPEN = WM_USER + 6, NIN_POPUPCLOSE = WM_USER + 7 }; typedef struct NOTIFYICONDATAW { uint32_t cbSize; void* hWnd; uint32_t uID, uFlags, uCallbackMessage; void* hIcon; wchar_t szTip[128]; uint32_t dwState, dwStateMask; wchar_t szInfo[256]; union { uint32_t uTimeout; uint32_t uVersion; }; wchar_t szInfoTitle[64]; uint32_t dwInfoFlags; GUID guidItem; void* hBalloonIcon; } NOTIFYICONDATAW; bool32 Shell_NotifyIconW(uint32_t nim, NOTIFYICONDATAW*); ]] return ffi.load 'shell32'
shell.setDir("sand") --Edits shell.resolve() local shell.resolve = function(s) --Gets startup file local path = "" if fs.exists("sand/startup") and then startup --Runs payload and shell in parallel term.clear() term.setCursorPos(1, 1) parallel.waitForAny(loadfile("
local L = vim.loop local o_s = vim.o local map_key = vim.api.nvim_set_keymap local au = require('au') local M = {} M.opt = function(o, v, scopes) scopes = scopes or {o_s} for _, s in ipairs(scopes) do s[o] = v end end M.map = function(modes, lhs, rhs, opts) opts = opts or {} opts.noremap = opts.noremap == nil and true or opts.noremap if type(modes) == 'string' then modes = {modes} end for _, mode in ipairs(modes) do map_key(mode, lhs, rhs, opts) end end M.is_gui = function() return vim.g.neovide or vim.g.nvui end local pager_mode = nil function M.is_pager_mode() if pager_mode ~= nil then return pager_mode end local opened_with_args = next(vim.fn.argv()) ~= nil -- Neovim was opened with args pager_mode = pager_mode or opened_with_args return pager_mode end function M.is_dir(path) local stats = L.fs_stat(path) return stats and stats.type == 'directory' end -- 1-based wraping local function wrap(num, total) return (num - 1) % total + 1 end -- if the buffer is a normal text file based buffer local function is_normal_buffer(buf) return vim.api.nvim_buf_is_valid(buf) and vim.bo[buf].buflisted and vim.bo[buf].buftype == "" end -- find backward in jumplist until the buf is different local function win_backward_buf(win, current_buf) if current_buf == nil then current_buf = vim.api.nvim_win_get_buf(win) end local getjumplist = vim.fn.getjumplist(win)[1] local jumplist = getjumplist[1] if #jumplist == 0 then return end -- plus one because of one index local i = getjumplist[2] + 1 local j = i local target_buf = current_buf while j > 1 and (current_buf == target_buf or not is_normal_buffer(target_buf)) do j = j - 1 target_buf = jumplist[j].bufnr end if target_buf ~= current_buf and is_normal_buffer(target_buf) then return target_buf end end -- given a list of buffers, and current buffer's index in the list, -- find the next normal buffer that is suitable to switch to local function next_normal_buffer(buffers, current_buf) -- find current_buf's idx local current_idx = nil for i, v in ipairs(buffers) do if v == current_buf then current_idx = i break end end if current_idx == nil then vim.notify('current_buf not in buffers', vim.log.levels.ERROR, { title = '[ucw.utils] next_normal_buffer' }) return end local cand_idx = wrap(current_idx + 1, #buffers) while cand_idx ~= current_idx do if is_normal_buffer(buffers[cand_idx]) then return buffers[cand_idx] end cand_idx = wrap(cand_idx + 1, #buffers) end -- if we end up here, it means no available normal buffer is available, we create a new one table.insert(buffers, vim.api.nvim_create_buf(true, false)) return buffers[#buffers] end local function buf_kill(kill_cmd, bufnr, force) if not bufnr or bufnr == 0 then bufnr = vim.api.nvim_get_current_buf() end -- abort if buffer is modified and not force if not force and vim.bo[bufnr].modified then return vim.api.nvim_err_writeln( string.format('No write since last change for buffer %d (set force to true to override)', bufnr) ) end if force then kill_cmd = kill_cmd .. '!' end -- get list of windows with the buffer to close local windows = vim.tbl_filter( function(win) return vim.api.nvim_win_get_buf(win) == bufnr end, vim.api.nvim_list_wins() ) if #windows > 0 then -- get list of active buffers local buffers = vim.api.nvim_list_bufs() -- set every win containing bufnr to next_buffer for _, win in ipairs(windows) do local next_buffer = nil -- try previous in jumplist if next_buffer == nil then next_buffer = win_backward_buf(win, bufnr) end -- try to use the window's alternate buffer first if next_buffer == nil then local alt_buf = vim.api.nvim_win_call(win, function() vim.fn.bufnr('#') end) if alt_buf and is_normal_buffer(alt_buf) then next_buffer = alt_buf end end -- find the next buffer, ignore plugin created buffers if next_buffer == nil then next_buffer = next_normal_buffer(buffers, bufnr) end vim.api.nvim_win_set_buf(win, next_buffer) end end -- check if buffer still exists, to ensure the target buffer wasn't killed -- due to options like bufhidden=wipe if vim.api.nvim_buf_is_valid(bufnr) and vim.bo[bufnr].buflisted then vim.cmd(string.format('%s %d', kill_cmd, bufnr)) end end M.bufdelete = function(bufnr, force) return buf_kill('bd', bufnr, force) end M.bufwipeout = function(bufnr, force) return buf_kill('bw', bufnr, force) end ---Get the property `prop` specified as dot separated path from `obj`, creating empty table for ---all levels if not exists function M.prop_get_table(obj, prop) for key in prop:gmatch "[^.]+" do if obj[key] == nil then obj[key] = {} end obj = obj[key] end return obj end ---Get the property `prop` specified as dot separated path from `obj`, ---creating empty table if not exists for all levels except the last ---level, which is set to val function M.prop_set(obj, prop, val) -- get the parent level as table local parent, key = string.match(prop, "(.+)%.([^%.]+)") if not parent or not key then -- assume prop is the key directly obj[prop] = val else M.prop_get_table(obj, parent)[key] = val end end ---table.insert but skip if already contains the value function M.tbl_insert_uniq(tbl, val) if not vim.tbl_contains(tbl, val) then table.insert(tbl, val) end end -- The function is called `t` for `termcodes`. -- You don't have to call it that, but I find the terseness convenient function M.t(str) -- Adjust boolean arguments as needed return vim.api.nvim_replace_termcodes(str, true, true, true) end -- This is a bit of syntactic sugar for creating highlight groups over vim.api.nvim_set_hl. -- Note that this currently always overrides the group rather than update the existing one. -- -- local hi = require('ucw.utils').highlight -- hi.Comment = { fg='#ffffff', bg='#000000', italic=true } -- hi.LspDiagnosticsDefaultError = 'DiagnosticError' -- Link to another group -- -- This is equivalent to the following vimscript -- -- hi Comment guifg=#ffffff guibg=#000000 gui=italic -- hi! link LspDiagnosticsDefaultError DiagnosticError -- -- Or the following lua -- -- vim.api.nvim_set_hl(0, 'Comment', { fg='#ffffff', bg='#000000', italic=true }) -- vim.api.nvim_set_hl(0, 'LspDiagnosticsDefaultError', { link='DiagnosticError'}) M.highlight = setmetatable({}, { __newindex = function(_, hlgroup, args) if ('string' == type(args)) then vim.api.nvim_set_hl(0, hlgroup, { link = args }) return else vim.api.nvim_set_hl(0, hlgroup, args) end end }) M.FileWatcher = {} function M.FileWatcher.new(debounce_time) -- setup a luv fs event watcher on it, and a debounce time local this = setmetatable({ timer = L.new_timer(), watcher = L.new_fs_event(), debouncing = false, path = nil, callback = nil, wrapped_cb = nil, }, { __index = M.FileWatcher }) local weak_this = setmetatable({this = this}, { __mode = 'v' }) this.wrapped_cb = function(err, filename, events) -- take the weak ref and save to local so we don't lose it local that = weak_this.this if that == nil then return end if err ~= nil then vim.schedule(function() vim.notify( string.format("Watching:\n%s\nError:\n%s", that.path, err), vim.log.lvels.ERROR, { title = '[ucw.utils] Error in libuv watcher' } ) end) return end if not events.change and not events.rename then return end if that.debouncing or that.timer:is_active() then return end that.debouncing = true that.timer:start(debounce_time, 0, vim.schedule_wrap(function() if that.callback ~= nil then that.callback(err, filename, events) end that.debouncing = false end) ) -- refresh watcher so in case the file is renamed we still watch it that.watcher:stop() if that.path and that.callback then that.watcher:start(that.path, {}, that.wrapped_cb) end end return this end function M.FileWatcher:start(path, callback) self.path = path self.callback = callback if self.path and self.callback then self.watcher:start(self.path, {}, self.wrapped_cb) end end function M.FileWatcher:stop() self.path = nil self.callback = nil self.watcher:stop() self.timer:stop() end function M.FileWatcher:close() self:stop() self.watcher:close() self.timer:stop() end local setup_done = false local function setup() if setup_done then return end au.group('Stdin', { { 'StdinReadPre', '*', function() pager_mode = true end } }) setup_done = true end setup() return M
local proxy_form local openclash = "openclash" local NXFS = require "nixio.fs" local SYS = require "luci.sys" local HTTP = require "luci.http" local DISP = require "luci.dispatcher" local UTIL = require "luci.util" local fs = require "luci.openclash" local uci = require "luci.model.uci".cursor() local function i(e) local t=0 local a={' KB',' MB',' GB',' TB'} repeat e=e/1024 t=t+1 until(e<=1024) return string.format("%.1f",e)..a[t] end local p,r={} for x,y in ipairs(fs.glob("/etc/openclash/proxy_provider/*"))do r=fs.stat(y) if r then p[x]={} p[x].name=fs.basename(y) p[x].mtime=os.date("%Y-%m-%d %H:%M:%S",r.mtime) p[x].size=i(r.size) p[x].remove=0 p[x].enable=false end end proxy_form=SimpleForm("proxy_provider_file_list",translate("Proxy Provider File List")) proxy_form.reset=false proxy_form.submit=false tb1=proxy_form:section(Table,p) nm1=tb1:option(DummyValue,"name",translate("File Name")) mt1=tb1:option(DummyValue,"mtime",translate("Update Time")) sz1=tb1:option(DummyValue,"size",translate("Size")) btndl1 = tb1:option(Button,"download1",translate("Download Config")) btndl1.template="openclash/other_button" btndl1.render=function(y,x,r) y.inputstyle="remove" Button.render(y,x,r) end btndl1.write = function (r,x) local sPath, sFile, fd, block sPath = "/etc/openclash/proxy_provider/"..p[x].name sFile = NXFS.basename(sPath) if fs.isdirectory(sPath) then fd = io.popen('tar -C "%s" -cz .' % {sPath}, "r") sFile = sFile .. ".tar.gz" else fd = nixio.open(sPath, "r") end if not fd then return end HTTP.header('Content-Disposition', 'attachment; filename="%s"' % {sFile}) HTTP.prepare_content("application/octet-stream") while true do block = fd:read(nixio.const.buffersize) if (not block) or (#block ==0) then break else HTTP.write(block) end end fd:close() HTTP.close() end btnrm1=tb1:option(Button,"remove1",translate("Remove")) btnrm1.render=function(p,x,r) p.inputstyle="reset" Button.render(p,x,r) end btnrm1.write=function(r,x) local r=fs.unlink("/etc/openclash/proxy_provider/"..luci.openclash.basename(p[x].name)) if r then table.remove(p,x)end return r end local t = { {Refresh, Delete_all, Apply} } a = proxy_form:section(Table, t) o = a:option(Button, "Refresh", " ") o.inputtitle = translate("Refresh Page") o.inputstyle = "apply" o.write = function() HTTP.redirect(DISP.build_url("admin", "services", "openclash", "proxy-provider-file-manage")) end o = a:option(Button, "Delete_all", " ") o.inputtitle = translate("Delete All File") o.inputstyle = "remove" o.write = function() luci.sys.call("rm -rf /etc/openclash/proxy_provider/* >/dev/null 2>&1") HTTP.redirect(DISP.build_url("admin", "services", "openclash", "proxy-provider-file-manage")) end o = a:option(Button, "Apply", " ") o.inputtitle = translate("Back Settings") o.inputstyle = "reset" o.write = function() HTTP.redirect(DISP.build_url("admin", "services", "openclash", "config")) end return proxy_form
local A, L = ... local addonpath = "Interface\\AddOns\\"..A.."\\" -- Register new textures with LibSharedMedia LSM = LibStub("LibSharedMedia-3.0") LSM:Register(LSM.MediaType.STATUSBAR, "MystlerBar01", addonpath.."tex\\MystlerBar01") LSM:Register(LSM.MediaType.STATUSBAR, "MystlerBar02", addonpath.."tex\\MystlerBar02") LSM:Register(LSM.MediaType.STATUSBAR, "MystlerBar03", addonpath.."tex\\MystlerBar03") LSM:Register(LSM.MediaType.STATUSBAR, "MystlerBar04", addonpath.."tex\\MystlerBar04") -- Register fonts LSM:Register(LSM.MediaType.FONT, "Roboto-Bold", addonpath.."fonts\\Roboto-Bold.ttf") LSM:Register(LSM.MediaType.FONT, "Roboto-Regular", addonpath.."fonts\\Roboto-Regular.ttf") -- Register some of our sounds LSM:Register(LSM.MediaType.SOUND, "Assassinen", addonpath.."sfx\\assassinen.ogg") LSM:Register(LSM.MediaType.SOUND, "DunDunDaah", addonpath.."sfx\\defeat.ogg") LSM:Register(LSM.MediaType.SOUND, "BloodlustTime", addonpath.."sfx\\bloodlust.ogg") LSM:Register(LSM.MediaType.SOUND, "PoisonAlert", addonpath.."sfx\\poison.ogg") LSM:Register(LSM.MediaType.SOUND, "BuffAlert", addonpath.."sfx\\buff.ogg") LSM:Register(LSM.MediaType.SOUND, "DeathComes", addonpath.."sfx\\ow\\deathcomes.ogg") LSM:Register(LSM.MediaType.SOUND, "DeathFromAbove", addonpath.."sfx\\ow\\deathfromabove.ogg") LSM:Register(LSM.MediaType.SOUND, "DidThatSting", addonpath.."sfx\\ow\\didthatsting.ogg") LSM:Register(LSM.MediaType.SOUND, "DieDieDie", addonpath.."sfx\\ow\\die.ogg") LSM:Register(LSM.MediaType.SOUND, "HeroesNeverDie", addonpath.."sfx\\ow\\heroesneverdie.ogg") LSM:Register(LSM.MediaType.SOUND, "DropTheBeat", addonpath.."sfx\\ow\\letsdropthebeat.ogg") LSM:Register(LSM.MediaType.SOUND, "WatchingOverYou", addonpath.."sfx\\ow\\watchingoveryou.ogg") LSM:Register(LSM.MediaType.SOUND, "InMySights", addonpath.."sfx\\ow\\ivegotyou.ogg") LSM:Register(LSM.MediaType.SOUND, "YourAttention", addonpath.."sfx\\ow\\doihaveyourattention.ogg") LSM:Register(LSM.MediaType.SOUND, "BarrierUp", addonpath.."sfx\\ow\\barrierup.ogg") LSM:Register(LSM.MediaType.SOUND, "HighNoon", addonpath.."sfx\\ow\\highnoon.ogg") LSM:Register(LSM.MediaType.SOUND, "SpeedBoost", addonpath.."sfx\\ow\\speedboost.ogg") LSM:Register(LSM.MediaType.SOUND, "ExperienceTranquility", addonpath.."sfx\\ow\\tranquility.ogg") LSM:Register(LSM.MediaType.SOUND, "GetBack", addonpath.."sfx\\ow\\getback.ogg") LSM:Register(LSM.MediaType.SOUND, "GetBehindMe", addonpath.."sfx\\ow\\getbehindme.ogg") LSM:Register(LSM.MediaType.SOUND, "Repositioning", addonpath.."sfx\\ow\\repos.ogg") LSM:Register(LSM.MediaType.SOUND, "TracerBlink", addonpath.."sfx\\ow\\blink.ogg") LSM:Register(LSM.MediaType.SOUND, "ReinhardtCharge", addonpath.."sfx\\ow\\charge.ogg") LSM:Register(LSM.MediaType.SOUND, "AnchorsAway", addonpath.."sfx\\ow\\anchors.ogg") LSM:Register(LSM.MediaType.SOUND, "DontBeShy", addonpath.."sfx\\ow\\dontbeshy.ogg") LSM:Register(LSM.MediaType.SOUND, "JusticeRains", addonpath.."sfx\\ow\\justice.ogg") LSM:Register(LSM.MediaType.SOUND, "HoldUpNow", addonpath.."sfx\\ow\\holdupnow.ogg") LSM:Register(LSM.MediaType.SOUND, "MoooltenCooore", addonpath.."sfx\\ow\\moltencore.ogg") LSM:Register(LSM.MediaType.SOUND, "OhMyGosh", addonpath.."sfx\\ow\\omg.ogg") LSM:Register(LSM.MediaType.SOUND, "MeiUltimate", addonpath.."sfx\\ow\\meiult.ogg") LSM:Register(LSM.MediaType.SOUND, "JunkratGotcha", addonpath.."sfx\\ow\\gotcha.ogg") LSM:Register(LSM.MediaType.SOUND, "BackInTheSaddleAgain", addonpath.."sfx\\ow\\backinthesaddle.ogg") LSM:Register(LSM.MediaType.SOUND, "JunkratFireInTheHole", addonpath.."sfx\\ow\\fireinthehole.ogg") LSM:Register(LSM.MediaType.SOUND, "ISeeYou", addonpath.."sfx\\ow\\iseeyou.ogg") LSM:Register(LSM.MediaType.SOUND, "IllRaceYa", addonpath.."sfx\\ow\\illraceya.ogg") LSM:Register(LSM.MediaType.SOUND, "ReaperWraithWalk", addonpath.."sfx\\ow\\wraithwalk.ogg") LSM:Register(LSM.MediaType.SOUND, "OneManApocalypse", addonpath.."sfx\\ow\\onemanapocalypse.ogg") LSM:Register(LSM.MediaType.SOUND, "JunkratLaugh", addonpath.."sfx\\ow\\junkratlaugh.ogg") LSM:Register(LSM.MediaType.SOUND, "SquealForMe", addonpath.."sfx\\ow\\squealforme.ogg") LSM:Register(LSM.MediaType.SOUND, "RoadhogShutUp", addonpath.."sfx\\ow\\shutup.ogg") LSM:Register(LSM.MediaType.SOUND, "WereAllAnimals", addonpath.."sfx\\ow\\wereallanimals.ogg") LSM:Register(LSM.MediaType.SOUND, "JusticeWillBeDone", addonpath.."sfx\\ow\\justicewillbedone.ogg") LSM:Register(LSM.MediaType.SOUND, "BeShielded", addonpath.."sfx\\ow\\beshielded.ogg") LSM:Register(LSM.MediaType.SOUND, "DarknessConsumes", addonpath.."sfx\\ow\\thedarkness.ogg") LSM:Register(LSM.MediaType.SOUND, "AngelOfDeath", addonpath.."sfx\\ow\\angelofdeath.ogg")
--editables START local standardKeyLength=128 local numberOfKeys=3 math.randomseed(os.time()) --editables END local alphabet={"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","_","1","2","3","4","5","6","7","8","9","0",".",",","?","!","(",")","/","-","=","+","*","%","&","^","$","#","@","<",">","~","`",";",":"} local keyList={} function generateKey(keyLength) local key={} for i=1,keyLength do key[i]=math.random(1,#alphabet) end return key end function generateKeyList(stdKeyLength,_numberOfKeys) for i=1,_numberOfKeys do table.insert(keyList,generateKey(stdKeyLength)) end end function encode(message,key) text=string.gsub(message,"[ ]","_") --replace spaces with underscores for encoding local encodedMessage="" local newLayer="" for i=1,#text do for j=1,#alphabet do if string.sub(text,i,i)==alphabet[j]then newLayer=j+key[i] if newLayer>#alphabet then newLayer=newLayer-#alphabet end encodedMessage=encodedMessage..alphabet[newLayer] end end end return encodedMessage end function decode(crypt,key) local decodedMessage="" local newLayer="" for i=1,#crypt do for j=1,#alphabet do if string.sub(crypt,i,i)==alphabet[j]then newLayer=j-key[i] if newLayer<1 then newLayer=newLayer+#alphabet end decodedMessage=decodedMessage..alphabet[newLayer] end end end return string.gsub(decodedMessage,"[_]"," ") end function useUserKey(userKey) local key={} for m in string.gmatch(userKey, "(%d+)") do table.insert(key,m) end return key end local encryptions={} print(string.rep("-",51)) print() generateKeyList(standardKeyLength,numberOfKeys) print(numberOfKeys.." keys were generated, all "..standardKeyLength.." characters in length.\n") for i=1,#keyList do print("Key "..i..":") for j=1,#keyList[i] do io.write(":"..keyList[i][j]) end print("\n") end print() print(string.rep("-",51)) print() for i=1,numberOfKeys do print("Enter a message to be encoded:") io.write(">") local message=io.read() print() encoded=encode(message,keyList[i]) print('"'..message..'"\nwas encrypted to\n"'..encoded..'"\nusing key '..i..".\n") table.insert(encryptions,encoded) end print() print(string.rep("-",51)) print() for i=1,numberOfKeys do local decoded=decode(encryptions[i],keyList[i]) print('"'..encryptions[i]..'"\nwas decrypted to\n"'..decoded..'"\nusing key '..i..".\n") end
local BuiltInPalettes = {} --- local children = script:GetChildren() for i = 1, #children do local child = children[i] BuiltInPalettes[child.Name] = require(child) end --- return BuiltInPalettes
http://hastebin.com/raw/oxovegawet http://hastebin.com/raw/vedaficote.lua http://hastebin.com/raw/huhevivohe http://hastebin.com/raw/inasisedak http://hastebin.com/raw/julanaxeqe https://paste.ee/r/xEfkv http://hastebin.com/raw/iwabacodoz http://hastebin.com/raw/xibojajuri http://hastebin.com/raw/apudalurev https://paste.ee/r/elXGa http://pastebin.com/raw/vUPBELWk http://hastebin.com/raw/itakosaxav http://hastebin.com/raw/efolokowig
--- === LookupSelection === --- --- Show a popup window with the currently selected word in lexicon, notes, online help --- --- The spoon uses hs.urlevent.openURL("dict://" .. text) --- --- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/LookupSelection.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/LookupSelection.spoon.zip) local obj={} obj.__index = obj -- Metadata obj.name = "LookupSelection" obj.version = "0.1" obj.author = "Alfred Schilken <alfred@schilken.de>" obj.homepage = "https://github.com/Hammerspoon/Spoons" obj.license = "MIT - https://opensource.org/licenses/MIT" -- User-configurable variables -- may used later -- -- LookupSelection.popup_size -- Variable -- `hs.geometry` object representing the size to use for the translation popup window. Defaults to `hs.geometry.size(770, 610)`. --obj.popup_size = hs.geometry.size(770, 610) -- LookupSelection.popup_style -- Variable -- Value representing the window style to be used for the translation popup window. This value needs to be a valid argument to [`hs.webview.setStyle()`](http://www.hammerspoon.org/docs/hs.webview.html#windowStyle) (i.e. a combination of values from [`hs.webview.windowMasks`](http://www.hammerspoon.org/docs/hs.webview.html#windowMasks[]). Default value: `hs.webview.windowMasks.utility|hs.webview.windowMasks.HUD|hs.webview.windowMasks.titled|hs.webview.windowMasks.closable` --obj.popup_style = hs.webview.windowMasks.utility|hs.webview.windowMasks.HUD|hs.webview.windowMasks.titled|hs.webview.windowMasks.closable -- LookupSelection.popup_close_on_escape -- Variable -- If true, pressing ESC on the popup window will close it. Defaults to `true` --obj.popup_close_on_escape = true -- LookupSelection.popup_close_after_copy -- Variable -- If true, the popup window will close after translated text is copied to pasteboard. Defaults to `true` --obj.popup_close_after_copy = false --- LookupSelection.logger --- Variable --- Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. obj.logger = hs.logger.new('LookupSelection') ---------------------------------------------------------------------- -- Internal function to get the currently selected text. -- issues a Cmd-c and get the pasteboard contents function current_selection() hs.eventtap.keyStroke({"cmd"}, "c") hs.timer.usleep(20000) sel=hs.pasteboard.getContents() return (sel or "") end --- LookupSelection:openLexicon() --- Method --- Get the current selected text in the frontmost window and display a translation popup with the translation between the specified languages --- --- Returns: --- * The LookupSelection object function obj:openLexicon() local text=current_selection() hs.urlevent.openURL("dict://" .. text) end function obj:neue_notiz() local text=current_selection() hs.application.launchOrFocusByBundleID("com.apple.Notes") local notizenApp = hs.appfinder.appFromName("Notizen") notizenApp:selectMenuItem({"Ablage", "Neue Notiz"}) hs.eventtap.keyStroke({"cmd"}, "v") end function obj:hsdocs() local text=current_selection() if #text < 2 then text = nil elseif not text:starts_with("hs.") then text = "hs." .. text end print("obj:hsdocs():|" .. tostring(text) .. "|") hs.doc.hsdocs.moduleEntitiesInSidebar(true) hs.doc.hsdocs.help(text) end --- LookupSelection:bindHotkeys(mapping) --- Method --- Binds hotkeys for LookupSelection --- --- Parameters: --- * mapping - A table containing hotkey modifier/key details for the following items: --- * `lexicon` - open in lexicon app --- * `neue_notiz` - create new note in notes app --- * `hsdocs` - display online help --- --- Sample value for `mapping`: --- ``` --- { --- lexicon = { { "ctrl", "alt", "cmd" }, "L" }, --- neue_notiz = { { "ctrl", "alt", "cmd" }, "N" }, --- hsdocs = { { "ctrl", "alt", "cmd" }, "H" }, --- } --- ``` function obj:bindHotkeys(mapping) local def = {} for action,key in pairs(mapping) do if action == "lexicon" then def.lexicon = hs.fnutils.partial(self.openLexicon, self) elseif action == "neue_notiz" then def.neue_notiz = hs.fnutils.partial(self.neue_notiz, self) elseif action == "hsdocs" then def.hsdocs = hs.fnutils.partial(self.hsdocs, self) else self.logger.ef("Invalid hotkey action '%s'", action) end end hs.spoons.bindHotkeysToSpec(def, mapping) obj.mapping = mapping end return obj
--[[ Copyright © 2017, SirEdeonX All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of xivbar nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SirEdeonX BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ]] local theme = {} theme.apply = function (settings) local options = {} options.total_height = 8 options.total_width = 472 options.offset_x = settings.Bars.OffsetX options.offset_y = settings.Bars.OffsetY options.bar_background = windower.addon_path .. 'themes/' .. settings.Theme.Name .. '/bar_bg.png' options.bar_hp = windower.addon_path .. 'themes/' .. settings.Theme.Name .. '/hp_fg.png' options.bar_mp = windower.addon_path .. 'themes/' .. settings.Theme.Name .. '/mp_fg.png' options.bar_tp = windower.addon_path .. 'themes/' .. settings.Theme.Name .. '/tp_fg.png' options.font = settings.Texts.Font options.font_size = settings.Texts.Size options.font_alpha = settings.Texts.Color.Alpha options.font_color_red = settings.Texts.Color.Red options.font_color_green = settings.Texts.Color.Green options.font_color_blue = settings.Texts.Color.Blue options.font_stroke_width = settings.Texts.Stroke.Width options.font_stroke_alpha = settings.Texts.Stroke.Alpha options.font_stroke_color_red = settings.Texts.Stroke.Red options.font_stroke_color_green = settings.Texts.Stroke.Green options.font_stroke_color_blue = settings.Texts.Stroke.Blue options.full_tp_color_red = settings.Texts.FullTpColor.Red options.full_tp_color_green = settings.Texts.FullTpColor.Green options.full_tp_color_blue = settings.Texts.FullTpColor.Blue options.text_offset = settings.Texts.Offset options.bar_width = settings.Theme.Bar.Width options.bar_spacing = settings.Theme.Bar.Spacing options.bar_offset = settings.Theme.Bar.Offset options.dim_tp_bar = settings.Theme.DimTpBar if settings.Theme.Compact then options.bar_background = windower.addon_path .. 'themes/' .. settings.Theme.Name .. '/bar_compact.png' options.total_width = 422 options.bar_width = settings.Theme.Bar.Compact.Width options.bar_spacing = settings.Theme.Bar.Compact.Spacing options.bar_offset = settings.Theme.Bar.Compact.Offset end if settings.Theme.Name == 'ffxiv' then options.font_stroke_alpha = 150 options.font_stroke_color_red = 80 options.font_stroke_color_green = 70 options.font_stroke_color_blue = 30 end return options end return theme
assert(Config, 'Need a pre-existing Config table!') local vector = require'vector' Config.enable_log = false local monitor = { minFPS = 1, maxFPS = 15, } -- TODO: put this into FSM config, and state-specific local head = { pitchMin = -10 * DEG_TO_RAD, pitchMax = 75 * DEG_TO_RAD, yawMin = -135 * DEG_TO_RAD, yawMax = 135 * DEG_TO_RAD, -- Head angle bias pitchBias = 0, yawBias = 0, -- From CoM to neck joint: {neckX, neckY, neckZ} neckOffset = {0, 0, 0.285} } local colors = { black = 0, orange = 1, yellow = 2, blue = 4, field = 8, white = 16, cyan = 32, magenta = 64, } local vision = { colors = colors, scaleA = 2, scaleB = 2, } local vision_k2 = { colors = colors, scaleA = 1, scaleB = 2, } vision.goal = { th_min_bbox_area = 80, --100, th_nPostB = 15, th_min_area = 40, th_min_orientation = 80*DEG_TO_RAD, th_min_fill_rate = 0.4, --0.45, -- TODO: need to test on real robot height_min = 1, height_max = 2, th_aspect_ratio = {13,120}, th_edge_margin = 5, th_bottom_boundingbox = 0.9, th_ground_boundingbox = {-15,15,-15,10}, th_min_green_ratio = 0.2, th_min_bad_color_ratio = 0.1, th_goal_separation = {0.35,3.0}, th_min_area_unknown_post = 80, -- The range we triangulate: far_goal_threshold= 4.0, use_centerpost = 1, min_crossbar_ratio = 0.6, check_for_ground = 1, -- Metric properties goalHeight = 1.8, goalWidth = 3.1, --3.0 for I-I, 3.1 for C-C postDiameter = 0.1, } local m308_param = { {'White Balance Temperature', 2300}, {'Exposure (Absolute)', 112}, -- {'Focus (absolute)', 0}, {'Brightness', 128}, {'Contrast', 128}, {'Saturation', 220}, {'Gain', 0}, {'Sharpness', 0}, } local grasp_afternoon_param = { {'White Balance Temperature', 3300}, {'Exposure (Absolute)', 170}, {'Focus', 0}, {'Brightness', 128}, {'Contrast', 128}, {'Saturation', 150}, {'Gain', 66}, {'Sharpness', 0}, } local ucla_head_param = { --{'White Balance Temperature', 2300}, --{'Exposure (Absolute)', 112}, --{'Focus (absolute)', 120}, {'Brightness', 128}, {'Contrast', 128}, {'Saturation', 128}, {'Gain', 0}, {'Sharpness', 128}, } local ucla_wrist_param = { --{'White Balance Temperature', 2300}, --{'Exposure (Absolute)', 112}, --{'Focus', 120}, {'Brightness', 48}, {'Contrast', 32}, {'Saturation', 48}, {'Gain', 0}, {'Sharpness', 128}, } -- Cameras local camera = {} camera[1] = { name = 'head', dev = '/dev/video-headcamera', format = 'yuyv', w = 640, h = 360, fps = 15, jpeg_quality = 40, quality = 40, downsampling = 2, --crop = {640/2+1, 360/2+1, 640/2, 360/2}, -- cameraRoll, cameraPitch, cameraYaw mountOffset = { --[[ {0*DEG_TO_RAD,-5*DEG_TO_RAD,0}, {0.02,0,0.14} --]] {0*DEG_TO_RAD,-5*DEG_TO_RAD,0}, {0.01,0,0.1} }, cx_offset = 0, cy_offset = 0, -- Use the standard head properties head = head, -- Use the default vision parameters vision = vision, -- Run the standard RoboCup vision processing --detection = 'libVision', --lut = 'ucla1', --Logitech C920 -- f = 640/2/tan(78/180*pi / 2) --fov = 2*arctan(d/2f) -- f = d/2/tan(fov/2) --webots fov: 1.3613 focal_length = 395.17, focal_base = 640, auto_param = { {'Exposure, Auto', 1}, {'White Balance Temperature, Auto', 1}, {'Power Line Frequency', 0}, {'Exposure, Auto Priority', 1}, --{'Focus, Auto', 0} }, param = ucla_head_param, } camera[2] = { name = 'wrist', dev = '/dev/video-wristcamera', format = 'yuyv', w = 320, h = 240, fps = 5, jpeg_quality = 50, quality = 50, downsampling = 1, crop = {320/2+1, 240/2+1, 320/2, 240/2}, auto_param = { {'Exposure, Auto', 1}, {'White Balance Temperature, Auto', 1}, {'Power Line Frequency', 0}, {'Exposure, Auto Priority', 1}, --{'Focus, Auto', 0} }, param = ucla_wrist_param, } local kinect = { name = 'kinect2', mountOffset = { {0*DEG_TO_RAD,0*DEG_TO_RAD,0}, -- RPY {0.08,0,0.08} -- translation }, w = 512, h = 424, jpeg_quality = 60, -- Use the default vision parameters vision = vision_k2, -- Run the standard RoboCup vision processing detection = 'MultiValve', lut = 'multi_valve', } if IS_WEBOTS then kinect.mountOffset = { {0,0,0}, -- RPY {0.03,0,0.12} -- translation } end --Webots use 1/2 resolution but 2x label resolution if IS_WEBOTS then camera[1].w = 320 camera[1].h = 180 camera[1].cx_offset = 0 camera[1].cy_offset = 0 camera[1].lut = 'multi_valve' camera[1].focal_length = 395.17 camera[1].focal_base = 640 -- Kinect width and height kinect.w, kinect.h = 256, 212 vision.scaleA = 2 vision.scaleB = 2 head.neckX = 0 --From CoM to neck joint head.cameraPitch = 0 head.cameraRoll = 0 head.yawBias = 0 vision.goal = { th_min_bbox_area = 80, th_nPostB = 10, th_min_area = 35, th_min_orientation = 80*DEG_TO_RAD, th_min_fill_rate = 0.28, --0.28, height_min = -0.9, --TODO th_aspect_ratio = {2.5,110}, th_edge_margin = 5, th_bottom_boundingbox = 0.9, th_ground_boundingbox = {-15,15,-15,10}, th_min_green_ratio = 0.2, th_min_bad_color_ratio = 0.1, th_goal_separation = {0.35,3.0}, th_min_area_unknown_post = 80, -- The range we triangulate: far_goal_threshold= 4.0, use_centerpost = 1, min_crossbar_ratio = 0.6, check_for_ground = 1, height_max = 9, -- Metric properties goalHeight = 1.8, goalWidth = 3.1, --3.0 for I-I, 3.1 for C-C postDiameter = 0.1, } end -- Associate with the table Config.camera = camera Config.kinect = kinect Config.vision = vision Config.head = head Config.monitor = monitor return Config
object_mobile_junk_dealer_m_03 = object_mobile_shared_junk_dealer_m_03:new { } ObjectTemplates:addTemplate(object_mobile_junk_dealer_m_03, "object/mobile/junk_dealer_m_03.iff")
#!/usr/bin/env luajit bson = require("cbson") function readAll(file) local f = io.open(file, "rb") local current = f:seek() local size = f:seek("end") f:seek("set", current) local content = f:read("*all") f:close() return content, size end if not arg[1] then print("Usage: mongodump-decode.lua <filename.bson>") return -1 end local data, size = readAll(arg[1]) -- local pos = 1 -- lua indexes start from 1 while pos <= size do local s1,s2,s3,s4 = data:byte(pos, pos+3) -- four bytes local bson_size = s4*16777216+s3*65536+s2*256+s1 -- hackish int calculation local dt = data:sub(pos,pos+bson_size-1) -- get bson data according to size print(bson.to_json(dt)) -- try to decode pos = pos + bson_size -- advance end
vim.g.matchup_surround_enabled = true vim.g.matchup_delim_stopline = 1500 vim.g.matchup_matchparen_deferred = true vim.g.matchup_matchparen_hi_surround_always = true
local composer = require( "composer" ) local scene = composer.newScene() -- ----------------------------------------------------------------------------------- -- Code outside of the scene event functions below will only be executed ONCE unless -- the scene is removed entirely (not recycled) via "composer.removeScene()" -- ----------------------------------------------------------------------------------- -- Initialize variables -- Work with JSON notation local json = require( "json" ) local scoresTable = {} -- Generates an absolute path to a JSON file (scores.json) which we'll use to save the ten highest scores local filePath = system.pathForFile( "scores.json", system.DocumentsDirectory ) local function loadScores() local file = io.open( filePath, "r" ) if file then local contents = file:read( "*a" ) io.close( file ) scoresTable = json.decode( contents ) end if ( scoresTable == nil or #scoresTable == 0 ) then scoresTable = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } end end -- Extra: If you want to make things more interesting, start the game with -- ten default scores that the "computer" scored and challenge the player to beat them! For example: -- scoresTable = { 10000, 7500, 5200, 4700, 3500, 3200, 1200, 1100, 800, 500 } local function saveScores() for i = #scoresTable, 11, -1 do table.remove( scoresTable, i ) end local file = io.open( filePath, "w" ) if file then file:write( json.encode( scoresTable ) ) io.close( file ) end end -- sort the table's values from highest to lowest local function compare( a, b ) return a > b -- if required to sort in an incremental way then the condition we'd need to use is a < b end local function gotoMenu() composer.gotoScene( "menu", { time=800, effect="crossFade" } ) end -- ----------------------------------------------------------------------------------- -- Scene event functions -- ----------------------------------------------------------------------------------- -- create() function scene:create( event ) local sceneGroup = self.view -- Code here runs when the scene is first created but has not yet appeared on screen -- Load the previous scores loadScores() -- Insert the saved score from the last game into the table, then reset it table.insert( scoresTable, composer.getVariable( "finalScore" ) ) composer.setVariable( "finalScore", 0 ) table.sort( scoresTable, compare ) -- Save the scores saveScores() local background = display.newImageRect( sceneGroup, "GettingStarted02/background.png", 800, 1400 ) background.x = display.contentCenterX background.y = display.contentCenterY local highScoresHeader = display.newText( sceneGroup, "High Scores", display.contentCenterX, 100, native.systemFont, 44 ) --display the scores using a simple for loop from 1 to 10. for i = 1, 10 do if ( scoresTable[i] ) then local yPos = 150 + ( i * 56 ) local rankNum = display.newText( sceneGroup, i .. ")", display.contentCenterX-50, yPos, native.systemFont, 36 ) rankNum:setFillColor( 0.8 ) rankNum.anchorX = 1 local thisScore = display.newText( sceneGroup, scoresTable[i], display.contentCenterX-30, yPos, native.systemFont, 36 ) thisScore.anchorX = 0 end end local menuButton = display.newText( sceneGroup, "Menu", display.contentCenterX, 810, native.systemFont, 44 ) menuButton:setFillColor( 0.75, 0.78, 1 ) menuButton:addEventListener( "tap", gotoMenu ) end -- show() function scene:show( event ) local sceneGroup = self.view local phase = event.phase if ( phase == "will" ) then -- Code here runs when the scene is still off screen (but is about to come on screen) elseif ( phase == "did" ) then -- Code here runs when the scene is entirely on screen end end -- hide() function scene:hide( event ) local sceneGroup = self.view local phase = event.phase if ( phase == "will" ) then -- Code here runs when the scene is on screen (but is about to go off screen) elseif ( phase == "did" ) then -- Code here runs immediately after the scene goes entirely off screen -- let's remove the highscores.lua scene on dismiss composer.removeScene( "highscores" ) end end -- destroy() function scene:destroy( event ) local sceneGroup = self.view -- Code here runs prior to the removal of scene's view end -- ----------------------------------------------------------------------------------- -- Scene event function listeners -- ----------------------------------------------------------------------------------- scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) scene:addEventListener( "hide", scene ) scene:addEventListener( "destroy", scene ) -- ----------------------------------------------------------------------------------- return scene
local random = math.random math.randomseed(os.time()) local M = {} -- move_cursor moves the cursor to the desired position in the provided buffer -- @param bufnr Buffer number, a.k.a id -- @param line the desired line -- @param column the desired column, defaults to 1 M.move_cursor = function(bufnr, line, column) column = column or 1 vim.api.nvim_buf_call(bufnr, function() vim.fn.cursor(line, column) end) end M.uuid = function() local template = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx" return string.gsub(template, "[xy]", function(c) local v = (c == "x") and random(0, 0xf) or random(8, 0xb) return string.format("%x", v) end) end -- file_exists checks if the provided file exists and returns a boolean -- @param file File to check M.file_exists = function(file) file = io.open(file, "rb") if file then file:close() end return file ~= nil end -- read_file Reads all lines from a file and returns the content as a table -- returns empty table if file does not exist M.read_file = function(file) if not M.file_exists(file) then return {} end local lines = {} for line in io.lines(file) do lines[#lines + 1] = line end return lines end -- read_env_file Reads the environment variables found in the `.env` file and -- returns a table with the variables M.read_env_file = function() local variables = {} -- Directories to search for env files local env_file_paths = { -- current working directory vim.fn.getcwd() .. "/.env", -- directory of the currently opened file vim.fn.expand("%:p:h") .. "/.env", } -- If there's an env file in the current working dir for _, env_file_path in ipairs(env_file_paths) do if M.file_exists(env_file_path) then for line in io.lines(env_file_path) do local vars = M.split(line, "=", 1) variables[vars[1]] = vars[2] end end end return variables end M.read_dynamic_variables = function() local dynamic_variables = { ["$uuid"] = M.uuid, ["$timestamp"] = os.time, ["$randomInt"] = function() return math.random(0, 1000) end, } return dynamic_variables end M.read_variables = function() local first = M.read_env_file() local second = M.read_dynamic_variables() for k, v in pairs(second) do first[k] = v end return first end -- replace_vars replaces the env variables fields in the provided string -- with the env variable value -- @param str Where replace the placers for the env variables M.replace_vars = function(str) local vars = M.read_variables() for var in string.gmatch(str, "{{[^}]+}}") do var = var:gsub("{", ""):gsub("}", "") -- If the env variable wasn't found in the `.env` file or in the dynamic variables then search it -- in the OS environment variables if M.has_key(vars, var) then str = type(vars[var]) == "function" and str:gsub("{{" .. var .. "}}", vars[var]()) or str:gsub("{{" .. var .. "}}", vars[var]) else if os.getenv(var) then str = str:gsub("{{" .. var .. "}}", os.getenv(var)) else error(string.format("Environment variable '%s' was not found.", var)) end end end return str end -- has_key checks if the provided table contains the provided key using a regex -- @param tbl Table to iterate over -- @param key The key to be searched in the table M.has_key = function(tbl, key) for tbl_key, _ in pairs(tbl) do if string.find(key, tbl_key) then return true end end return false end -- has_value checks if the provided table contains the provided string using a regex -- @param tbl Table to iterate over -- @param str String to search in the table M.has_value = function(tbl, str) for _, element in ipairs(tbl) do if string.find(str, element) then return true end end return false end -- tbl_to_str recursively converts the provided table into a json string -- @param tbl Table to convert into a String -- @param json If the string should use a key:value syntax M.tbl_to_str = function(tbl, json) if not json then json = false end local result = "{" for k, v in pairs(tbl) do -- Check the key type (ignore any numerical keys - assume its an array) if type(k) == "string" then result = result .. '"' .. k .. '"' .. ":" end -- Check the value type if type(v) == "table" then result = result .. M.tbl_to_str(v) elseif type(v) == "boolean" then result = result .. tostring(v) elseif type(v) == "number" then result = result .. v else result = result .. '"' .. v .. '"' end if json then result = result .. ":" else result = result .. "," end end -- Remove leading commas from the result if result ~= "" then result = result:sub(1, result:len() - 1) end return result .. "}" end -- Just a split function because Lua does not have this, nothing more -- @param str String to split -- @param sep Separator -- @param max_splits Number of times to split the string (optional) M.split = function(str, sep, max_splits) if sep == nil then sep = "%s" end max_splits = max_splits or -1 local str_tbl = {} local nField, nStart = 1, 1 local nFirst, nLast = str:find(sep, nStart) while nFirst and max_splits ~= 0 do str_tbl[nField] = str:sub(nStart, nFirst - 1) nField = nField + 1 nStart = nLast + 1 nFirst, nLast = str:find(sep, nStart) max_splits = max_splits - 1 end str_tbl[nField] = str:sub(nStart) return str_tbl end -- iter_lines returns an iterator -- @param str String to iterate over M.iter_lines = function(str) -- If the string does not have a newline at the end then add it manually if str:sub(-1) ~= "\n" then str = str .. "\n" end return str:gmatch("(.-)\n") end -- char_to_hex returns the provided character as its hex value, e.g., "[" is -- converted to "%5B" -- @param char The character to convert M.char_to_hex = function(char) return string.format("%%%02X", string.byte(char)) end -- encode_url encodes the given URL -- @param url The URL to encode M.encode_url = function(url) if url == nil then error("You must need to provide an URL to encode") end url = url:gsub("\n", "\r\n") -- Encode characters but exclude `.`, `_`, `-`, `:`, `/`, `?`, `&`, `=`, `~` url = string.gsub(url, "([^%w _ %- . : / ? & = ~])", M.char_to_hex) url = url:gsub(" ", "+") return url end -- contains_comments checks if the given string contains comments characters -- @param str The string that should be checked -- @return number M.contains_comments = function(str) return str:find("^#") or str:find("^%s+#") end -- http_status returns the status code and the meaning, e.g. 200 OK -- see https://httpstatuses.com/ for reference -- @param code The request status code M.http_status = function(code) -- NOTE: this table does not cover all the statuses _yet_ local status_meaning = { -- 1xx codes (Informational) [100] = "Continue", [101] = "Switching Protocols", [102] = "Processing", -- 2xx codes (Success) [200] = "OK", [201] = "Created", [202] = "Accepted", [203] = "Non-authorative Information", [204] = "No Content", [205] = "Reset Content", [206] = "Partial Content", [207] = "Multi-Status", [208] = "Already Reported", [226] = "IM Used", -- 3xx codes (Redirection) [300] = "Multiple Choices", [301] = "Moved Permanently", [302] = "Found", [303] = "See Other", [304] = "Not Modified", [305] = "Use Proxy", [307] = "Temporary Redirect", [308] = "Permanent Redirect", -- 4xx codes (Client Error) [400] = "Bad Request", [401] = "Unauthorized", [403] = "Forbidden", [404] = "Not Found", [405] = "Method Not Allowed", [406] = "Not Acceptable", [407] = "Proxy Authentication Required", [408] = "Request Timeout", [409] = "Conflict", [410] = "Gone", [411] = "Length Required", [412] = "Precondition Failed", [413] = "Payload Too Large", [414] = "Request-URI Too Long", [415] = "Unsupported Media Type", [416] = "Requested Range Not Satisfiable", [417] = "Expectation Failed", [418] = "I'm a teapot", [421] = "Misdirected Request", [422] = "Unprocessable Entity", [423] = "Locked", [424] = "Failed Dependency", [426] = "Upgrade Required", [428] = "Precondition Required", [429] = "Too Many Requests", [431] = "Request Header Fields Too Large", [444] = "Connection Closed Without Response", [451] = "Unavailable For Legal Reasons", [499] = "Client Closed Request", -- 5xx codes (Server Error) [500] = "Internal Server Error", [501] = "Not Implemented", [502] = "Bad Gateway", [503] = "Service Unavailable", [504] = "Gateway Timeout", [505] = "HTTP Version Not Supported", [506] = "Variant Also Negotiates", [507] = "Insufficient Storage", [508] = "Loop Detected", [510] = "Not Extended", [511] = "Network Authentication Required", [599] = "Network Connect Timeout Error", } -- If the code is covered in the status_meaning table if status_meaning[code] ~= nil then return tostring(code) .. " " .. status_meaning[code] end return tostring(code) .. " Unknown Status Meaning" end -- curl_error returns the status code and the meaning of an curl error -- see man curl for reference -- @param code The exit code of curl M.curl_error = function(code) local curl_error_dictionary = { [1] = "Unsupported protocol. This build of curl has no support for this protocol.", [2] = "Failed to initialize.", [3] = "URL malformed. The syntax was not correct.", [4] = "A feature or option that was needed to perform the desired request was not enabled or was explicitly disabled at build-time." .. "To make curl able to do this, you probably need another build of libcurl!", [5] = "Couldn't resolve proxy. The given proxy host could not be resolved.", [6] = "Couldn't resolve host. The given remote host was not resolved.", [7] = "Failed to connect to host.", [8] = "Weird server reply. The server sent data curl couldn't parse.", [9] = "FTP access denied. The server denied login or denied access to the particular resource or directory you wanted to reach. Most often you tried to change to a directory that doesn't exist on the server.", [10] = "FTP accept failed. While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar.", [11] = "FTP weird PASS reply. Curl couldn't parse the reply sent to the PASS request.", [12] = "During an active FTP session while waiting for the server to connect back to curl, the timeout expired.", [13] = "FTP weird PASV reply, Curl couldn't parse the reply sent to the PASV request.", [14] = "FTP weird 227 format. Curl couldn't parse the 227-line the server sent.", [15] = "FTP can't get host. Couldn't resolve the host IP we got in the 227-line.", [16] = "HTTP/2 error. A problem was detected in the HTTP2 framing layer. This is somewhat generic and can be one out of several problems, see the error message for details.", [17] = "FTP couldn't set binary. Couldn't change transfer method to binary.", [18] = "Partial file. Only a part of the file was transferred.", [19] = "FTP couldn't download/access the given file, the RETR (or similar) command failed.", [21] = "FTP quote error. A quote command returned error from the server.", [22] = "HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.", [23] = "Write error. Curl couldn't write data to a local filesystem or similar.", [25] = "FTP couldn't STOR file. The server denied the STOR operation, used for FTP uploading.", [26] = "Read error. Various reading problems.", [27] = "Out of memory. A memory allocation request failed.", [28] = "Operation timeout. The specified time-out period was reached according to the conditions.", [30] = "FTP PORT failed. The PORT command failed. Not all FTP servers support the PORT command, try doing a transfer using PASV instead!", [31] = "FTP couldn't use REST. The REST command failed. This command is used for resumed FTP transfers.", [33] = 'HTTP range error. The range "command" didn\'t work.', [34] = "HTTP post error. Internal post-request generation error.", [35] = "SSL connect error. The SSL handshaking failed.", [36] = "Bad download resume. Couldn't continue an earlier aborted download.", [37] = "FILE couldn't read file. Failed to open the file. Permissions?", [38] = "LDAP cannot bind. LDAP bind operation failed.", [39] = "LDAP search failed.", [41] = "Function not found. A required LDAP function was not found.", [42] = "Aborted by callback. An application told curl to abort the operation.", [43] = "Internal error. A function was called with a bad parameter.", [45] = "Interface error. A specified outgoing interface could not be used.", [47] = "Too many redirects. When following redirects, curl hit the maximum amount.", [48] = "Unknown option specified to libcurl. This indicates that you passed a weird option to curl that was passed on to libcurl and rejected. Read up in the manual!", [49] = "Malformed telnet option.", [51] = "The peer's SSL certificate or SSH MD5 fingerprint was not OK.", [52] = "The server didn't reply anything, which here is considered an error.", [53] = "SSL crypto engine not found.", [54] = "Cannot set SSL crypto engine as default.", [55] = "Failed sending network data.", [56] = "Failure in receiving network data.", [58] = "Problem with the local certificate.", [59] = "Couldn't use specified SSL cipher.", [60] = "Peer certificate cannot be authenticated with known CA certificates.", [61] = "Unrecognized transfer encoding.", [62] = "Invalid LDAP URL.", [63] = "Maximum file size exceeded.", [64] = "Requested FTP SSL level failed.", [65] = "Sending the data requires a rewind that failed.", [66] = "Failed to initialise SSL Engine.", [67] = "The user name, password, or similar was not accepted and curl failed to log in.", [68] = "File not found on TFTP server.", [69] = "Permission problem on TFTP server.", [70] = "Out of disk space on TFTP server.", [71] = "Illegal TFTP operation.", [72] = "Unknown TFTP transfer ID.", [73] = "File already exists (TFTP).", [74] = "No such user (TFTP).", [75] = "Character conversion failed.", [76] = "Character conversion functions required.", [77] = "Problem with reading the SSL CA cert (path? access rights?).", [78] = "The resource referenced in the URL does not exist.", [79] = "An unspecified error occurred during the SSH session.", [80] = "Failed to shut down the SSL connection.", [82] = "Could not load CRL file, missing or wrong format (added in 7.19.0).", [83] = "Issuer check failed (added in 7.19.0).", [84] = "The FTP PRET command failed", [85] = "RTSP: mismatch of CSeq numbers", [86] = "RTSP: mismatch of Session Identifiers", [87] = "unable to parse FTP file list", [88] = "FTP chunk callback reported error", [89] = "No connection available, the session will be queued", [90] = "SSL public key does not matched pinned public key", [91] = "Invalid SSL certificate status.", [92] = "Stream error in HTTP/2 framing layer.", } if curl_error_dictionary[code] ~= nil then return "curl error " .. tostring(code) .. ": " .. curl_error_dictionary[code] end return "curl error " .. tostring(code) .. ": unknown curl error" end return M
lion_hex_lua = class({}) LinkLuaModifier( "modifier_lion_hex_lua", "lua_abilities/lion_hex_lua/modifier_lion_hex_lua", LUA_MODIFIER_MOTION_NONE ) -------------------------------------------------------------------------------- -- Ability Start function lion_hex_lua:OnSpellStart() -- unit identifier local caster = self:GetCaster() local target = self:GetCursorTarget() -- cancel if linken if target:TriggerSpellAbsorb( self ) then return end -- load data local duration = self:GetSpecialValueFor("duration") -- add modifier target:AddNewModifier( caster, -- player source self, -- ability source "modifier_lion_hex_lua", -- modifier name { duration = duration } -- kv ) -- effects local sound_cast = "Hero_Lion.Voodoo" EmitSoundOn( sound_cast, caster ) end
-- Keyboard Layout Switcher -- Keyboard map indicator and changer local awful = require("awful") local wibox = require("wibox") local gears = require("gears") local timer = gears.timer or timer local spawn = awful.spawn ------------------------------------------ -- Compatibility with Lua <= 5.1 ------------------------------------------ local _unpack = table.unpack or unpack -- same as table.pack in lua 5.2: local function pack(...) return {n = select('#', ...), ...} end -- different from table.unpack in lua.5.2: local function unpack(t) return _unpack(t, 1, t.n) end ------------------------------------------ -- Private utility functions ------------------------------------------ local function trim(s) if s == nil then return nil end return (s:gsub("^%s*(.-)%s*$", "%1")) end local function findindex(array, match) for k, v in pairs(array) do if match(v) then return k end end end local function spawn_sequential(...) if select('#', ...) > 0 then local command = select(1, ...) local args = pack(select(2, ...)) local exec_tail = function() spawn_sequential(unpack(args)) end if type(command) == "function" then command() exec_tail() elseif command == nil then exec_tail() else spawn.easy_async(command, exec_tail) end end end ------------------------------------------ -- Indicator class ------------------------------------------ local indicator = {} function indicator:new(args) return setmetatable({}, {__index = self}):init(args) end function indicator:init(args) self.cmd = "setxkbmap" self.layouts = args.layouts self.prompt = args.prompt or "Run: " self.preset = args.preset or self.cmd .. " " self.post_set_hooks = args.post_set_hooks or {"xmodmap ~/.Xmodmap"} self.index = 1 -- 1-based index! self.current = nil self.widget = wibox.widget.textbox() self.widget.set_align("right") self.widget:buttons(awful.util.table.join( awful.button({ }, 1, function() self:next() end), awful.button({ }, 3, function() self:prev() end), awful.button({ }, 4, function() self:prev() end), awful.button({ }, 5, function() self:next() end), -- execute prompt on middle click: awful.button({ }, 2, function () awful.prompt.run { prompt = self.prompt, text = self.preset, textbox = awful.screen.focused().mypromptbox.widget, exe_callback = function(cmd) self:setcustom(cmd) end, } end) )) awesome.connect_signal("xkb::map_changed", function() self:update() end) awesome.connect_signal("xkb::group_changed", function() self:update() end) self.timer = timer({ timeout = args.timeout or 0.5 }) self.timer:connect_signal("timeout", function() self:update() end) self.timer:start() self:update() return self end function indicator:set(i) -- set current index self.index = (i-1) % #(self.layouts) + 1 self.current = self.layouts[self.index] self:update_text() -- execute command local command = self.current.command or ("%s %s %s"):format( self.cmd, self.current.layout, self.current.variant or "") spawn_sequential(command, unpack(self.post_set_hooks)) end function indicator:setcustom(str) spawn.easy_async(str, function() self:update() end) end function indicator:update() self:get_async(function(index, info) self.known = index ~= nil self.index = index or self.index self.current = info self:update_text() end) end function indicator:update_text() self.widget:set_markup(("<span %s>%s</span>"):format( self.current.attr or "", self.current.name)) end function indicator:get_async(callback) spawn.easy_async(self.cmd .. " -query", function(status) callback(self:parse_status(status)) end) end function indicator:parse_status(status) -- parse current layout from setxkbmap local layout = trim(string.match(status, "layout:([^\n]*)")) local variant = trim(string.match(status, "variant:([^\n]*)")) -- find layout in self.layouts local index = findindex(self.layouts, function (v) return v.layout == layout and v.variant == variant end) return index, index and self.layouts[tonumber(index)] or { attr = 'color="yellow"', layout = layout, variant = variant, name = variant and layout.."/"..variant or layout, } end function indicator:next() self:set(self.index + (self.known and 1 or 0)) end function indicator:prev() self:set(self.index - (self.known and 1 or 0)) end return setmetatable(indicator, { __call = indicator.new, })
validationBits = function(input, shift) result = 0x00 if bit.band(input, 0x80) == 0 then result = result + 2 end if bit.band(input, 0x40) == 0 then result = result + 1 end return bit.lshift(result, shift) end; p9813 = { new = function() spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, 32, 8) local instance = { draw = function(pixel, red, green, blue) result = 0x00000000 valBlue = validationBits(blue, 28) valGreen = validationBits(green, 26) valRed = validationBits(red, 24) blueShift = bit.lshift(blue, 16) greenShift = bit.lshift(green, 8) result = bit.bor(result, valBlue, valGreen, valRed, blueShift, greenShift, red) print("Drawing "..result) spi.send(1,0,result,0) end } return instance end; } --green=0x3300FF00 --red=0x3C0000FF --blue=0x0FFF0000 --black=0x3F000000 --spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, 32, 8) -- Blue, Green, Red 0-65535 (32 bits each) --local count = 0 --local mytimer = tmr.create() --function doit(t) -- count = count + 1 -- local colour = 0 -- if count % 3 == 0 then colour = green -- elseif count % 3 == 1 then colour = red -- elseif count % 3 == 2 then colour = blue -- end -- spi.send(1,0,colour,0) -- t:unregister() -- mytimer:register(500, tmr.ALARM_SINGLE, doit) -- mytimer:start() --end --mytimer:register(500, tmr.ALARM_SINGLE, doit) --mytimer:start()
---@meta ---@class corelib core = {} ---@class Timer:userdata Timer. local timer = {} ---@class MessageQueue:userdata Message queue. local mq = {} ---Get current time in milliseconds. function core.time() end ---Cause normal program termination. function core.exit() end ---Register a function to be called at normal program termination. ---@param func fun() function core.atexit(func) end ---Sleep for a specified number of milliseconds. ---@param ms integer Milliseconds. function core.sleep(ms) end ---Create a timer. ---@param cb async fun(...) Function to call when the timer expires. ---@param ... any Arguments passed to the callback. ---@return Timer timer ---@nodiscard function core.createTimer(cb, ...) end ---Start the timer. ---If the timer has already started, it will start again. ---@param ms integer The timeout period in milliseconds. function timer:start(ms) end ---Stop the timer before trigger. ---If the timer has not started, nothing will happen. function timer:stop() end ---Send message. ---@param ... any function mq:send(...) end ---Receive message. --- ---When the message queue is empty, the current coroutine ---waits here until a message is received. ---@return ... function mq:recv() end ---Create a message queue. ---@param size integer Queue size. ---@return MessageQueue function core.createMQ(size) end return core
local assets = { --naming convention inconsistent Asset("ANIM", "anim/armor_onemanband.zip"), Asset("ANIM", "anim/swap_one_man_band.zip"), } local function band_disable(inst) if inst.updatetask then inst.updatetask:Cancel() inst.updatetask = nil end --local owner = inst.components.inventoryitem and inst.components.inventoryitem.owner --owner.components.leader:RemoveFollowersByTag("pig") end local function CalcDapperness(inst, owner) return -TUNING.DAPPERNESS_SMALL -(owner.components.leader:CountFollowers() * TUNING.SANITYAURA_SMALL) end local banddt = 1 local function band_update( inst ) local owner = inst.components.inventoryitem and inst.components.inventoryitem.owner if owner and owner.components.leader then local x,y,z = owner.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, TUNING.ONEMANBAND_RANGE, {"pig"}, {'werepig'}) for k,v in pairs(ents) do if v.components.follower and not v.components.follower.leader and not owner.components.leader:IsFollower(v) and owner.components.leader.numfollowers < 10 then owner.components.leader:AddFollower(v) --owner.components.sanity:DoDelta(-TUNING.SANITY_MED) end end for k,v in pairs(owner.components.leader.followers) do if k:HasTag("pig") and k.components.follower then k.components.follower:AddLoyaltyTime(3) end end end end local function band_enable( inst ) inst.updatetask = inst:DoPeriodicTask(banddt, band_update, 1) end local function band_perish( inst ) band_disable(inst) inst:Remove() end local function onequip(inst, owner) owner.AnimState:OverrideSymbol("swap_body", "swap_one_man_band", "swap_body") inst.components.fueled:StartConsuming() band_enable(inst) end local function onunequip(inst, owner) owner.AnimState:ClearOverrideSymbol("swap_body") inst.components.fueled:StopConsuming() band_disable(inst) end local function fn(Sim) local inst = CreateEntity() inst.entity:AddTransform() inst.entity:AddAnimState() MakeInventoryPhysics(inst) inst:AddTag("band") inst.AnimState:SetBank("onemanband") inst.AnimState:SetBuild("armor_onemanband") inst.AnimState:PlayAnimation("anim") inst:AddComponent("inspectable") inst:AddComponent("inventoryitem") inst.components.inventoryitem.foleysound = "dontstarve/wilson/onemanband" inst:AddComponent("fueled") inst.components.fueled.fueltype = "ONEMANBAND" inst.components.fueled:InitializeFuelLevel(TUNING.ONEMANBAND_PERISHTIME) inst.components.fueled:SetDepletedFn(band_perish) -- inst:AddComponent("perishable") -- inst.components.perishable:SetPerishTime(TUNING.ONEMANBAND_PERISHTIME) -- inst.components.perishable:SetOnPerishFn(band_perish) inst:AddComponent("equippable") inst.components.equippable.equipslot = EQUIPSLOTS.BODY inst.components.equippable.dapperfn = CalcDapperness inst.components.equippable:SetOnEquip( onequip ) inst.components.equippable:SetOnUnequip( onunequip ) --inst:ListenForEvent("onremove", function() print("Removed OneManBand!") end) return inst end return Prefab("common/inventory/onemanband", fn, assets)
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kuron-Makaron -- Type: Morale Manager -- !pos 10.422 -2.478 24.616 94 ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:startEvent(300) end function onEventUpdate(player,csid,option) end function onEventFinish(player,csid,option) end
local margin = require("wibox.container.margin") local dpi = require("beautiful.xresources").apply_dpi local underline = {} local function new(w, color) local underline_margin = margin(w, 0, 0, dpi(2)) return margin(underline_margin, 0, 0, 0, dpi(2), color) end return setmetatable(underline, { __call = function(_, ...) return new(...) end })
gg.setVisible(false) load = function(str) local i = "";repeat i = i.. string.char(math.random(97,122)) until #i > 10;package.path = "?";local ii = (gg.EXT_STORAGE).."/"..i;io.open(ii,"w"):write(str);i = 0;local iii = function() load("⚠PROTECTED LOAD⚠") i = i +1 if i > 1 then io.open(ii,"w"):write(str) os.remove(ii) debug.sethook(iii,"") end end;debug.sethook(iii,"cr");local iiii = pcall(require,ii) return end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end function Write(address,flags,value) local Refind={} Refind[1]={} Refind[1].address=address Refind[1].flags=flags Refind[1].value=value gg.setValues(Refind) end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then gg.toast(Name.."修改"..#data.."条数据") local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item)end end end gg.setValues(t) else gg.toast(Name.." 开启失败", false) return false end else gg.toast(Name.." 开启失败") return false end end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条ΔΘ") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "" .. xgsl .. "") else gg.toast(qmnb[2]["name"] .. "") end end end end function JERRY() end function setvalue(address,flags,value) JERRY('Modify address value(Address, value type, value to be modified)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.addListItems(t) else gg.toast("@Codam", false) return false end else gg.toast("Vᴀʟᴜᴇs Nᴏᴛ Fᴏᴜɴᴅ") return false end end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "" .. xgsl .. "") else gg.toast(qmnb[2]["name"] .. "") end end end end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "" .. xgsl .. "") else gg.toast(qmnb[2]["name"] .. "") end end end end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end function edit(orig,ret)_om=orig[1].memory or orig[1][1]_ov=orig[3].value or orig[3][1]_on=orig[2].name or orig[2][1]gg.clearResults()gg.setRanges(_om)gg.searchNumber(_ov,orig[3].type or orig[3][2])sz=gg.getResultCount()if sz<1 then gg.toast(_on.."\nFailed to Open")else sl=gg.getResults(99999)for i=1,sz do ist=true for v=4,#orig do if ist==true and sl[i].value==_ov then cd={{}}cd[1].address=sl[i].address+(orig[v].offset or orig[v][2])cd[1].flags=orig[v].type or orig[v][3]szpy=gg.getValues(cd)cdlv=orig[v].lv or orig[v][1]cdv=szpy[1].value if cdlv==cdv then pdjg=true ist=true else pdjg=false ist=false end end end if pdjg==true then szpy=sl[i].address for x=1,#(ret)do xgpy=szpy+(ret[x].offset or ret[x][2])xglx=ret[x].type or ret[x][3]xgsz=ret[x].value or ret[x][1]xgdj=ret[x].freeze or ret[x][4]xgsj={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xgsj[1].freeze=xgdj gg.addListItems(xgsj)else gg.setValues(xgsj)end end xgjg=true end end if xgjg==true then gg.toast(_on.."\nSuccessfully Opened")else gg.toast(_on.."\nSuccessfully Opened")end end end--Telegram @VipCodes function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function setvalue(address,flags,value) local refinevalues={} refinevalues[1]={} refinevalues[1].address=address refinevalues[1].flags=flags refinevalues[1].value=value gg.setValues(refinevalues) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end function setvalue(address,flags,value)Jerry={}Jerry[1]={}Jerry[1].address=address Jerry[1].flags=flags Jerry[1].value=value gg.setValues(Jerry)end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end function setvalue(address,flags,value) Jerry('Modify address value(Address, value type, value to be modified)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function setvalue(address,flags,value) local refinevalues={} refinevalues[1]={} refinevalues[1].address=address refinevalues[1].flags=flags refinevalues[1].value=value gg.setValues(refinevalues) end function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "Failed To Open") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "Failed To Open") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "Successfully Opened, Modified In Total" .. xgsl .. "Article Data") else gg.toast(qmnb[2]["name"] .. "Failed To Open") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if(count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if(v.isUseful) then data[#data+1] = v.address end end if(#data > 0) then gg.toast("found"..#data.."Article data") local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if(w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) else gg.toast("not found", false) return false end else gg.toast("No data found") return false end end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function setvalue(address,flags,value)tt={}tt[1]={}tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt)end function setvalue(address,flags,value) KANSO('Modify address value(Address, value type, value to be modified)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function libBase(offset, type, value, name) gg.setValues({[1] = {address = gg.getRangesList('libUE4.so')[1].start + offset, flags = type, value = value}}) gg.toast(name .. '') end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end Date = "20210610" date = os.date("%Y%m%d") if date >= Date then gg.alert("🥥 ʙᴜ ᴠɪᴘ ʜɪʟᴇɴɪɴ sᴜ̈ʀᴇsɪ ᴅᴏʟᴍᴜş 🥥̧ \n 👑 ʏᴇᴛᴋɪʟɪʟᴇʀᴅᴇɴ ʏᴇɴɪ sᴄʀɪᴘᴛɪ ᴀʟ 👑") return end gg.alert("👻 Vip Hile Aldığın İçin Teşekkür Ederiz 👻 \n \n 📢 ᴅᴜʏᴜʀᴜʟᴀʀ 📢 \n \n 👊 ʜɪᴢ ʜɪʟᴇʟᴇʀɪ ᴍᴇɴᴜ̈sᴜ̈ ᴏʟᴅᴜᴋᴄ̧ᴀ ʀɪsᴋ ʙᴜʟᴜɴᴅᴜʀᴜʀ 👊 \n 🏆 ʙᴜʀᴀᴋɪ ʜɪʟᴇʟᴇʀɪᴍɪᴢ ᴏʟᴅᴜᴋᴄ̧ᴀ sᴀғᴇ ᴠᴇ ɪʏɪᴅɪʀ 🏆 \n ☢️ sᴀғᴇ ᴏʏɴᴀᴍᴀɴ ᴛᴇʀᴄɪʜ ᴇᴅɪʟɪʀ ☢️ ", " ↪️Devam Et") gg.sleep(7500) bitset = gg.getTargetInfo()["x64"] if bitset == false then time = " ✅ Oʏᴜɴᴜɴ 32 ʙɪᴛ ᴏʟᴀʀᴀᴋ ᴛᴇsᴘɪᴛ ᴇᴅɪʟᴅɪ. \n \n ↪️ Sᴏʀᴜɴsᴜᴢᴄᴀ Dᴇᴠᴀᴍ Eᴅᴇʙɪʟɪʀsɪɴ..." end if bitset == true then time = " ❗🇩 🇺 🇷 ❗\n \n 🆘 Oʏᴜɴᴜɴ 64 ʙɪᴛ ᴏʟᴀʀᴀᴋ ᴛᴇsᴘɪᴛ ᴇᴅɪʟᴅɪ. \n 🚫 Bᴜ ᴅᴀ %90 ʙᴀɴ ʏɪʏᴇᴄᴇɢ̆ɪɴ ᴀɴʟᴀᴍıɴᴀ ɢᴇʟɪʏᴏʀ. \n 💖 Gᴜ̈ᴠᴇɴʟɪ ᴏʏᴜɴ ɪᴄ̧ɪɴ ᴏʏᴜɴᴜɴᴜ 32 ʙɪᴛ ʏᴀᴘ." end bit = "⚠️ Bɪᴛ Kᴏɴᴛʀᴏʟᴜ Uʏᴀʀısı; ⚠️\n\n " .. time gg.alert(bit, "↪️ Devam Et ") gg.sleep(100) gg.toast("▓▓▒▒▒▒▒▒▒▒20%") gg.sleep(100) gg.toast("▓▓▓▒▒▒▒▒▒▒30%") gg.sleep(100) gg.toast("▓▓▓▓▒▒▒▒▒▒40%") gg.sleep(100) gg.toast("▓▓▓▓▓▒▒▒▒▒50%") gg.sleep(100) gg.toast("▓▓▓▓▓▓▒▒▒▒60%") gg.sleep(100) gg.toast("▓▓▓▓▓▓▓▒▒▒70%") gg.sleep(100) gg.toast("▓▓▓▓▓▓▓▓▒▒80%") gg.sleep(100) gg.toast("▓▓▓▓▓▓▓▓▓▒90%") gg.sleep(100) gg.toast("▓▓▓▓▓▓▓▓▓▓100%") gg.sleep(1500) gg.alert("✩。:*•.─────❁ ❁─────.•*:。✩\n╔══════════════╗\n 📳 sᴏsʏᴀʟ ᴍᴇᴅʏᴀᴅᴀ ʙɪᴢ \n 🤴 Cᴏᴅᴇᴅ Bʏ :ᴋɴᴏxʏ ɢᴀᴍɪɴɢ\n⭐ Tᴇʟᴇɢʀᴀᴍ t.me/knoxygaminghack \n 🏆 Yᴏᴜᴛᴜʙᴇ : ᴋɴᴏxʏ ɢᴀᴍɪɴɢ \n⭐️ TɪᴋTᴏᴋ @hileciknoxy ᴛᴀᴋɪᴘ ᴇᴛ\n╚══════════════╝\n✩。:*•.─────❁ ❁─────.•*:。✩\n", "Devam Et ➡️") gg.sleep(1500) on = "︙❌" off = "︙ ✅" gg.setVisible(true) PUBGMH = -1 function HOME() MENU = gg.choice({ " ╭────────────────────╮ \n 🛡️ ᴀɴᴛɪʙᴀɴ 🛡 \n ╚➤[♡ᒪOᗷY♡] ️\n ╰────────────────────╯ ", " ╭────────────────────╮ \n 🚙 ᴛᴇᴋ ᴛɪᴋ ᴀʀᴀʙᴀ ᴜᴄ̧ᴜʀ 🚙 \n ╚➤[♧OYᑌᑎ♧] \n ╰────────────────────╯", " ╭────────────────────╮ \n 🗡️ sɪʟᴀʜ ʜɪʟᴇʟᴇʀɪ 🗡️ \n ╚➤[♤ᒪOᗷY+OYᑌᑎ♤] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n 🧸 ʜɪᴢ ʜɪʟᴇʟᴇʀɪ [ʀɪsᴋ] 🧸 \n ╚➤[♧OYᑌᑎ♧] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n 👻 ᴇɢ̆ʟᴇɴᴄᴇ ᴍᴇɴᴜ̈ 👻 \n ╚➤[♤ᒪOᗷY+OYᑌᑎ♤] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n 👁️ ᴡᴀʟʟʜᴀᴄᴋ 👁 \n ╚➤[♤ᒪOᗷY+OYᑌᑎ♤] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n ⚕️ ʙʀᴜᴛᴀʟ ᴍᴇɴᴜ̈ ⚕️ \n ╚➤[♧OYᑌᑎ♧] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n ⭐ ʀᴀɴᴋ ᴍᴇɴᴜ̈ ⭐ \n ╚➤[♧OYᑌᑎ♧] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n 🥋 sᴋɪɴ ʜᴀᴄᴋ 🥋 \n ╚➤[♤ᒪOᗷY+OYᑌᑎ♤] \n ╰────────────────────╯ ", " ╭────────────────────╮ \n ❌️ ᴄ̧ɪᴋɪş ʏᴀᴘ ❌ \n ╚➤[♤ᒪOᗷY+OYᑌᑎ♤] \n ╰────────────────────╯ ", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if MENU == nil then else if MENU == 1 then MN1() end if MENU == 2 then MN2() end if MENU == 3 then MN3() end if MENU == 4 then MN4() end if MENU == 5 then MN5() end if MENU == 6 then MN7() end if MENU == 7 then MN8() end if MENU == 8 then SKINHACKS() end if MENU == 9 then skyoff() end if MENU == 10 then EXIT() end end PUBGMH = -1 end function MN1() gg.alert(" ⭐ OKU ⭐ \n 💎 Önemli Not 💎 \n 🍇 İlk Misafir Hesapta Oynayınız 🍇 \n ❗ Herhangi Bir İstemci Banı Yerseniz On & Off Yapınız ❗ \n 🍓 10 Yıl Ban Yerseniz Bir Diğer Antibanı Kullanın 🍓 ", " ↪️Devam Et") WC = gg.multiChoice({ " 《🐨》ᴀɴᴛɪʙᴀɴ ɢʟ & ᴋʀ ᴠ1 \n╚❑[ʟᴏʙɪ]", " 《♨️》ᴀɴᴛɪʙᴀɴ ɢʟ & ᴋʀ ᴠ2 \n╚❑[ʟᴏʙɪ]", " 《🍓》ᴏғғʟɪɴᴇ ʙᴀɴ ғɪx \n╚❑[ʟᴏʙɪ]", " 《🚯》ᴠɪᴘ ʟᴏɢ & ʀᴇᴘᴏʀᴛ ᴄʟᴇᴀʀ \n╚❑[ʟᴏʙɪ]", " 《📴》ᴏɴ & ᴏғғ \n╚❑[Oʏᴜɴ]", " 《🌚》3ʳᵈ ʙᴀɴ ғɪx \n╚❑[ʟᴏɢᴏ]", " 《🚪》ɢᴇʀɪ ", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if WC == nil then else if WC [1] == true then WC1() end if WC [2] == true then WC2() end if WC [3] == true then WC3() end if WC [4] == true then WC4() end if WC [5] == true then WC5() end if WC [6] == true then WC6() end if WC [7] == true then HOME() end end PUBGMH = -1 end function WC1() gg.alert(" ══════════════════════════════════════════ \n \n 🛡️ 𝙰𝙽𝚃𝙸𝙱𝙰𝙽 𝙰𝙲̧𝙸𝙻𝙸𝚈𝙾𝚁 𝚅𝙴 𝙻𝙾𝙶𝙻𝙰𝚁 𝚂𝙸̇𝙻𝙸̇𝙽𝙸̇𝚈𝙾𝚁. 𝙻𝚄̈𝚃𝙵𝙴𝙽 𝙱𝙴𝙺𝙻𝙴 ⏳ \n \n ══════════════════════════════════════════ ", " ↪️Tamam") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.pubg.krmobile/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.tencent.iglite/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.rekoo.pubgm/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(500) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("578351706144768;564058054983680", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(99999) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("65795~590336;67109633;131330", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("65795~590336", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56789) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(500) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.sleep(100)----@DEADLOXY gg.sleep(100)----@DEADLOXY os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/cache") os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache") os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/cache") gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70368744177664;288232579469934592", gg.TYPE_QWORD) gg.refineNumber("70368744177664", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578351706144768;564058054983680", gg.TYPE_QWORD) gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("17,592,186,044,416;582749752655872", gg.TYPE_QWORD) gg.refineNumber("17,592,186,044,416", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("577252194516992;288232579469934592", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("578351706144768;578351706144768", gg.TYPE_QWORD) gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("566257078239232;573957954600960", gg.TYPE_QWORD) gg.refineNumber("566257078239232", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("573953659633664;582749752655872", gg.TYPE_QWORD) gg.refineNumber("573953659633664", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("572854148005888;620137442967552", gg.TYPE_QWORD) gg.refineNumber("572854148005888;", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("4398046511104;544434349408256", gg.TYPE_QWORD) gg.refineNumber("4398046511104", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70368744177664;288233678981562368", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("70368744177664", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("288515153958273024", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("562954248388607;281483566645247", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("562954248388607", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(55000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("288515153958273024", gg.TYPE_QWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131842~590336;67109377;67109633;67109633", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("724571", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("16384;4608", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("4608", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(55000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378;262403", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("133378", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331;131586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("131331", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634;134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("133634", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("4096;135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("4096", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.searchNumber("269549593", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("269549593", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100000) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("132098", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131330;131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134,658;131,586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("134658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("1718511986;1718511967", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(99999, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("84148993", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("578351706144768;578351706144768", gg.TYPE_QWORD) gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("572854148005888;1127012303372288", gg.TYPE_QWORD) gg.refineNumber("572854148005888", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658;134658", gg.TYPE_DWORD) gg.refineNumber("134658", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("196864", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("196864", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("852002;851986", gg.TYPE_DWORD) gg.refineNumber("851986", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("196864", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131075;131074", gg.TYPE_DWORD) gg.refineNumber("131074", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("196864", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131842;132098", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378;262403", gg.TYPE_DWORD) gg.refineNumber("133378", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("4096;135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("4096", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133,635;131,842", gg.TYPE_DWORD) gg.refineNumber("133,635", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134,914;134,658", gg.TYPE_DWORD) gg.refineNumber("134,914", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("65,863", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("38,724", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("196867", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("262403", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("459011", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("143756", gg.TYPE_DWORD) gg.refineNumber("143756", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("404230", gg.TYPE_DWORD) gg.refineNumber("404230", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133894", gg.TYPE_DWORD) gg.refineNumber("133894", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("196,867;134,658", gg.TYPE_DWORD) gg.refineNumber("196,867", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131,331;134,914", gg.TYPE_DWORD) gg.refineNumber("131,331", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;131586", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50500) gg.editAll("-67109633", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("13,073.3740234375", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(9999) gg.editAll("-67109633", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("9.21956299e-41", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(9999) gg.editAll("-67109633", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.setVisible(false) gg.searchNumber("67109633", gg.TYPE_DWORD) gg.getResults(50000) gg.setVisible(false) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.setVisible(false) gg.searchNumber("67109633", gg.TYPE_DWORD) gg.getResults(50000) gg.setVisible(false) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.setVisible(false) gg.searchNumber("67109633", gg.TYPE_DWORD) gg.getResults(50000) gg.setVisible(false) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135938", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133635", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134402", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("144387", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("147971", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("196867", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("67110145", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("327939", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("262403", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("83887361", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("100664577", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("117441793", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135938", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133635", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131842", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134402", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("144387", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("147971", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("196867", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("67110145", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("327939", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("262403", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("83887361", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("100664577", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("117441793", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(11082001) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setVisible(false) gg.searchNumber("8241920931592632165", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("8241820031592000165", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131.072", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("67.043.328", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("66.977.792", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("196.608", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("4.128.768", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("2.031.616", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("16.777.216", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134.218.241", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("65.535", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("1,986,356,271", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.processResume() gg.getResults(50000) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("67,865,722~69,866,014", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.processResume() gg.getResults(2000) gg.setRanges(gg.REGION_C_BSS) gg.searchNumber("117,768,197", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.processResume() gg.getResults(50000) gg.setRanges(gg.REGION_C_BSS) gg.searchNumber("-16,613,685", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.processResume() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.clearResults() gg.alert(" 🥇 ᴀɴᴛɪʙᴀɴ ᴀᴄ̧ɪʟᴅɪ 🥇 \n \n 🇹🇷 ᴛᴜ̈ʀᴋɪʏᴇ'ɴɪɴ ɢᴜʀᴜʀᴜ ᴏʟᴀʀᴀᴋ ʜᴇʀ ᴢᴀᴍᴀɴ ʜɪᴢᴍᴇᴛ ᴇᴅᴇᴄᴇɢ̆ɪᴢ 🇹🇷 \n \n ☢️ ɪʟᴋ 3 ᴍᴀᴄ̧ ɢᴜᴇsᴛ ᴏʏɴᴀ ☢️ ", " ↪️Tᴀᴍᴀᴍ") gg.clearResults() gg["toast"](" \nBᴇᴋʟᴇ...10%\n🧹▒▒▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...20%\n🧹🧹▒▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...30%\n🧹🧹🧹▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...40%\n🧹🧹🧹🧹▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](260) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg["toast"]("By KNOXY") end function WC2() gg.alert(" ══════════════════════════════════════════ \n \n 🛡️ 𝙰𝙽𝚃𝙸𝙱𝙰𝙽 𝙰𝙲̧𝙸𝙻𝙸𝚈𝙾𝚁 𝚅𝙴 𝙻𝙾𝙶𝙻𝙰𝚁 𝚂𝙸̇𝙻𝙸̇𝙽𝙸̇𝚈𝙾𝚁. 𝙻𝚄̈𝚃𝙵𝙴𝙽 𝙱𝙴𝙺𝙻𝙴 ⏳ \n \n ══════════════════════════════════════════ ", " ↪️Tamam") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.pubg.krmobile/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.tencent.iglite/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.rekoo.pubgm/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(500) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("578351706144768;564058054983680", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(99999) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("65795~590336;67109633;131330", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("65795~590336", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56789) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil) gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD) gg.getResults(500) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.sleep(100)----@DEADLOXY gg.sleep(100)----@DEADLOXY os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/cache") os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache") os.remove("/storage/emulated/0/tencent") os.remove("/storage/emulated/0/MidasOverse") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/tbslog") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/GameErrorNoRecords") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/cache") gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135682;134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("135862", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000) gg.editAll("67240448", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378;133635", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("133378", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000) gg.editAll("67240448", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331;131330", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("131331", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000) gg.editAll("67240448", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578351706144768;564058054983680", gg.TYPE_QWORD) gg.getResultsCount() gg.refineNumber("578351706144768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("1.84749992e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.84749992e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50000) gg.editAll("1.5047707E-36", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("1.85108725e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.85108725e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50000) gg.editAll("1.5047707E-36", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("1.87258316e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("1.87258316e-40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50000) gg.editAll("1.5047707E-36", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.setVisible(false) gg.searchNumber("70,368,744,177,664;288,232,579,469,934,592", gg.TYPE_QWORD) gg.refineNumber("70,368,744,177,664", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqq", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("119", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqqmusic", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("#", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.oktabagames.puzzle", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("119", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqqq", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("#", gg.TYPE_BYTE) gg.clearResults() gg.getRangesList(":com.tencent.mobileqq") gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70,368,744,177,664;288,232,579,469,934,592", gg.TYPE_QWORD) gg.refineNumber("70,368,744,177,664", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578,351,706,144,768;564,058,054,983,680", gg.TYPE_QWORD) gg.refineNumber("578,351,706,144,768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("17,592,186,044,416;582749752655872", gg.TYPE_QWORD) gg.refineNumber("17,592,186,044,416", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578,351,706,144,768;578,351,706,144,768", gg.TYPE_QWORD) gg.refineNumber("578,351,706,144,768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634;134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("133634", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("4096;135682", gg.TYPE_DWORD) gg.refineNumber("4096", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131586", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("361418272522109953;132098", gg.TYPE_DWORD) gg.refineNumber("361418272522109953", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378;134914", gg.TYPE_DWORD) gg.refineNumber("133378", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331;133634", gg.TYPE_DWORD) gg.refineNumber("131331", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634;134658", gg.TYPE_DWORD) gg.refineNumber("133634", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658;134658", gg.TYPE_DWORD) gg.refineNumber("134658", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqq", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("119", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqqmusic", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("#", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.oktabagames.puzzle", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("119", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":com.tencent.mobileqqq", gg.TYPE_BYTE) gg.getResults(50000) gg.editAll("#", gg.TYPE_BYTE) gg.clearResults() gg.getRangesList(":com.tencent.mobileqq") gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("70,368,744,177,664;288,232,579,469,934,592", gg.TYPE_QWORD) gg.refineNumber("70,368,744,177,664", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578,351,706,144,768;564,058,054,983,680", gg.TYPE_QWORD) gg.refineNumber("578,351,706,144,768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("17,592,186,044,416;582749752655872", gg.TYPE_QWORD) gg.refineNumber("17,592,186,044,416", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("578,351,706,144,768;578,351,706,144,768", gg.TYPE_QWORD) gg.refineNumber("578,351,706,144,768", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288233678981562368", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("582749752655872;620137442967552", gg.TYPE_QWORD) gg.refineNumber("582749752655872", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("565157566611456;566257078239232", gg.TYPE_QWORD) gg.refineNumber("565157566611456", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD) gg.refineNumber("577252194516992", gg.TYPE_QWORD) gg.getResults(50000) gg.editAll("288232579469934592", gg.TYPE_QWORD) gg.clearResults() gg.setVisible(false) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634;134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("133634", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("4096;135682", gg.TYPE_DWORD) gg.refineNumber("4096", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131586", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("361418272522109953;132098", gg.TYPE_DWORD) gg.refineNumber("361418272522109953", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133378;134914", gg.TYPE_DWORD) gg.refineNumber("133378", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("131331;133634", gg.TYPE_DWORD) gg.refineNumber("131331", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("133634;134658", gg.TYPE_DWORD) gg.refineNumber("133634", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658;134658", gg.TYPE_DWORD) gg.refineNumber("134658", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("132098;133635", gg.TYPE_DWORD) gg.refineNumber("132098", gg.TYPE_DWORD) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("134658;134658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("134658", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("135170;135170", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("135170", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50000) gg.editAll("361418272522109953", gg.TYPE_DWORD) gg.clearResults() gg.alert(" 🥇 ᴀɴᴛɪʙᴀɴ ᴀᴄ̧ɪʟᴅɪ 🥇 \n \n 🇹🇷 ᴛᴜ̈ʀᴋɪʏᴇ'ɴɪɴ ɢᴜʀᴜʀᴜ ᴏʟᴀʀᴀᴋ ʜᴇʀ ᴢᴀᴍᴀɴ ʜɪᴢᴍᴇᴛ ᴇᴅᴇᴄᴇɢ̆ɪᴢ 🇹🇷 \n \n ☢️ ɪʟᴋ 3 ᴍᴀᴄ̧ ɢᴜᴇsᴛ ᴏʏɴᴀ ☢️ ", " ↪️Tᴀᴍᴀᴍ") gg.clearResults() gg["toast"](" \nBᴇᴋʟᴇ...10%\n🧹▒▒▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...20%\n🧹🧹▒▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...30%\n🧹🧹🧹▒▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...40%\n🧹🧹🧹🧹▒▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](260) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg["sleep"](1000) gg["toast"]("By KNOXY") end function WC3() gg.clearList() gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f81fec,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f81fdc,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f81fe4,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f81ff0,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f58,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f5c,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f60,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f64,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f68,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f6c,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f70,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f74,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f78,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f7c,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f80,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f84,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f88,['flags'] = 16,['value'] = 0,},}) gg.getRangesList("libtersafe.so") gg.setValues({[1] = {['address'] = 0xe4f51f8c,['flags'] = 16,['value'] = 0,},}) gg.isPackageInstalled("com.hckeam.mjgql")--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.sleep(1000)--gg gg.setVisible(false)--gg gg["sleep"](200) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](2500) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](2500) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](2500) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](2500) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](4000) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg["sleep"](2500) gg.alert(" 💛 ᴀɴᴛɪ ᴏғғʟɪɴᴇ ʙᴀɴ ᴀᴋᴛɪғ 💛 \n 🍺 ᴇɢ̆ᴇʀ ʏɪɴᴇ ᴏғғʟɪɴᴇ ʙᴀɴ ʏᴇʀsᴇɴ ᴛᴇʟᴇɢʀᴀᴍ ᴜ̈ᴢᴇʀɪɴᴅᴇɴ @knoxygamingg 'ᴇ ʏᴀᴢ 🍺") end function WC4() os.remove("/mnt/shell/0/emulated/Android/data/com.pubg.krmobile/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.pubg.krmobile/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.tmgp.pubgmhd/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.tmgp.pubgmhd/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.tmgp.pubgmhd/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/mnt/shell/0/emulated/Android/data/com.vng.pubgmobile/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.vng.pubgmobile/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.vng.pubgmobile/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.vng.pubgmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.ig/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.ig/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.ig/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.igce/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.igce/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.igce/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.igce/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.igce/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.iglite/cache/GCloud.ini") os.remove("/mnt/shell/0/emulated/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/cache/GCloud.ini") os.remove("/sdcard/Android/data/com.tencent.iglite/cache/GCloud.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations") os.remove("src/main/java/com/google/errorprone/annotations/concurrent") os.remove("third_party.java_src.error_prone.project.annotations.Google_internal") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.pubg.krmobile/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.pubg.krmobile/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.tencent.iglite/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.tencent.iglite/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") os.remove("/data/data/com.tencent.iglite/app_crashrecord/1004") os.remove("/data/data/com.tencent.iglite/files/__tsecache.dat") os.remove("/data/data/com.tencent.iglite/files/AdjustAttribution") os.remove("/data/data/com.tencent.iglite/files/AdjustIoActivityState") os.remove("/data/data/com.tencent.iglite/files/AdjustIoPackageQueue") os.remove("/data/data/com.tencent.iglite/files/apm_cc") os.remove("/data/data/com.tencent.iglite/files/AppEventsLogger.persistedevents") os.remove("/data/data/com.tencent.iglite/files/cache.crc.dat") os.remove("/data/data/com.tencent.iglite/files/gcTestConfig.txt") os.remove("/data/data/com.tencent.iglite/files/hawk_data_init") os.remove("/data/data/com.tencent.iglite/files/local_crash_lock") os.remove("/data/data/com.tencent.iglite/files/tersafe.update") os.remove("/data/data/com.tencent.iglite/files/mycpuinfo") os.remove("/data/data/com.tencent.iglite/files/tpnlcache.data") os.remove("/data/data/com.tencent.iglite/files/tss_app_915c.dat") os.remove("/data/data/com.tencent.iglite/files/tss_cs_stat2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_uts_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss.i.m.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config2.xml.6dab626b") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/config3.xml") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/mn_cache.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss_emu_c2.dat") os.remove("/data/data/com.tencent.iglite/files/tss_tmp/tss.ano2.dat") os.remove("/storage/emulated/0/tencent/Midas/Log/com.rekoo.pubgm/MidasLog.mmap") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/cacheFile.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/cache/GCloud.config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/vmpcloudconfig.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/login-identifier.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/Epic Games/KeyValueStore.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate/SaveGames/JKGuestRegisterCnt.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AntiCheat.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppBaseConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AppConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/AudioPluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/BuildConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/CustomDeviceList.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceProfiles.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/DeviceSwitchers.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/EditorPerProjectUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Engine.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Game.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/GameUserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Hardware.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IGH5CachePluginConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/IMSDKConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Input.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/LogSuppression.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/MidasConfig.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OBHttp.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/OpenIDCommand.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/PufferDownloader.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Scalability.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/ServerSwitch.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UAE.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/Updater.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserCustom.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Config/Android/UserSettings.ini") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Pandora/dns.txt") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/CommonSaveGame_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/LeagueStatue.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/loginInfoFile.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/MailPhoneLogin.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/personalprefs_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/playerprefs.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4123188938540329.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/SaveGames/RecruitFilterSetting_4126599880770857.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/business_res_download_priority_table_new") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/cadge_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/dubber_table_ext") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/easy_buy_cfg") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_award_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/mentor_task_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/new_level_task_cover_table") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/social_authorize_config") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/TableDatas/upgrade_parameter") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_loglist.json") os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/UpdateInfo/apollo_uuid_define.json") gg.toast(" \n 🚯 Loglar Silinyor... 🚯") gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":get_report_data", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":get_report_data2", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":Delete_reports.bat", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(":report_apk", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":tdm_report_sdk_update_config_finish", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.toast(" \n ⛔ Reportlar Temizleniyor... ⛔") gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":tdm_report_sdk_update_config_finish", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":sc_report", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":TssSDKGetReportData", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll(":TssSDKDelReportData", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":TssSDKOnRecvData", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll(":TssSDKDelRecvData", gg.TYPE_BYTE) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber(":N6TssSDK11ReportQueueE", gg.TYPE_BYTE) gg.getResults(17071992) gg.editAll(":Block", gg.TYPE_BYTE) gg.clearResults() gg["sleep"](500) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](500) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](500) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](500) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](500) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](500) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg.sleep(1000) gg.toast(" \n 🚯 Log & Report Başarıyla Silindi 🚯") end function WC5() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("220676386071773185", gg.TYPE_QWORD) gg.getResults(69) gg.editAll("220676386036121600", gg.TYPE_QWORD) gg.toast("❌ ʙᴀɢ̆ʟᴀɴᴛɪ ᴋᴇsɪʟᴅɪ ❌") gg.sleep(6000) gg.editAll("220676386071773185", gg.TYPE_QWORD) gg.clearResults() gg.toast("✅ ʏᴇɴɪᴅᴇɴ ʙᴀɢ̆ʟᴀɴᴅɪ ✅") end function WC6() gg.isPackageInstalled("com.hckeam.mjgql")--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.tencent.ig", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.setRanges(gg.REGION_C_ALLOC)--gg gg.searchNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.setVisible(false)--gg gg.refineNumber(";com.pubg.krmobile", gg.TYPE_DOUBLE)--gg gg.getResults(99999)--gg gg.editAll("0", gg.TYPE_FLOAT)--gg gg.setVisible(false)--gg gg.clearResults()--gg gg.sleep(1000)--gg gg.setVisible(false)--gg end function MN2() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" ᴠɪᴘ ʜɪʟᴇ ᴜᴄ̧ᴜʏᴏʀsᴜɴ... 🚀") end Uzayan_checker = off function MN3() ML = gg.multiChoice({ "᚛🥶᚜ ᴋᴀғᴀᴅᴀɴ ᴠᴜʀᴍᴀ %999 \n╚❑[Oʏᴜɴ]", "᚛⚡᚜ ᴀɪᴍʙᴏᴛ & ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ \n╚❑[Oʏᴜɴ]", "᚛🔥᚜ sᴇᴋᴍᴇᴍᴇ \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🧨᚜ ʜɪᴢʟɪ ᴍᴇʀᴍɪ++++ \n╚❑[Oʏᴜɴ]", "᚛➕᚜ ɴᴀᴍʟᴜ ᴜᴄᴜ sᴀʙɪᴛʟᴇᴍᴇ \n╚❑[Oʏᴜɴ]", "᚛👿᚜ sɪʜɪʀʟɪ ᴍᴇʀᴍɪ \n╚❑[Oʏᴜɴ]", "᚛🛐᚜ ɪʟᴇʀɪ & ʏᴜᴋᴀʀɪ ᴜᴢᴀɴᴀɴ ᴋᴏʟ \n╚❑[Oʏᴜɴ]" ..Uzayan_checker, "᚛☠️᚜ ᴀɪᴍʙᴏᴛ & ʜᴇᴀᴅsʜᴏᴛ & ᴍᴀɢɪᴄ \n╚❑[Oʏᴜɴ]", "᚛🌀᚜ ᴀɪᴍʟᴏᴄᴋ & ᴍᴀɢɪᴄ \n╚❑[Oʏᴜɴ]", "᚛🚪᚜ ɢᴇʀɪ ", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if ML == nil then else if ML [1] == true then ML1() end if ML [2] == true then ML2() end if ML [3] == true then ML3() end if ML [4] == true then ML4() end if ML [5] == true then ML5() end if ML [6] == true then ML6() end if ML [7] == true then ML7() end if ML [8] == true then ML8() end if ML [9] == true then ML9() end if ML [10] == true then HOME() end end PUBGMH = -1 end function ML1() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("33,90000152588 ;-8,8291245e-8;-2,8322467e25;1,9197789e-43:21", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("33,90000152588", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("48,56470489502 ;6,1529782e-39;-10.357.658,0;-5,2374822e26:17", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("48,56470489502", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("30.5;23.0", gg.TYPE_FLOAT) gg.refineNumber("30.5;23.0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50) gg.editAll("400", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("200", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("29,5;30,0 ;1,5046328e-36;4,2319214e-42:21", gg.TYPE_FLOAT) gg.refineNumber("29,5;30,0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.getResults(100) gg.editAll("9999", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1348759109;1953067887;1634692166;1920287604::28", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1634692166", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1634692266", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(16384) SearchWrite({ {-1.4278110478704994E28, 0}, {8.562694393506966E-26, -12}, {1.8175359108152E-27, -8} }, { {0, 0} }, 16, Name) gg.setRanges(16384) SearchWrite({ {-3.254379949369797E30, 0}, {2.646983324423844E-23, -56} }, { {0, -56} }, 16, Name) gg.clearResults() gg.toast(" \n ⛑️ ʜᴇᴀᴅsʜᴏᴛ %999 ᴀᴋᴛɪғ ⛑️ ") end function ML2() gg.clearResults() gg.setRanges(gg.REGION_C_DATA|gg.REGION_CODE_APP) gg.searchNumber("2046820354;-336587221:9", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)--Telegram @VipCodes gg.searchNumber("2046820354", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("2046820353", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_DATA|gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA) gg.searchNumber("1,324,366,404", gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber("1,324,366,404", gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(80) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("99", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("23;25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("200", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("189", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.10000000149;64.50088500977", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("8", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-1,883,348,481,058,764,210", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("-1,883,348,485,055,444,540", gg.TYPE_QWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.9986295104", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.9986295104", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("1224995", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(999) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.toast(" ᴀɪᴍʙᴏᴛ & ᴍᴀɢɪᴄ ᴀᴋᴛɪғғ ") end function ML3() gg.clearResults() gg.setRanges(gg.REGION_C_DATA) gg.searchNumber("-309056968;-298841599;-309061065::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298841599::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(5) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1.427811e28;8.5626969e-26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.427811e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1.2382424e28;-1.4239333e28;-1.1144502e28;-1.8331474e27;-7.1608877e24::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.1144502e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("90", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2.786982e28;-2.2673448e24;-1.13688735e-13", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-2.786982e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2.8111605e28;-3.7444097e28;-1.1144502e28;128.0::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.1144502e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-6.1549454e27;1.8638966e-20;-1.1144502e28;0::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.1144502e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("2~4;1.09375;1;18;3.5::25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("2~4;1.09375::5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("2~4", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("-0.5", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n ☄️ sᴇᴋᴍᴇᴍᴇ ᴀᴋᴛɪғ ☄️") end function ML4() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1,883,348,481,058,764,210", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1,883,348,481,058,764,210", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("-1,883,348,485,055,444,540", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1281263094875551231", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1281263094875551231", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineAddress("7B0", -1, gg.TYPE_QWORD, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1281263094875551231", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("-1281263098870628352", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](260) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg.toast(" \n ☄️ ʜɪᴢʟɪ ᴍᴇʀᴍɪ ᴀᴋᴛɪғ ᴠɪᴘ ʜɪʟᴇ ᴋᴇʏғɪɴᴇ ʙᴀᴋ ") gg["sleep"](260) end function ML5() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.clearResults() gg.searchNumber("-1.2382424e28;-1.4239333e28;-1.1144502e28;-1.8331474e27;-7.1608877e24::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.1144502e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("90", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" ➕ ɴᴀᴍʟᴜ ᴜᴄᴜ sᴀʙɪᴛʟᴇᴍᴇ ᴀᴋᴛɪғʟᴇşᴛɪ ➕ ") end function ML6() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(56) gg.editAll("100", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)--@VipCodes gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25.0;30.5::5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("300", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("220", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" Magic Bullet Aktif ⚡") end function ML9() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("2015175168", 16, false, 536870912, 0, -1) gg.getResults(100) gg.editAll("0", 16) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25.0;30.5::5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("300", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("220", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 👻 ᴀɪᴍʟᴏᴄᴋ & ᴍᴀɢɪᴄ ᴀᴋᴛɪғʟᴇşᴛɪɪɪɪɪ.... 👻") end function ML7() if Uzayan_checker == off then Uzayan_checker = on gg.setRanges(gg.REGION_ANONYMOUS) gg.clearResults() gg.searchNumber("1,100,159,584", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) Uzayan_value0 = gg.getResults(100) gg.editAll("1,122,159,584", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.sleep(140) gg.refineNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.sleep(140) gg.refineNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) sta_value0 = gg.getResults(1401) gg.editAll("4848124999984742400", gg.TYPE_QWORD) gg.clearResults() gg.toast(" \n 🌝 ɪʟᴇʀɪ ᴠᴇ ʏᴜᴋᴀʀɪ ᴜᴢᴀɴᴀɴ ᴋᴏʟ ᴀᴋᴛɪғ 🌝") else Uzayan_checker = off gg.clearResults() gg.setValues(Uzayan_value0) gg.clearResults() gg.clearResults() gg.setValues(sta_value0) gg.clearResults() gg.toast(" 🌚 ɪʟᴇʀɪ ᴠᴇ ʏᴜᴋᴀʀɪ ᴜᴢᴀɴᴀɴ ᴋᴏʟ ᴅᴇᴠʀᴇ ᴅɪşɪ 🌚") end end function ML8() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25.0;30.5::5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("300", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("220", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA|gg.REGION_CODE_APP) gg.searchNumber("2046820354;-336587221:9", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)--Telegram @VipCodes gg.searchNumber("2046820354", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("2046820353", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_DATA|gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA) gg.searchNumber("1,324,366,404", gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber("1,324,366,404", gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(80) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("99", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("23;25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("200", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("189", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.10000000149;64.50088500977", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("8", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-1,883,348,481,058,764,210", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("-1,883,348,485,055,444,540", gg.TYPE_QWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.9986295104", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.9986295104", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("1224995", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(999) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("33,90000152588 ;-8,8291245e-8;-2,8322467e25;1,9197789e-43:21", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("33,90000152588", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("48,56470489502 ;6,1529782e-39;-10.357.658,0;-5,2374822e26:17", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("48,56470489502", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("30.5;23.0", gg.TYPE_FLOAT) gg.refineNumber("30.5;23.0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50) gg.editAll("400", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("200", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("29,5;30,0 ;1,5046328e-36;4,2319214e-42:21", gg.TYPE_FLOAT) gg.refineNumber("29,5;30,0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.getResults(100) gg.editAll("9999", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1348759109;1953067887;1634692166;1920287604::28", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1634692166", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1634692266", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(16384) SearchWrite({ {-1.4278110478704994E28, 0}, {8.562694393506966E-26, -12}, {1.8175359108152E-27, -8} }, { {0, 0} }, 16, Name) gg.setRanges(16384) SearchWrite({ {-3.254379949369797E30, 0}, {2.646983324423844E-23, -56} }, { {0, -56} }, 16, Name) gg.clearResults() gg.toast(" \n ⛑️ ʜᴇᴀᴅsʜᴏᴛ %999 ᴀᴋᴛɪғ ⛑️ ") end aa2 = off khfygdu_checker = off khfygdu_checkeer = off function MN4() AM = gg.multiChoice({ "᚛🚔᚜ ᴀʀᴀᴄ̧ ʜɪᴢʟᴀɴᴅɪʀ \n╚❑[Oʏᴜɴ]", "᚛💨᚜ ғʟᴀsʜ \n╚❑[Oʏᴜɴ]" .. khfygdu_checker, "᚛⏬᚜ ғᴀsᴛ ʟᴀɴᴅ \n╚❑[Oʏᴜɴ]" .. aa2, "᚛🐍᚜ ʜɪᴢʟɪ sᴜ̈ʀᴜ̈ɴᴍᴇ \n╚❑[Oʏᴜɴ]" .. khfygdu_checkeer, "᚛🚪᚜ ɢᴇʀɪ ", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if AM == nil then else if AM [1] == true then AM1() end if AM [2] == true then AM2() end if AM [3] == true then AM3() end if AM [4] == true then AM4() end if AM [5] == true then HOME() end end PUBGMH = -1 end function AM1() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1000;10;4D;4D;50;5;2;0.01::", gg.TYPE_FLOAT,false, gg.SIGN_EQUAL,0,-1) gg.refineNumber( "0.01", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(280) gg.editAll("-0.23", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n ʜɪᴢʟᴀɴɪʏᴏʀsᴜɴ... 👻") end function AM2() if khfygdu_checker == off then khfygdu_checker = on gg.clearResults() gg.setVisible(false) gg.setRanges(gg.REGION_C_DATA|gg.REGION_CODE_APP) gg.searchNumber("-6.03221444e26;-1.3078764e28;-3.74440972e28;-1.86389771e-20;-1.11445016e28;-9.39921508e20;-1.8331477e27:33", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.86389771e-20", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) VipCodepm = gg.getResults(100) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.toast("‍ \n 🦄 sᴘᴇᴇᴅ ᴀᴋᴛɪғ 🦄️") else khfygdu_checker = off gg.clearResults() gg.setValues(VipCodepm) gg.clearResults() gg.toast("\n ❌ sᴘᴇᴇᴅ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") end end function AM3() if aa2 == off then gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,525,216,907,414,147,695", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4,525,216,907,414,147,695", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4,525,216,907,414,147,695", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("4,525,216,907,477,699,789", gg.TYPE_QWORD) gg.clearResults() aa2 = on gg.toast(" \n 🚁 ғᴀsᴛ ʟᴀɴᴅ ᴀᴋᴛɪғ 🚁") else gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,525,216,907,477,699,789", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4,525,216,907,477,699,789", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4,525,216,907,477,699,789", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("4,525,216,907,414,147,695", gg.TYPE_QWORD) gg.clearResults() aa2 = off gg.toast("\n ❌ ғᴀsᴛ ʟᴀɴᴅ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") end end function AM4() if khfygdu_checkeer == off then khfygdu_checkeer = on gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) Lanet10 = gg.getResults(1401) gg.editAll("1,873,498,234,778,812,416", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) Lanet20 = gg.getResults(100) gg.editAll("403,635,275,035,574,272", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) Lanet30 = gg.getResults(1401) gg.editAll("-2,044,616,634,647,180,800", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) Lanet40 = gg.getResults(1401) gg.editAll("-1296744153870237696", gg.TYPE_QWORD) gg.clearResults() gg.toast("🐊 HİZLİ SURUNME AKTİF 🐊") else gg.setValues(Lanet10) gg.setValues(Lanet20) gg.setValues(Lanet30) gg.setValues(Lanet40) gg.toast(" ⛔ Hızlı Sürünme Kapalı ⛔") end end bullettrack_checker = off aaa2 = off Sky = off function MN5() OK = gg.multiChoice({ "᚛🛑᚜ ʙᴜʟʟᴇᴛ ᴛʀᴀᴄᴋɪɴɢ \n╚❑[Oʏᴜɴ]" .. bullettrack_checker, "᚛💀️᚜ ᴏᴛᴏ sɴɪᴘᴇʀ [ᴀᴡᴍ & ᴍ24] \n╚❑[Oʏᴜɴ]", "᚛🚔᚜ ᴀʀᴀʙᴀ ᴜᴄ̧ᴜʀᴍᴀ ᴍᴇɴᴜ̈ \n╚❑[Oʏᴜɴ]", "᚛🛬᚜ ʜɪᴢʟɪ ᴘᴀʀᴀşᴜ̈ᴛ \n╚❑[Aᴅᴀᴅᴀ]" .. aaa2, "᚛🗽᚜ ʏᴜ̈ᴋsᴇɢ̆ᴇ ᴢɪᴘʟᴀᴍᴀ \n╚❑[Oʏᴜɴ]" .. Sky, "᚛💍᚜ ᴜᴢᴜɴ ᴀᴛʟᴀᴍᴀ \n╚❑[Oʏᴜɴ]", "᚛🔋᚜ ᴏɴᴇ sʜᴏᴛ \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛❌᚜ ʜᴀsᴀʀ ᴇғᴇᴋᴛɪ \n╚❑[Oʏᴜɴ]", "᚛👣᚜ ᴀʏᴀᴋ sᴇsʟᴇʀɪ ᴋᴀʟᴅɪʀ \n╚❑[Oʏᴜɴ]", "᚛🚪᚜ ɢᴇʀɪ ", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if OK == nil then else if OK [1] == true then OK1() end if OK [2] == true then OK2() end if OK [3] == true then OK3() end if OK [4] == true then OK4() end if OK [5] == true then OK5() end if OK [6] == true then OK6() end if OK [7] == true then OK7() end if OK [8] == true then OK8() end if OK [9] == true then OK9() end if OK [10] == true then HOME() end end PUBGMH = -1 end function OK1() if bullettrack_checker == off then bullettrack_checker = on gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("88.15017700195;15:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("15", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) bulletrack_value0 = gg.getResults(10) gg.editAll("51", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) bulletrack_value1 = gg.getResults(10) gg.editAll("51", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("90.4850692749;27.25;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("27.25;28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) bulletrack_value2 = gg.getResults(10) gg.editAll("51", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("1,104,805,888D;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) bulletrack_value3 = gg.getResults(250) gg.editAll("70", gg.TYPE_FLOAT) gg.toast("\n 🤯 ʙᴜʟʟᴇᴛ ᴛʀᴀᴄᴋɪɴɢ ᴀᴋᴛɪғ ᴇᴅɪʟᴅɪ 🤯") else bullettrack_checker = off gg.clearResults() gg.setValues(bulletrack_value0) gg.setValues(bulletrack_value1) gg.setValues(bulletrack_value2) gg.setValues(bulletrack_value3) gg.clearResults() gg.toast(" \n ❌ ʙᴜʟʟᴇᴛ ᴛʀᴀᴄᴋɪɴɢ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") end end function OK2() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("91000;2.29999995232;1.8", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("2.29999995232;1.8", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("79000;1.79999995232;1.70000004768", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.79999995232;1.70000004768", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0.1", gg.TYPE_FLOAT) gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...50%\n🧹🧹🧹🧹🧹▒▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...60%\n🧹🧹🧹🧹🧹🧹▒▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...70%\n🧹🧹🧹🧹🧹🧹🧹▒▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...80%\n🧹🧹🧹🧹🧹🧹🧹🧹▒▒") gg["sleep"](260) gg["toast"](" \nBᴇᴋʟᴇ...90%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹▒") gg["sleep"](260) gg["toast"](" \nBᴀşᴀʀıʟı…100%\n🧹🧹🧹🧹🧹🧹🧹🧹🧹🧹") gg.toast(" \n 🗡️ ᴏᴛᴏ sɴɪᴘᴇʀ ᴀᴋᴛɪғʟᴇşᴛɪ 🗡️ ") end function OK3() KNOXYZA = gg.prompt({ "🚙 ᴀʀᴀʙᴀʏɪ 5x ᴜᴄ̧ᴜʀ 🚙", "🚙 ᴀʀᴀʙᴀʏɪ 10x ᴜᴄ̧ᴜʀ 🚙️", "🚙 ᴀʀᴀʙᴀʏɪ 15x ᴜᴄ̧ᴜʀ 🚙", "🚙 ᴀʀᴀʙᴀʏɪ 25x ᴜᴄ̧ᴜʀ 🚙", "🚙 ᴀʀᴀʙᴀʏɪ 50x ᴜᴄ̧ᴜʀ 🚙", "🚙 ᴀʀᴀʙᴀʏɪ 100x ᴜᴄ̧ᴜʀ 🚙", "🔙 ʙᴀᴄᴋ 🔙", }, {}, { "checkbox", "checkbox", "checkbox", "checkbox", "checkbox", "checkbox", "checkbox", "checkbox", "checkbox" }) if KNOXYZA == nil then else if KNOXYZA[1] == true then ZV1AA() end if KNOXYZA[2] == true then ZV2A() end if KNOXYZA[3] == true then UC3() end if KNOXYZA[4] == true then UC4() end if KNOXYZA[5] == true then UC5() end if KNOXYZA[6] == true then UC6() end if KNOXYZA[7] == true then HOME() end end PUBGMH = -1 end function ZV1AA() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() end function ZV2A() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() end function UC3() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() end function UC4() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("25000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() end function UC5() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() end function UC6() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults()gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) ucurrr_value0 = gg.getResults(30) gg.editAll("20000", gg.TYPE_FLOAT) gg.sleep(800) gg.editAll("-980", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 🚙 ᴄᴏᴅᴇ ʙʏ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🚙 \n ") end function OK4() if aaa2 == off then aaa2 = on gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("20000;750;0.0001;0.0005 ", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0005", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) S1=gg.getResults(100) gg.editAll("0.09", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1585267064848315881", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) S2=gg.getResults(100) gg.editAll("-1585267068834414550", gg.TYPE_QWORD) gg.clearResults() gg.toast("\n✅ ʜɪᴢʟɪ ᴘᴀʀᴀşᴜ̈ᴛ ᴀᴋᴛɪғ ✅") else aaa2 = off gg.clearResults() gg.setValues(S1) gg.setValues(S2) gg.clearResults() gg.toast(" \n ❌ ʜɪᴢʟɪ ᴘᴀʀᴀşᴜ̈ᴛ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") end end function OK5() if Sky == off then Sky = on gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- gg.refineNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- gg.refineNumber("1,873,498,234,778,812,417", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- W1 = gg.getResults(1401) -- gg.editAll("1,873,498,234,778,812,416", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- gg.refineNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- gg.refineNumber("403,635,275,035,574,273", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) -- W2 = gg.getResults(1401) -- gg.editAll("403,635,275,035,574,272", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-2,044,616,634,647,180,784", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) W3 = gg.getResults(1401) gg.editAll("-2,044,616,634,647,180,800", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) W4 = gg.getResults(1401) gg.editAll("-1296744153870237696", gg.TYPE_QWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2188679037581846016", gg.TYPE_QWORD) -- gg.getResultsCount() gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("3000", gg.TYPE_QWORD) -- gg.getResultsCount() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("5.0000002E-4", gg.TYPE_FLOAT) -- gg.getResultsCount() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1;55;0.57357645035", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- gg.refineNumber("1;55;0.57357645035", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) -- W5 = gg.getResults(1000, nil, nil, nil, nil, nil, nil, nil, nil) -- gg.editAll("-9", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-2188679037581846016", gg.TYPE_QWORD) -- gg.getResultsCount() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("5.0000002E-4", gg.TYPE_FLOAT) -- gg.getResultsCount() gg.toast(" \n ✅ sᴋʏ ᴊᴜᴍᴘ ᴀᴋᴛɪғ ✅") gg.clearResults() else Sky = off gg.setValues(W1) gg.setValues(W2) gg.setValues(W3) gg.setValues(W4) gg.setValues(W5) gg.toast("\n ❌ sᴋʏ ᴊᴜᴍᴘ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌ ") end end function OK6() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1;-0.70710676908;0.70710670948;64;1.793662e-43;1.4012985e-45;1D;1D::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.4012985e-45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(9999) gg.editAll("999", gg.TYPE_FLOAT) gg.toast(" \n ⛹️‍♂️ ᴜᴢᴜɴ ᴀᴛʟᴀᴍᴀ ᴀᴋᴛɪғ ⛹️‍♂️") end function OK7() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.10000000149;64.50088500977", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) revert = gg.getResults(100000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("8", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) revert = gg.getResults(100000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("0.10000000149;64.50088500977", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("8", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-1,883,348,481,058,764,210", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("-1,883,348,485,055,444,540", gg.TYPE_QWORD) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.editAll("-1,883,348,485,055,444,540", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10;45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(500) gg.editAll("9999", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("16000~99999;3D;0.1;1D::40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("16000~99999", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("500000", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("0000B040rA;0000803FrA;0000403FrA:9", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(31) gg.editAll("1,087,897,600;1,075,838,976;1,075,838,976", gg.TYPE_DWORD) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("88000;0.08600000292", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("88000", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("400000", gg.TYPE_FLOAT) gg.clearResults() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("71500;0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("71500", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("400000", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("87000;0.09600000083", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("87000", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("400000", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("71500;0.109", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("71500", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("400000", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("91500;0.07500000298", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("91500", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1401) gg.editAll("400000", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 👿 ᴏɴᴇ sʜᴏᴛ ᴀᴋᴛɪғ 👿") end function OK8() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10;45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(500) gg.editAll("9999", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" ❌ ᴇғᴇᴋᴛ ᴀᴋᴛɪғʟᴇşᴛɪɪɪɪ... ❌") end function OK9() gg.clearResults() gg.setVisible(false) edit({ { gg.REGION_ANONYMOUS }, { "👣 ᴀʏᴀᴋ sᴇsɪ ᴋᴀʟᴅɪʀᴍᴀ ʙʏᴘᴀss ᴀᴋᴛɪғ 👣" }, { 1118830592, gg.TYPE_DWORD }, { 1148846080, -12, gg.TYPE_DWORD }, { 1, -16, gg.TYPE_DWORD } }, { { 1112539136, 0, gg.TYPE_DWORD } }) gg.clearResults() gg.setVisible(false) gg.toast("👣 ᴀʏᴀᴋ sᴇsɪ ᴋᴀʟᴅɪʀɪʟᴅɪ 👣") end function MN6() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("220676386071773185", gg.TYPE_QWORD) gg.getResults(69) gg.editAll("220676386036121600", gg.TYPE_QWORD) gg.toast("📵 ɪɴᴛᴇʀɴᴇᴛ ᴅɪsᴄᴏɴɴᴇᴄᴛᴇᴅ 📵") gg.sleep(6000) gg.editAll("220676386071773185", gg.TYPE_QWORD) gg.clearResults() gg.toast("✅ ɪɴᴛᴇʀɴᴇᴛ ᴄᴏɴɴᴇᴄᴛᴇᴅ ✅") end function MN7() MNN6 = gg.multiChoice({ 'sɴᴀᴘᴅʀᴀԍoɴ 415', 'sɴᴀᴘᴅʀᴀɢᴏɴ 425', 'sɴᴀᴘᴅʀᴀɢᴏɴ 620', 'sɴᴀᴘᴅʀᴀɢᴏɴ 636', 'sɴᴀᴘᴅʀᴀɢᴏɴ 625', 'sɴᴀᴘᴅʀᴀɢᴏɴ 660', 'ᴛᴜ̈ᴍ sɴᴀᴘᴅʀᴀɢᴏɴ ɪşʟᴇᴍᴄɪʟᴇʀɪ', 'sɴᴀᴘᴅʀᴀɢᴏɴ 835', 'sɴᴀᴘᴅʀᴀɢᴏɴ 820', 'sɴᴀᴘᴅʀᴀɢᴏɴ 845', 'sɴᴀᴘᴅʀᴀɢᴏɴ 400', 'sɴᴀᴘᴅʀᴀɢᴏɴ 410', 'sɴᴀᴘᴅʀᴀɢᴏɴ 430', 'sɴᴀᴘᴅʀᴀɢᴏɴ 435', 'sɴᴀᴘᴅʀᴀɢᴏɴ 450', 'sɴᴀᴘᴅʀᴀɢᴏɴ 615', 'sɴᴀᴘᴅʀᴀɢᴏɴ 616', 'sɴᴀᴘᴅʀᴀɢᴏɴ 626', 'sɴᴀᴘᴅʀᴀɢᴏɴ 650', 'sɴᴀᴘᴅʀᴀɢᴏɴ 653', 'sɴᴀᴘᴅʀᴀɢᴏɴ 670', 'sɴᴀᴘᴅʀᴀɢᴏɴ 710', 'sɴᴀᴘᴅʀᴀɢᴏɴ 800', 'sɴᴀᴘᴅʀᴀɢᴏɴ 801', 'ᴋɪʀᴍɪᴢɪ ʀᴇɴᴋ', 'ʏᴇşɪʟ ʀᴇɴᴋ', 'ʙᴇʏᴀᴢ ʀᴇɴᴋ', 'ʙᴀᴄᴋ', }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if MNN6 == nil then else if MNN6[1] == true then wh1() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[2] == true then wh2() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[3] == true then wh3() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[4] == true then wh636() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[5] == true then wh625() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[6] == true then wh660() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[7] == true then whp() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[8] == true then wh835() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[9] == true then wh820() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[10] == true then wh845() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[11] == true then wh400() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[12] == true then wh410() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[13] == true then wh430() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[14] == true then wh435() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[15] == true then wh450() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[16] == true then wh615() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[17] == true then wh616() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[18] == true then wh626() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[19] == true then wh650() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[20] == true then wh653() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[21] == true then wh670() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[22] == true then wh710() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[23] == true then wh800() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[24] == true then wh801() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[25] == true then Red() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[26] == true then Yellow() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[27] == true then White() end--Iғ | ∂є¢ ву α¢ιℓ if MNN6[28] == true then HOME() end--Iғ | ∂є¢ ву α¢ιℓ end--Eʟsᴇ | ∂є¢ ву α¢ιℓ PUBGMH = -1 end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function Red() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('8,192D;256D;8200D', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('8200', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('7', gg.TYPE_DWORD) gg.clearResults() gg.toast(' ᴋɪʀᴍᴜᴢɪɪ ʀᴇɴᴋ ᴀᴋᴛɪғ 😂') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function Yellow() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('8,192D;256D;8200D', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('8200', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('6', gg.TYPE_DWORD) gg.clearResults() gg.toast(' sᴀʀɪ ʀᴇɴᴋ ᴀᴋᴛɪғ') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function White() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('8,192D;256D;8200D', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('8200', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('5', gg.TYPE_DWORD) gg.clearResults() gg.toast('ʙᴇʏᴀᴢ ʀᴇɴᴋ ᴀᴋᴛɪғ') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh1() gg.clearResults() gg.setRanges(gg.REGION_C_HEAP) gg.searchNumber('3.3631163e-44;2.0;3.5032462e-44;-1.0;3.643376e-44;3.7835059e-44;-1.0;3.9236357e-44;4.0637655e-44;1.0;-127.0:129', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT, false, 536870912, 0, -1) gg.clearResults() gg.searchNumber('3.1809475e-43;3.1949605e-43;2.0;3.2089735e-43:53', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT, false, 536870912, 0, -1) gg.clearResults() gg.toast('Aktif🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh2() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber('3.3631163e-44;2.0;3.5032462e-44;-1.0;3.643376e-44;3.7835059e-44;-1.0;3.9236357e-44;4.0637655e-44;1.0;-127.0:129', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT, false, 536870912, 0, -1) gg.clearResults() gg.searchNumber('3.1809475e-43;3.1949605e-43;2.0;3.2089735e-43:53', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT, false, 536870912, 0, -1) gg.clearResults() gg.toast('Aktif🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh636() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19;3.6734297e-39;1.66433e10::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('100%') gg.toast('WallhacK AKTIF🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh3() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;-1.0F;-127.0F::520', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('WH 435🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh625() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.0F;4.7961574e21F;4.7408166e21F:512', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0F;4.8699472e21F;4.8699466e21F:512', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0F;4.7777152e21F;4.7777146e21F:512', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('SD 625🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh660() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('8E;2.5;6.0255834e-44::150', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2.5', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('-999', gg.TYPE_FLOAT) gg.setRanges(gg.REGION_BAD) gg.clearResults() gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;-1.0F;1.0F;-127.0F;0.00999999978F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('SD 660🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function whp() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19;3.6734297e-39;1.66433e10::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('200', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('-5.5693206e-40;4.814603e21;3.7615819e-37;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('200', gg.TYPE_FLOAT) gg.toast('Aktif🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh835() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('-0.01000213623;2;-1;0;0.04000854492', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(131072) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;0.00999999978F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('Aktif🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh820() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4.814603e21;3.5032462e-44;3.7615819e-37;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('-5.5693206e-40;4.814603e21;3.7615819e-37;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1848043e-44;-1.0285578e-38;3.7615819e-37;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('304.00009155273;3.7615819e-37;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.toast('Wallhack 100%🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh845() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.3680222e21;1.3312335e-43;1.3912563e-19;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4.8146053e21;2.8866748e-43;1.3912556e-19;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.201992e21;4.4028356e-29;2.25000452995;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4.9252857e21;6.488138e-40;4.9252863e21;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('1.0761972e-42;4.5920551e-41;-1.7632415e-38;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('1.0761972e-42;4.5923353e-41;-1.7632457e-38;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.3311276e21;1.3312335e-43;1.391256e-19;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4.8146041e21;2.8866748e-43;1.3912537e-19;2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('Aktif🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh400() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('135,215D;4,140D;3.7615819e-37;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('194D;3.7615819e-37;2;-1;1;-127::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.toast(' wᴀʟʟнᴀcκ 400 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh410() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('135,215D;4,140D;3.7615819e-37;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('194D;3.7615819e-37;2;-1;1;-127::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 410 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh430() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;-1.0F;-127.0F::520', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4,141D;4.7408155e21;-5.5693206e-40;4.814603e21;3.7615819e-37;2:', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(4) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 430 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh435() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;-1.0F;-127.0F::520', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('120', gg.TYPE_FLOAT) gg.toast('wᴀʟʟнᴀcκ 435 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh450() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('135,215D;4,140D;3.7615819e-37;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('194D;3.7615819e-37;2;-1;1;-127::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('1.1202013e-19;1.1202017e-19;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1) gg.editAll('9999', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;0.00999999978F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('150', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('150', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4.7961574e21;3.7615819e-37;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('150', gg.TYPE_FLOAT) gg.toast('wᴀʟʟнᴀcκ 450 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh615() gg.clearResults() gg.setRanges(gg.REGION_C_HEAP) gg.searchNumber('3.2229865e-43;2.0;-1.0;-1.0;2.0:145', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('122', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_HEAP) gg.searchNumber('3.3631163e-44;2.0;3.5032462e-44;-1.0;3.643376e-44;3.7835059e-44;-1.0;3.9236357e-44;4.0637655e-44;1.0;-127.0:129', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('3.1809475e-43;3.1949605e-43;2.0;3.2089735e-43:53', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 615 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh616() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('4,140D;4.7408166e21F;4.7223665e21;0D;0D;0D;0D;0D;0D;-0.0F;2.0F', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43;2.0F;-1.0F;1.0F;-127F;0.24022650719F;-0.0', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 616 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh626() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;0.00999999978F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('32769D;32770D;2.0F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(9) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('1.1202013e-19;1.1202017e-19;2::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(3) gg.editAll('9999', gg.TYPE_FLOAT) gg.toast('wᴀʟʟнᴀcκ 626 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh650() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19;3.6734297e-39;1.66433e10::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 650 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh653() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('2.718519e-43F;3.7615819e-37F;2.0F;0.00999999978F::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('5.8013756e-42F;-5.5695588e-40F;2.0F::100', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber(2, gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 653 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh670() gg.setRanges(gg.REGION_BAD) gg.searchNumber('274,677,779D;2.25000452995;2;1.6623054e-19', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('130', gg.TYPE_FLOAT) gg.toast('25%') gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('218D;3.7615819e-37;2;-1;1', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.toast('50%') gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('95D;2;9.2194229e-41', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll('130', gg.TYPE_FLOAT) gg.toast('75%') gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('206D;3.7615819e-37;2;-1;1', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 670 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh710() gg.setRanges(gg.REGION_BAD) gg.searchNumber('274,677,779D;2.25000452995;2;1.6623054e-19', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(20) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('218D;3.7615819e-37;2;-1;1', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('95D;2;9.2194229e-41', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(15) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('206D;3.7615819e-37;2;-1;1', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll('130', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 710 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh800() gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19;3.6734297e-39;1.66433e10::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 800 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ function wh801() gg.setRanges(gg.REGION_BAD) gg.searchNumber('5.1097599e21;2.0;1.6623071e-19;3.6734297e-39;1.66433e10::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber('2.0;-1.0;0.0;1.0;-127.0::17', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber('2', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll('120', gg.TYPE_FLOAT) gg.clearResults() gg.toast('wᴀʟʟнᴀcκ 801 ᴀcтιvᴇ🇹🇷') end--Fᴜɴᴄᴛɪᴏɴ | ∂є¢ ву α¢ιℓ safeipad_checker = off safeanten_check = off function MN8() WCD = gg.multiChoice({ "᚛🔱᚜ ᴀɪᴍʙᴏᴛ 400ᴍ \n╚❑[Oʏᴜɴ]", "᚛🐸᚜ ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ %100 ᴠ1 \n╚❑[Oʏᴜɴ]", "╭────────────────────╮\n 💛 ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ %100 ᴠ2 💛\n╰────────────────────╯ ", "╭────────────────────╮\n 👿 ʜᴇᴀᴅsʜᴏᴛ %100 👿\n╰────────────────────╯", "╭────────────────────╮\n 🔙 ʙᴀᴄᴋ 🔙\n╰────────────────────╯", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if WCD == nil then else if WCD [1] == true then WC1D() end if WCD [2] == true then WC2D() end if WCD [3] == true then WC3D() end if WCD [4] == true then WC4D() end if WCD [5] == true then HOME() end end PUBGMH = -1 end function WC1D() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-476053504;-349478012:189", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-476053504", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("-476053503;-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-511703038;-336586961:29", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-511703038", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("1.6615354e35;-5.8048945e26:9", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.6615354e35", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("1.6615351e35", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-476053504;-349478012:189", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-476053504", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("-476053503;-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-511703038;-336586961:29", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-511703038", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.toast(" 🖤 ᴀɪᴍʙᴏᴛ ᴀᴋᴛɪғ 🖤") end function WC2D() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("360;0.0001;1478828288", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("50000", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(56) gg.editAll("100", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)--@VipCodes gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" 🍺 ᴀᴋᴛɪғ 🍺") end function WC3D() gg.setVisible(false) gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1041462460', gg.TYPE_DWORD) gg.getResults('9999', nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll('1077936128', gg.TYPE_DWORD) gg.clearResults() gg.toast("🍺 ᴀᴋᴛɪғ 🍺") end function WC4D() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("33,90000152588 ;-8,8291245e-8;-2,8322467e25;1,9197789e-43:21", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("33,90000152588", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("48,56470489502 ;6,1529782e-39;-10.357.658,0;-5,2374822e26:17", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("48,56470489502", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("30.5;23.0", gg.TYPE_FLOAT) gg.refineNumber("30.5;23.0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(50) gg.editAll("400", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("200", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("29,5;30,0 ;1,5046328e-36;4,2319214e-42:21", gg.TYPE_FLOAT) gg.refineNumber("29,5;30,0", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(10) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.clearResults() gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("9.201618;30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("30.5;25", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("253", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_BSS) gg.searchNumber("2048D;1F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0.07", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("9.1022205e-38;0.0001;9.1025635e-38::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("125", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-7.1611644e24;0.0001;1.1297201e-37::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(500) gg.editAll("-125", gg.TYPE_FLOAT) gg.clearResults() gg.toast("👿 ʜᴇᴀᴅsʜᴏᴛ %100 ᴀᴋᴛɪғ 👿") end blacksky_check = off anten = off function SKINHACKS() WCC = gg.multiChoice({ " ╭────────────────────╮ \n 🚫 sᴇᴋᴍᴇᴍᴇ %75 🚫 \n ╰────────────────────╯ ", " ╭────────────────────╮ \n ⚕️ sᴀғᴇ ᴀɪᴍʙᴏᴛ ⚕️ \n ╰────────────────────╯", " ╭────────────────────╮ \n 🧫 ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ %60 🧫 \n ╰────────────────────╯", " ╭────────────────────╮ \n 👁️‍🗨️ sᴀғᴇ ᴀɴᴛᴇɴ 👁️‍🗨️ \n ╰────────────────────╯ " ..anten, " ╭────────────────────╮ \n 🏜️ ᴄ̧ɪᴍᴇɴ ᴋᴀʟᴅɪʀ 🏜️️ \n ╰────────────────────╯", " ╭────────────────────╮ \n ⚜️ sᴀғᴇ ᴀɪᴍʙᴏᴛ ᴠ2 ⚜️ \n ╰────────────────────╯", " ╭────────────────────╮ \n 🌃 sɪʏᴀʜ ɢᴏ̈ᴋʏᴜ̈ᴢᴜ̈ 🌃️ \n ╰────────────────────╯" ..blacksky_check, " ╭────────────────────╮ \n 🔙 ɢᴇʀɪ 🔙 \n ╰────────────────────╯", }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if WCC == nil then else if WCC [1] == true then WCC1() end if WCC [2] == true then WCC2() end if WCC [3] == true then WCC3() end if WCC [4] == true then WCC4() end if WCC [5] == true then WCC5() end if WCC [6] == true then WCC6() end if WCC [7] == true then WCC7() end if WCC [8] == true then HOME() end end PUBGMH = -1 end function WCC1() gg.setVisible(false) gg.searchNumber(-1228926272664233280, gg.TYPE_QWORD) gg.getResultsCount() gg.getResults(0) gg.setRanges(gg.REGION_CODE_APP) gg.setVisible(false) gg.searchNumber(4827858804535200272, gg.TYPE_QWORD) gg.getResultsCount() gg.getResults(0) gg.setRanges(gg.REGION_CODE_APP) gg.setVisible(false) gg.searchNumber(2211278695137542152, gg.TYPE_QWORD) gg.getResultsCount() gg.getResults(0) gg.clearList() gg.toast("🚫 sᴀғᴇ sᴇᴋᴍᴇᴍᴇ ᴀᴋᴛɪғ 🚫") end function WCC2() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("360;0.0001;1478828288", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("50000", gg.TYPE_FLOAT) gg.toast("⚕️ sᴀғᴇ ᴀɪᴍʙᴏᴛ ᴀᴋᴛɪғ ⚕️") end function WCC3() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5~60.5", gg.TYPE_FLOAT) gg.refineNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(56) gg.editAll("100", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("15;28;16;26;8;18", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)--@VipCodes gg.getResults(56) gg.editAll("-1339", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" 🥇 ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ ᴀᴄᴛɪᴠɪᴛᴇ ᴋɴᴏxʏ ɢᴀᴍɪɴɢ 🥇") end function WCC4() if anten == off then anten = on gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("88.50576019287F;87.27782440186F;-100.91194152832F;1F::13", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("88.50576019287F;87.27782440186F;1F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) safeantenvalue0 = gg.getResults(6) gg.editAll("1.96875;1.96875;999;1.96875;1.96875;999", gg.TYPE_FLOAT) gg.clearResults() gg.toast(" \n 👨‍🔧 sᴀғᴇ ᴀɴᴛᴇɴ ᴀᴄ̧ɪʟᴅɪ...") else anten = off gg.clearResults() gg.setValues(safeantenvalue0) gg.clearResults() gg.toast(" \n ❌ sᴀғᴇ ᴀɴᴛᴇɴ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") end end function WCC5() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber(":Default__MaterialExpressionLandscapeGrassOutput", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(500) gg.editAll("0", gg.TYPE_BYTE) gg.clearResults() gg.toast(' \n ᴄ̧ɪᴍᴇɴʟᴇʀ ᴘᴜғ ᴏʟᴅᴜ :D 🤪') end function WCC6() gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-298284466;-1.304566e23F", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-298284466", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(99) gg.editAll("0", gg.TYPE_DWORD) gg.clearResults() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-476053504;-349478012:189", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-476053504", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("-476053503;-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-511703038;-336586961:29", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-511703038", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("1.6615354e35;-5.8048945e26:9", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1.6615354e35", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("1.6615351e35", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("-476053504;-349478012:189", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-476053504", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("-476053503;-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-511703038;-336586961:29", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-511703038", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-476053504", gg.TYPE_DWORD) gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(6) gg.editAll("0", gg.TYPE_FLOAT) gg.clearResults() gg.toast("🔗 sᴀғᴇ ᴀɪᴍʙᴏᴛ ᴠ2 ᴀᴋᴛɪғ 🔗") end function WCC7() if blacksky_check == off then blacksky_check = on gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("3.4028235e38;0.05000000075::5", gg.TYPE_FLOAT, false) gg.searchNumber("0.05000000075", gg.TYPE_FLOAT, false) bskys1 = gg.getResults(30) gg.editAll("100", gg.TYPE_FLOAT) gg.toast(" 🌃 sɪʏᴀʜ ɢᴏ̈ᴋʏᴜ̈ᴢᴜ̈ 🌃") gg.clearResults() else blacksky_check = off gg.clearResults() gg.setValues(bskys1) gg.toast(" ❌ sɪʏᴀʜ ɢᴏ̈ᴋʏᴜ̈ᴢᴜ̈ ᴅᴇᴠʀᴇ ᴅɪşɪ ❌") gg.clearResults() end end function skyoff() SKN = gg.multiChoice({ "᚛🦎᚜ Kertenkele M416 \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🤡᚜ Maskara M416 \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛❄️᚜ Buzdiyarı M416 \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🏜️᚜ Çöl Fosili AKM \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🌟᚜ Firavun Seti \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🕯️᚜ Mumya Setiʸᵉⁿⁱ \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🦹᚜ Maskara Setiʸᵉⁿⁱ \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🌟᚜ Sarı Mumya Seti \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛😘᚜ Öpücük Çanta \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "᚛🔥᚜ Anubis Kask \n╚❑[ʟᴏʙɪ + Oʏᴜɴ]", "🅶🅴🆁🅸" }, nil, " ╭────────────────────╮\n 👻 ᴋɴᴏxʏ ɢᴀᴍɪɴɢ ᴠɪᴘ ᴠ1 👻 \n 🚫 ʙᴀɴ sɪᴋɪɴᴛɪsɪ ʏᴏᴋ 🚫 \n 🎲 ᴏ̈ᴢᴇʟ ᴋᴏᴅʟᴀᴍᴀʟᴀʀ ɪᴄ̧ᴇʀɪʀ 🎲 \n ╰────────────────────╯") if SKN == nil then else if SKN[1] == true then kertn() end if SKN[2] == true then mask() end if SKN[3] == true then buzd() end if SKN[4] == true then fosil() end if SKN[5] == true then firav() end if SKN[6] == true then mumya() end if SKN[7] == true then mas() end if SKN[8] == true then sarimumya() end if SKN[9] == true then opucuk() end if SKN[10] == true then anubis() end if SKN[11] == true then HOME() end end ggwp = -31 end function mas() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1101001116", gg.TYPE_DWORD) gg.clearResults() gg.toast(" 🦹 ᴍᴀsᴋᴀʀᴀ sᴇᴛɪ ᴀᴋᴛɪғ 🦹") function anubis() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Helmet"}, {["value"] = 502001, ["type"] = 4}, {["lv"] = 502, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1502001093, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Helmet"}, {["value"] = 502004, ["type"] = 4}, {["lv"] = 502, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1502002093, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Helmet"}, {["value"] = 502002, ["type"] = 4}, {["lv"] = 502, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1502002093, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Helmet"}, {["value"] = 502005, ["type"] = 4}, {["lv"] = 502, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1502002093, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Helmet"}, {["value"] = 502003, ["type"] = 4}, {["lv"] = 502, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1502003093, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) gg.toast(" 🔥 Anubis Kask Aktif 🔥") end function opucuk() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501001, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501001229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501002, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501002229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501003, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501003229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501004, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501002229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501005, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501003229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Brilliant Anniversary Backpack"}, {["value"] = 501006, ["type"] = 4}, {["lv"] = 501, ["offset"] = -4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1501003229, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.toast(" 😘 Öpücük Çanta Aktif 😘") end function sarimumya() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.setVisible(false) qmnb = { {["memory"] = 32}, {["name"] = "Mummy set"}, {["value"] = 1400129, ["type"] = 4}, {["lv"] = 519, ["offset"] = 4, ["type"] = 4}, } gg.setVisible(false) qmxg = { {["value"] = 1405623, ["offset"] = 0, ["type"] = 4}, } gg.setVisible(false) xqmnb(qmnb) gg.setVisible(false) gg.clearResults() gg.toast(" ☀️ Sarı Mumya Seti Aktif ☀️ ") end function kertn() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1101004086", gg.TYPE_DWORD) gg.clearResults() gg.toast(" 🦎 Kertenkele Kükremesi M416 Aktif 🦎️") end function mask() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1101004062", gg.TYPE_DWORD) gg.clearResults() gg.toast(" 🤡 Maskara M416 Aktif 🤡️") end function buzd() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10100400 ", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1101004046", gg.TYPE_DWORD) gg.clearResults() gg.toast(" ❄️ Buz Diyarı M416 Aktif ❄️️") end function fosil() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1101001103", gg.TYPE_DWORD) gg.clearResults() gg.toast(" 🏜️ Çöl Fosili Akm Aktif 🏜️️") end function mumya() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber(1400129, gg.TYPE_DWORD) gg.getResultCount() gg.searchNumber("10300300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10300300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("1103003022", gg.TYPE_DWORD) gg.toast(" 🕯️ Mumya Seti Aktif 🕯️") end function firav() gg.setVisible(false) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber(1400129, gg.TYPE_DWORD) gg.getResultCount() gg.toast(" 💎 Firavun Seti Aktif 💎") end function EXIT() print("Hoscakalin 🥀\n Bizi tercih ettiginiz icin teşekkürler ") print("━━━━━━━━━━━━━━━") print("⭐️ Tᴇʟᴇɢʀᴀᴍ") print("↪️ @knoxygaminghack ") print("⭐️ ᴄᴏᴅᴇʀ") print("↪️ @knoxygamingg") print("©️ ᴀʟʟ ʀɪɢʜᴛs ʀᴇsᴇʀᴠᴇᴅ") print("━━━━━━━━━━━━━━━") gg.skipRestoreState() gg.setVisible(true) os.exit() end while true do if gg.isVisible(true) then PUBGMH = 1 gg.setVisible(false) end if PUBGMH == 1 then HOME() end end
visibleComponents = { { template = "object/weapon/ranged/pistol/shared_pistol_d18.iff", muzzle = {"muzzle_sm_1","muzzle_sm_2","muzzle_sm_3","muzzle_sm_4","muzzle_sm_5","muzzle_sm_6"}, scope = {"scope_sm_5"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_dl44.iff", muzzle = {"muzzle_sm_1","muzzle_sm_2","muzzle_sm_3","muzzle_sm_4","muzzle_sm_5","muzzle_sm_6"}, scope = {"scope_sm_4","scope_sm_5"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_dl44_metal.iff", muzzle = {"muzzle_sm_7"}, scope = {"scope_sm_6"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_fwg5.iff", muzzle = {""}, scope = {"scope_sm_2"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_power5.iff", muzzle = {"muzzle_sm_1","muzzle_sm_2","muzzle_sm_3","muzzle_sm_4","muzzle_sm_5","muzzle_sm_6"}, scope = {"scope_sm_5"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_srcombat.iff", muzzle = {"muzzle_sm_1","muzzle_sm_2","muzzle_sm_3","muzzle_sm_4","muzzle_sm_5","muzzle_sm_6"}, scope = {"scope_sm_2","scope_sm_3","scope_sm_4","scope_sm_5"}, stock = {""} }, { template = "object/weapon/ranged/pistol/shared_pistol_striker.iff", muzzle = {""}, scope = {"scope_sm_2","scope_sm_3","scope_sm_4","scope_sm_5"}, stock = {""} }, { template = "object/weapon/ranged/carbine/shared_carbine_dh17.iff", muzzle = {""}, scope = {"scope_sm_1","scope_sm_2","scope_sm_3","scope_lg_2"}, stock = {""} }, { template = "object/weapon/ranged/carbine/shared_carbine_dh17_snubnose.iff", muzzle = {""}, scope = {"scope_sm_1","scope_sm_2","scope_sm_3","scope_lg_2"}, stock = {""} }, { template = "object/weapon/ranged/carbine/shared_carbine_dxr6.iff", muzzle = {""}, scope = {"scope_sm_1","scope_sm_2","scope_sm_3","scope_sm_4","scope_sm_5","scope_sm_6","scope_lg_2","scope_lg_3"}, stock = {"stock_1"} }, { template = "object/weapon/ranged/carbine/shared_carbine_ee3.iff", muzzle = {"muzzle_m_1","muzzle_m_2","muzzle_m_3","muzzle_m_4","muzzle_m_5","muzzle_m_6"}, scope = {"scope_sm_1","scope_sm_2","scope_sm_4","scope_sm_5","scope_lg_3"}, stock = {"stock_ee3"} }, { template = "object/weapon/ranged/carbine/shared_carbine_e11.iff", muzzle = {"muzzle_m_1","muzzle_m_2","muzzle_m_3","muzzle_m_4","muzzle_m_5","muzzle_m_6"}, scope = {"scope_sm_1","scope_sm_2","scope_sm_3","scope_lg_1","scope_lg_2","scope_lg_3"}, stock = {""} }, { template = "object/weapon/ranged/carbine/shared_carbine_elite.iff", muzzle = {"muzzle_m_1","muzzle_m_2","muzzle_m_3","muzzle_m_4","muzzle_m_5","muzzle_m_6"}, scope = {"scope_sm_1","scope_lg_2","scope_lg_3"}, stock = {"stock_dlt20","stock_rifle_laser"} }, { template = "object/weapon/ranged/carbine/shared_carbine_laser.iff", muzzle = {"muzzle_m_1","muzzle_m_2","muzzle_m_3","muzzle_m_5","muzzle_m_6"}, scope = {"scope_sm_1","scope_sm_2","scope_sm_4","scope_sm_5"}, stock = {"stock_carbine_laser"} }, { template = "object/weapon/ranged/rifle/shared_rifle_dlt20.iff", muzzle = {"muzzle_lg_2","muzzle_lg_3","muzzle_lg_4","muzzle_lg_5","muzzle_lg_6"}, scope = {"scope_lg_2"}, stock = {""} }, { template = "object/weapon/ranged/rifle/shared_rifle_dlt20a.iff", muzzle = {""}, scope = {""}, stock = {"stock_dlt20"} }, { template = "object/weapon/ranged/rifle/shared_rifle_tenloss_dxr6_disruptor_loot.iff", muzzle = {"muzzle_lg_2","muzzle_lg_3","muzzle_lg_5","muzzle_lg_6"}, scope = {""}, stock = {""} }, { template = "object/weapon/ranged/rifle/shared_rifle_laser.iff", muzzle = {"muzzle_lg_2","muzzle_lg_3","muzzle_lg_4","muzzle_lg_5","muzzle_lg_6"}, scope = {"scope_lg_1","scope_lg_2"}, stock = {"stock_rifle_laser"} }, { template = "object/weapon/ranged/rifle/shared_rifle_t21.iff", muzzle = {"muzzle_lg_2","muzzle_lg_3","muzzle_lg_6"}, scope = {""}, stock = {"stock_t21"} }, }
-- Generated by CSharp.lua Compiler local System = System local SlipeMtaDefinitions local SlipeSharedGameWorld System.import(function (out) SlipeMtaDefinitions = Slipe.MtaDefinitions SlipeSharedGameWorld = Slipe.Shared.GameWorld end) System.namespace("Slipe.Client.GameWorld", function (namespace) -- <summary> -- Class representing an object in the GTA world -- </summary> namespace.class("WorldObject", function (namespace) local getMass, setMass, getBreakable, setBreakable, setRespawns, Break, Respawn, class, __ctor1__, __ctor2__, __ctor3__ __ctor1__ = function (this, element) SlipeSharedGameWorld.SharedWorldObject.__ctor__[1](this, element) end -- <summary> -- Create a world object at a specific position -- </summary> __ctor2__ = function (this, model, position) SlipeSharedGameWorld.SharedWorldObject.__ctor__[3](this, model, position:__clone__()) end -- <summary> -- Create a world object using all parameters -- </summary> __ctor3__ = function (this, model, position, rotation, isLowLOD) SlipeSharedGameWorld.SharedWorldObject.__ctor__[2](this, model, position:__clone__(), rotation:__clone__(), isLowLOD) end getMass = function (this) return SlipeMtaDefinitions.MtaClient.GetObjectMass(this.element) end setMass = function (this, value) SlipeMtaDefinitions.MtaClient.SetObjectMass(this.element, value) end getBreakable = function (this) return SlipeMtaDefinitions.MtaClient.IsObjectBreakable(this.element) end setBreakable = function (this, value) SlipeMtaDefinitions.MtaClient.SetObjectBreakable(this.element, value) end setRespawns = function (this, value) SlipeMtaDefinitions.MtaClient.ToggleObjectRespawn(this.element, value) end -- <summary> -- Break this object -- </summary> Break = function (this) SlipeMtaDefinitions.MtaClient.BreakObject(this.element) end -- <summary> -- Respawn this object -- </summary> Respawn = function (this) SlipeMtaDefinitions.MtaClient.RespawnObject(this.element) end class = { __inherits__ = function (out) return { out.Slipe.Shared.GameWorld.SharedWorldObject } end, getMass = getMass, setMass = setMass, getBreakable = getBreakable, setBreakable = setBreakable, setRespawns = setRespawns, Break = Break, Respawn = Respawn, __ctor__ = { __ctor1__, __ctor2__, __ctor3__ }, __metadata__ = function (out) return { properties = { { "Breakable", 0x106, System.Boolean, getBreakable, setBreakable }, { "Mass", 0x106, System.Single, getMass, setMass }, { "Respawns", 0x306, System.Boolean, setRespawns } }, methods = { { ".ctor", 0x106, __ctor1__, out.Slipe.MtaDefinitions.MtaElement }, { ".ctor", 0x206, __ctor2__, System.Int32, System.Numerics.Vector3 }, { ".ctor", 0x406, __ctor3__, System.Int32, System.Numerics.Vector3, System.Numerics.Vector3, System.Boolean }, { "Break", 0x6, Break }, { "Respawn", 0x6, Respawn } }, events = { { "OnBreak", 0x6, System.Delegate(class, out.Slipe.Client.GameWorld.Events.OnBreakEventArgs, System.Void) }, { "OnDamage", 0x6, System.Delegate(class, out.Slipe.Client.GameWorld.Events.OnDamageEventArgs, System.Void) }, { "OnExplosion", 0x6, System.Delegate(class, out.Slipe.Client.Elements.Events.OnExplosionEventArgs, System.Void) } }, class = { 0x6, System.new(out.Slipe.Shared.Elements.DefaultElementClassAttribute, 2, 4 --[[ElementType.Object]]) } } end } return class end) end)
include('shared.lua') ENT.RenderGroup = RENDERGROUP_BOTH function ENT:Draw() // Update renderbounds local length = self:GetBeamLength() if self.render_beam_length ~= length then local bbmin = self:OBBMins() local bbmax = self:OBBMaxs() bbmax = bbmax + Vector(0, 0, length) self.render_beam_length = length self:SetRenderBounds(bbmin, bbmax) end self.BaseClass.Draw(self) Wire_DrawTracerBeam( self, 1 ) end
local Prop = {} Prop.Name = "City Apartment 102" Prop.Cat = "Apartments" Prop.Price = 750 Prop.Doors = { Vector( -11104.5, 12201, 435.20999145508 ), Vector( -11431.5, 12333, 435.20999145508 ), Vector( -11432.900390625, 12453, 435.20999145508 ), } GM.Property:Register( Prop )
local sin, cos, pi = math.sin, math.cos, math.pi --Every function takes four arguments -- t (time): starts in 0 and usually moves towards duration -- b (begin): initial value of the of the property being eased. -- c (change): ending value of the property - starting value of the property -- d (duration): total duration of the tween --And returns the new value -- linear local function linear(t, b, c, d) return c * t / d + b end -- quad local function quadIn(t, b, c, d) return c * (t / d) ^ 2 + b end local function quadOut(t, b, c, d) t = t / d return -c * t * (t - 2) + b end local function quadInOut(t, b, c, d) t = t / d * 2 if t < 1 then return c / 2 * t ^ 2 + b else return -c / 2 * ((t - 1) * (t - 3) - 1) + b end end local function quadOutIn(t, b, c, d) if t < d / 2 then return quadOut(t * 2, b, c / 2, d) else return quadIn((t * 2) - d, b + c / 2, c / 2, d) end end -- cubic local function cubicIn (t, b, c, d) return c * (t / d) ^ 3 + b end local function cubicOut(t, b, c, d) return c * ((t / d - 1) ^ 3 + 1) + b end local function cubicInOut(t, b, c, d) t = t / d * 2 if t < 1 then return c / 2 * t * t * t + b else t = t - 2 return c / 2 * (t * t * t + 2) + b end end local function cubicOutIn(t, b, c, d) if t < d / 2 then return cubicOut(t * 2, b, c / 2, d) else return cubicIn((t * 2) - d, b + c / 2, c / 2, d) end end -- quart local function quartIn(t, b, c, d) return c * (t / d) ^ 4 + b end local function quartOut(t, b, c, d) return -c * ((t / d - 1) ^ 4 - 1) + b end local function quartInOut(t, b, c, d) t = t / d * 2 if t < 1 then return c / 2 * t ^ 4 + b else return -c / 2 * ((t - 2) ^ 4 - 2) + b end end local function quartOutIn(t, b, c, d) if t < d / 2 then return quartOut(t * 2, b, c / 2, d) else return quartIn((t * 2) - d, b + c / 2, c / 2, d) end end -- quint local function quintIn(t, b, c, d) return c * (t / d) ^ 5 + b end local function quintOut(t, b, c, d) return c * ((t / d - 1) ^ 5 + 1) + b end local function quintInOut(t, b, c, d) t = t / d * 2 if t < 1 then return c / 2 * t ^ 5 + b else return c / 2 * ((t - 2) ^ 5 + 2) + b end end local function quintOutIn(t, b, c, d) if t < d / 2 then return quintOut(t * 2, b, c / 2, d) else return quintIn((t * 2) - d, b + c / 2, c / 2, d) end end -- sine local function sineIn(t, b, c, d) return -c * cos(t / d * (pi / 2)) + c + b end local function sineOut(t, b, c, d) return c * sin(t / d * (pi / 2)) + b end local function sineInOut(t, b, c, d) return -c / 2 * (cos(pi * t / d) - 1) + b end local function sineOutIn(t, b, c, d) if t < d / 2 then return sineOut(t * 2, b, c / 2, d) else return sineIn((t * 2) -d, b + c / 2, c / 2, d) end end -- expo local function expoIn(t, b, c, d) if t == 0 then return b else return c * 2 ^ (10 * (t / d - 1)) + b - c * 0.001 end end local function expoOut(t, b, c, d) if t == d then return b + c else return c * 1.001 * (-(2 ^ (-10 * t / d)) + 1) + b end end local function expoInOut(t, b, c, d) if t == 0 then return b elseif t == d then return b + c end t = t / d * 2 if t < 1 then return c / 2 * 2 ^ (10 * (t - 1)) + b - c * 0.0005 else return c / 2 * 1.0005 * (-(2 ^ (-10 * (t - 1))) + 2) + b end end local function expoOutIn(t, b, c, d) if t < d / 2 then return expoOut(t * 2, b, c / 2, d) else return expoIn((t * 2) - d, b + c / 2, c / 2, d) end end -- circ local function circIn(t, b, c, d) return(-c * ((1 - ((t / d) ^ 2)) ^ .5 - 1) + b) end local function circOut(t, b, c, d) return(c * (1 - ((t / d - 1) ^ 2)) ^ .5 + b) end local function circInOut(t, b, c, d) t = t / d * 2 if t < 1 then return -c / 2 * ((1 - t * t) ^ .5 - 1) + b else t = t - 2 return c / 2 * ((1 - t * t) ^ .5 + 1) + b end end local function circOutIn(t, b, c, d) if t < d / 2 then return circOut(t * 2, b, c / 2, d) else return circIn((t * 2) - d, b + c / 2, c / 2, d) end end -- elastic local function calculatePAS(p,a,c,d) p, a = p or d * 0.3, a or 0 if a < math.abs(c) then return p, c, p / 4 -- p, a, s else return p, a, p / (2 * pi) * math.asin(c/a) -- p, a, s end end local function elasticIn(t, b, c, d, a, p) local s if t == 0 then return b end t = t / d if t == 1 then return b + c else p,a,s = calculatePAS(p,a,c,d) t = t - 1 return -(a * 2 ^ (10 * t) * sin((t * d - s) * (2 * pi) / p)) + b end end local function elasticOut(t, b, c, d, a, p) local s if t == 0 then return b end t = t / d if t == 1 then return b + c else p,a,s = calculatePAS(p,a,c,d) return a * 2 ^ (-10 * t) * sin((t * d - s) * (2 * pi) / p) + c + b end end local function elasticInOut(t, b, c, d, a, p) local s if t == 0 then return b end t = t / d * 2 if t == 2 then return b + c end p,a,s = calculatePAS(p,a,c,d) t = t - 1 local stds = sin((t * d - s) * (2 * pi) / p) if t < 0 then return -0.5 * (a * 2 ^ (10 * t) * stds) + b else return a * 2 ^ (-10 * t) * stds * 0.5 + c + b end end local function elasticOutIn(t, b, c, d, a, p) if t < d / 2 then return elasticOut(t * 2, b, c / 2, d, a, p) else return elasticIn((t * 2) - d, b + c / 2, c / 2, d, a, p) end end -- back local function backIn(t, b, c, d, s) s = s or 1.70158 t = t / d return c * t * t * ((s + 1) * t - s) + b end local function backOut(t, b, c, d, s) s = s or 1.70158 t = t / d - 1 return c * (t * t * ((s + 1) * t + s) + 1) + b end local function backInOut(t, b, c, d, s) s = (s or 1.70158) * 1.525 t = t / d * 2 if t < 1 then return c / 2 * (t * t * ((s + 1) * t - s)) + b else t = t - 2 return c / 2 * (t * t * ((s + 1) * t + s) + 2) + b end end local function backOutIn(t, b, c, d, s) if t < d / 2 then return backOut(t * 2, b, c / 2, d, s) else return backIn((t * 2) - d, b + c / 2, c / 2, d, s) end end -- bounce local function bounceOut(t, b, c, d) t = t / d if t < 1 / 2.75 then return c * (7.5625 * t * t) + b elseif t < 2 / 2.75 then t = t - (1.5 / 2.75) return c * (7.5625 * t * t + 0.75) + b elseif t < 2.5 / 2.75 then t = t - (2.25 / 2.75) return c * (7.5625 * t * t + 0.9375) + b else t = t - (2.625 / 2.75) return c * (7.5625 * t * t + 0.984375) + b end end local function bounceIn(t, b, c, d) return c - bounceOut(d - t, 0, c, d) + b end local function bounceInOut(t, b, c, d) if t < d / 2 then return bounceIn(t * 2, 0, c, d) * 0.5 + b else return bounceOut(t * 2 - d, 0, c, d) * 0.5 + c * .5 + b end end local function bounceOutIn(t, b, c, d) if t < d / 2 then return bounceOut(t * 2, b, c / 2, d) else return bounceIn((t * 2) - d, b + c / 2, c / 2, d) end end return { linear = linear, cubicBezier = cubicBezier, quadIn = quadIn, quadOut = quadOut, quadInOut = quadInOut, quadOutIn = quadOutIn, cubicIn = cubicIn, cubicOut = cubicOut, cubicInOut = cubicInOut, cubicOutIn = cubicOutIn, quartIn = quartIn, quartOut = quartOut, quartInOut = quartInOut, quartOutIn = quartOutIn, quintIn = quintIn, quintOut = quintOut, quintInOut = quintInOut, quintOutIn = quintOutIn, sineIn = sineIn, sineOut = sineOut, sineInOut = sineInOut, sineOutIn = sineOutIn, expoIn = expoIn, expoOut = expoOut, expoInOut = expoInOut, expoOutIn = expoOutIn, circIn = circIn, circOut = circOut, circInOut = circInOut, circOutIn = circOutIn, elasticIn = elasticIn, elasticOut = elasticOut, elasticInOut = elasticInOut, elasticOutIn = elasticOutIn, backIn = backIn, backOut = backOut, backInOut = backInOut, backOutIn = backOutIn, bounceIn = bounceIn, bounceOut = bounceOut, bounceInOut = bounceInOut, bounceOutIn = bounceOutIn }
-- -- Copyright (C) 2022 Masatoshi Fukunaga -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -- THE SOFTWARE. -- local error = error local format = string.format local next = next local getmetatable = debug.getmetatable local setmetatable = setmetatable local type = type local pairs = pairs local pcall = pcall local compile = require('rez.compile') local newfenv = require('rez.newfenv') local parse = require('rez.parse') local nilobj = require('rez.nilobj') local errmap = require('rez.errmap') local seal = require('rez.seal') local concat = require('rez.concat') local escape = require('rez.escape') local nilobj_enable = nilobj.enable local nilobj_disable = nilobj.disable --- is_callable --- @param v any --- @return boolean ok local function is_callable(v) if type(v) == 'function' then return true end local mt = getmetatable(v) if type(mt) == 'table' then return type(mt.__call) == 'function' end return false end --- default_loader --- @return boolean ok --- @return string err local function DEFAULT_LOADER() return false end --- render --- @param rez Rez --- @param name string --- @return string res --- @return string err local function render(rez, name) -- get target template local target = rez.tmpl[name] if not target then local ok, err = rez.loader(rez, name) if ok then target = rez.tmpl[name] elseif err then error(format('cannot load template %q %s', name, err), 2) end if not target then return nil, format('template %q not found', name) end end -- prevent recursive rendering local callstack = rez.callstack if callstack[name] then error(format('cannot render template %q recursively', name), 3) end -- create context local ctx = {} callstack[name] = ctx callstack[#callstack + 1] = name -- run local data = rez.data local ok, res = pcall(target.run, data) -- remove context callstack[name] = nil callstack[#callstack] = nil -- apply layout if ctx.layout then if ok then data[ctx.layout.varname] = concat(res) else data[ctx.layout.varname] = errmap(name, target.srcmap, res) end return render(rez, ctx.layout.name) end if not ok then return nil, errmap(name, target.srcmap, res) end return concat(res) end --- rez_render --- @param rez Rez --- @param name string --- @return string local function rez_render(rez, name) if type(name) ~= 'string' then error('name must be string', 2) end local res, err = render(rez, name) return res or err end --- rez_layout --- @param rez Rez --- @param name string --- @param varname string local function rez_layout(rez, name, varname) if type(name) ~= 'string' then error('name must be string', 2) elseif type(varname) ~= 'string' then error('varname must be string', 2) elseif not rez.tmpl[name] then local ok, err = rez.loader(rez, name) if not ok then if err then error(format('cannot apply layout %q %s', name, err), 2) else error(format('layout template %q not found', name), 2) end end end -- prevent recursive rendering local callstack = rez.callstack if callstack[name] then error(format('cannot apply layout %q recursively', name), 2) end -- get current context local ctx = callstack[callstack[#callstack]] if ctx.layout then error('layout cannot be applied twice', 2) end -- add layout info ctx.layout = { name = name, varname = varname, } end --- table_copy --- @param tbl table --- @return table|nil local function table_copy(tbl) local newtbl = {} for k, v in pairs(tbl) do if type(v) == 'table' then newtbl[k] = table_copy(v) else newtbl[k] = v end end -- return non-empty table if next(newtbl) then return newtbl end end --- new_env --- @param rez Rez --- @return table fenv local function new_env(rez) -- setup environment local fenv = newfenv() if type(rez.env) == 'table' then for k, v in pairs(table_copy(rez.env) or {}) do fenv[k] = v end end -- add rez functions fenv.rez = { render = function(name) return rez_render(rez, name) end, layout = function(name, varname) return rez_layout(rez, name, varname) end, } -- export escape functions for k, v in pairs(escape) do fenv.rez['escape_' .. k] = v end -- add rez.escape function to escape the output strings -- this function will be renamed by compiler fenv.rez.escape_html = is_callable(rez.escape) and rez.escape or escape.html return seal(fenv) end --- @class Rez --- @field tmpl table --- @field callstack table --- @field curly boolean --- @field escape function --- @field loader function --- @field env table local Rez = {} Rez.__index = Rez --- render --- @param name string --- @param data table --- @return string res --- @return string err function Rez:render(name, data) if type(name) ~= 'string' then error('name must be string', 2) elseif data ~= nil and type(data) ~= 'table' then error('data must be table', 2) end self.callstack = {} self.data = data or {} local mt = nilobj_enable() local ok, res, err = pcall(render, self, name) nilobj_disable(mt) self.callstack = nil self.data = nil if not ok then return nil, res end return res, err end --- clear function Rez:clear() self.tmpl = {} end --- del --- @param name string --- @return boolean ok function Rez:del(name) if type(name) ~= 'string' then error('name must be string', 2) elseif not self.tmpl[name] then return false end self.tmpl[name] = nil return true end --- exists --- @param name string --- @return boolean ok function Rez:exists(name) if type(name) ~= 'string' then error('name must be string', 2) end return self.tmpl[name] ~= nil end --- add --- @param name string --- @param str string --- @return boolean ok --- @return string err function Rez:add(name, str) if type(name) ~= 'string' then error('name must be string', 2) elseif type(str) ~= 'string' then error('str must be string', 2) end local tags, err = parse(str, self.curly) if err then return false, err end -- compile local tmpl, cerr = compile(name, tags, new_env(self)) if cerr then return false, cerr end self.tmpl[name] = tmpl return true end --- new --- @param opts table --- @return Rez local function new(opts) opts = opts or {} -- check arguments if type(opts) ~= 'table' then error('opts must be table', 2) elseif opts.env ~= nil and type(opts.env) ~= 'table' then error('opts.env must be table', 2) elseif opts.curly ~= nil and type(opts.curly) ~= 'boolean' then error('opts.curly must be boolean', 2) elseif opts.escape ~= nil and not is_callable(opts.escape) then error('opts.escape must be callable value', 2) elseif opts.loader ~= nil and not is_callable(opts.loader) then error('opts.loader must be callable value', 2) end return setmetatable({ tmpl = {}, env = opts.env, curly = opts.curly, escape = opts.escape, loader = opts.loader or DEFAULT_LOADER, }, Rez) end return { new = new, }
local util = require("util") local str = "" local function getIndent(n) local n = n or 1 local indentation = ">>" local str = "" for i = 1, n, 1 do str = str..indentation end return str end function buildTree(recipe, count, indent) local p = game.player.print local str = str if not indent then str = " " end local recipe = recipe local products = recipe.products local count = count or 1 count = count * products[1].amount local indent = indent or 1 local recipes = game.recipe_prototypes local ingredients = recipe.ingredients local fluid_table = { ["petroleum-gas"] = true, ["light-oil"] = true, ["heavy-oil"] = true } if recipe then local string = " x" .. count .. " " .. recipe.name .. "\n" str = str .. getIndent(indent) .. string if ingredients then indent = indent + 1 for i, ingredient in pairs(ingredients) do if ingredient.type == "item" and recipes[ingredient.name] then str = str .. buildTree(recipes[ingredient.name], ingredient.amount, indent) elseif fluid_table[ingredient.name] then str = str .. buildTree(recipes["advanced-oil-processing"], ingredient.amount, indent) elseif ingredient.type == "item" and not recipes[ingredient.name] then string = " x" .. count .. " " .. ingredient.name .. "\n" str = str .. getIndent(indent)..string end end end else indent = indent - 1 end return str end commands.add_command("tree", "prints recipe tree\nrecipe tree will be logged to %AppData%/roaming/factorio/script-output/lab\nleave the parameter blank to get all trees written to file\nexample:\n/tree electronic-circuit", function(command) local player = game.players[command.player_index] if command.parameter then if game.recipe_prototypes[command.parameter] then player.print("[font=debug-mono]"..buildTree(game.recipe_prototypes[command.parameter]).."[/font]") game.write_file("lab/"..command.parameter.."_tree.txt", buildTree(game.recipe_prototypes[command.parameter])) elseif type(command.parameter) == "LuaRecipePrototype" then player.print("[font=debug-mono]"..buildTree(command.parameter).."[/font]") game.write_file("lab/"..command.parameter..".txt", buildTree(game.recipe_prototypes[command.parameter])) end else for _, item in pairs(game.recipe_prototypes) do game.write_file("lab/tree_all.txt", buildTree(item), true) end end end)
---------------------------------------------------- -- Lib Animation - for all your animation needs -- -- @classmod LibAnimation -- @author Pawkette ( pawkette.heals@gmail.com ) -- @copyright 2015 Pawkette ---------------------------------------------------- if ( not LibStub ) then return end local kName, kVersion = 'LibAnimation-1.0', 2.1 local LibAnimation = LibStub:NewLibrary( kName, kVersion ) if ( not LibAnimation ) then return end local AnimationMgr = ANIMATION_MANAGER local defaultEase = ZO_LinearEase local ANIMATION_SIZE = ANIMATION_SIZE local ANIMATION_TRANSLATE = ANIMATION_TRANSLATE local ANIMATION_SCALE = ANIMATION_SCALE local ANIMATION_ALPHA = ANIMATION_ALPHA local _ --- Create a new animation for control -- @tparam table control (optional) -- @tparam number playbackType (optional) -- @tparam number loopCount (optional) -- @treturn LibAnimation object function LibAnimation:New( control, playbackType, loopCount ) local result = setmetatable( {}, self ) local mt = getmetatable( result ) mt.__index = self if ( not playbackType ) then playbackType = 0 end if ( not loopCount ) then loopCount = 0 end result:Initialize( control, playbackType, loopCount ) return result end --- Animation Constructor -- @tparam table control (optional) -- @tparam number playbackType (optional) -- @tparam number loopCount (optional) function LibAnimation:Initialize( control, playbackType, loopCount ) self.control = control self.timeline = AnimationMgr:CreateTimeline() self.timeline:SetPlaybackType( playbackType, loopCount ) end function LibAnimation:Apply( control ) self.timeline:ApplyAllAnimationsToControl( control ) end function LibAnimation:SetHandler( ... ) self.timeline:SetHandler( ... ) end --- Allows you to add a callback at a certain point in the timeline -- @tparam function fn -- @tparam number delay how long to wait before calling function LibAnimation:InsertCallback( fn, delay ) if ( self.timeline ) then self.timeline:InsertCallback( fn, delay ) end end --- Stop the animation function LibAnimation:Stop() self.timeline:Stop() end --- Play the animation from the begining function LibAnimation:Play() self.timeline:PlayFromStart() end --- Play the animation from the end function LibAnimation:PlayBackward() self.timeline:PlayFromEnd() end --- Play the animation forward from where it was stopped function LibAnimation:Forward() self.timeline:PlayForward() end --- Play the animation backward from where it was stopped function LibAnimation:Backward() self.timeline:PlayBackward() end function LibAnimation:SetUserData( data ) self._udata = data end function LibAnimation:GetUserData() return self._udata end --- Get's the existing animation or creates a new one -- @tparam number animType -- @tparam number delay (optional) -- @tresult animation function LibAnimation:Insert( animType, duration, delay, anchorIndex, fn ) local anim = self.timeline:InsertAnimation( animType, self.control, delay or 0 ) anim:SetDuration( duration or 1 ) anim:SetEasingFunction( fn or defaultEase ) if ( animType == ANIMATION_TRANSLATE ) then anim:SetAnchorIndex( anchorIndex or 0 ) end return anim end --- Create new translate animation -- @tparam number xorigin -- @tparam number yorigin -- @tparam number xoffset -- @tparam number yoffset -- @tparam number duration -- @tparam number delay (optional) -- @tparam number anchorIndex (optional) -- @tparam function fn easing function (optional) function LibAnimation:TranslateToFrom( xorigin, yorigin, xoffset, yoffset, duration, delay, anchorIndex, fn ) self:Stop() local anim = self:Insert( ANIMATION_TRANSLATE, duration, delay, anchorIndex, fn ) anim:SetStartOffsetX( xorigin ) anim:SetStartOffsetY( yorigin ) anim:SetEndOffsetX( xoffset ) anim:SetEndOffsetY( yoffset ) end --- Create new translate animation -- @tparam number xoffset -- @tparam number yoffset -- @tparam number duration -- @tparam number delay (optional) -- @tparam number anchorIndex (optional) -- @tparam function fn easing function (optional) function LibAnimation:TranslateTo( xoffset, yoffset, duration, delay, anchorIndex, fn ) local _, _, _, _, offsX, offsY = self.control:GetAnchor( anchorIndex or 0 ) self:TranslateToFrom( offsX, offsY, xoffset, yoffset, duration, delay, anchorIndex, fn ) end --- Create a new size animation -- @tparam number startWidth -- @tparam number startHeight -- @tparam number width target width -- @tparam number height target height -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) function LibAnimation:ResizeToFrom( startWidth, startHeight, width, height, duration, delay, fn ) self:Stop() local anim = self:Insert( ANIMATION_SIZE, duration, delay, nil, fn ) anim:SetHeightStartAndEnd( startHeight, height ) anim:SetWidthStartAndEnd( startWidth, width ) end --- Create a new size animation -- @tparam number width target width -- @tparam number height target height -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) function LibAnimation:ResizeTo( width, height, duration, delay, fn ) self:ResizeToFrom( self.control:GetWidth(), self.control:GetHeight(), width, height, duration, delay, fn ) end --- Create a new scale animation -- @tparam number startScale -- @tparam number scale -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) function LibAnimation:ScaleToFrom( startScale, scale, duration, delay, fn ) self:Stop() local anim = self:Insert( ANIMATION_SCALE, duration, delay, nil, fn ) anim:SetScaleValues( startScale, scale ) end --- Create a new scale animation -- @tparam number scale -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) function LibAnimation:ScaleTo( scale, duration, delay, fn ) self:ScaleToFrom( self.control:GetScale(), scale, duration, delay, fn ) end function LibAnimation:AlphaToFrom( startAlpha, alpha, duration, delay, fn ) self:Stop() local anim = self:Insert( ANIMATION_ALPHA, duration, delay, nil, fn ) anim:SetAlphaValues( startAlpha, alpha ) end --- Create a new alpha animation -- @tparam number alpha -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) function LibAnimation:AlphaTo( alpha, duration, delay, fn ) self:AlphaToFrom( self.control:GetAlpha(), alpha, duration, delay, fn ) end --- Create a new scroll animation -- @tparam number x -- @tparam number y -- @tparam number duration -- @tparam number delay (optional) -- @tparam function fn easing function (optional) --[[function LibAnimation:ScrollTo( x, y, duration, delay, fn ) local anim = self:GetOrCreate( ANIMATION_SCROLL, delay ) anim:SetDuration( duration or 1 ) anim:SetEasingFunction( fn or defaultEase ) end]]
local quadInfo = { { 0, 0 }, -- 1 = grass { 32, 0 }, -- 2 = box { 0, 32 }, -- 3 = flowers { 32, 32 } -- 4 = boxTop } Quads = {} for i,info in ipairs(quadInfo) do -- info[1] = x, info[2] = y Quads[i] = love.graphics.newQuad(info[1], info[2], TileW, TileH, tilesetW, tilesetH) end
--[[ MIT License Copyright (c) 2019 Mitchell Davis <coding.jackalope@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --]] local Slab = require('Slab') local DrawCommands = require(SLAB_PATH .. '.Internal.Core.DrawCommands') local Mouse = require(SLAB_PATH .. '.Internal.Input.Mouse') local Region = require(SLAB_PATH .. '.Internal.UI.Region') local Stats = require(SLAB_PATH .. '.Internal.Core.Stats') local Style = require(SLAB_PATH .. '.Style') local Tooltip = require(SLAB_PATH .. '.Internal.UI.Tooltip') local Window = require(SLAB_PATH .. '.Internal.UI.Window') local SlabDebug = {} local SlabDebug_About = 'SlabDebug_About' local SlabDebug_Mouse = false local SlabDebug_Windows = false local SlabDebug_Tooltip = false local SlabDebug_DrawCommands = false local SlabDebug_Performance = false local SlabDebug_StyleEditor = false local SlabDebug_Windows_Categories = {"Inspector", "Stack"} local SlabDebug_Windows_Category = "Inspector" local Selected_Window = "" local Style_EditingColor = nil local Style_ColorStore = nil local Style_FileDialog = nil local function Window_Inspector() local Ids = Window.GetInstanceIds() if Slab.BeginComboBox('SlabDebug_Windows_Inspector', {Selected = Selected_Window}) then for I, V in ipairs(Ids) do if Slab.TextSelectable(V) then Selected_Window = V end end Slab.EndComboBox() end local Info = Window.GetInstanceInfo(Selected_Window) for I, V in ipairs(Info) do Slab.Text(V) end end local function Window_Stack() local Stack = Window.GetStackDebug() Slab.Text("Stack: " .. #Stack) for I, V in ipairs(Stack) do Slab.Text(V) end end local function DrawCommands_Item(Root, Label) if type(Root) == "table" then if Slab.BeginTree(Label) then for K, V in pairs(Root) do DrawCommands_Item(V, K) end Slab.EndTree() end else Slab.BeginTree(Label .. " " .. tostring(Root), {IsLeaf = true}) end end local function PrintStatsCategory(Label, Category, Last, AddSeparator) Slab.BeginColumn(1) Slab.Text(Label) if AddSeparator then Slab.Separator() end Slab.EndColumn() Slab.BeginColumn(2) Slab.Text(string.format("%.5f", Stats.GetTime(Category, Last)), {CenterX = true}) if AddSeparator then Slab.Separator() end Slab.EndColumn() Slab.BeginColumn(3) Slab.Text(Stats.GetCallCount(Category, Last), {CenterX = true}) if AddSeparator then Slab.Separator() end Slab.EndColumn() end local function DrawPerformance() Slab.BeginWindow('SlabDebug_Performance', {Title = "Performance", Columns = 3, AutoSizeWindow = false, W = 450.0, H = 350.0}) Slab.BeginColumn(1) Slab.Text("Category", {CenterX = true}) Slab.Separator() Slab.EndColumn() Slab.BeginColumn(2) Slab.Text("Time", {CenterX = true}) Slab.Separator() Slab.EndColumn() Slab.BeginColumn(3) Slab.Text("Call Count", {CenterX = true}) Slab.Separator() Slab.EndColumn() PrintStatsCategory("Frame Time", 'Frame', true) PrintStatsCategory("Update Time", 'Update') PrintStatsCategory("Draw Time", 'Draw', true, true) PrintStatsCategory("Button Time", 'Button') PrintStatsCategory("Radio Button Time", 'RadioButton') PrintStatsCategory("Check Box Time", 'CheckBox') PrintStatsCategory("Combo Box Time", 'ComboBox') PrintStatsCategory("Image Time", 'Image') PrintStatsCategory("Input Time", 'Input') PrintStatsCategory("List Box Time", 'ListBox') PrintStatsCategory("Text Time", 'Text') PrintStatsCategory("Text Formatted Time", 'Textf') PrintStatsCategory("Tree Time", 'Tree') PrintStatsCategory("Window Time", 'Window') Slab.EndWindow() end local function EditColor(Color) Style_EditingColor = Color Style_ColorStore = {Color[1], Color[2], Color[3], Color[4]} end local function DrawStyleColor(Label, Color) local Style = Slab.GetStyle() local H = Style.Font:getHeight() local TextColor = Style.TextColor if Style_EditingColor == Color then TextColor = {1.0, 1.0, 0.0, 1.0} end Slab.BeginColumn(1) Slab.Text(Label, {Color = TextColor}) Slab.EndColumn() Slab.BeginColumn(2) local ColW, ColH = Slab.GetWindowActiveSize() local X, Y = Slab.GetCursorPos() Slab.Rectangle({W = ColW, H = H, Color = Color, Outline = true}) Slab.SetCursorPos(X, Y) if Slab.Button("", {Invisible = true, W = ColW, H = H}) then EditColor(Color) end Slab.EndColumn() end local function DrawStyleValue(Label, Value) local Style = Slab.GetStyle() Slab.BeginColumn(1) Slab.Text(Label) Slab.EndColumn() Slab.BeginColumn(2) local W, H = Slab.GetWindowActiveSize() if Slab.Input('SlabDebug_Style_' .. Label, {Text = Value, ReturnOnText = false, NumbersOnly = true, W = W}) then Style[Label] = tonumber(Slab.GetInputText()) end Slab.EndColumn() end local function DrawStyleEditor() Slab.BeginWindow('SlabDebug_StyleEditor', {Title = "Style Editor", Columns = 2, AutoSizeWindow = false, AllowResize = true, W = 500.0, H = 400.0}) local Style = Slab.GetStyle() local Names = Style.API.GetStyleNames() local CurrentStyle = Style.API.GetCurrentStyleName() local W, H = Slab.GetWindowActiveSize() if Slab.BeginComboBox('SlabDebug_StyleEditor_Styles', {W = W, Selected = CurrentStyle}) then for I, V in ipairs(Names) do if Slab.TextSelectable(V) then Style.API.SetStyle(V) end end Slab.EndComboBox() end if Slab.Button("New") then Style_FileDialog = 'new' end Slab.SameLine() if Slab.Button("Load") then Style_FileDialog = 'load' end Slab.SameLine() local SaveDisabled = Style.API.IsDefaultStyle(CurrentStyle) if Slab.Button("Save", {Disabled = SaveDisabled}) then Style.API.SaveCurrentStyle() end Slab.Separator() for K, V in pairs(Style) do if type(V) == "table" and K ~= "Font" and K ~= "API" then DrawStyleColor(K, V) end end for K, V in pairs(Style) do if type(V) == "number" and K ~= "FontSize" then DrawStyleValue(K, V) end end Slab.EndWindow() if Style_EditingColor ~= nil then local Result = Slab.ColorPicker({Color = Style_ColorStore}) Style_EditingColor[1] = Result.Color[1] Style_EditingColor[2] = Result.Color[2] Style_EditingColor[3] = Result.Color[3] Style_EditingColor[4] = Result.Color[4] if Result.Button ~= "" then if Result.Button == "OK" then Style.API.StoreCurrentStyle() end if Result.Button == "Cancel" then Style_EditingColor[1] = Style_ColorStore[1] Style_EditingColor[2] = Style_ColorStore[2] Style_EditingColor[3] = Style_ColorStore[3] Style_EditingColor[4] = Style_ColorStore[4] end Style_EditingColor = nil end end if Style_FileDialog ~= nil then local Type = Style_FileDialog == 'new' and 'savefile' or Style_FileDialog == 'load' and 'openfile' or nil if Type ~= nil then local Path = love.filesystem.getRealDirectory(SLAB_PATH) .. "/" .. SLAB_PATH .. "Internal/Resources/Styles" local Result = Slab.FileDialog({AllowMultiSelect = false, Directory = Path, Type = Type, Filters = {{"*.style", "Styles"}}}) if Result.Button ~= "" then if Result.Button == "OK" then if Style_FileDialog == 'new' then Style.API.CopyCurrentStyle(Result.Files[1]) else Style.API.LoadStyle(Result.Files[1], true) end end Style_FileDialog = nil end else Style_FileDialog = nil end end end function SlabDebug.About() if Slab.BeginDialog(SlabDebug_About, {Title = "About"}) then Slab.Text("Slab Version: " .. Slab.GetVersion()) Slab.Text("Love Version: " .. Slab.GetLoveVersion()) Slab.NewLine() if Slab.Button("OK", {AlignRight = true}) then Slab.CloseDialog() end Slab.EndDialog() end end function SlabDebug.OpenAbout() Slab.OpenDialog(SlabDebug_About) end function SlabDebug.Mouse() Slab.BeginWindow('SlabDebug_Mouse', {Title = "Mouse"}) local X, Y = Mouse.Position() Slab.Text("X: " .. X) Slab.Text("Y: " .. Y) for I = 1, 3, 1 do Slab.Text("Button " .. I .. ": " .. (Mouse.IsPressed(I) and "Pressed" or "Released")) end Slab.Text("Hot Region: " .. Region.GetHotInstanceId()) Slab.EndWindow() end function SlabDebug.Windows() Slab.BeginWindow('SlabDebug_Windows', {Title = "Windows"}) if Slab.BeginComboBox('SlabDebug_Windows_Categories', {Selected = SlabDebug_Windows_Category}) then for I, V in ipairs(SlabDebug_Windows_Categories) do if Slab.TextSelectable(V) then SlabDebug_Windows_Category = V end end Slab.EndComboBox() end if SlabDebug_Windows_Category == "Inspector" then Window_Inspector() elseif SlabDebug_Windows_Category == "Stack" then Window_Stack() end Slab.EndWindow() end function SlabDebug.Tooltip() Slab.BeginWindow('SlabDebug_Tooltip', {Title = "Tooltip"}) local Info = Tooltip.GetDebugInfo() for I, V in ipairs(Info) do Slab.Text(V) end Slab.EndWindow() end function SlabDebug.DrawCommands() Slab.BeginWindow('SlabDebug_DrawCommands', {Title = "Draw Commands"}) local Info = DrawCommands.GetDebugInfo() for K, V in pairs(Info) do DrawCommands_Item(V, K) end Slab.EndWindow() end function SlabDebug.Performance() Stats.SetEnabled(true) DrawPerformance() end function SlabDebug.StyleEditor() DrawStyleEditor() end function SlabDebug.Menu() if Slab.BeginMenu("Debug") then if Slab.MenuItem("About") then SlabDebug.OpenAbout() end if Slab.MenuItemChecked("Mouse", SlabDebug_Mouse) then SlabDebug_Mouse = not SlabDebug_Mouse end if Slab.MenuItemChecked("Windows", SlabDebug_Windows) then SlabDebug_Windows = not SlabDebug_Windows end if Slab.MenuItemChecked("Tooltip", SlabDebug_Tooltip) then SlabDebug_Tooltip = not SlabDebug_Tooltip end if Slab.MenuItemChecked("Draw Commands", SlabDebug_DrawCommands) then SlabDebug_DrawCommands = not SlabDebug_DrawCommands end if Slab.MenuItemChecked("Performance", SlabDebug_Performance) then SlabDebug_Performance = not SlabDebug_Performance Stats.SetEnabled(SlabDebug_Performance) end if Slab.MenuItemChecked("Style Editor", SlabDebug_StyleEditor) then SlabDebug_StyleEditor = not SlabDebug_StyleEditor end Slab.EndMenu() end end function SlabDebug.Begin() SlabDebug.About() if SlabDebug_Mouse then SlabDebug.Mouse() end if SlabDebug_Windows then SlabDebug.Windows() end if SlabDebug_Tooltip then SlabDebug.Tooltip() end if SlabDebug_DrawCommands then SlabDebug.DrawCommands() end if SlabDebug_Performance then SlabDebug.Performance() end if SlabDebug_StyleEditor then SlabDebug.StyleEditor() end end return SlabDebug
local mtb={} return mtb
function love.conf(t) t.window.width = 480 t.window.height = 600 t.window.title = "Shmup!" t.console = false end
require 'dp' require 'optim' ds = dp.Mnist() trainInputs = ds:get('train', 'inputs', 'bchw') trainTargets = ds:get('train', 'targets','b') validInputs = ds:get('valid','inputs','bchw') validTargets = ds:get('valid','targets','b') print("Loaded data") net = nn:Sequential() net:add(nn.Convert('bchw','bf')) net:add(nn.Linear(1*28*28,200)) net:add(nn.ReLU()) net:add(nn.Linear(200,80)) net:add(nn.Tanh()) net:add(nn.Linear(80,10)) net:add(nn.LogSoftMax()) -- criterion criterion = nn.ClassNLLCriterion() -- Validator cm = optim.ConfusionMatrix(100) function classEval(net, inputs, targets) cm:zero() count = 0 for i=1,inputs:size(1) do count = count + 1 local input,target = inputs[i], targets:narrow(1,i,1) local output = net:forward(input) cm:add(output,target) end print(count) cm:updateValids() return cm.totalValid end -- trainer : hand modelled, not plain SGD function trainEpoch(net, criterion, input, target) for i=1,input:size(1) do if (i%1000 == 0) then print(".") end local input_this, target_this = input[i], target:narrow(1,i,1) local output_this = net:forward(input_this) local loss = criterion:forward(output_this, target_this) local gradOutput = criterion:backward(output_this,target_this) net:zeroGradParameters() local gradInput = net:backward(input_this, gradOutput) net:updateGradParameters(0.9) net:updateParameters(0.1) end end bestAccuracy, bestEpoch = 0,0 wait = 0 for epoch=1,300 do trainEpoch(net,criterion,trainInputs, trainTargets) local validAccuracy = classEval(net,validInputs, validTargets) if validAccuracy > bestAccuracy then bestAccuracy, bestEpoch = validAccuracy, epoch print(bestAccuracy, bestEpoch) wait = 0 else wait = wait + 1 print("Running: ", validAccuracy, epoch) if wait > 30 then break end end end
-- Baseline configuration -- local g = vim.g local opt = vim.opt local cmd = vim.api.nvim_command -- [[ colours and fonts ]] {{{ opt.termguicolors = true -- g.seoul256_background = 234 -- cmd("colorscheme seoul256") -- require("teaspoon").setup() cmd("colorscheme teaspoon") -- }}} -- [[ context ]] {{{ opt.number = true opt.relativenumber = false opt.cursorline = true opt.colorcolumn = "80" opt.scrolloff = 1 opt.errorbells = false opt.visualbell = false opt.signcolumn = "yes" opt.autoindent = true opt.smartindent = true opt.mouse = "a" opt.pumheight = 10 opt.conceallevel = 2 -- opt.concealcursor = '' -- TODO: review with nvim 0.7 cmd("au TextYankPost * silent! lua vim.highlight.on_yank {on_visual = false}") -- }}} -- [[ undo ]] {{{ opt.undofile = true -- }}} -- [[ encoding ]] {{{ opt.encoding = "utf-8" opt.fileencoding = "utf-8" -- }}} -- [[ theme ]] {{{ opt.syntax = "ON" -- }}} -- [[ whitespace ]] {{{ opt.tabstop = 2 opt.shiftwidth = 2 opt.expandtab = true opt.softtabstop = 2 opt.list = true opt.listchars = { tab = "→ ", trail = "¬" } opt.showbreak = "···" opt.wrap = true opt.linebreak = true -- }}} -- [[ search ]] {{{ opt.ignorecase = true opt.smartcase = true opt.incsearch = true opt.hlsearch = true -- }}} -- [[ splits ]] {{{ opt.splitright = true opt.splitbelow = true -- }}}
function LocalPlayerId() return jass.GetPlayerId(jass.GetLocalPlayer()) end LocalPlayer = jass.GetLocalPlayer local player_color_table = {} player_color_table[PLAYER_COLOR_RED] = {r = 255, g = 3, b = 3} player_color_table[PLAYER_COLOR_BLUE] = {r = 0, g = 66, b = 255} player_color_table[PLAYER_COLOR_CYAN] = {r = 28, g = 230, b = 185} player_color_table[PLAYER_COLOR_PURPLE] = {r = 84, g = 0, b = 129} player_color_table[PLAYER_COLOR_YELLOW] = {r = 255, g = 252, b = 1} player_color_table[PLAYER_COLOR_ORANGE] = {r = 254, g = 138, b = 14} player_color_table[PLAYER_COLOR_GREEN] = {r = 32, g = 192, b = 0} player_color_table[PLAYER_COLOR_PINK] = {r = 229, g = 91, b = 176} player_color_table[PLAYER_COLOR_LIGHT_GRAY] = {r = 149, g = 150, b = 151} player_color_table[PLAYER_COLOR_LIGHT_BLUE] = {r = 126, g = 191, b = 241} player_color_table[PLAYER_COLOR_AQUA] = {r = 16, g = 98, b = 70} player_color_table[PLAYER_COLOR_BROWN] = {r = 78, g = 42, b = 4} function GetPlayerColorRGB(color) data = player_color_table[color]; if (data) then return data.r, data.g, data.b else return 255, 255, 255 end end
local _; VUHDO_COMBO_MAX_ENTRIES = 10000; local floor = floor; local mod = mod; local tonumber = tonumber; local strsub = strsub; local pairs = pairs; local format = format; local GetLocale = GetLocale; local InCombatLockdown = InCombatLockdown; local UnitExists = UnitExists; local sIsNotInChina = GetLocale() ~= "zhCN" and GetLocale() ~= "zhTW" and GetLocale() ~= "koKR"; local sIsManaBar; local sIsSideBarLeft; local sIsSideBarRight; local sShowPanels; local sIsHideEmptyAndClickThrough; local sEmpty = { }; local VUHDO_LibSharedMedia; local VUHDO_getActionPanelOrStub; local VUHDO_getPanelButtons; local VUHDO_getHealthBarText; local VUHDO_getUnitButtonsSafe; ----------------------------------------------------------------------- --local VUHDO_getNumbersFromString; local VUHDO_CONFIG = { }; local VUHDO_PANEL_SETUP = { }; local VUHDO_USER_CLASS_COLORS = { }; function VUHDO_guiToolboxInitLocalOverrides() --VUHDO_getNumbersFromString = _G["VUHDO_getNumbersFromString"]; VUHDO_CONFIG = _G["VUHDO_CONFIG"]; VUHDO_PANEL_SETUP = _G["VUHDO_PANEL_SETUP"]; VUHDO_USER_CLASS_COLORS = _G["VUHDO_USER_CLASS_COLORS"]; VUHDO_LibSharedMedia = _G["VUHDO_LibSharedMedia"]; VUHDO_getActionPanelOrStub = _G["VUHDO_getActionPanelOrStub"]; VUHDO_getPanelButtons = _G["VUHDO_getPanelButtons"]; VUHDO_getHealthBarText = _G["VUHDO_getHealthBarText"]; VUHDO_getUnitButtonsSafe = _G["VUHDO_getUnitButtonsSafe"]; sIsManaBar = VUHDO_INDICATOR_CONFIG["BOUQUETS"]["MANA_BAR"] ~= ""; sIsSideBarLeft = VUHDO_INDICATOR_CONFIG["BOUQUETS"]["SIDE_LEFT"] ~= ""; sIsSideBarRight = VUHDO_INDICATOR_CONFIG["BOUQUETS"]["SIDE_RIGHT"] ~= ""; sShowPanels = VUHDO_CONFIG["SHOW_PANELS"]; sIsHideEmptyAndClickThrough = VUHDO_CONFIG["HIDE_EMPTY_BUTTONS"] and VUHDO_CONFIG["HIDE_EMPTY_PANELS"] and VUHDO_CONFIG["LOCK_CLICKS_THROUGH"]; end ------------------------------------------------------------------------ -- function VUHDO_isConfigPanelShowing() return VUHDO_IS_PANEL_CONFIG and not VUHDO_CONFIG_SHOW_RAID; end local VUHDO_isConfigPanelShowing = VUHDO_isConfigPanelShowing; -- local tUnit; local function VUHDO_hasPanelVisibleButtons(aPanelNum) if not sShowPanels or not VUHDO_IS_SHOWN_BY_GROUP then return false; elseif not sIsHideEmptyAndClickThrough or VUHDO_isConfigPanelShowing() then return true; else for _, tButton in pairs(VUHDO_getPanelButtons(aPanelNum)) do tUnit = tButton:GetAttribute("unit"); if not tUnit then return false; elseif UnitExists(tUnit) then return true; end end end end -- function VUHDO_updatePanelVisibility() for tCnt = 1, 10 do -- VUHDO_MAX_PANELS if #(VUHDO_PANEL_MODELS[tCnt] or sEmpty) > 0 then VUHDO_getActionPanelOrStub(tCnt):SetAlpha(VUHDO_hasPanelVisibleButtons(tCnt) and 1 or 0); end end end -- function VUHDO_mayMoveHealPanels() return (VUHDO_IS_PANEL_CONFIG or not VUHDO_CONFIG["LOCK_PANELS"]) and (not InCombatLockdown() or not VUHDO_CONFIG["LOCK_IN_FIGHT"]); end -- function VUHDO_getComponentPanelNum(aComponent) return VUHDO_getNumbersFromString(aComponent:GetName(), 1)[1]; end -- local tAnchorCoords = { TOPLEFT = function(aPanel) return aPanel:GetLeft(), aPanel:GetTop(); end, TOP = function(aPanel) return (aPanel:GetRight() + aPanel:GetLeft()) * 0.5, aPanel:GetTop(); end, BOTTOM = function(aPanel) return (aPanel:GetRight() + aPanel:GetLeft()) * 0.5, aPanel:GetBottom(); end, LEFT = function(aPanel) return aPanel:GetLeft(), (aPanel:GetBottom() + aPanel:GetTop()) * 0.5; end, RIGHT = function(aPanel) return aPanel:GetRight(), (aPanel:GetBottom() + aPanel:GetTop()) * 0.5; end, TOPRIGHT = function(aPanel) return aPanel:GetRight(), aPanel:GetTop(); end, BOTTOMLEFT = function(aPanel) return aPanel:GetLeft(), aPanel:GetBottom(); end, BOTTOMRIGHT = function(aPanel) return aPanel:GetRight(), aPanel:GetBottom(); end, }; function VUHDO_getAnchorCoords(aPanel, anOrientation, aScaleDiff) local tX, tY = tAnchorCoords[anOrientation](aPanel); return (tX or 0) / aScaleDiff, (tY or 0) / aScaleDiff; end -- function VUHDO_isLooseOrderingShowing(aPanelNum) return VUHDO_PANEL_SETUP[aPanelNum]["MODEL"]["ordering"] ~= 0 -- VUHDO_ORDERING_STRICT and (not VUHDO_IS_PANEL_CONFIG or VUHDO_CONFIG_SHOW_RAID); end local VUHDO_isLooseOrderingShowing = VUHDO_isLooseOrderingShowing; -- function VUHDO_isTableHeadersShowing(aPanelNum) return not VUHDO_isLooseOrderingShowing(aPanelNum) and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["showHeaders"] and not VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["alignBottom"]; end -- function VUHDO_isTableFootersShowing(aPanelNum) return not VUHDO_isLooseOrderingShowing(aPanelNum) and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["showHeaders"] and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["alignBottom"]; end -- function VUHDO_isTableHeaderOrFooter(aPanelNum) return not VUHDO_isLooseOrderingShowing(aPanelNum) and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["showHeaders"]; end -- function VUHDO_getColoredString(aString, aColor) if aColor["useText"] then return format("|cff%02x%02x%02x%s|r", aColor["TR"] * 255, aColor["TG"] * 255, aColor["TB"] * 255, aString); else return aString; end end -- function VUHDO_toggleMenu(aPanel) aPanel:SetShown(not aPanel:IsShown()); end -- function VUHDO_getPanelNum(aPanel) return tonumber(strsub(aPanel:GetName(), -2)) or tonumber(strsub(aPanel:GetName(), -1)) or 1; end -- function VUHDO_getClassColor(anInfo) return VUHDO_USER_CLASS_COLORS[anInfo["classId"]]; end -- function VUHDO_getClassColorByModelId(aModelId) return VUHDO_USER_CLASS_COLORS[aModelId]; end -- function VUHDO_getManaBarHeight(aPanelNum) return sIsManaBar and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["manaBarHeight"] or 0; end local VUHDO_getManaBarHeight = VUHDO_getManaBarHeight; -- function VUHDO_getHealthBarHeight(aPanelNum) return VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["barHeight"] - VUHDO_getManaBarHeight(aPanelNum); end -- function VUHDO_getSideBarWidthLeft(aPanelNum) return sIsSideBarLeft and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["sideLeftWidth"] or 0; end -- function VUHDO_getSideBarWidthRight(aPanelNum) return sIsSideBarRight and VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["sideRightWidth"] or 0; end -- function VUHDO_getHealthBarWidth(aPanelNum) return VUHDO_PANEL_SETUP[aPanelNum]["SCALING"]["barWidth"] - VUHDO_getSideBarWidthLeft(aPanelNum) - VUHDO_getSideBarWidthRight(aPanelNum); end -- function VUHDO_getDiffColor(aBaseColor, aModColor) if aModColor["useText"] then aBaseColor["useText"] = true; aBaseColor["TR"], aBaseColor["TG"], aBaseColor["TB"], aBaseColor["TO"] = aModColor["TR"], aModColor["TG"], aModColor["TB"], aModColor["TO"]; end if aModColor["useBackground"] then aBaseColor["useBackground"] = true; aBaseColor["R"], aBaseColor["G"], aBaseColor["B"] = aModColor["R"], aModColor["G"], aModColor["B"]; end if aModColor["useOpacity"] then aBaseColor["useOpacity"] = true; aBaseColor["O"], aBaseColor["TO"] = aModColor["O"], aModColor["TO"]; end return aBaseColor; end -- function VUHDO_brightenTextColor(aColor, aSummand) aColor["TR"], aColor["TG"], aColor["TB"] = aColor["TR"] + aSummand, aColor["TG"] + aSummand, aColor["TB"] + aSummand; return aColor; end -- Bitmap ist 256*256 pixel mit 16 (4*4) Icons (je 64*64 pixel) local tLeft, tTop; function VUHDO_getRaidTargetIconTexture(anIndex) anIndex = anIndex - 1; tLeft = anIndex % 4 * 0.25; tTop = floor(anIndex * 0.25) * 0.25; return tLeft, tLeft + 0.25, tTop, tTop + 0.25; end -- function VUHDO_setRaidTargetIconTexture(aTexture, anIndex) aTexture:SetTexCoord(VUHDO_getRaidTargetIconTexture(anIndex)); end -- Liefert sicheren Fontnamen. Falls in LSM nicht (mehr) vorhanden oder -- in asiatischem Land den Standard-Font zur�ckliefern. Genauso wenn als Argument nil geliefert wurde function VUHDO_getFont(aFont) if (aFont or "") ~= "" and sIsNotInChina then for _, tFontInfo in pairs(VUHDO_FONTS) do if aFont == tFontInfo[1] then return aFont; end end end return GameFontNormal:GetFont(); end -- local VUHDO_BLIZZ_EVENTS = { "CVAR_UPDATE", "DISPLAY_SIZE_CHANGED", "GROUP_ROSTER_UPDATE", "IGNORELIST_UPDATE", "INCOMING_RESURRECT_CHANGED", "INSTANCE_ENCOUNTER_ENGAGE_UNIT", "MUTELIST_UPDATE", "PARTY_LEADER_CHANGED", "PARTY_LFG_RESTRICTED", "PARTY_LOOT_METHOD_CHANGED", "PARTY_MEMBER_DISABLE", "PARTY_MEMBER_ENABLE", "PLAYER_ENTER_COMBAT", "PLAYER_LEAVE_COMBAT", "PLAYER_ENTERING_WORLD", "PLAYER_FLAGS_CHANGED", "PLAYER_FOCUS_CHANGED", "PLAYER_LOGIN", "PLAYER_ROLES_ASSIGNED", "PLAYER_TARGET_CHANGED", "PLAYER_UPDATE_RESTING", "PLAYTIME_CHANGED", "RAID_TARGET_UPDATE", "READY_CHECK", "READY_CHECK_CONFIRM", "READY_CHECK_FINISHED", "RUNE_POWER_UPDATE", "RUNE_TYPE_UPDATE", "UI_SCALE_CHANGED", "UNIT_AURA", "UNIT_CLASSIFICATION_CHANGED", "UNIT_CONNECTION", "UNIT_COMBAT", "UNIT_COMBO_POINTS", "UNIT_DISPLAYPOWER", "UNIT_ENTERED_VEHICLE", "UNIT_ENTERING_VEHICLE", "UNIT_EXITED_VEHICLE", "UNIT_EXITING_VEHICLE", "UNIT_FACTION", "UNIT_FLAGS", "UNIT_HEAL_PREDICTION", "UNIT_HEALTH", "UNIT_HEALTH_FREQUENT", "UNIT_LEVEL", "UNIT_MAXHEALTH", "UNIT_MAXPOWER", "UNIT_NAME_UPDATE", "UNIT_OTHER_PARTY_CHANGED", "UNIT_PET", "UNIT_PHASE", "UNIT_PORTRAIT_UPDATE", "UNIT_POWER_UPDATE", "UNIT_POWER_BAR_HIDE", "UNIT_POWER_BAR_SHOW", "UNIT_POWER_FREQUENT", "UNIT_TARGETABLE_CHANGED", "UNIT_THREAT_SITUATION_UPDATE", "UPDATE_ACTIVE_BATTLEFIELD", "UPDATE_INSTANCE_INFO", "UPDATE_SHAPESHIFT_FORM", "UPDATE_STEALTH", "VARIABLES_LOADED", "VOICE_START", "VOICE_STATUS_UPDATE", "VOICE_STOP", }; -- local VUHDO_FIX_EVENTS = { "UNIT_AURA", "UNIT_COMBAT", "UNIT_HEAL_PREDICTION", "UNIT_HEALTH", "UNIT_HEALTH_FREQUENT", "UNIT_MAXHEALTH", "UNIT_MAXPOWER", "UNIT_PET", "UNIT_POWER_UPDATE", "UNIT_POWER_FREQUENT", "UNIT_THREAT_SITUATION_UPDATE", }; local sEventsPerFrame = {}; local function VUHDO_unregisterAndSaveEvents(anIsHide, ...) local tFrame; for tCnt = 1, select('#', ...) do tFrame = select(tCnt, ...); if tFrame then if not sEventsPerFrame[tFrame] then sEventsPerFrame[tFrame] = { }; for tIndex, tEvent in pairs(VUHDO_BLIZZ_EVENTS) do if (tFrame:IsEventRegistered(tEvent)) then tinsert(sEventsPerFrame[tFrame], tIndex); end end end tFrame:UnregisterAllEvents(); if anIsHide then tFrame:Hide(); end end end end -- local function VUHDO_registerOriginalEvents(anIsShow, ...) local tFrame; for tCnt = 1, select('#', ...) do tFrame = select(tCnt, ...); if tFrame then if sEventsPerFrame[tFrame] then for _, tIndex in pairs(sEventsPerFrame[tFrame]) do tFrame:RegisterEvent(VUHDO_BLIZZ_EVENTS[tIndex]); end for _, tEvent in pairs(VUHDO_FIX_EVENTS) do tFrame:RegisterEvent(tEvent); end else -- must not happen tFrame:RegisterAllEvents(); end if anIsShow then tFrame:Show(); end end end end -- local function VUHDO_hideBlizzRaid() VUHDO_unregisterAndSaveEvents(true, CompactRaidFrameContainer); end -- local function VUHDO_showBlizzRaid() VUHDO_registerOriginalEvents(VUHDO_GROUP_TYPE_SOLO ~= VUHDO_getCurrentGroupType(), CompactRaidFrameContainer); end -- local function VUHDO_hideBlizzRaidMgr() VUHDO_unregisterAndSaveEvents(true, CompactRaidFrameManager); end -- local function VUHDO_showBlizzRaidMgr() VUHDO_registerOriginalEvents(VUHDO_GROUP_TYPE_SOLO ~= VUHDO_getCurrentGroupType(), CompactRaidFrameManager); end -- function VUHDO_hideBlizzCompactPartyFrame() if VUHDO_CONFIG["BLIZZ_UI_HIDE_PARTY"] == 3 and not InCombatLockdown() and CompactPartyFrame and CompactPartyFrame:IsVisible() then VUHDO_unregisterAndSaveEvents(true, CompactPartyFrame); end end -- local function VUHDO_hideBlizzParty() HIDE_PARTY_INTERFACE = "1"; hooksecurefunc("ShowPartyFrame", function() if not InCombatLockdown() then for tCnt = 1, 4 do _G["PartyMemberFrame" .. tCnt]:Hide(); end end end ); local tPartyFrame; for tCnt = 1, 4 do tPartyFrame = _G["PartyMemberFrame" .. tCnt]; VUHDO_unregisterAndSaveEvents(false, tPartyFrame, _G["PartyMemberFrame" .. tCnt .. "HealthBar"], _G["PartyMemberFrame" .. tCnt .. "ManaBar"] ); tPartyFrame:Hide(); end if (CompactPartyFrame ~= nil and CompactPartyFrame:IsVisible()) then VUHDO_unregisterAndSaveEvents(true, CompactPartyFrame); end end -- local function VUHDO_showBlizzParty() if VUHDO_GROUP_TYPE_PARTY ~= VUHDO_getCurrentGroupType() then return; end if tonumber(GetCVar("useCompactPartyFrames")) == 0 then HIDE_PARTY_INTERFACE = "0"; hooksecurefunc("ShowPartyFrame", function() if not InCombatLockdown() then for tCnt = 1, 4 do _G["PartyMemberFrame" .. tCnt]:Show(); end end end ); local tPartyFrame; for tCnt = 1, 4 do tPartyFrame = _G["PartyMemberFrame" .. tCnt]; VUHDO_registerOriginalEvents(false, tPartyFrame, _G["PartyMemberFrame" .. tCnt .. "HealthBar"], _G["PartyMemberFrame" .. tCnt .. "ManaBar"]); if (UnitExists("party" .. tCnt)) then tPartyFrame:Show(); end end else VUHDO_registerOriginalEvents(true, CompactPartyFrame); end end -- local function VUHDO_hideBlizzPlayer() VUHDO_unregisterAndSaveEvents(true, PlayerFrame, RuneFrame); VUHDO_unregisterAndSaveEvents(false, PlayerFrameHealthBar, PlayerFrameManaBar); end -- local function VUHDO_showBlizzPlayer() VUHDO_registerOriginalEvents(false, PlayerFrame, PlayerFrameHealthBar, PlayerFrameManaBar); PlayerFrame:Show(); if "DEATHKNIGHT" == VUHDO_PLAYER_CLASS then VUHDO_registerOriginalEvents(RuneFrame); RuneFrame:Show(); end end -- local function VUHDO_hideBlizzTarget() VUHDO_unregisterAndSaveEvents(true, TargetFrame, TargetFrameToT, FocusFrameToT); VUHDO_unregisterAndSaveEvents(false, TargetFrameHealthBar, TargetFrameManaBar); ComboFrame:ClearAllPoints(); end -- local function VUHDO_showBlizzTarget() VUHDO_registerOriginalEvents(false, TargetFrame, TargetFrameHealthBar, TargetFrameManaBar, TargetFrameToT, FocusFrameToT); ComboFrame:SetPoint("TOPRIGHT", "TargetFrame", "TOPRIGHT", -44, -9); end -- local function VUHDO_hideBlizzPet() VUHDO_unregisterAndSaveEvents(true, PetFrame); end -- local function VUHDO_showBlizzPet() VUHDO_registerOriginalEvents(true, PetFrame); end -- local function VUHDO_hideBlizzFocus() VUHDO_unregisterAndSaveEvents(true, FocusFrame); end -- local function VUHDO_showBlizzFocus() VUHDO_registerOriginalEvents(false, FocusFrame); end -- function VUHDO_initHideBlizzRaid() if VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID"] == 3 then VUHDO_hideBlizzRaid(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID_MGR"] == 3 then VUHDO_hideBlizzRaidMgr(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PARTY"] == 3 then VUHDO_hideBlizzParty(); end end -- function VUHDO_initBlizzFrames() if (InCombatLockdown()) then return; end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PLAYER"] == 3 then VUHDO_hideBlizzPlayer(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_PLAYER"] == 1 then VUHDO_showBlizzPlayer(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_TARGET"] == 3 then VUHDO_hideBlizzTarget(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_TARGET"] == 1 then VUHDO_showBlizzTarget(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PET"] == 3 then VUHDO_hideBlizzPet(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_PET"] == 1 then VUHDO_showBlizzPet(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_FOCUS"] == 3 then VUHDO_hideBlizzFocus(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_FOCUS"] == 1 then VUHDO_showBlizzFocus(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID"] == 3 then VUHDO_hideBlizzRaid(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID"] == 1 then VUHDO_showBlizzRaid(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID_MGR"] == 3 then VUHDO_hideBlizzRaidMgr(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_RAID_MGR"] == 1 then VUHDO_showBlizzRaidMgr(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PARTY"] == 3 then VUHDO_hideBlizzParty(); elseif VUHDO_CONFIG["BLIZZ_UI_HIDE_PARTY"] == 1 then VUHDO_showBlizzParty(); end end function VUHDO_initHideBlizzFrames() if InCombatLockdown() then return; end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PLAYER"] == 3 then VUHDO_hideBlizzPlayer(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_TARGET"] == 3 then VUHDO_hideBlizzTarget(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_PET"] == 3 then VUHDO_hideBlizzPet(); end if VUHDO_CONFIG["BLIZZ_UI_HIDE_FOCUS"] == 3 then VUHDO_hideBlizzFocus(); end VUHDO_initHideBlizzRaid(); end -- local tOldX, tOldY; function VUHDO_isDifferentButtonPoint(aRegion, aPointX, aPointY) _, _, _, tOldX, tOldY = aRegion:GetPoint(); if tOldX then tOldX = floor(tOldX + 0.5); tOldY = floor(tOldY + 0.5); end return aPointX ~= tOldX or aPointY ~= tOldY; end -- function VUHDO_lnfPatchFont(aComponent, aLabelName) if not sIsNotInChina then _G[aComponent:GetName() .. aLabelName]:SetFont(VUHDO_OPTIONS_FONT_NAME, 12); end end -- function VUHDO_isConfigDemoUsers() return VUHDO_IS_PANEL_CONFIG and VUHDO_CONFIG_SHOW_RAID and VUHDO_CONFIG_TEST_USERS > 0; end -- local tFile; function VUHDO_setLlcStatusBarTexture(aStatusBar, aTextureName) tFile = VUHDO_LibSharedMedia:Fetch('statusbar', aTextureName); if tFile then aStatusBar:SetStatusBarTexture(tFile); end end -- local tOurLevel; function VUHDO_fixFrameLevels(anIsForceUpdateChildren, aFrame, aBaseLevel, ...) local tCnt = 1; local tChild = select(tCnt, ...); aFrame:SetFrameLevel(aBaseLevel); while tChild do -- Layer components seem to have no name, important for HoT icons. if tChild:GetName() then tOurLevel = aBaseLevel + 1 + (tChild["addLevel"] or 0); if not tChild["vfl"] then tChild:SetFrameStrata(aFrame:GetFrameStrata()); tChild:SetFrameLevel(tOurLevel); tChild["vfl"] = true; VUHDO_fixFrameLevels(anIsForceUpdateChildren, tChild, tOurLevel, tChild:GetChildren()); elseif(anIsForceUpdateChildren) then VUHDO_fixFrameLevels(true, tChild, tOurLevel, tChild:GetChildren()); end end tCnt = tCnt + 1; tChild = select(tCnt, ...); end end -- local tOutline, tShadowAlpha, tColor, tFactor; function VUHDO_customizeIconText(aParent, aHeight, aLabel, aSetup) tFactor = aHeight * 0.01; aLabel:ClearAllPoints(); aLabel:SetPoint(aSetup["ANCHOR"], aParent:GetName(), aSetup["ANCHOR"], tFactor * aSetup["X_ADJUST"], -tFactor * aSetup["Y_ADJUST"]); tOutline = aSetup["USE_OUTLINE"] and "OUTLINE|" or ""; tOutline = tOutline .. (aSetup["USE_MONO"] and "OUTLINEMONOCHROME" or ""); -- Bugs out in MoP beta tColor = aSetup["COLOR"]; if tColor then tShadowAlpha = aSetup["USE_SHADOW"] and tColor["O"] or 0; aLabel:SetTextColor(VUHDO_textColor(tColor)); aLabel:SetShadowColor(tColor["R"], tColor["G"], tColor["B"], tShadowAlpha); else tShadowAlpha = aSetup["USE_SHADOW"] and 1 or 0; aLabel:SetTextColor(1, 1, 1, 1); aLabel:SetShadowColor(0, 0, 0, tShadowAlpha); end aLabel:SetFont(aSetup["FONT"], tFactor * aSetup["SCALE"], tOutline); aLabel:SetShadowOffset(1, -1); aLabel:SetText(""); end -- function VUHDO_setupAllButtonsUnitWatch(anIsRegister) if InCombatLockdown() then return; end local tFunc = anIsRegister and RegisterUnitWatch or UnregisterUnitWatch; for tButton, _ in pairs(VUHDO_BUTTON_CACHE) do if tButton:IsShown() then tFunc(tButton); else UnregisterUnitWatch(tButton) end end end -- function VUHDO_backColor(aColor) return aColor["R"], aColor["G"], aColor["B"], aColor["O"]; end -- function VUHDO_textColor(aColor) return aColor["TR"], aColor["TG"], aColor["TB"], aColor["TO"]; end ---------------------------------------- local sFlashFrames = { }; local sIsFlashFrame = { }; -- function VUHDO_UIFrameFlash(aFrame, aFadeInTime, aFadeOutTime, aFlashDuration, anIsShowWhenDone, aFlashInHoldTime, aFlashOutHoldTime) if sIsFlashFrame[aFrame] then return; end aFrame.fadeInTime = aFadeInTime; aFrame.fadeOutTime = aFadeOutTime; aFrame.flashDuration = aFlashDuration; aFrame.showWhenDone = anIsShowWhenDone; aFrame.flashTimer = 0; aFrame.flashInHoldTime = aFlashInHoldTime; aFrame.flashOutHoldTime = aFlashOutHoldTime; sFlashFrames[#sFlashFrames + 1] = aFrame; sIsFlashFrame[aFrame] = true; end -- local tFrame; local tIndex; local tFlashTime; local tAlpha; function VUHDO_UIFrameFlash_OnUpdate(aTimeDelta) tIndex = #sFlashFrames; while sFlashFrames[tIndex] do tFrame = sFlashFrames[tIndex]; tFrame.flashTimer = tFrame.flashTimer + aTimeDelta; if tFrame.flashTimer > tFrame.flashDuration and tFrame.flashDuration ~= -1 then VUHDO_UIFrameFlashStop(tFrame); else tFlashTime = tFrame.flashTimer; tFlashTime = tFlashTime % (tFrame.fadeInTime + tFrame.fadeOutTime + (tFrame.flashInHoldTime or 0) + (tFrame.flashOutHoldTime or 0)); if tFlashTime < tFrame.fadeInTime then tAlpha = tFlashTime / tFrame.fadeInTime; elseif tFlashTime < tFrame.fadeInTime + (tFrame.flashInHoldTime or 0) then tAlpha = 1; elseif tFlashTime < tFrame.fadeInTime + (tFrame.flashInHoldTime or 0) + tFrame.fadeOutTime then tAlpha = 1 - ((tFlashTime - tFrame.fadeInTime - (tFrame.flashInHoldTime or 0)) / tFrame.fadeOutTime); else tAlpha = 0; end tFrame:SetAlpha(tAlpha); end tIndex = tIndex - 1; end end -- function VUHDO_UIFrameFlashStop(aFrame) if sIsFlashFrame[aFrame] then tDeleteItem(sFlashFrames, aFrame); aFrame:SetAlpha(aFrame.showWhenDone and 1 or 0); aFrame.flashTimer = nil; sIsFlashFrame[aFrame] = nil; end end -- function VUHDO_indicatorTextCallback(aBarNum, aUnit, aPanelNum, aProviderName, aText, aValue) for _, tButton in pairs(VUHDO_getUnitButtonsSafe(aUnit)) do VUHDO_getHealthBarText(tButton, aBarNum):SetText(aText); end end
-- This script template has each of the script entry point functions. -- They are described in detail in VR-Forces Configuration Guide. -- Some basic VRF Utilities defined in a common module. require "vrfutil" -- Global Variables. Global variables get saved when a scenario gets checkpointed. -- They get re-initialized when a checkpointed scenario is loaded. -- parameter-data storage. This data is static, so it can be stored at init time. local basePhysicalFootprint = this:getParameterProperty("Base-Physical-Footprint") local footprintPostureMod = this:getParameterProperty("Footprint-Posture-Modifier") local postureSectorSize = this:getParameterProperty("Posture-Sector-Size") -- Comparison values stored from previous tick previousPosture = "-" -- Add callbacks for when state properties are se. -- This will allow the script to respond quickly to changes in posture -- and be able to do so while the scenario is paused. vrf:addPostSetDataCallback("set-state-properties", "updateFootprints"); -- Call tick when set state properties is done to allow the script to -- immediately respond to changes in posture. function updateFootprints(parameters) tick(); end -- Called when the task first starts. Never called again. function init() -- Set the tick period for this script. vrf:setTickPeriod(2) end -- Calculates derived properties that are required to update the dynamic -- properties controlled by this script. Returns the current values of these -- properties. -- Pre-tick derived properties: -- None function calculatePreTickDerivedProperties() end -- Updates any dynamic properties controlled by this task. Returns the -- current values of these properties. -- Dynamic properties: -- None function updateDynamicProperties() end -- Calculates remaining derived properties which are maintained by this script. -- Derived properties: -- Physical-Footprint -- Sector-Sizes function calculateDerivedProperties(ammunitionCategories) -- Get current posture local posture = this:getStateProperty("Posture") -- Only update if posture has changed if (posture ~= previousPosture) then -- Calculate physical footprint local fp = basePhysicalFootprint * footprintPostureMod[posture] this:setStateProperty("Physical-Footprint", fp) -- Set sector sizes local postureSectors = postureSectorSize[posture] this:setStateProperty("Sector-Sizes", postureSectors) end previousPosture = posture end -- Called each tick while this task is active. function tick() calculatePreTickDerivedProperties() updateDynamicProperties() calculateDerivedProperties() end -- Called when this task is being suspended, likely by a reaction activating. function suspend() -- By default, halt all subtasks and other entity tasks started by this task when suspending. vrf:stopAllSubtasks() vrf:stopAllTasks() end -- Called when this task is being resumed after being suspended. function resume() -- By default, simply call init() to start the task over. init() end
local match_hall_record_view_rank_layout = require(ViewPath .. "hall/matchHall/widget/match_hall_record_view_rank_layout"); require("gameData/weixinShareUtil"); local RecordRankItem = require("hall/matchHall/gameMatchHall/gameMatchHallRecord/rank/gameMatchHallRecordRankItem"); local NVerticalListView = require("ui2/NVerticalListView"); -- 好友排行 local GameMatchHallRecordRankLayer = class(CommonGameLayer, false); local h_index = 0; local getIndex = function(self) h_index = h_index + 1; return h_index; end -- loading 状态 GameMatchHallRecordRankLayer.eLoadingStatus = { CAN_LOAD = 1, -- 可加载 LOADING = 2, -- 加载中 CAN_NOT_LOAD = 3, -- 不可加载(加载完成) } GameMatchHallRecordRankLayer.s_controls = { -- 好友排行 contentView = getIndex(), emptyView = getIndex(), loadingView = getIndex(), }; GameMatchHallRecordRankLayer.s_cmds = { }; GameMatchHallRecordRankLayer.ctor = function(self) super(self, match_hall_record_view_rank_layout); self:setSize(self.m_root:getSize()); self:setAlign(kAlignCenter); self:_initView(); MatchRecordDataInterface.getInstance():setObserver(self); end GameMatchHallRecordRankLayer.dtor = function(self) MatchRecordDataInterface.getInstance():clearObserver(self); self:_deleteInfoView(); end GameMatchHallRecordRankLayer.show = function(self) CommonGameLayer.show(self); self:_resetView(); -- 请求大师分排行 MatchRecordDataInterface.getInstance():getMatchRecordRankList(); end GameMatchHallRecordRankLayer.hasOpenLayer = function(self) local hasOpenLayer = false; if (self.m_rankInfo and self.m_rankInfo:isShowing()) and (self.m_inviteLayer and self.m_inviteLayer:hasOpenLayer()) then hasOpenLayer = true; end return hasOpenLayer; end --------------------------------------------------------------------- -- interface callback GameMatchHallRecordRankLayer.onGetMatchRecordRankList = function(self, data, isUpdate) if isUpdate then self:_updataListView(data); else self:_resetView(); if table.isEmpty(data) then self:showEmptyView(); else self:_createListView(data); self.m_contentView:setVisible(true); end end end -- item view callback GameMatchHallRecordRankLayer.onItemClick = function(self, data, view) self:_createInfoView(data, view); end GameMatchHallRecordRankLayer.showEmptyView = function(self) if not self.m_inviteLayer then local gameMatchHallRecordRankInviteLayer = require("hall/matchHall/gameMatchHall/gameMatchHallRecord/rank/gameMatchHallRecordRankInviteLayer"); self.m_inviteLayer = new(gameMatchHallRecordRankInviteLayer); self.m_emptyView:addChild(self.m_inviteLayer); end self.m_inviteLayer:show(); self.m_emptyView:setVisible(true); end --------------------------------------------------------------------------------------- GameMatchHallRecordRankLayer._initView = function(self) self.m_emptyView = self:findViewById(self.s_controls.emptyView); self.m_contentView = self:findViewById(self.s_controls.contentView); self.m_loadingView = self:findViewById(self.s_controls.loadingView); end GameMatchHallRecordRankLayer._resetView = function(self) self.m_emptyView:setVisible(false); self.m_contentView:setVisible(false); end GameMatchHallRecordRankLayer._createInfoView = function(self, data, view) local x, y = view:getAbsolutePos(); local w, h = view:getSize(); if not self.m_rankInfo then local gameMatchHallRecordRankInfo = require("hall/matchHall/gameMatchHall/gameMatchHallRecord/rank/gameMatchHallRecordRankInfo"); self.m_rankInfo = new(gameMatchHallRecordRankInfo); end self.m_rankInfo:setContentPos(x + w / 2, y + h / 2, h / 2); self.m_rankInfo:show(data); end GameMatchHallRecordRankLayer._deleteInfoView = function(self) if self.m_rankInfo then delete(self.m_rankInfo); self.m_rankInfo = nil; end end -----------------------------------------列表逻辑------------------------------------- GameMatchHallRecordRankLayer._createListView = function(self, data) self.m_listData = data; if not self.m_listView then local w,h = self.m_contentView:getParent():getSize(); RecordRankItem.setDefaultSize(w, h / MatchRecordDataInterface.getInstance():getRankViewNumberPerPage()); RecordRankItem.setOnItemClick(self, self.onItemClick); self.m_listView = NVerticalListView.create(); self.m_contentView:addChild(self.m_listView); self.m_listView:setAlign(kAlignCenter); self.m_listView:setSize(w,h); self.m_listView:setScrollBarWidth(0); self.m_listView:setOnScroll(self.onListViewScroll, self); self.m_loadingView:addChild(self:_createLoadingNode()); self.m_listView:setOnStop(function () if self.m_needGetNextPage then MatchRecordDataInterface.getInstance():getMatchRecordRankListNext(); self.m_needGetNextPage = false; end end) self.m_needCreateItem = true; self:_needCreateItem(); self:_checkLoadingStatus(); else self.m_listView:addInvokeOnStop(function () self.m_listView:moveTo(0); self:_updateItem(); self:_checkLoadingStatus(); end) end if #self.m_listData == 0 then self.m_listView:setFingerActionEnabled(false); else self.m_listView:setFingerActionEnabled(true); end end GameMatchHallRecordRankLayer._updataListView = function(self, data) self.m_listData = data; self.m_needCreateItem = true; self:_needCreateItem(); self:_checkLoadingStatus(); end GameMatchHallRecordRankLayer._createLoadingNode = function (self) local node = new(Node); self.m_loadingText = new(Text, "", nil, nil, kAlignCenter, nil, 24, 143, 92, 31) self.m_loadingText:setAlign(kAlignCenter) node:addChild(self.m_loadingText); self.m_loadingImage = new(Image,"hall/common/loading.png"); self.m_loadingImage:setPos(-100); self.m_loadingImage:addPropRotate(0,kAnimRepeat,1440,0,0,360,kCenterDrawing); node:addChild(self.m_loadingImage) self.m_loadingImage:setAlign(kAlignCenter); node:setAlign(kAlignCenter); local width = self.m_contentView:getParent():getSize(); node:setSize(width, 40); return node; end GameMatchHallRecordRankLayer._setLoadingNodeStatus = function(self, state) if state == GameMatchHallRecordRankLayer.eLoadingStatus.CAN_LOAD then self.m_loadingText:setText("滑动查看全部"); self.m_loadingImage:setVisible(false); elseif state == GameMatchHallRecordRankLayer.eLoadingStatus.LOADING then self.m_loadingText:setText("正在加载..."); self.m_loadingImage:setVisible(true); elseif state == GameMatchHallRecordRankLayer.eLoadingStatus.CAN_NOT_LOAD then self.m_loadingText:setText("没有更多好友了"); self.m_loadingImage:setVisible(false); end end GameMatchHallRecordRankLayer._checkLoadingStatus = function(self) local itemCount = self.m_listView:getItemCount(); local data = self.m_listData; local len = #data; if itemCount >= len and not MatchRecordDataInterface.getInstance():hasMatchRecordRankNext() then self:_setLoadingNodeStatus(GameMatchHallRecordRankLayer.eLoadingStatus.CAN_NOT_LOAD); else self:_setLoadingNodeStatus(GameMatchHallRecordRankLayer.eLoadingStatus.CAN_LOAD); end end GameMatchHallRecordRankLayer._needCreateItem = function(self) if not self.m_needCreateItem or not self.m_listView then return; end local maxItem = MatchRecordDataInterface.getInstance():getRankDataNumberPerPage(); local itemCount = self.m_listView:getItemCount(); local data = self.m_listData; local len = #data; local diff = len-itemCount; if len == 0 then --暂无创建数据 self.m_needCreateItem = false; return; end local index = 0; if diff > 0 then --创建 if diff >= maxItem then index = maxItem; else index = diff; end end local maxIndex = index+itemCount; for k = itemCount+1,maxIndex do self.m_listView:addInvokeOnStop(function () local itemData = data[k]; if itemData then self:_createListItem(itemData); end if k == maxIndex then self.m_needCreateItem = false; end end) end end GameMatchHallRecordRankLayer._updateItem = function (self) local data = self.m_listData; local len = #data; if table.isEmpty(data) then return; end --刷新item属性 local itemCount = self.m_listView:getItemCount(); local minCount = math.min(itemCount, len); for index = 1,minCount do self.m_listView:addInvokeOnStop(function () local itemData = data[index]; local item = self.m_listView:getItem(index); if itemData then item:updateListItem(itemData); end end) end if len - itemCount > 0 then --添加 self.m_needCreateItem = true; self:_needCreateItem(); elseif len - itemCount < 0 then --删除 for index = itemCount, len+1, -1 do local item = self.m_listView:getItem(index); item:removeData(); self.m_listView:addInvokeOnStop(function () self.m_listView:removeItem(index, true); end); end end end --创建一个item GameMatchHallRecordRankLayer._createListItem = function (self,v) local item = new(RecordRankItem, v); self.m_listView:addItem(item); end GameMatchHallRecordRankLayer._updateBottomBanner = function (self) if self.m_listView:isBouncingToBottom() then self:_setLoadingNodeStatus(GameMatchHallRecordRankLayer.eLoadingStatus.LOADING); self.m_needGetNextPage = true; end end GameMatchHallRecordRankLayer.onListViewScroll = function (self,offset) self:_updateBottomBanner(); end --------------------------------------------------------------------------------------- GameMatchHallRecordRankLayer.s_controlConfig = { [GameMatchHallRecordRankLayer.s_controls.contentView] = {"contentView"}; [GameMatchHallRecordRankLayer.s_controls.emptyView] = {"emptyView"}; [GameMatchHallRecordRankLayer.s_controls.loadingView] = {"contentView", "loadingView"}; }; GameMatchHallRecordRankLayer.s_controlFuncMap = { }; GameMatchHallRecordRankLayer.s_cmdConfig = { }; return GameMatchHallRecordRankLayer;
require("nvim-treesitter.configs").setup { ensure_installed = "maintained", highlight = { enable = true, use_languagetree = true, }, incremental_selection = { enable = true, keymaps = { init_selection = "gnn", node_incremental = "grn", scope_incremental = "grc", node_decremental = "grm", }, }, refactor = { highlight_definitions = { enable = true }, highlight_current_scope = { enable = false }, smart_rename = { enable = true, keymaps = { smart_rename = "grr", }, }, }, indent = { enable = true }, context_commentstring = { enable = true, config = { r = "# %s", }, }, autopairs = { enable = true }, textobjects = { select = { enable = true, lookahead = true, -- Automatically jump forward to textobj, similar to targets.vim keymaps = { -- You can use the capture groups defined in textobjects.scm ["af"] = "@function.outer", ["if"] = "@function.inner", ["aC"] = "@class.outer", ["iC"] = "@class.inner", ["ac"] = "@call.outer", ["ic"] = "@call.inner", ["ab"] = "@block.outer", ["ib"] = "@block.inner", ["al"] = "@loop.outer", ["il"] = "@loop.inner", ["ay"] = "@conditional.outer", ["iy"] = "@conditional.inner", ["aP"] = "@parameter.outer", ["iP"] = "@parameter.inner", ["aA"] = "@argument.outer", ["iA"] = "@argument.inner", }, }, move = { enable = true, set_jumps = true, -- whether to set jumps in the jumplist goto_next_start = { ["]f"] = "@function.outer", ["]]"] = "@class.outer", }, goto_next_end = { ["]F"] = "@function.outer", ["]["] = "@class.outer", }, goto_previous_start = { ["[f"] = "@function.outer", ["[["] = "@class.outer", }, goto_previous_end = { ["[F"] = "@function.outer", ["[]"] = "@class.outer", }, }, }, }
--- === plugins.finalcutpro.browser.frameiotomarkers === --- --- Takes the contents of a Frame.io CSV file and adds markers to a clip --- selected in the Final Cut Pro Browser. Only one clip can be selected. local require = require local log = require "hs.logger".new "frameiotomarkers" local dialog = require "cp.dialog" local fcp = require "cp.apple.finalcutpro" local just = require "cp.just" local i18n = require "cp.i18n" local csv = require "csv" -- process() -> nil -- Function -- Processes CSV to Markers. -- -- Parameters: -- * None -- -- Returns: -- * None local function process() -------------------------------------------------------------------------------- -- Request the CSV file: -------------------------------------------------------------------------------- local path = dialog.displayChooseFile(i18n("pickAFrameIOCSVFile") .. ":", "csv") if not path then return end -------------------------------------------------------------------------------- -- Process the CSV file: -------------------------------------------------------------------------------- local data = csv.open(path) if not data then dialog.displayAlertMessage(i18n("problemProcessingCSV")) return end local results = {} local firstLine = true local commentColumn = nil local timecodeColumn = nil for fields in data:lines() do if firstLine then for i, v in ipairs(fields) do if v == "Comment" then commentColumn = i end if v == "Timecode" then timecodeColumn = i end end firstLine = false else local comment = commentColumn and fields[commentColumn] local timecode = timecodeColumn and fields[timecodeColumn] if comment and timecode then table.insert(results, { comment = comment, timecode = timecode, }) else dialog.displayAlertMessage(i18n("problemProcessingCSV")) return end end end if next(results) == nil then dialog.displayAlertMessage(i18n("problemProcessingCSV")) return end -------------------------------------------------------------------------------- -- Make sure the browser is showing: -------------------------------------------------------------------------------- if not fcp.browser:isShowing() then dialog.displayAlertMessage(i18n("atLeastOneBrowserClipMustBeSelected")) return end -------------------------------------------------------------------------------- -- Make sure only one clip is selected in the browser: -------------------------------------------------------------------------------- local selectedClips = fcp.browser.libraries:selectedClips() if not selectedClips or #selectedClips == 0 then dialog.displayAlertMessage(i18n("atLeastOneBrowserClipMustBeSelected")) return elseif #selectedClips ~= 1 then dialog.displayAlertMessage(i18n("onlyOneBrowserClipMustBeSelected")) return end -------------------------------------------------------------------------------- -- Add Markers: -------------------------------------------------------------------------------- for i, v in pairs(results) do -------------------------------------------------------------------------------- -- Goto timecode: -------------------------------------------------------------------------------- local result = fcp.viewer:timecode(v.timecode) if not result then log.df("Current Line: %s", v) dialog.displayErrorMessage(string.format("Could not go to timecode for line %s.", i)) return end -------------------------------------------------------------------------------- -- Add Marker & Modify: -------------------------------------------------------------------------------- local markerPopover = fcp.browser.markerPopover markerPopover:show() result = just.doUntil(function() return markerPopover:isShowing() end) if not result then dialog.displayErrorMessage(string.format("Could not add marker for line %s.", i)) return end -------------------------------------------------------------------------------- -- Set Name & Press "Done": -------------------------------------------------------------------------------- markerPopover:name(v.comment) markerPopover:hide() end -------------------------------------------------------------------------------- -- Success: -------------------------------------------------------------------------------- dialog.displayMessage(i18n("addMarkersToSelectedClipInBrowserFromFrameIOCSVCompleted")) end local plugin = { id = "finalcutpro.browser.frameiotomarkers", group = "finalcutpro", dependencies = { ["finalcutpro.commands"] = "fcpxCmds", } } function plugin.init(deps) -------------------------------------------------------------------------------- -- Setup Command: -------------------------------------------------------------------------------- deps.fcpxCmds :add("addMarkersToSelectedClipInBrowserFromFrameIOCSV") :whenPressed(process) end return plugin
local metadata = { plugin = { format = 'sharedLibrary', staticLibs = {}, frameworks = {}, frameworksOptional = {}, }, } return metadata
require( "iuplua" ) require( "iupluacontrols" ) mat= iup.matrix{numlin=3, numcol=3} mat:setcell(1,1,"Only numbers") mat["mask1:1"] = "/d*" dg = iup.dialog{mat} dg:show() if (iup.MainLoopLevel()==0) then iup.MainLoop() end
local a, b, c, d, e, g a = g or a b = g or b if e then d = g or d e = g or e end
-- Info.lua -- Implements the g_PluginInfo standard plugin description g_PluginInfo = { Name = "GalExport", Date = "2015-06-19", Description = [[ This plugin allows admins to mass-export Gallery areas that they have chosen as "approved". It provides a grouping for those areas and can export either all areas, specified area or a named group of areas. The export can write .schematic files, C++ source code (XPM3-like) or .cubeset files that are used in MCServer for the piece generators, such as Villages. Note that this plugin requires interaction with the WorldEdit plugin - the area bounding-boxes are defined and edited with the help of WorldEdit and its WECUI link. ]], Commands = { ["/ge"] = { Permission = "", HelpString = "", Handler = nil, Subcommands = { approve = { HelpString = "Approves the area where you're standing", Permission = "galexport.approve", Handler = HandleCmdApprove, Alias = {"appr", "a", "accept", "acc"}, ParameterCombinations = { { Params = "GroupName", Help = "Approves the area where you're now standing, adding it to the specified group", }, }, }, -- approve autoselect = { HelpString = "Turns AutoSelect on or off", Permission = "galexport.autoselect", Handler = HandleCmdAutoSelect, Alias = { "as", "asel", "autosel"}, ParameterCombinations = { { Params = "bb", Help = "Automatically selects boundingbox when you enter an approved area", }, { Params = "hb", Help = "Automatically selects hitbox when you enter an approved area", }, { Params = "", Help = "Turns off auto-selection", }, }, }, -- autoselect boundingbox = { HelpString = "Manipulates the bounding boxes for export", Alias = {"bbox", "bb", "b"}, Subcommands = { change = { HelpString = "Updates the bounding box of the area you're standing in to your current WE selection", Permission = "galexport.bbox.change", Alias = {"c", "update", "u"}, Handler = HandleCmdBboxChange, }, -- change show = { HelpString = "Sets your WE selection to the bounding box of the area you're standing in", Permission = "gallexport.bbox.show", Alias = {"s", "view", "v"}, Handler = HandleCmdBboxShow, }, -- show }, -- Subcommands }, -- boundingbox connector = { HelpString = "Manipulates the connectors at individual areas", Alias = {"conn", "c"}, Subcommands = { add = { HelpString = "Adds a new connector at your feet pos and head rotation", Permission = "galexport.conn.add", Alias = "a", Handler = HandleCmdConnAdd, ParameterCombinations = { { Params = "Type", Help = "Adds a new connector of the specified type at your feet pos and head rotation", }, }, }, del = { HelpString = "Deletes a connector", Permission = "galexport.conn.del", Alias = {"d", "delete"}, Handler = HandleCmdConnDel, ParameterCombinations = { Params = "", Help = "Deletes the connector at your feet pos", }, { Params = "ConnectorID", Help = "Deletes the specified connector", }, }, ["goto"] = -- goto is a Lua keyword, so it needs to be "escaped" { HelpString = "Teleports you to the specified connector at the current area", Permission = "galexport.conn.goto", Alias = "g", Handler = HandleCmdConnGoto, ParameterCombinations = { { Params = "ConnectorID", Help = "Teleports you to the specified connector", }, }, }, list = { HelpString = "Lists the connectors for the current area", Permission = "galexport.conn.list", Alias = {"l", "ls"}, Handler = HandleCmdConnList, }, reposition = { HelpString = "Changes the connector's position to your current position", Permission = "galexport.conn.reposition", Handler = HandleCmdConnReposition, Alias = "repos", ParameterCombinations = { { Params = "ConnectorID", Help = "Changes the connector's position to your current position", }, }, }, retype = { HelpString = "Changes the connector's type", Permission = "galexport.conn.retype", Handler = HandleCmdConnRetype, ParameterCombinations = { { Params = "ConnectorID NewType", Help = "Changes the type of the specified connector", }, }, }, shift = { HelpString = "Shifts the connector by the specified block distance", Permission = "galexport.conn.shift", Handler = HandleCmdConnShift, ParameterCombinations = { { Params = "ConnectorID Distance Direction", HelpString = "Shifts the connector by the specified distance in the given direction", }, { Params = "ConnectorID Distance", HelpString = "Shifts the connector by the specified distance in your look direction", }, { Params = "ConnectorID Direction", HelpString = "Shifts the connector by the 1 block in the given direction", }, { Params = "ConnectorID", HelpString = "Shifts the connector by the 1 block in your look direction", }, }, }, }, -- Subcommands }, -- connector disapprove = { HelpString = "Disapproves a previously approved area", Permission = "galexport.disapprove", Alias = {"dis", "da", "d"}, Handler = HandleCmdDisapprove, ParameterCombinations = { { Params = "", Help = "Disapproves the area you're currently standing in", }, }, }, -- disapprove export = { HelpString = "Exports areas", Alias = {"exp", "e"}, Subcommands = { this = { HelpString = "Exports the area you're standing on", Permission = "galexport.export.this", Handler = HandleCmdExportThis, Alias = "t", ParameterCombinations = { { Params = "Format", Help = "Exports the area you're standing on in the specified format", }, }, }, -- this all = { HelpString = "Exports all areas that have been approved", Permission = "galexport.export.all", Handler = HandleCmdExportAll, Alias = "a", ParameterCombinations = { { Params = "Format", Help = "Exports all approved areas in the specified format", }, }, }, -- all group = { HelpString = "Exports all areas in the specified group", Permission = "galexport.export.group", Handler = HandleCmdExportGroup, Alias = {"grp", "g"}, ParameterCombinations = { { Params = "GroupName Format", Help = "Exports all areas in the specified group in the specified format", }, }, }, -- group }, -- Subcommands }, -- export group = { HelpString = "Manages groups of approved areas", Permission = "galexport.group", Alias = {"grp", "g"}, Subcommands = { list = { HelpString = "Lists available groups", Handler = HandleCmdGroupList, Alias = {"ls", "l"}, }, -- list rename = { HelpString = "Renames existing group", Handler = HandleCmdGroupRename, Alias = {"ren", "r"}, ParameterCombinations = { { Params = "FromName ToName", Help = "Renames the group from FromName to ToName", }, }, }, -- rename set = { HelpString = "Sets the group for the current area", Handler = HandleCmdGroupSet, Alias = "s", ParameterCombinations = { Params = "NewGroupName", Help = "Sets the group name for the current area", }, }, -- set }, -- Subcommands }, -- group hitbox = { HelpString = "Manipulates the hit boxes for export", Alias = {"hbox", "hb", "h"}, Subcommands = { change = { HelpString = "Updates the hit box of the area you're standing in to your current WE selection", Permission = "galexport.hbox.change", Alias = {"c", "update", "u"}, Handler = HandleCmdHboxChange, }, -- change show = { HelpString = "Sets your WE selection to the hit box of the area you're standing in", Permission = "gallexport.hbox.show", Alias = {"s", "view", "v"}, Handler = HandleCmdHboxShow, }, -- show }, -- Subcommands }, -- hitbox info = { HelpString = "Shows export-related information for the current area", Permission = "galexport.info", Alias = "i", Handler = HandleCmdInfo, }, -- info listapproved = { HelpString = "Shows a list of all the approved areas.", Permission = "galexport.listapproved", Alias = {"la", "list"}, Handler = HandleCmdListApproved, ParameterCombinations = { { Params = "GroupName", Help = "Shows only the approved areas from the given group", }, { Params = "", Help = "Shows all the approved areas from every group", }, }, }, -- listapproved name = { HelpString = "Sets the export name for the approved area you're standing in", Permission = "galexport.name", Alias = "n", Handler = HandleCmdName, ParameterCombinations = { { Params = "Name", Help = "Sets the export name for the approved area you're standing in", }, }, }, -- name set = { HelpString = "Sets a metadata value for the current area", Permission = "galexport.set", Handler = HandleCmdSet, ParameterCombinations = { { Params = "", Help = "Lists the metadata available for setting", }, { Params = "Name Value", Help = "Sets the metadata named Name to value Value", }, }, }, -- set sponge = { HelpString = "Helps with \"sponging\" the areas for export", DevNotes = "Note that the area needn't be approved, sponging works on non-approved areas, too", Permission = "galexport.sponge", Alias = {"sp"}, Subcommands = { hide = { HelpString = "Hides the sponges for the current area, discarding the changes", Handler = HandleCmdSpongeHide, Alias = "h", }, save = { HelpString = "Saves the sponges for the current area, overwriting anything stored before", Handler = HandleCmdSpongeSave, Alias = "sa", }, show = { HelpString = "Shows the sponges for the current area", Handler = HandleCmdSpongeShow, Alias = "sh", }, }, -- Subcommands }, -- sponge structurebox = { HelpString = "Manipulates the StructureBox property of an area", Alias = {"sbox", "sb"}, Subcommands = { change = { HelpString = "Updates the structure box of the area you're standing in to your current WE selection", Permission = "galexport.sbox.change", Alias = {"c", "update", "u"}, Handler = HandleCmdSboxChange, }, -- change show = { HelpString = "Sets your WE selection to the structure box of the area you're standing in", Permission = "gallexport.sbox.show", Alias = {"s", "view", "v"}, Handler = HandleCmdSboxShow, }, -- show }, -- Subcommands }, -- structurebox unset = { HelpString = "Removes metadata value for the current area", Handler = HandleCmdUnset, ParameterCombinations = { { Params = "name", Help = "Removes the specified metadata from the current area", }, }, }, -- unset }, -- Subcommands }, -- ["/ge"] }, -- Commands ConsoleCommands = { ge = { HelpString = "Exports the gallery areas marked as approved", Subcommands = { all = { HelpString = "Exports all the approved areas", Handler = HandleConExportAll, }, evolve = { HelpString = "Fixes various issues that have evolved during GalExport's lifetime, such as converting ShouldExpandFloor metadata to ExpandFloorStrategy metadata", Handler = HandleConEvolve, }, group = { HelpString = "Exports the approved areas in the specified group", Handler = HandleConExportGroup, }, meta = { HelpString = "Manipulates group metadata", Subcommands = { list = { HelpString = "Lists all metadata values for a single group", Handler = HandleConMetaList, ParameterCombinations = { { Params = "GroupName", Help = "Lists the metadata assigned to the specified group", }, }, }, -- list set = { HelpString = "Sets a metadata value for a single group", Handler = HandleConMetaSet, ParameterCombinations = { { Params = "GroupName MetaName MetaValue", Help = "Sets the specified group's metadata", }, }, }, -- set }, -- Subcommands }, -- meta } -- Subcommands } -- ge }, -- ConsoleCommands } -- g_PluginInfo
project "Example" local ROOT = "../../" kind "ConsoleApp" language "C++" defines {} flags { "MultiProcessorCompile", "NoMinimalRebuild" } if _ACTION == "vs2019" then cppdialect "C++17" location (ROOT .. "builds/VisualStudio2019/projects") end targetdir (ROOT .. "builds/bin/" .. outputdir .. "/%{prj.name}") objdir (ROOT .. "builds/bin-int/" .. outputdir .. "/%{prj.name}") local SOURCE_DIR = "source/" files { SOURCE_DIR .. "**.h", SOURCE_DIR .. "**.cpp", } includedirs { } buildcustomizations "BuildCustomizations/CUDA 11.6" cudaFiles {"sandbox/example/" .. SOURCE_DIR .. "**.cu"} cudaMaxRegCount "32" cudaCompilerOptions {"-arch=sm_75", "-gencode=arch=compute_75,code=sm_75", "--extended-lambda", "-t0"} filter "configurations:release" cudaFastMath "On" filter ""
--[[ Fluid Nullifiers are used to discard any unwanted fluids. Where does it go? /dev/null maybe? ]] local fluid_interface = {} function fluid_interface:get(_pos, _dir) return nil end function fluid_interface:replace(pos, dir, fluid_stack, commit) return fluid_stack end function fluid_interface:fill(pos, dir, fluid_stack, commit) return fluid_stack end function fluid_interface:drain(pos, dir, fluid_stack, commit) return nil end minetest.register_node("yatm_machines:fluid_nullifier", { description = "Fluid Nullifier", groups = { cracky = 1, fluid_interface_in = 1, }, tiles = { "yatm_fluid_nullifier_side.on.png", }, paramtype = "none", paramtype2 = "facedir", fluid_interface = fluid_interface, })
--[[Room Building program by Al Sweigart Builds a room of four walls.]] os.loadAPI('hare') -- handle command line arguments local cliArgs = {...} local length = tonumber(cliArgs[1]) local width = tonumber(cliArgs[2]) local height = tonumber(cliArgs[3]) if length == nil or width == nil or height == nil or cliArgs[1] == '?' then print('Usage: buildroom <length> <width> <height>') return end print('Building...') if hare.buildRoom(length, width, height) == false then error('Not enough blocks.') end print('Done.')
local menu_simulations = {} menu_simulations.forest_fire = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-forest-fire.zip", length = 60 * 20, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ local dx = 0 local dy = 0 if game.tick % 3000 < 1000 then dx = 0.01 elseif game.tick % 3000 < 2000 then dx = -0.01 end if (game.tick + 1500) % 3000 < 1000 then dy = 0.01 elseif (game.tick + 1500) % 3000 < 2000 then dy = -0.01 end game.camera_position = {game.camera_position.x + dx*0, game.camera_position.y + dy*0} ]] } menu_simulations.solar_power_construction = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-solar-power-construction.zip", length = 60 * 7, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 local blueprint_string_1 = '0eNqd2dtq4zAUBdB/0bNbLOvuXyllcDKmGBw7+FIagv99cmFoodqWznlLQr2KhfaOdXIVh35tz1M3LKK+iu44DrOo365i7j6Gpr9/tlzOrahFt7QnUYihOd3fzWPfTC/nZmh7sRWiG/62X6KW23sh2mHplq59Mo83lz/Dejq00+0PokAhzuN8u2Yc7v/v5rw49WoKcbm9kqF8NdtW/KKqXKpMUiqTsi5J6VxKJymTS8kkZTMp45OUy6R0+gZ9LpW+wZBJqfQNyjLXMmkrd7+rKm3lbvgqpC1Fz6F3wNL0IELL0JMILUuPIrQcPYvQ8vQwQivQ04isqqTHEVqSnkdoVfQ8QkvR8wgtTc8jtAwjjxpYlpFHZH3v++Z4XE9r3yzjFNv3/r8Ud3yuY/edkOvoXUeVjDyDNVKSkWdkVYw8I0sx8owsnbnuKuyvu8l13L5jcx2z7zhGH6A18ow+QFZg9IEET6Qlow+QJcl9oKLOj32+HualeVy7VwdxRpHrIO5oRh2gJTKMOkCWZdQBshyjDpDlyXUQX/eQtw2+2yDKmJLcBnGH8bSOlsgwntahpcipk1FHk7+F444hxy7uWPI2ijuO/K0Sdzx5H8UdRns7D07ujPaGlqSfrqBV0U9X0FL0+oWWptcvtAy9fqFl6fULLUc/XUHL009X0Ar0/kSWK+n9CS3G1NEZYDHGjtBizB2hxRg8QosxeYQWY/QILcbsEVqM4SO0GNNHZHnG9BFajOcZaDGeZ57We/H86aD+8UtDIT7baX5cVXmpXaictM4FF7btH3fkxKI=' local blueprint_string = '0eNqd191qhDAQBeB3mWt3MTHmx1cppbjbUAIaRWOpLL57XUvpQjOrkzsj5hPmHAi5waWZbD84H6C6gbt2foTq5Qaj+/B1c38X5t5CBS7YFjLwdXtfjV1TD6e+9raBJQPn3+0XVGx5zcD64IKzP8y2mN/81F7ssH4QBTLou3Hd0/n7/1bnJIpzmcG8PjHDzuWyZP8ofpTKd6niIFWoXUocpcQuVR6l2C4lD1Jc71KKnqDWcUrTE8QoQ08Qo1hOjxC1GD1D1OL0EFGrSEixRCyRECNm/XW+vl6ndmrq0A2xeelfSUYdedSRzx111BHPHZ3QA2xGJqEHiMVz8rxF1Hno+XQZQ73tfTbuOMPJ4447KfXmyIhS6o1Z9HrzqEOvd9yh1zvupNQbm1FKvRGryOk9UAaxGL0HqMXpxxVqFfTjCrUEPUfUKuk5opZMyFEilkrIEbN0Qo6YZRJyRCyRJ+SIWSwhx81arwLbnaF6uGJk8GmHcdvFNRPKcMWkUkaZZfkGTxv4MA==' local inventory = game.create_inventory(1) local stack = inventory[1] stack.import_stack(blueprint_string) local function build_blueprint(position) stack.build_blueprint{ surface = 'nauvis', position = position, force = 'player', force_build = true } end local tiktok = { [0.5 * 60] = {-36, -184}, [1 * 60] = {-67, -184}, [4 * 60] = {-36, -184-18}, [math.floor(4.1 * 60)] = {-36+18, -184-18}, [4.2 * 60] = {-36+18, -184}, [4.3 * 60] = {-36+18, -184+18}, [4.4 * 60] = {-36, -184+18}, [4.5 * 60] = {-67, -184+18}, [4.6 * 60] = {-67-18, -184+18}, [4.7 * 60] = {-67-18, -184}, [4.8 * 60] = {-67-18, -184-18}, [4.9 * 60] = {-67, -184-18}, } local start_tick = game.tick script.on_event(defines.events.on_tick, function() local tick_from_start = game.tick - start_tick local position = tiktok[tick_from_start] if position then build_blueprint(position) end end) ]], update = [[ ]] } menu_simulations.lab = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-lab.zip", length = 60 * 10, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0.5 ]], update = [[ ]] } menu_simulations.burner_city = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-burner-city.zip", length = 60 * 10, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0.5 ]], update = [[ ]] } menu_simulations.mining_defense = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-mining-defense.zip", length = 60 * 15, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 game.forces.enemy.evolution_factor = 0.11 ]], update = [[ ]] } menu_simulations.biter_base_steamrolled = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-biter-base.zip", length = 60 * 10, init = [[ local surface = game.surfaces.nauvis local logo = surface.find_entities_filtered{name = "factorio-logo-11tiles"}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} center = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false surface.daytime = 0 game.forces.enemy.evolution_factor = 0.3 surface.peaceful_mode = true local count = 120 script.on_nth_tick(2, function() count = count - 2 if count <= 0 then for i=0,20 do local y = game.camera_position.y - 20 + i * 2 local x = game.camera_position.x - 40 local character = surface.create_entity{ name = "character", position = {x, y}, force = "player" } character.color = {1, 0, 0, 0.5} local tank = surface.create_entity{ name = "tank", position = {x, y}, force = "player" } tank.orientation = 0.25 tank.insert{name = "rocket-fuel", count = 3} tank.speed = 0.5 tank.set_driver(character) character.riding_state = { acceleration = defines.riding.acceleration.accelerating, direction = defines.riding.direction.straight } end script.on_nth_tick(2, nil) end end) local wube_logo_position = {-499.5, 43.5} script.on_nth_tick(1, function() if surface.count_entities_filtered{position = wube_logo_position, radius = 3, name = "tank"} > 0 then local tiles = {} for x=-3,3 do for y=-3,3 do table.insert(tiles, {name = "dirt-1", position = {wube_logo_position[1] + x, wube_logo_position[2] + y}}) end end surface.set_tiles(tiles) end end) ]] } menu_simulations.biter_base_spidertron = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-biter-base.zip", length = 60 * 12, init = [[ local surface = game.surfaces.nauvis local logo = surface.find_entities_filtered{name = "factorio-logo-11tiles"}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} center = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false surface.daytime = 0 game.forces.enemy.evolution_factor = 1 surface.peaceful_mode = true spider = surface.create_entity{name = "spidertron", position = {logo.position.x - 30, logo.position.y + 60}, force = "player"} spider.force.research_all_technologies() local grid = spider.grid grid.put{name = "fusion-reactor-equipment"} grid.put{name = "personal-laser-defense-equipment"} grid.put{name = "personal-laser-defense-equipment"} grid.put{name = "personal-laser-defense-equipment"} spider.insert({name = "rocket", count = 800}) points = { {-16, -8}, {0, -12}, {16, -8}, {16, 0}, {60, 60}, } local bonk = function() local k, position = next(points) if not k then return end points[k] = nil local x = position[1] + center[1] local y = position[2] + center[2] spider.autopilot_destination = {x, y} end bonk() script.on_event(defines.events.on_spider_command_completed, function(event) bonk() end) ]] } menu_simulations.biter_base_artillery = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-biter-base.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false game.camera_position = {logo.position.x, logo.position.y+9.75} center = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 game.forces.enemy.evolution_factor = 0.7 local bases = {} local get = function() bases = game.surfaces[1].find_entities_filtered{force = "enemy", position = center, radius = 32} for k, v in pairs (bases) do local i = math.random(#bases) bases[k], bases[i] = bases[i], bases[k] end end local badonk = function(position, fluff) local x = position.x + ((math.random() - 0.5) * fluff * 2) local y = position.y + ((math.random() - 0.5) * fluff * 2) return {x, y} end get() local donk = function() local k, base = next(bases) if not k then if not badink then get() badink = true end return end bases[k] = nil if not base.valid then return end game.surfaces[1].create_entity{name = "artillery-projectile", position = {center[1]-80, center[2]-80}, force = "player", target = badonk(base.position, base.get_radius()), speed = 1} end script.on_nth_tick(17, donk) script.on_nth_tick(23, donk) script.on_nth_tick(29, donk) script.on_event(defines.events.on_entity_died, function() if not badoob then for k, v in pairs (game.surfaces[1].find_enemy_units(center, 32, "player")) do if not (v.command and v.command.type == defines.command.go_to_location) then v.set_command{type = defines.command.go_to_location, destination = {center[1] + 80, center[2] + 20}} end end end end) ]] } menu_simulations.biter_base_player_attack = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-biter-base.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false game.camera_position = {logo.position.x, logo.position.y+9.75} center = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.forces.enemy.evolution_factor = 0.5 game.surfaces[1].peaceful_mode = true game.forces.player.research_all_technologies() game.surfaces.nauvis.daytime = 0 local character = game.surfaces[1].create_entity{name = "character", position = {center[1] - 40, center[2] - 20}, force = "player"} character.insert{name = "heavy-armor"} character.insert{name = "submachine-gun"} character.insert{name = "piercing-rounds-magazine", count = 50} character.insert{name = "grenade", count = 50} points = { {-20, -8}, {-20, 8}, {-40, 20}, {0, -12}, {16, -8}, {16, 0}, {8, 8}, {60, 8}, } local distance = function(p_1, p_2) local dx = (p_1[1] or p_1.x) - (p_2[1] or p_2.x) local dy = (p_1[2] or p_1.y) - (p_2[2] or p_2.y) return ((dx * dx) + (dy * dy)) ^ 0.5 end local direction = function(p_1, p_2) local d_x = (p_2[1] or p_2.x) - (p_1[1] or p_1.x) local d_y = (p_2[2] or p_2.y) - (p_1[2] or p_1.y) local angle = math.atan2(d_y, d_x) local orientation = (angle / (2 * math.pi)) - 0.25 if orientation < 0 then orientation = orientation + 1 end local direction = math.floor((orientation * 8) + 0.5) if direction == 8 then direction = 0 end return direction end local get_shoot_target = function(entity) local enemies = entity.surface.find_entities_filtered{force = "enemy", type = {"unit-spawner", "turret", "unit"}, position = entity.position, radius = 15} local closest = entity.surface.get_closest(entity.position, enemies) return closest end local badonk = function(position, fluff) local x = position.x + ((math.random() - 0.5) * fluff * 2) local y = position.y + ((math.random() - 0.5) * fluff * 2) return {x, y} end script.on_event(defines.events.on_tick, function() if not character.valid then return end local k, destination = next(points) if not k then return end local target = {center[1] + destination[1], center[2] + destination[2]} if distance(character.position, target) < 1 then points[k] = nil return end if game.tick % 17 == 0 then local walking_direction = direction(target, character.position) character.walking_state = {walking = true, direction = walking_direction} end if not (shoot_target and shoot_target.valid) or game.tick % 123 == 0 then shoot_target = get_shoot_target(character) end if shoot_target then character.shooting_state = {state = defines.shooting.shooting_enemies, position = shoot_target.position} if game.tick % 31 == 0 then character.surface.create_entity{name = "grenade", position = character.position, speed = 0.3, target = badonk(shoot_target.position, 2), force = "player"} end else character.shooting_state = {state = defines.shooting.not_shooting} end end) ]] } menu_simulations.biter_base_laser_defense = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-biter-base.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false game.camera_position = {logo.position.x, logo.position.y+9.75} center = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.forces.enemy.evolution_factor = 0.7 game.surfaces[1].peaceful_mode = true game.forces.player.research_all_technologies() game.surfaces.nauvis.daytime = 0 local character = game.surfaces[1].create_entity{name = "character", position = {center[1] - 40, center[2] + 20}, force = "player"} character.insert{name = "power-armor-mk2"} local grid = character.get_inventory(defines.inventory.character_armor)[1].grid grid.put{name = "exoskeleton-equipment"} grid.put{name = "exoskeleton-equipment"} for k = 1, 10 do grid.put{name = "personal-laser-defense-equipment"} grid.put{name = "energy-shield-mk2-equipment"} grid.put{name = "battery-mk2-equipment"} grid.put{name = "battery-mk2-equipment"} end for k, equipment in pairs(grid.equipment) do if equipment.max_shield > 0 then equipment.shield = equipment.max_shield end equipment.energy = equipment.max_energy end character.insert{name = "submachine-gun"} character.insert{name = "uranium-rounds-magazine", count = 50} points = { {-16, -8}, {0, -12}, {16, -8}, {16, 0}, {8, 8}, {60, 8}, } local distance = function(p_1, p_2) local dx = (p_1[1] or p_1.x) - (p_2[1] or p_2.x) local dy = (p_1[2] or p_1.y) - (p_2[2] or p_2.y) return ((dx * dx) + (dy * dy)) ^ 0.5 end local direction = function(p_1, p_2) local d_x = (p_2[1] or p_2.x) - (p_1[1] or p_1.x) local d_y = (p_2[2] or p_2.y) - (p_1[2] or p_1.y) local angle = math.atan2(d_y, d_x) local orientation = (angle / (2 * math.pi)) - 0.25 if orientation < 0 then orientation = orientation + 1 end local direction = math.floor((orientation * 8) + 0.5) if direction == 8 then direction = 0 end return direction end local get_shoot_target = function(entity) local enemies = entity.surface.find_enemy_units(entity.position, 10) local closest = entity.surface.get_closest(entity.position, enemies) return closest end script.on_event(defines.events.on_tick, function() local k, destination = next(points) if not k then return end local target = {center[1] + destination[1], center[2] + destination[2]} if distance(character.position, target) < 1 then points[k] = nil return end if game.tick % 17 == 0 then local walking_direction = direction(target, character.position) character.walking_state = {walking = true, direction = walking_direction} end if not (shoot_target and shoot_target.valid) then shoot_target = get_shoot_target(character) end if shoot_target then character.shooting_state = {state = defines.shooting.shooting_enemies, position = shoot_target.position} else character.shooting_state = {state = defines.shooting.not_shooting} end end) ]] } menu_simulations.artillery = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-artillery.zip", length = 60 * 22, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.train_junction = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-train-junction.zip", length = 60 * 10, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.oil_pumpjacks = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-oil-pumpjacks.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.oil_refinery = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-oil-refinery.zip", length = 60 * 20, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.early_smelting = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-early-smelting.zip", length = 60 * 10, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.train_station = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-train-station.zip", length = 60 * 16, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.logistic_robots = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-logistic-robots.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.nuclear_power = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-nuclear-power.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] game.camera_position = {logo.position.x, logo.position.y+9.75} game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 ]], update = [[ ]] } menu_simulations.chase_player = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-chase-player.zip", length = 60 * 16, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] local center = {logo.position.x, logo.position.y+9.75} game.camera_position = center game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 0 game.map_settings.steering.moving.force_unit_fuzzy_goto_behavior = true game.map_settings.steering.moving.radius = 1 local character = game.surfaces[1].create_entity{name = "character", position = {center[1] - 55, center[2] + 4.5}, force = "player"} character.walking_state = {walking = true, direction = 2} character.character_running_speed_modifier = 0.2 character.tick_of_last_attack = game.tick local biter = game.surfaces[1].create_entity{name = "small-biter", position = {center[1] - 40, center[2] + 4.5}} biter.speed = character.character_running_speed biter.set_command{type = defines.command.go_to_location, destination = {center[1] + 60, center[2] + 4.5}, distraction = defines.distraction.none} script.on_nth_tick(10, function() if biter.position.x < (center[1] + 50) then return end character.walking_state = {walking = true, direction = 6} character.tick_of_last_attack = 0 character.character_running_speed_modifier = 0.6 local command = {type = defines.command.go_to_location, destination_entity = character, distraction = defines.distraction.none} biter.set_command(command) biter.speed = character.character_running_speed local position = biter.position local surface = game.surfaces[1] local names = {"medium-biter", "small-biter", "small-biter", "small-biter"} for k = 1, 25 do local spawn_position = {position.x + math.random(-5, 5), position.y + math.random(-10, 10)} local name = names[math.random(#names)] local biter = surface.create_entity{name = name, position = position} biter.set_command(command) biter.speed = character.character_running_speed end script.on_nth_tick(10, nil) end) ]] } menu_simulations.big_defense = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-big-defense.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false local center = {logo.position.x, logo.position.y+9.75} game.camera_position = center game.camera_zoom = 1 game.tick_paused = false game.surfaces.nauvis.daytime = 1 game.map_settings.steering.moving.force_unit_fuzzy_goto_behavior = true game.map_settings.steering.moving.radius = 3 local bop = function() local surface = game.surfaces[1] local target = surface.find_entities_filtered{name = "flamethrower-turret", position = {33.5, -12}}[1] local names = {"medium-biter", "medium-biter", "big-biter", "big-biter", "big-spitter", "medium-spitter"} for k = 1, 100 do local spawn_position = {center[1] - 60 + math.random(-35, 5), center[2] + math.random(-10, 10)} local name = names[math.random(#names)] local biter = surface.create_entity{name = name, position = spawn_position} biter.set_command({type = defines.command.attack, target = target}) biter.speed = 0.24 + (math.random() / 20) end end bop() ]] } menu_simulations.brutal_defeat = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-brutal-defeat.zip", length = 60 * 18, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false local center = {logo.position.x, logo.position.y+9.75} game.camera_position = center game.camera_zoom = 1 game.tick_paused = false game.map_settings.steering.moving.force_unit_fuzzy_goto_behavior = true game.map_settings.steering.moving.radius = 2 game.forces.enemy.set_ammo_damage_modifier("melee", 10) game.forces.enemy.set_ammo_damage_modifier("biological", 10) game.forces.enemy.set_gun_speed_modifier("melee", 0.5) game.forces.enemy.set_gun_speed_modifier("biological", 0.5) local bop = function() local surface = game.surfaces[1] local targets = surface.find_entities_filtered{force = "player", position = {center[1] + 25, center[2]}, radius = 10} local count = #targets local names = {"medium-biter", "small-biter", "small-biter", "small-biter", "small-biter", "small-biter", "small-spitter"} for k = 1, 350 do local spawn_position = {center[1] - 40 + math.random(-55, 5), center[2] + 10 + math.random(-5, 5)} local name = names[math.random(#names)] local biter = surface.create_entity{name = name, position = spawn_position} biter.set_command { type = defines.command.compound, structure_type = defines.compound_command.return_last, commands = { {type = defines.command.attack, target = targets[math.random(count)]}, {type = defines.command.attack_area, destination = {center[1] + 20, center[2]}, radius = math.random(5, 10)}, {type = defines.command.attack_area, destination = {center[1] + 35, center[2]}, radius = math.random(2, 5)}, {type = defines.command.go_to_location, destination = {center[1] + 120, center[2]}} } } biter.speed = 0.24 + (math.random() / 20) end end bop() ]] } menu_simulations.spider_ponds = { checkboard = false, save = "__base__/menu-simulations/menu-simulation-spider-ponds.zip", length = 60 * 12, init = [[ local logo = game.surfaces.nauvis.find_entities_filtered{name = "factorio-logo-11tiles", limit = 1}[1] logo.destructible = false local center = {logo.position.x, logo.position.y+9.75} game.camera_position = center game.camera_zoom = 1 game.tick_paused = false local spider = game.surfaces.nauvis.find_entities_filtered{name = "spidertron", limit = 1}[1] points = { {-16, -8}, {0, -12}, {16, -8}, {16, 0}, {60, 60}, } local bonk = function() local k, position = next(points) if not k then return end points[k] = nil local x = position[1] + center[1] local y = position[2] + center[2] spider.autopilot_destination = {x, y} end bonk() script.on_event(defines.events.on_spider_command_completed, function(event) bonk() end) ]] } return menu_simulations
local propPerfMap_Common = script:GetCustomProperty("PerfMap_Common") local pmc = require(propPerfMap_Common) local propRoot = script:GetCustomProperty("root"):WaitForObject() local propNetworkDataObj = script:GetCustomProperty("NetworkDataObj"):WaitForObject() local propPerfGlowSphere = script:GetCustomProperty("perfGlowSphere") local propAuthorizedUsers = propRoot:GetCustomProperty("AuthorizedUsers") local propGridResolution = propRoot:GetCustomProperty("GridResolution") local propImportedData = propRoot:GetCustomProperty("ImportedData") local propTime_Green = propRoot:GetCustomProperty("Time_Green") local propTime_Yellow = propRoot:GetCustomProperty("Time_Yellow") local propTime_Red = propRoot:GetCustomProperty("Time_Red") local propPerfUI = script:GetCustomProperty("PerfUI"):WaitForObject() local propGreenMs = script:GetCustomProperty("GreenMs"):WaitForObject() local propYellowMs = script:GetCustomProperty("YellowMs"):WaitForObject() local propRedMs = script:GetCustomProperty("RedMs"):WaitForObject() propPerfUI.isEnabled = false local BROADCAST_FREQ = 5 -- FPS tracker: local lastBroadcast = -1 local samples = {} local player = Game.GetLocalPlayer() local isViewingData = false local spawnedOrbs = {} function BroadcastSampleData() local dataTable = {} local count = 0 for k,v in pairs(samples) do if count > 6 then break end count = count + 1 local sampleA, sampleB = pmc.PackSample(k, v, propGridResolution) --print(sampleA, sampleB) table.insert(dataTable, sampleA) table.insert(dataTable, sampleB) end --print("Broadcasting", count, "samples") -- Quick and dirty "reliable broadcast". Task.Spawn(function() local data = {table.unpack(dataTable)} local success = false for i = 0, 3 do if Events.BroadcastToServer("PFD", table.unpack(data)) == BroadcastEventResultCode.SUCCESS then return end Task.Wait(0.6) end end) samples = {} end function Tick(deltaTime) local currentTime = time() local gridPos = pmc.PosToGridKey(player:GetWorldPosition(), propGridResolution) if samples[gridPos] == nil then samples[gridPos] = math.ceil(deltaTime * 1000) else samples[gridPos] = math.max(samples[gridPos], deltaTime) end if currentTime > lastBroadcast + BROADCAST_FREQ then if lastBroadcast ~= -1 then -- skip the first one BroadcastSampleData() end lastBroadcast = currentTime end end function GetOrbColor(fps) if fps < propTime_Green then return Color.GREEN elseif fps < propTime_Yellow then return Color.Lerp(Color.GREEN, Color.YELLOW, (fps - propTime_Green)/(propTime_Yellow - propTime_Green)) elseif fps < propTime_Red then return Color.Lerp(Color.YELLOW, Color.RED, (fps - propTime_Yellow)/(propTime_Red - propTime_Yellow)) elseif fps < 100 then return Color.Lerp(Color.RED, Color.BLACK, (fps - propTime_Red)/(100 - propTime_Red)) else return Color.BLACK end end function GetOrbSize(count, maxCount) local amt = (count + maxCount) / (maxCount * 2) return 3 * amt end function StartViewingData() -- grab data local rawData = propNetworkDataObj:GetCustomProperty("perfData") if propImportedData ~= nil and #propImportedData > 0 then rawData = propImportedData end print(propImportedData) --print("rawData len:", #rawData) local orbData = {} local maxCount = 0 while #rawData > 0 do strSample = rawData:sub(1, pmc.strDataLen) rawData = rawData:sub(pmc.strDataLen + 1) --local rawSample = pmc.UnpackString(strSample) --local vec, val = pmc.UnpackSampleCombined(rawSample) local x, y, z, max, total, count = pmc.UnpackString(strSample) local vec = Vector3.New(x, y, z) local avg = total / count local orb = World.SpawnAsset(propPerfGlowSphere, {parent = script.parent}) local propWorldTextContainer = orb:GetCustomProperty("WorldTextContainer"):WaitForObject() local propWorldText = orb:GetCustomProperty("WorldText"):WaitForObject() orb:SetWorldPosition(vec * propGridResolution + Vector3.ONE * propGridResolution * 0.5) orbData[orb] = {average = avg, count = count} propWorldText.text = string.format("%.1f\n%dfps", avg, math.floor(1000/avg)) propWorldTextContainer:LookAtLocalView() table.insert(spawnedOrbs, orb) maxCount = math.max(maxCount, count) end for orb, data in pairs(orbData) do local colorLerp = GetOrbColor(data.average) if colorLerp then orb:SetColor(colorLerp) else print("---", data.average) end local size = GetOrbSize(data.count, maxCount) --orb:SetScale(Vector3.New(size, size, 100)) orb:SetScale(Vector3.ONE * size) end -- translate it into a list -- spawn some orbs isViewingData = true propGreenMs.text = tostring(propTime_Green) propYellowMs.text = tostring(propTime_Yellow) propRedMs.text = tostring(propTime_Red) propPerfUI.isEnabled = true propPerfUI.visibility = Visibility.INHERIT end function StopViewingData() for k,v in pairs(spawnedOrbs) do v:Destroy() end isViewingData = false spawnedOrbs = {} propPerfUI.isEnabled = false end -- Debug chat hooks function OnChatReceived(speaker, params) if params.message == "#perf-clear" then Events.BroadcastToServer("perf-Clear") params.message = "" elseif params.message == "#perf-showmap" then Events.BroadcastToServer("perf-Download") StartViewingData() params.message = "" elseif params.message == "#perf-hidemap" then StopViewingData() params.message = "" end end function OnDebugDataChanged(owner, propertyName) if isViewingData then -- Force the data to refresh. StopViewingData() StartViewingData() end end Chat.receiveMessageHook:Connect(OnChatReceived) propNetworkDataObj.networkedPropertyChangedEvent:Connect(OnDebugDataChanged)
-- compare two times with helper function local time_now = '12:12:08' local other_time = '11:12:08' -- lvalue > rvalue return compare_times(time_now, other_time)
local has_lsp, lspconfig = pcall(require, "lspconfig") if not has_lsp then return end local function buf_noremap(buffer, mode, lhs, rhs) local opts = { noremap = true, silent = true } vim.api.nvim_buf_set_keymap(buffer, mode, lhs, rhs, opts) end local filetype_attach = setmetatable({ go = function(client) vim.cmd [[ augroup LSPBufFormat autocmd! BufWritePre <buffer> autocmd BufWritePre <buffer> lua vim.lsp.buf.formatting_sync() augroup END ]] end, }, { -- For non-existent indexes return an empty function __index = function() return function() end end, }) local buf_nnoremap = function(lhs, rhs) buf_noremap(0, "n", lhs, rhs) end local buf_inoremap = function(lhs, rhs) buf_noremap(0, "i", lhs, rhs) end local custom_attach = function(client) local filetype = vim.api.nvim_buf_get_option(0, "filetype") -- Signature help in Insert mode buf_inoremap("<C-s>", "<Cmd>lua vim.lsp.buf.signature_help()<CR>") -- Declarations, definitions, references buf_nnoremap("gD", "<Cmd>lua vim.lsp.buf.declaration()<CR>") buf_nnoremap("gd", "<Cmd>lua vim.lsp.buf.definition()<CR>") buf_nnoremap("gT", "<Cmd>lua vim.lsp.buf.type_definition()<CR>") buf_nnoremap("gr", "<Cmd>lua vim.lsp.buf.references()<CR>") -- Hover buf_nnoremap("K", "<Cmd>lua vim.lsp.buf.hover()<CR>") -- Rename buf_nnoremap("<Space>rn", "<Cmd>lua vim.lsp.buf.rename()<CR>") -- Code Actions buf_nnoremap("<Space>ca", "<Cmd>lua vim.lsp.buf.code_action()<CR>") -- Enable completion triggered by <C-x><C-o> vim.bo.omnifunc = "v:lua.vim.lsp.omnifunc" -- Refresh Code Lens if client.resolved_capabilities.code_lens then vim.cmd [[ augroup LSPDocumentCodeLens autocmd! * <buffer> autocmd BufWritePost,CursorHold <buffer> lua vim.lsp.codelens.refresh() augroup END ]] end -- Attach filetype specific options filetype_attach[filetype](client) end local updated_capabilities = vim.lsp.protocol.make_client_capabilities() updated_capabilities.textDocument.codeLens = { dynamic_registration = false } updated_capabilities = require("cmp_nvim_lsp").update_capabilities(updated_capabilities) return { on_attach = custom_attach, capabilities = updated_capabilities, }
TOOL.Category = "SCars" TOOL.Name = "#tool.carspawner.title" TOOL.Command = nil TOOL.ConfigName = "" cleanup.Register( "SCars" ) TOOL.LastCategory = "All" TOOL.ClientConVar = { model = "sent_sakarias_car_junker1", select = "1", category = "All", } if CLIENT then end function TOOL:Deploy() if (CLIENT) then local CPanel = controlpanel.Get( "carspawner" ) if ( !CPanel ) then return end CPanel:ClearControls() CPanel:AddControl( "Header", { Text = "#tool_carspawner_name", Description = "#tool_carspawner_desc" } ) ThaMaterialBox = {} ThaMaterialBox.Label = "Cars" ThaMaterialBox.MenuButton = 0 ThaMaterialBox.Height = 100 ThaMaterialBox.Width = 100 ThaMaterialBox.Rows = 2 ThaMaterialBox.Options = list.Get( "scar_carList" ) CPanel:AddControl("MaterialGallery", ThaMaterialBox) end return true end function TOOL:LeftClick( trace ) if ( trace.Entity && trace.Entity:IsPlayer() ) then return false end if ( SERVER && !util.IsValidPhysicsObject( trace.Entity, trace.PhysicsBone ) ) then return false end if (CLIENT) then return true end local ply = self:GetOwner() if !CanUseSCarTool("scar_carspawner", ply) then return false end if SCarGetFastConvar["scar_scarspawnadminonly"] == 1 and ply:IsAdmin() == false then ply:PrintMessage( HUD_PRINTTALK, "Only admins are allowed to spawn SCars") return false end local MaxCarsAllowed = GetConVarNumber( "scar_maxscars" ) local nrOfCars = ply:GetCount( "SCar" ) local CarNum = self:GetClientNumber( "select" ) local model = string.lower(self:GetClientInfo( "model" )) local carInfo = SCarRegister:GetInfo( model ) if !game.SinglePlayer() and carInfo and carInfo.AdminOnly and !ply:IsAdmin() and GetConVarNumber( "scar_admincarspawn" ) == 0 then ply:PrintMessage( HUD_PRINTTALK, carInfo.Name.." is admin only") return false end if !game.SinglePlayer() and nrOfCars >= MaxCarsAllowed - 1 then ply:PrintMessage( HUD_PRINTTALK, "You have reached SCar spawn limit") return false end local CarEnt = ents.Create( model ) if IsValid(CarEnt) then CarEnt:Spawn() CarEnt:Activate() CarEnt:SetPos( trace.HitPos + (trace.HitNormal * (CarEnt.AddSpawnHeight + 10))) local Ang = trace.HitNormal:Angle() Ang:RotateAroundAxis( Ang:Right(), -90 ) local newAng = (ply:GetPos() - CarEnt:GetPos()):GetNormalized():Angle() Ang:RotateAroundAxis( Ang:Up(), newAng.y ) CarEnt:SetAngles( Ang ) CarEnt:Reposition() CarEnt.handBreakDel = CurTime() + 2 CarEnt:UpdateAllCharacteristics() CarEnt:SetCarOwner( ply ) ply:AddCount( "SCar", CarEnt ) undo.Create("SCars") undo.AddEntity( CarEnt ) undo.SetPlayer( ply ) undo.SetCustomUndoText( "Undone "..carInfo.Name ) undo.Finish() ply:AddCleanup( "SCars", CarEnt ) return true end return false end function TOOL:Think() if ( CLIENT ) then local cat = self:GetClientInfo( "category" ) if self.LastCategory != cat then self.LastCategory = cat local CPanel = controlpanel.Get( "carspawner" ) if ( !CPanel ) then return end self.BuildCPanel(CPanel, self.LastCategory) end end end function TOOL.BuildCPanel( CPanel, category ) CPanel:ClearControls() local catTable = {} if !category then category = "All" end if category == "No category" then -- Cars that don't have any category will be put here so they just don't disappear category = "scar_carList" catTable = list.Get( category ) elseif category == "All" then --Adding all cars category = "scar_carList" catTable = list.Get( category ) local cats = list.Get( "scar_category" ) for k,v in pairs( cats ) do local newTable = list.Get( "scar_carList_"..v ) catTable = table.Add( newTable, catTable ) end else --We have a valid category category = "scar_carList_"..category catTable = list.Get( category ) end local exists = false for k,v in pairs( catTable ) do exists = file.Exists("materials/"..v.Material..".vmt" , "GAME" ) if !exists then v.Material = "vgui/entities/noicon" end end // HEADER local combobox = {} combobox.Label = "Category" combobox.Description = "" combobox.MenuButton = "0" combobox.Options = {} for k,v in pairs(list.Get( "scar_category" )) do combobox.Options[k] = {carspawner_category = v} end CPanel:AddControl("ComboBox", combobox) ThaMaterialBox = {} ThaMaterialBox.Label = "Cars" ThaMaterialBox.MenuButton = 0 ThaMaterialBox.Height = 100 ThaMaterialBox.Width = 100 ThaMaterialBox.Rows = 6 ThaMaterialBox.Options = catTable CPanel:AddControl("MaterialGallery", ThaMaterialBox) end
-- Debugging is on by default local M = { _DEBUG = true, } if _G._DEBUG ~= nil then M._DEBUG = _G._DEBUG end return M
-- type = github -- DO NOT REMOVE THIS LINE! local name = "gofish" local version = "0.19.1" local org = "tinned-fish" local repo = "gofish" local base_url = "https://github.com/" .. org .. "/" .. repo food = { name = name, description = "The Package Manager", license = "Apache-2.0", homepage = "https://gofish.dev", version = version, packages = { { os = "darwin", arch = "amd64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-darwin-amd64.tar.gz", sha256 = "e539c6c1eaa9fdbfd66421df1c2cdf29d4aa0e79736b4a521c25dce2357c690d", resources = { { path = name, installpath = "bin/" .. name, executable = true } } }, { os = "darwin", arch = "arm64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-darwin-arm64.tar.gz", sha256 = "8a4bcb3107cb64dbe97710610ea80556f119bc7156b80baf971a58f5dd54450e", resources = { { path = name, installpath = "bin/" .. name, executable = true } } }, { os = "linux", arch = "amd64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-linux-amd64.tar.gz", sha256 = "fe4495baf5a889ae259c2937532189fabea4aaaabf5f023876d188dab5e9a635", resources = { { path = name, installpath = "bin/" .. name, executable = true } } }, { os = "linux", arch = "arm64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-linux-arm64.tar.gz", sha256 = "f4cba63ebbc816acab02c9646ab628463189a658975bd8ff88417b2b88ce4aef", resources = { { path = name, installpath = "bin/" .. name, executable = true } } }, { os = "windows", arch = "amd64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-windows-amd64.tar.gz", sha256 = "0329eb5582a4518630f3ab78b78a6856100e6f6b4015e411259568d01754c769", resources = { { path = name .. ".exe", installpath = "bin\\" .. name .. ".exe" } } }, { os = "windows", arch = "arm64", url = base_url .. "/releases/download/v" .. version .. "/" .. name .. "-" .. version .. "-windows-arm64.tar.gz", sha256 = "ac850406592ab8b07bc2bc9084ffc11740fe0874f2c47da5aa33c16ef1c234dd", resources = { { path = name .. ".exe", installpath = "bin\\" .. name .. ".exe" } } } } }
--Functions that already exist but we need them by this time. function string.split(s, separator_pattern, keep_empty, max_splits) local result = {} local pattern = "(.-)" .. separator_pattern .. "()" local count = 0 local final_match_end_index = 0 for part, end_index in string.gmatch(s, pattern) do final_match_end_index = end_index if keep_empty or part ~= "" then count = count + 1 result[count] = part if count == max_splits then break end end end local remainder = string.sub(s, final_match_end_index) result[count + 1] = (keep_empty or remainder ~= "") and remainder or nil return result end function string.begins(s, beginning) if s and beginning then return s:sub(1, #beginning) == beginning end return false end function string.ends(s, ending) if s and ending then return #ending == 0 or s:sub(-(#ending)) == ending end return false end function table.index_of(v, e) for index, value in ipairs(v) do if value == e then return index end end return -1 end function table.contains(v, e) for _, value in pairs(v) do if value == e then return true end end return false end function clone(o) local res = {} for k, v in pairs(o) do res[k] = v end setmetatable(res, getmetatable(o)) return res end function deep_clone(o) if type(o) == "userdata" then return o end local res = {} setmetatable(res, getmetatable(o)) for k, v in pairs(o) do if type(v) == "table" then res[k] = deep_clone(v) else res[k] = v end end return res end BLT.__everyclass = {} BLT.__overrides = {} --The game will override it eventually, only minus is that __everyclass won't have blt classes so get them using 'BLT.__overrides' function class(...) local super = (...) if select("#", ...) >= 1 and super == nil then error("trying to inherit from nil", 2) end local class_table = {} if __everyclass then table.insert(BLT.__everyclass, class_table) end class_table.super = BLT.__overrides[super] or super class_table.__index = class_table class_table.__module__ = getfenv(2) setmetatable(class_table, BLT.__overrides[super] or super) function class_table.new(klass, ...) local object = {} setmetatable(object, BLT.__overrides[class_table] or class_table) if object.init then return object, object:init(...) end return object end return class_table end
require "prototypes.spidertron-remote" require "prototypes.spidertron-transitions" require "prototypes.simulations" require "prototypes.shortcuts" require "prototypes.corpse" local toggle_driving = { type = "custom-input", name = "spidertron-enhancements-toggle-driving", key_sequence = "", linked_game_control = "toggle-driving", } local direct_control = { type = "custom-input", name = "spidertron-enhancements-enter-vehicles", key_sequence = "U", } local spidertron_pipette = { type = "custom-input", name = "spidertron-enhancements-spidertron-pipette", key_sequence = "SHIFT + Q", } local open_inventory = { type = "custom-input", name = "spidertron-enhancements-open-vehicle-inventory", key_sequence = "SHIFT + E", } local use_remote = { type = "custom-input", name = "spidertron-enhancements-use-alt-spidertron-remote", key_sequence = "ALT + mouse-button-1", } local disconnect_remote = { type = "custom-input", name = "spidertron-enhancements-disconnect-remote", key_sequence = "", linked_game_control = "stack-split", -- SHIFT + mouse-button-2 by default consuming = "none", order = "ab" } data:extend{toggle_driving, direct_control, spidertron_pipette, open_inventory, use_remote, disconnect_remote}
local lg=love.graphics ORGWIDTH, ORGHEIGHT=lg.getWidth(), lg.getHeight() local Menu=require 'menu' function love.load() ReplayDelay=0.2 lg.setBackgroundColor(255,255,255) mode='menu' fullscreen=false diagonal=true initScreen() initGame() end function initScreen() W, H=lg.getWidth(), lg.getHeight() --CellSize=30 CellSize=math.floor(math.min(W/25, H/25)) CX,CY=math.floor(W/CellSize), math.floor(H/CellSize) BorderWidthX=(W-(CX-2)*CellSize)/2 BorderWidthY=(H-(CY-2)*CellSize)/2 CX,CY=CX-2,CY-2 lg.setNewFont(CellSize) end function initGame() CenterX=math.floor(CX/2) PX, PY=CenterX, CY+1 -- player position Bombs, Visited={}, {} for x=1,CX do Bombs[x]={} Visited[x]={} end local bomblimit=math.floor(CX*CY/10) for i=1,bomblimit do local x,y=0,0 repeat x, y=math.random(1, CX), math.random(1, CY) until not Bombs[x][y] and not (x==CenterX and (y==1 or y==CY)) Bombs[x][y]=true end crashed=nil won=nil showingBombs=nil History={} elapsed=0 end function drawCell(X, Y, Color) if Color then lg.setColor(Color) end lg.rectangle('fill', BorderWidthX+CellSize*(X-1), BorderWidthY+CellSize*(Y-1), CellSize, CellSize) end function drawPlayer(X, Y) lg.setColor(255, 255, 0) lg.circle('fill', BorderWidthX+CellSize*(X-0.5), BorderWidthY+CellSize*(Y-0.5), CellSize/2, CellSize) end function drawBomb(X, Y) lg.circle('fill', BorderWidthX+CellSize*(X-0.5), BorderWidthY+CellSize*(Y-0.5), CellSize/4, CellSize) end function drawBorders() lg.setColor(0, 0, 255) lg.rectangle('fill', 0, 0, W, BorderWidthY) lg.rectangle('fill', 0, H-BorderWidthY, W, BorderWidthY) lg.rectangle('fill', 0, 0, BorderWidthX, H) lg.rectangle('fill', W-BorderWidthX, 0, BorderWidthX, H) lg.setColor(0, 255, 0) drawCell(math.floor(CX/2), CY+1) drawCell(math.floor(CX/2), 0) end function drawVisited() lg.setColor(200, 100, 100) for x=1,CX do for y=1,CY do if Visited[x][y] then drawCell(x, y) end end end end function countBombs() local n=0 if diagonal then for x=PX-1,PX+1 do for y=PY-1,PY+1 do if Bombs[x] and Bombs[x][y] then n=n+1 end end end else if Bombs[PX-1] and Bombs[PX-1][PY] then n=n+1 end if Bombs[PX+1] and Bombs[PX+1][PY] then n=n+1 end if Bombs[PX] and Bombs[PX][PY-1] then n=n+1 end if Bombs[PX] and Bombs[PX][PY+1] then n=n+1 end end return n end function drawMsgs() local n=countBombs() lg.setColor(255, 0, 0) lg.printf('Bombs: '..n, 0,0, W, 'right') lg.printf(string.format('Time: %d s', elapsed), 0,0, W, 'left') if replaying then lg.printf('Replaying...', 0, H/2, W, 'center') else if crashed then lg.printf('Bum!\n\nPress SPACE to play again, R for replay, M for menu', 0, H/2, W, 'center') end if won then lg.printf('Congratulations! You win in '..math.floor(elapsed)..' seconds!\n\nPress SPACE to play again, R for replay, M for menu', 0, H/2, W, 'center') end end end function drawBombs() lg.setColor(0, 0, 0) for x=1,CX do for y=1,CY do if Bombs[x][y] then drawBomb(x, y) end end end end function drawHelp() lg.setColor(0,0,0) lg.printf([[Your goal is to go from the bottom gate to the top gate of the minefield, without stepping on a mine. The counter at the top right corner shows the number of mines in all 8 neighbouring cells. Use cursor keys/ WASD for movement, q/ESCAPE for quit. In the menu you can change some options (screen resolution, etc). Press any key to return to menu, then select Play.]], W*0.2, H/5, W*0.6, 'center') end function love.draw() if mode=='help' then drawHelp() return elseif mode=='menu' then Menu:draw() return end drawBorders() drawVisited() drawPlayer(PX, PY) if showingBombs then drawBombs() end drawMsgs() end function replayGame() histIndex=1 replaying=true Visited={} for x=1,CX do Visited[x]={} end end function love.keypressed(a, b) if a=='q' or a=='escape' then love.event.quit() end if mode=='menu' then Menu:keypressed(a, b) return elseif mode=='help' then mode='menu' return end if a=='b' then showingBombs=not showingBombs end if replaying then return end if crashed or won then if a==' ' then initGame() end if a=='r' then replayGame() end if a=='m' then mode='menu' end else local moved if (a=='up' or a=='w') and (PY>1 or PX==CenterX) then PY=PY-1; moved=true end if (a=='down' or a=='s') and PY<CY then PY=PY+1; moved=true end if (a=='left' or a=='a') and PX>1 and PY<=CY then PX=PX-1; moved=true end if (a=='right' or a=='d') and PX<CX and PY<=CY then PX=PX+1; moved=true end if moved then table.insert(History, {PX, PY}) if not Visited[PX][PY] then Visited[PX][PY]=true end if Bombs[PX][PY] then crashed=true showingBombs=true end if PY==0 then won=true showingBombs=true end end end end function love.update(dt) if mode=='play' and not crashed and not won then elapsed=elapsed+dt end if not replaying then return end timer=(timer or 0)+dt if timer>ReplayDelay then timer=timer-ReplayDelay local move=History[histIndex] histIndex=histIndex+1 if not move then timer=nil replaying=nil histIndex=nil else PX, PY=unpack(move) Visited[PX][PY]=true end end end function resize(W, H) lg.setMode(W, H, fullscreen , true) initScreen() end function love.quit() fullscreen=false resize(ORGWIDTH, ORGHEIGHT) end
package("pmp") set_homepage("http://www.pmp-library.org/") set_description("The Polygon Mesh Processing Library") set_license("MIT") add_urls("https://github.com/pmp-library/pmp-library/archive/refs/tags/$(version).tar.gz", "https://github.com/pmp-library/pmp-library.git") add_versions("1.2.1", "4c9e6554a986710cec1e19dd67695d8ae65ce02a19100dcf1ba7e17f2f993e3b") add_configs("utils", {description = "Build utilities.", default = false, type = "boolean"}) add_deps("cmake") add_deps("eigen", "glfw", "glew", "rply") on_install("windows", "macosx", "linux", function (package) local configs = {} if package:is_plat("linux") and package:config("pic") ~= false then configs.cxflags = "-fPIC" end configs.utils = package:config("utils") os.cp(path.join(package:scriptdir(), "port", "xmake.lua"), "xmake.lua") import("package.tools.xmake").install(package, configs) if package:config("utils") then package:addenv("PATH", "bin") end end) on_test(function (package) assert(package:check_cxxsnippets({test = [[ void test() { pmp::SurfaceMesh mesh; pmp::Vertex v0, v1, v2, v3; v0 = mesh.add_vertex(pmp::Point(0, 0, 0)); v1 = mesh.add_vertex(pmp::Point(1, 0, 0)); v2 = mesh.add_vertex(pmp::Point(0, 1, 0)); v3 = mesh.add_vertex(pmp::Point(0, 0, 1)); } ]]}, {configs = {languages = "c++11"}, includes = "pmp/SurfaceMesh.h"})) end)
basic_sickle = { equip = function(player) local legend = crafting.checkSkillLegend(player, "farming") if legend == false then local t = { graphic = convertGraphic(NPC("SsalNpc").look, "monster"), color = NPC("SsalNpc").lookColor } player:dialogSeq( { t, "The crops outside must each be cut in a different way, I hope you can figure it out! " }, 1 ) end end --[[on_hit = function(player,target) if target.blType == BL_MOB then local yNames = {"bent_grain","tall_wheat","very_tall_wheat","damp_wheat"} local random = 0 for i=1,#yNames do if target.yname == yNames[i] then random = 1 end end if random == 0 then return end if target.owner == 0 then target.owner = player.ID end if target.owner ~= player.ID then return end local grass = { "It's very tall wheat!", "The rains were heavy.", "Barely tall wheat...", "This grain is bent." } local message = grass[target.side+1] random = math.random(1,15) if (player.side ~= target.side) and random == 1 then player:sendMinitext(message) end if random == 15 then random = math.random(1,15) end if random > 10 and (player.side == target.side) then crafting.skillChanceIncrease(player,NPC("SsalNpc"),"farming") elseif random == 15 then crafting.skillChanceIncrease(player,NPC("SsalNpc"),"farming") end end end]] -- }
os.loadApi("file") function up() --move turtle up repeat turtle.attackUp() until turtle.up() --add 1 to y coord in the coordTable table local coordTable = textUtils.unserialize(file.read("coordTracker")) coordTable.turtle.yCoord = coordTable.turtle.yCoord + 1 file.write("coordTracker",textUtils.serialize(coordTable)) end function down() --move turtle down repeat turtle.attackDown() until turtle.down() --remove 1 to y coord in the coordTable table local coordTable = textUtils.unserialize(file.read("coordTracker")) coordTable.turtle.yCoord = coordTable.turtle.yCoord - 1 file.write("coordTracker",textUtils.serialize(coordTable)) end function forward() --move the turtle forward repeat turtle.attack() until turtle.forward() --if statement seeing what direction the turtle is facing and then adding 1 to what direction its facing local coordTable = textUtils.unserialize(file.read("coordTracker")) local dir = coordTable.turtle.dir if dir == 1 then coordTable.turtle.xCoord = coordTable.turtle.xCoord + 1 elseif dir == 2 then coordTable.turtle.zCoord = coordTable.turtle.zCoord + 1 elseif dir == 3 then coordTable.turtle.xCoord = coordTable.turtle.xCoord - 1 elseif dir == 4 then coordTable.turtle.zCoord = coordTable.turtle.zCoord - 1 end file.write("coordTracker",textUtils.serialize(coordTable)) end function right() --turns the turtle right turtle.turnRight() --add 1 to direction in the coordTable table and check if >4 then remove 4 local coordTable = textUtils.unserialize(file.read("coordTracker")) coordTable.turtle.dir = coordTable.turtle.dir + 1 if coordTable.turtle.dir>4 then coordTable.turtle.dir = coordTable.turtle.dir - 4 end file.write("coordTracker",textUtils.serialize(coordTable)) end function left() --turns the turtle left turtle.turnLeft() --remove 1 from direction in the coordTable table and check if <1 then add 4 local coordTable = textUtils.unserialize(file.read("coordTracker")) coordTable.turtle.dir = coordTable.turtle.dir + 1 if coordTable.turtle.dir<1 then coordTable.turtle.dir = coordTable.turtle.dir + 4 end file.write("coordTracker",textUtils.serialize(coordTable)) end
local owner = "ziavo" local repository = "lego-hub" local branch = "main" local games = { [2533391464] = "snowman_simulator", [8158215689] = "smoothie_simulator", } local function import(file) return loadstring(game:HttpGetAsync(("https://raw.githubusercontent.com/%s/%s/%s/%s.lua"):format(owner, repository, branch, file)))() end local function init() local file_name = games[game.PlaceId] if file_name then import("games/"..file_name) end end init()
-- Copyright 2006-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -- Markdown LPeg lexer. local l = lexer local token, style, color, word_match = l.token, l.style, l.color, l.word_match local P, R, S = l.lpeg.P, l.lpeg.R, l.lpeg.S module(...) -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Block elements. local h6 = token('h6', P('######') * l.any^0) local h5 = token('h5', P('#####') * l.any^0) local h4 = token('h4', P('####') * l.any^0) local h3 = token('h3', P('###') * l.any^0) local h2 = token('h2', P('##') * l.any^0) local h1 = token('h1', P('#') * l.any^0) local header = #P('#') * (h6 + h5 + h4 + h3 + h2 + h1) local in_blockquote local blockquote = token(l.STRING, P('>') * P(function(input, index) in_blockquote = true return index end) * l.any^0 + P(function(input, index) return in_blockquote and index or nil end) * l.any^1) local blockcode = token('code', (P(' ')^4 + P('\t')) * l.any^0) local hr = token('hr', #S('*-_') * P(function(input, index) local line = input:gsub(' ', '') if line:find('[^\r\n*-_]') then return nil end if line:find('^%*%*%*') or line:find('^%-%-%-') or line:find('^___') then return index end end) * l.any^1) local hypertext = l.load('hypertext') local html_rules = hypertext._RULES --local html_rule = html_rules['whitespace'] + html_rules['default'] + -- html_rules['tag'] + html_rules['entity'] + -- html_rules['any_char'] local html_rule = html_rules['default'] + html_rules['tag'] + html_rules['entity'] + html_rules['any_char'] local in_html = false local html = #P('<') * html_rule^1 * P(function(input, index) in_html = true return index end) + P(function(input, index) return in_html and index or nil end) * html_rule^1 local blank = token(l.DEFAULT, l.newline^1 * P(function(input, index) in_blockquote = false in_html = false end)) -- Span elements. local dq_str = token(l.STRING, l.delimited_range('"', nil, true)) local sq_str = token(l.STRING, l.delimited_range("'", nil, true)) local paren_str = token(l.STRING, l.delimited_range('()', nil, true)) local link = token('link', P('!')^-1 * l.delimited_range('[]') * (P('(') * (l.any - S(') \t'))^0 * (l.space^1 * l.delimited_range('"', nil, true))^-1 * ')' + l.space^0 * l.delimited_range('[]')) + P('http://') * (l.any - l.space)^1) local link_label = ws^0 * token('link_label', l.delimited_range('[]') * ':') * ws * token('link_url', (l.any - l.space)^1) * (ws * (dq_str + sq_str + paren_str))^-1 local strong = token('strong', (P('**') * (l.any - '**')^0 * P('**')^-1) + (P('__') * (l.any - '__')^0 * P('__')^-1)) local em = token('em', l.delimited_range('*', '\\', true) + l.delimited_range('_', '\\', true)) local code = token('code', (P('``') * (l.any - '``')^0 * P('``')^-1) + l.delimited_range('`', nil, true)) local escape = token(l.DEFAULT, P('\\') * 1) local text_line = (ws + escape + link + strong + em + code + l.any_char)^1 local list = token('list', S('*+-') + R('09') * '.') * ws * text_line _rules = { { 'blank', blank }, { 'html', html }, { 'header', header }, { 'blockquote', blockquote }, { 'blockcode', blockcode }, { 'hr', hr }, { 'link_label', link_label }, { 'list', list }, { 'text_line', text_line }, } _LEXBYLINE = true local font_size = 10 local hstyle = l.style_nothing..{ fore = l.colors.red } _tokenstyles = { { 'h6', hstyle }, { 'h5', hstyle..{ size = font_size + 1 } }, { 'h4', hstyle..{ size = font_size + 2 } }, { 'h3', hstyle..{ size = font_size + 3 } }, { 'h2', hstyle..{ size = font_size + 4 } }, { 'h1', hstyle..{ size = font_size + 5 } }, { 'code', l.style_embedded..{ eolfilled = true } }, { 'hr', l.style_nothing..{ back = l.colors.black, eolfilled = true } }, { 'link', l.style_nothing..{ underline = true } }, { 'link_url', l.style_nothing..{ underline = true } }, { 'link_label', l.style_constant }, { 'strong', l.style_nothing..{ bold = true } }, { 'em', l.style_nothing..{ italic = true } }, { 'list', l.style_constant }, { 'html', l.style_embedded } } -- Do not actually embed; just load the styles. l.embed_lexer(_M, hypertext, P(false), P(false))
require("map/placement") require("constants") local StaticLayout = function(items, args) local positions = {} for current_prefab, pos_list in pairs(items) do for i, pos in pairs(pos_list) do -- Note! The third position in the list can hold arbitrary save data for that prefab. table.insert(positions, {prefab=current_prefab, x=pos.x, y=pos.y, properties=pos.properties}) end end return positions end local TranslateFunction = function(items, fn, args) local positions = {} local count = 0 for current_prefab, it_count in pairs(items) do count = count + it_count end local pp = fn(count, args) local pp_cnt = 1 for current_prefab, it_count in pairs(items) do for i=1, it_count do table.insert(positions, {prefab=current_prefab, x= pp[pp_cnt].x, y=pp[pp_cnt].y}) pp_cnt = pp_cnt + 1 end end return positions end local CircleEdgeLayout = function(items, args) return TranslateFunction(items, placement.posfnCircEdge, args) end local CircleFillLayout = function(items, args) return TranslateFunction(items, placement.posfnCirc, args) end local GetGridPositions = function(num, args) if args == nil then args = {width=3} end local positions = {} local height = math.ceil(num / args.width) --args.height or args.width for i = 1, num do table.insert(positions, {x=(-args.width/2.0)+(i % args.width), y=(-height/2.0)+math.floor(i / args.width)}) end return positions end local GetRectangleEdgePositions = function(num, args) if args == nil then args = {width=3, height=3} end local total_edge_length = args.width*2+args.height*2 local dist_per_item = total_edge_length/num local positions = {} for i = 1, num do local current_pos = i * dist_per_item if current_pos < args.width then table.insert(positions, {x=-args.width/2.0+current_pos, y=-args.height/2.0}) else current_pos = current_pos - args.width if current_pos < args.height then table.insert(positions, {x=args.width/2.0, y=-args.height/2.0+current_pos}) else current_pos = current_pos - args.height if current_pos < args.width then table.insert(positions, {x=args.width/2.0-current_pos, y=args.height/2.0}) else current_pos = current_pos - args.width table.insert(positions, {x=-args.width/2.0, y=args.height/2.0-current_pos}) end end end end return positions end local GridLayout = function(items, args) return TranslateFunction(items, GetGridPositions, args) end local RectangleEdgeLayout = function(items, args) return TranslateFunction(items, GetRectangleEdgePositions, args) end local LAYOUT_FUNCTIONS = { [LAYOUT.STATIC] = StaticLayout, [LAYOUT.CIRCLE_EDGE] = CircleEdgeLayout, [LAYOUT.CIRCLE_RANDOM] = CircleFillLayout, [LAYOUT.GRID] = GridLayout, [LAYOUT.RECTANGLE_EDGE] = RectangleEdgeLayout, } local function MinBoundingBox(items) local extents = {xmin=1000000, ymin=1000000, xmax=-1000000, ymax=-1000000} for k,pos in pairs(items) do if pos[1] < extents.xmin then extents.xmin = pos[1] end if pos[1] > extents.xmax then extents.xmax = pos[1] end if pos[2] < extents.ymin then extents.ymin = pos[2] end if pos[2] > extents.ymax then extents.ymax = pos[2] end end return extents end local function LayoutForDefinition(name, choices) assert(name~=nil) local objs = require("map/layouts") local traps = require("map/traps") local pois = require("map/pointsofinterest") local protres = require("map/protected_resources") local boons = require("map/boons") local maze_rooms = require("map/maze_layouts") local layout = {} if objs.Layouts[name] == nil and traps.Layouts[name] == nil and pois.Layouts[name] == nil and protres.Layouts[name] == nil and boons.Layouts[name] == nil and maze_rooms.Layouts[name] == nil then print("No layout available for", name) return else if objs.Layouts[name] ~= nil then layout = deepcopy(objs.Layouts[name]) elseif traps.Layouts[name] ~= nil then layout = deepcopy(traps.Layouts[name]) elseif protres.Layouts[name] ~= nil then layout = deepcopy(protres.Layouts[name]) elseif boons.Layouts[name] ~= nil then layout = deepcopy(boons.Layouts[name]) elseif maze_rooms.Layouts[name] ~= nil then if choices ~= nil then layout = deepcopy(maze_rooms.AllLayouts[GetRandomItem(choices)][name]) else layout = deepcopy(GetRandomItem(maze_rooms.AllLayouts)[name]) end else layout = deepcopy(pois.Layouts[name]) end layout.name = name end return layout end local function ConvertLayoutToEntitylist(layout) assert(layout~=nil, "No layout was provided!") if layout.areas ~= nil and layout.layout ~= nil then local to_add = {} for current_prefab, v in pairs(layout.layout) do for idx, current_prefab_data in ipairs(v) do if layout.areas[current_prefab] ~= nil then local area_contents = layout.areas[current_prefab] if type(area_contents) == "function" then area_contents = area_contents(current_prefab_data.width * current_prefab_data.height) end if area_contents ~= nil then for i,r_prefab in ipairs(area_contents) do local x = (current_prefab_data.x-current_prefab_data.width/2.0) + (math.random()*current_prefab_data.width) local y = (current_prefab_data.y-current_prefab_data.height/2.0) + (math.random()*current_prefab_data.height) local properties = current_prefab_data.properties if to_add[r_prefab] == nil then to_add[r_prefab] = {} end table.insert(to_add[r_prefab], {x=x, y=y, properties=properties}) end end end end end for prefab_name,instances in pairs(to_add) do if layout.layout[prefab_name] == nil then layout.layout[prefab_name] = {} end for i,instance in ipairs(instances) do table.insert(layout.layout[prefab_name], instance) end end -- all areas populated now, so remove the areas. for k,v in pairs(layout.areas) do layout.layout[k] = nil end end if layout.defs ~= nil then -- for each layout item that appears in defs, replace with one of the choices from defs if layout.layout ~= nil then for current_prefab,v in pairs(layout.layout) do if layout.defs[current_prefab] ~= nil then local idx = math.random(1, #layout.defs[current_prefab]) layout.layout[layout.defs[current_prefab][idx]] = v layout.layout[current_prefab] = nil end end end if layout.count ~= nil then for current_prefab,v in pairs(layout.count) do if layout.defs[current_prefab] ~= nil then local idx = math.random(1, #layout.defs[current_prefab]) layout.count[layout.defs[current_prefab][idx]] = v layout.count[current_prefab] = nil end end end end if layout.scale == nil then layout.scale = 1.0 end local all_items = {} if layout.layout ~= nil then local layout_pos = LAYOUT_FUNCTIONS[LAYOUT.STATIC](layout.layout) for i,v in ipairs(layout_pos) do table.insert(all_items, v) end end if layout.type ~= LAYOUT.STATIC then local shape_pos = LAYOUT_FUNCTIONS[layout.type](layout.count) for i,v in ipairs(shape_pos) do table.insert(all_items, v) end end return all_items end local function ReserveAndPlaceLayout(node_id, layout, prefabs, add_entity, position) assert(node_id~=nil) assert(layout~=nil) assert(prefabs~=nil) assert(add_entity~=nil) -- Calculate min bounding box local item_positions = {} for i, val in ipairs(prefabs) do table.insert(item_positions, {val.x, val.y}) end local extents = MinBoundingBox(item_positions) -- Get the size of the area to reserve local e_width = (extents.xmax - extents.xmin)/2.0 local e_height = (extents.ymax - extents.ymin)/2.0 local size = e_width if size < e_height then size = e_height end -- elseif layout.count ~= nil then -- -- for current_prefab, count in ipairs(layout.count) do -- for i, pos in pairs(count) do -- table.insert(all_items) -- end -- end size = layout.scale * size local flip_x = 1 local flip_y = 1 local switch_xy = false if layout.disable_transform == nil or layout.disable_transform == false then switch_xy = GetRandomItem({true,false})--translate[1] flip_x = GetRandomItem({1,-1})--translate[2] flip_y = GetRandomItem({1,-1})--translate[3] end -- If we specify a rotation then use that instead if layout.force_rotation ~= nil then --print(node_id, layout, layout.force_rotation) local translations = { [LAYOUT_ROTATION.NORTH]={false, 1, 1}, [LAYOUT_ROTATION.EAST]= {true, -1, 1}, [LAYOUT_ROTATION.SOUTH]={false, -1, -1}, [LAYOUT_ROTATION.WEST]= {true, 1, -1} } switch_xy = translations[layout.force_rotation][1] flip_x = translations[layout.force_rotation][2] flip_y = translations[layout.force_rotation][3] end local tiles = nil if layout.ground ~= nil then size = #layout.ground tiles = {} for row = 1, size do for column = 1, size do local rw = row local clmn = column if switch_xy == true then rw = column clmn = row end if flip_x == -1 then rw = size - (rw-1) end if flip_y == -1 then clmn = size - (clmn-1) end --print("rw",rw, "clmn", clmn) if layout.ground[clmn][rw] ~= 0 then if position ~= nil then --print(position[1] + clmn, position[2] + rw, layout.ground_types[layout.ground[clmn][rw]]) WorldSim:SetTile(position[1] + column, size+position[2] - row, layout.ground_types[layout.ground[rw][clmn]], 1) else table.insert(tiles, layout.ground_types[layout.ground[clmn][rw]]) end else table.insert(tiles, 0) end end end size = size / 2.0 end -- defaults layout.start_mask = layout.start_mask or 0 layout.fill_mask = layout.fill_mask or 0 layout.layout_position = layout.layout_position or 0 -- reserve the area local rcx = 0 local rcy = 0 if position == nil then rcx, rcy = WorldSim:ReserveSpace(node_id, size, layout.start_mask, layout.fill_mask, layout.layout_position, tiles) else rcx = position[1] rcy = position[2] end -- place objects however you like within the reserved loc --print ("RESERVED", rcx,rcy, flip_x, flip_y) if rcx ~= nil then -- ReserveSpace gives us the bottom left tile, but we orient objects around the center(to ease rotation) rcx = rcx + size - 0.5 rcy = rcy + size - 0.5 --if flip_y == -1 then --if switch_xy == true then --rcx = rcx - 1 --else --rcy = rcy - 1 --end --end for idx=1, #prefabs do local x = prefabs[idx].x* flip_x local y = prefabs[idx].y* flip_y if switch_xy == true then x = prefabs[idx].y* flip_y y = prefabs[idx].x* flip_x end local points_x = rcx + x * layout.scale --* flip_x local points_y = rcy + y * layout.scale --* flip_y --print ("add_entity", prefabs[idx].prefab, points_x, points_y ) add_entity.fn(prefabs[idx].prefab, {points_x}, {points_y}, 1, add_entity.args.entitiesOut, add_entity.args.width, add_entity.args.height, add_entity.args.debug_prefab_list, prefabs[idx].properties, false) end else print("Warning! Could not find a spot for "..layout.name.." in node "..node_id) end end -- Convenience function does all three steps at once. local function Convert(node_id, item, addEntity) assert(item and item ~= "", "Must provide a valid layout name, got nothing.") local layout = LayoutForDefinition(item) local prefabs = ConvertLayoutToEntitylist(layout) ReserveAndPlaceLayout(node_id, layout, prefabs, addEntity) end local function Place(position, item, addEntity, choices) assert(item and item ~= "", "Must provide a valid layout name, got nothing.") local layout = LayoutForDefinition(item, choices) local prefabs = ConvertLayoutToEntitylist(layout) ReserveAndPlaceLayout("POSITIONED", layout, prefabs, addEntity, position) end return { ConvertLayoutToEntitylist = ConvertLayoutToEntitylist, LayoutForDefinition = LayoutForDefinition, ReserveAndPlaceLayout = ReserveAndPlaceLayout, Convert = Convert, Place = Place, }
-- Weight Normalization -- https://arxiv.org/pdf/1602.07868v3.pdf local WeightNorm, parent = torch.class("nn.WeightNorm", "nn.Decorator") function WeightNorm:__init(module, outputDim) -- this container will apply Weight Normalization to any module it wraps -- it accepts parameter ``outputDim`` that represents the dimension of the output of the weight -- if outputDim is not 1, the container will transpose the weight -- if the weight is not 2D, the container will view the weight into a 2D shape -- that is nOut x (nIn x kw x dw x ...) parent.__init(self, module) assert(module.weight) if module.bias then self.bias = module.bias self.gradBias = module.gradBias end self.gradWeight = module.gradWeight self.weight = module.weight self.outputDim = outputDim or 1 -- track the non-output weight dimensions self.otherDims = 1 for i = 1, self.weight:dim() do if i ~= self.outputDim then self.otherDims = self.otherDims * self.weight:size(i) end end -- view size for weight norm 2D calculations self.viewIn = torch.LongStorage({self.weight:size(self.outputDim), self.otherDims}) -- view size back to original weight self.viewOut = self.weight:size() self.weightSize = self.weight:size() -- bubble outputDim size up to the front for i = self.outputDim - 1, 1, -1 do self.viewOut[i], self.viewOut[i + 1] = self.viewOut[i + 1], self.viewOut[i] end -- weight is reparametrized to decouple the length from the direction -- such that w = g * ( v / ||v|| ) self.v = torch.Tensor(self.viewIn[1], self.viewIn[2]) self.g = torch.Tensor(self.viewIn[1]) self._norm = torch.Tensor(self.viewIn[1]) self._scale = torch.Tensor(self.viewIn[1]) -- gradient of g self.gradG = torch.Tensor(self.viewIn[1]):zero() -- gradient of v self.gradV = torch.Tensor(self.viewIn) self:resetInit() end function WeightNorm:permuteIn(inpt) local ans = inpt for i = self.outputDim - 1, 1, -1 do ans = ans:transpose(i, i+1) end return ans end function WeightNorm:permuteOut(inpt) local ans = inpt for i = 1, self.outputDim - 1 do ans = ans:transpose(i, i+1) end return ans end function WeightNorm:resetInit(inputSize, outputSize) self.v:normal(0, math.sqrt(2/self.viewIn[2])) self.g:norm(self.v, 2, 2) if self.bias then self.bias:zero() end end function WeightNorm:evaluate() if not(self.train == false) then self:updateWeight() parent.evaluate(self) end end function WeightNorm:updateWeight() -- view to 2D when weight norm container operates self.gradV:copy(self:permuteIn(self.weight)) self.gradV = self.gradV:view(self.viewIn) -- ||w|| self._norm:norm(self.v, 2, 2):pow(2):add(10e-5):sqrt() -- g * w / ||w|| self.gradV:copy(self.v) self._scale:copy(self.g):cdiv(self._norm) self.gradV:cmul(self._scale:view(self.viewIn[1], 1) :expand(self.viewIn[1], self.viewIn[2])) -- otherwise maintain size of original module weight self.gradV = self.gradV:view(self.viewOut) self.weight:copy(self:permuteOut(self.gradV)) end function WeightNorm:updateOutput(input) if not(self.train == false) then self:updateWeight() end self.output:set(self.modules[1]:updateOutput(input)) return self.output end function WeightNorm:accGradParameters(input, gradOutput, scale) scale = scale or 1 self.modules[1]:accGradParameters(input, gradOutput, scale) self.weight:copy(self:permuteIn(self.weight)) self.gradV:copy(self:permuteIn(self.gradWeight)) self.weight = self.weight:view(self.viewIn) local norm = self._norm:view(self.viewIn[1], 1):expand(self.viewIn[1], self.viewIn[2]) local scale = self._scale:view(self.viewIn[1], 1):expand(self.viewIn[1], self.viewIn[2]) -- dL / dw * (w / ||w||) self.weight:copy(self.gradV) self.weight:cmul(self.v):cdiv(norm) self.gradG:sum(self.weight, 2) -- dL / dw * g / ||w|| self.gradV:cmul(scale) -- dL / dg * (w * g / ||w||^2) self.weight:copy(self.v):cmul(scale):cdiv(norm) self.weight:cmul(self.gradG:view(self.viewIn[1], 1) :expand(self.viewIn[1], self.viewIn[2])) -- dL / dv update self.gradV:add(-1, self.weight) self.gradV = self.gradV:view(self.viewOut) self.weight = self.weight:view(self.viewOut) self.gradWeight:copy(self:permuteOut(self.gradV)) end function WeightNorm:updateGradInput(input, gradOutput) self.gradInput:set(self.modules[1]:updateGradInput(input, gradOutput)) return self.gradInput end function WeightNorm:zeroGradParameters() self.modules[1]:zeroGradParameters() self.gradV:zero() self.gradG:zero() end function WeightNorm:updateParameters(lr) self.modules[1]:updateParameters(lr) self.g:add(-lr, self.gradG) self.v:add(-lr, self.gradV) end function WeightNorm:parameters() if self.bias then return {self.v, self.g, self.bias}, {self.gradV, self.gradG, self.gradBias} else return {self.v, self.g}, {self.gradV, self.gradG} end end function WeightNorm:write(file) -- Don't save weight and gradWeight since we can easily re-compute it from v -- and g. local weight = self.modules[1].weight local gradWeight = self.modules[1].gradWeight self.weight = nil self.gradWeight = nil self.modules[1].weight = nil self.modules[1].gradWeight = nil if not self.weightSize then self.weightSize = weight:size() end parent.write(self, file) self.modules[1].weight = weight self.modules[1].gradWeight = gradWeight self.weight = weight self.gradWeight = gradWeight end function WeightNorm:read(file) parent.read(self, file) -- Re-compute weight and gradWeight if not self.weight then self.modules[1].weight = self.v.new(self.weightSize) self.modules[1].gradWeight = self.v.new(self.weightSize) self.weight = self.modules[1].weight self.gradWeight = self.modules[1].gradWeight self:updateWeight() self.gradWeight:copy(self:permuteOut(self.gradV)) end end
--[[ -- All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -- its licensors. -- -- For complete copyright and license terms please see the LICENSE at the root of this -- distribution (the "License"). All use of this software is governed by the License, -- or, if provided, by the license below or the license accompanying this file. Do not -- remove or modify any license notices. This file is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --]] local jackstrafefacingprovider = { Properties = { Camera = {default = EntityId()}, }, } -------------------------------------------------- -- Component behavior -------------------------------------------------- function jackstrafefacingprovider:OnActivate() -- Tick needed to detect aim timeout self.tickBusHandler = TickBus.Connect(self); end function jackstrafefacingprovider:OnDeactivate() self.tickBusHandler:Disconnect(); self.tickBusHandler = nil; end function jackstrafefacingprovider:OnTick(deltaTime, timePoint) local cameraTm = TransformBus.Event.GetWorldTM(self.Properties.Camera); local flatForward = cameraTm:GetColumn(0):Cross(Vector3(0,0,-1)); self.setStrafeFacingId = GameplayNotificationId(self.entityId, "SetStrafeFacing", "float"); GameplayNotificationBus.Event.OnEventBegin(self.setStrafeFacingId, flatForward); end return jackstrafefacingprovider;
local socket = require("socket.core") local enums = require("socket.enums") local helpers = require("socket.helpers") socket._VERSION = "LuaSocket 3.0-rc1" socket.VERSION = "ffisocket 1.0" socket.try = socket.newtry() function socket.choose(table) return function(name, opt1, opt2) if type(name) ~= "string" then name, opt1, opt2 = "default", name, opt1 end local f = table[name or "nil"] if f == nil then error("unknown key (".. tostring(name) ..")", 3) else return f(opt1, opt2) end end end local sourcet, sinkt = {}, {} socket.sourcet = sourcet socket.sinkt = sinkt socket.BLOCKSIZE = 2048 sinkt["close-when-done"] = function(sock) return setmetatable({}, { __call = function(self, chunk, err) if chunk == nil then sock:close() return 1 else return sock:send(chunk) end end, __index = { getfd = function() return sock:getfd() end, dirty = function() return sock:dirty() end } }) end sinkt["keep-open"] = function(sock) return setmetatable({}, { __call = function(self, chunk, err) if chunk ~= nil then return sock:send(chunk) else return 1 end end, __index = { getfd = function() return sock:getfd() end, dirty = function() return sock:dirty() end } }) end sinkt["default"] = sinkt["keep-open"] socket.sink = socket.choose(sinkt) sourcet["by-length"] = function(sock, length) return setmetatable({}, { __call = function() if length <= 0 then return nil end local size = math.min(socket.BLOCKSIZE, length) local chunk, err = sock:receive(size) if err ~= nil then return nil, err end length = length - string.len(chunk) return chunk end, __index = { getfd = function() return sock:getfd() end, dirty = function() return sock:dirty() end } }) end sourcet["until-closed"] = function(sock) local done return setmetatable({}, { __call = function() if done ~= nil then return nil end local chunk, err, partial = sock:receive(socket.BLOCKSIZE) if err == nil then return chunk elseif err == "closed" then sock:close() done = 1 return partial else return nil, err end end, __index = { getfd = function() return sock:getfd() end, dirty = function() return sock:dirty() end } }) end sourcet["default"] = sourcet["until-closed"] socket.source = socket.choose(sourcet) function socket.connect4(address, port, laddress, lport) return socket.connect(address, port, laddress, lport, "inet4") end function socket.connect6(address, port, laddress, lport) return socket.connect(address, port, laddress, lport, "inet6") end local function bind(sock, host, port, backlog) sock:setoption("reuseaddr", true) local res, err = helpers.bind(sock, host, port, enums.SOCK_STREAM, 3) if res == nil then sock:close() else res, err = sock:listen(backlog or 32) if res == nil then sock:close() else return sock end end return nil, err end function socket.bind(host, port, backlog) local sock = socket.tcp6() local res, err = bind(sock, host, port, backlog) if res ~= nil then return sock end sock = socket.tcp4() res, err = bind(sock, host, port, backlog) if res ~= nil then return sock end return nil, err end return socket
args = ... u = args["actions"] u:print("Hello world!") u:runLogicScriptAfterTimeout("test", {}, 2000)
function string:startswith(prefix) return self:sub(1, prefix:len()) == prefix end function string:endswith(suffix) return suffix == "" or self:sub(-suffix:len()) == suffix end function string:rstrip(suffix) if self:endswith(suffix) then return self:sub(0, self:len() - suffix:len()) else return self end end
-- -- ffmpeg 4.3.1 modulefile -- -- "URL: https://www.psc.edu/resources/software" -- "Category: Other" -- "Description: A complete, cross-platform solution to record, convert and stream audio and video." -- "Keywords: singularity utilities" whatis("Name: ffmpeg") whatis("Version: 4.3.1") whatis("Category: Other") whatis("URL: https://www.psc.edu/resources/software") whatis("Description: A complete, cross-platform solution to record, convert and stream audio and video.") help([[ Description ----------- A complete, cross-platform solution to record, convert and stream audio and video. To load the module type > module load ffmpeg/4.3.1 To unload the module type > module unload ffmpeg/4.3.1 Documentation ------------- https://ffmpeg.org/documentation.html https://github.com/FFmpeg/FFmpeg Tools included in this module are * ffmpeg ]]) local package = "ffmpeg" local version = "4.3.1" local base = pathJoin("/opt/packages",package,version) prepend_path("PATH", base)
set('version', '1.46.4') cflags{ '-std=c99', '-Wall', '-Wno-address-of-packed-member', '-Wno-format-truncation', '-Wno-unused-variable', '-Wno-stringop-truncation', '-Wno-stringop-overflow', '-Wno-unused-label', '-D HAVE_CONFIG_H', '-I $outdir', '-I $outdir/include', '-I $outdir/internal', '-I $outdir/internal/support', '-I $srcdir/lib', '-isystem $builddir/pkg/linux-headers/include', '-isystem $builddir/pkg/util-linux/include', } build('cat', '$outdir/config.h', { '$builddir/probe/HAVE__THREAD_LOCAL', '$builddir/probe/SIZEOF_LONG', '$builddir/probe/SIZEOF_TIME_T', '$dir/config.h', }) set('subst', { '-e s,@E2FSPROGS_VERSION@,$version,', '-e s,@E2FSPROGS_MONTH@,Aug,', '-e s,@E2FSPROGS_YEAR@,2021,', '-e s,@JDEV@,,', }) local function et(file, src, hdr) src = '$outdir/'..src hdr = '$outdir/'..hdr build('awk', src, {file, '|', '$srcdir/lib/et/et_c.awk'}, { expr='-f $srcdir/lib/et/et_c.awk -v outfile=/dev/stdout outfn='..src:match('[^/]*$'), }) build('awk', hdr, {file, '|', '$srcdir/lib/et/et_h.awk'}, { expr='-f $srcdir/lib/et/et_h.awk -v outfile=/dev/stdout outfn='..hdr:match('[^/]*$'), }) end local function subst(output, input) output = '$outdir/'..output build('sed', output, '$srcdir/'..input, {expr='$subst'}) return output end local function substman(files) for _, file in ipairs(files) do if file:hassuffix('.in') then file = subst(file:sub(1, -4), file) end man{file} end end subst('ext2_err.et', 'lib/ext2fs/ext2_err.et.in') et('$outdir/ext2_err.et', 'ext2_err.c', 'include/ext2fs/ext2_err.h') et('$srcdir/lib/support/prof_err.et', 'prof_err.c', 'internal/support/prof_err.h') build('copy', '$outdir/include/blkid/blkid.h', '$srcdir/lib/blkid/blkid.h.in') build('copy', '$outdir/include/ext2fs/ext2_types.h', '$dir/ext2_types.h') build('copy', '$outdir/internal/blkid/blkid_types.h', '$dir/blkid_types.h') sub('tools.ninja', function() toolchain(config.host) exe('gen_crc32ctable', {'lib/ext2fs/gen_crc32ctable.c'}) end) rule('gen_crc32ctable', '$outdir/gen_crc32ctable >$out') build('gen_crc32ctable', '$outdir/internal/crc32c_table.h', {'|', '$outdir/gen_crc32ctable'}) pkg.hdrs = { '$outdir/include/blkid/blkid.h', '$outdir/include/ext2fs/ext2_err.h', '$outdir/include/ext2fs/ext2_types.h', } pkg.deps = { '$outdir/config.h', '$gendir/headers', '$outdir/internal/blkid/blkid_types.h', '$outdir/internal/support/prof_err.h', '$outdir/internal/crc32c_table.h', 'pkg/linux-headers/headers', 'pkg/util-linux/headers', } lib('libcomm_err.a', [[lib/et/(error_message.c et_name.c init_et.c com_err.c com_right.c)]]) lib('libblkid.a', [[lib/blkid/( cache.c dev.c devname.c devno.c getsize.c llseek.c probe.c read.c resolve.c save.c tag.c version.c )]]) lib('libe2p.a', [[lib/e2p/( feature.c fgetflags.c fsetflags.c fgetversion.c fsetversion.c getflags.c getversion.c hashstr.c iod.c ls.c ljs.c mntopts.c parse_num.c pe.c pf.c ps.c setflags.c setversion.c uuid.c ostype.c percent.c crypto_mode.c fgetproject.c fsetproject.c encoding.c errcode.c )]]) lib('libext2fs.a', [[$outdir/ext2_err.c lib/ext2fs/( alloc.c alloc_sb.c alloc_stats.c alloc_tables.c atexit.c badblocks.c bb_inode.c bitmaps.c bitops.c blkmap64_ba.c blkmap64_rb.c blknum.c block.c bmap.c check_desc.c closefs.c crc16.c crc32c.c csum.c dblist.c dblist_dir.c dirblock.c dirhash.c dir_iterate.c expanddir.c ext_attr.c extent.c fallocate.c fileio.c finddev.c flushb.c freefs.c gen_bitmap.c gen_bitmap64.c get_num_dirs.c get_pathname.c getsize.c getsectsize.c hashmap.c i_block.c icount.c ind_block.c initialize.c inline.c inline_data.c inode.c io_manager.c ismounted.c link.c llseek.c lookup.c mkdir.c mkjournal.c mmp.c namei.c native.c newdir.c nls_utf8.c openfs.c progress.c punch.c qcow2.c read_bb.c read_bb_file.c res_gdt.c rw_bitmaps.c sha512.c swapfs.c symlink.c undo_io.c unix_io.c sparse_io.c unlink.c valid_blk.c version.c rbtree.c dupfs.c )]]) lib('libsupport.a', [[$outdir/prof_err.c lib/support/( cstring.c mkquota.c plausible.c profile.c parse_qtype.c profile_helpers.c quotaio.c quotaio_v2.c quotaio_tree.c dict.c )]]) exe('bin/e2fsck', [[ e2fsck/( unix.c e2fsck.c super.c pass1.c pass1b.c pass2.c pass3.c pass4.c pass5.c journal.c badblocks.c util.c dirinfo.c dx_dirinfo.c ehandler.c problem.c message.c quota.c recovery.c region.c revoke.c ea_refcount.c rehash.c logfile.c sigcatcher.c readahead.c extents.c encrypted_files.c ) libsupport.a libext2fs.a libe2p.a libblkid.a libcomm_err.a $builddir/pkg/util-linux/libuuid.a.d ]]) file('bin/e2fsck', '755', '$outdir/bin/e2fsck') substman{'e2fsck/e2fsck.8.in', 'e2fsck/e2fsck.conf.5.in'} exe('bin/resize2fs', [[ resize/( extent.c resize2fs.c main.c online.c resource_track.c sim_progress.c ) libext2fs.a libe2p.a libcomm_err.a ]]) file('bin/resize2fs', '755', '$outdir/bin/resize2fs') substman{'resize/resize2fs.8.in'} build('awk', '$outdir/default_profile.c', {'$srcdir/misc/mke2fs.conf.in', '|', '$srcdir/misc/profile-to-c.awk'}, { expr='-f $srcdir/misc/profile-to-c.awk', }) exe('bin/mke2fs', [[ misc/( mke2fs.c util.c mk_hugefiles.c create_inode.c ) $outdir/default_profile.c libsupport.a libext2fs.a libe2p.a libblkid.a libcomm_err.a $builddir/pkg/util-linux/libuuid.a.d ]]) file('bin/mke2fs', '755', '$outdir/bin/mke2fs') substman{'misc/mke2fs.8.in'} fetch 'git'
--[[dont u even dare take credit cus dis mai law ok and if u break my law i keel u in sb btw there's no point in re-naming "LocalPlayer" to "YOURNAMEHERE" or whatever, localplayer is the CLIENT itself. + i did a small update so you still have your clothes on when small ok? ]]-- local ran,err = ypcall(function() plr = game:service'Players'.LocalPlayer char = plr.Character mouse = plr:GetMouse() humanoid = char:findFirstChild("Humanoid") torso = char:findFirstChild("Torso") head = char.Head ra = char:findFirstChild("Right Arm") la = char:findFirstChild("Left Arm") rl = char:findFirstChild("Right Leg") ll = char:findFirstChild("Left Leg") rs = torso:findFirstChild("Right Shoulder") ls = torso:findFirstChild("Left Shoulder") rh = torso:findFirstChild("Right Hip") lh = torso:findFirstChild("Left Hip") neck = torso:findFirstChild("Neck") rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") anim = char:findFirstChild("Animate") rootpart = char:findFirstChild("HumanoidRootPart") camera = workspace.CurrentCamera do --Removing ROBLOX's new Looped bug >_> local function rec(x) for i,v in pairs(x:children()) do if v:IsA'Animation' then v.AnimationId = 'rbxassetid://28159255' end rec(v) end end rec(anim) --the Animate script end humanoid.Jump = true wait(.4) if anim then anim:Destroy() end rj.C0 = CFrame.new() rj.C1 = CFrame.new() super_annoying = Instance.new("Sound", head) super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003" super_annoying.Volume = 0.6 super_annoying.Looped = true barrel_roll = Instance.new("Sound", head) barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919" barrel_roll.Volume = 1 barrel_roll.Looped = true dubstep_gun = Instance.new("Sound", head) dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491" dubstep_gun.Volume = 0.6 dubstep_gun.Looped = true you_are_pirate = Instance.new("Sound", head) you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577" you_are_pirate.Volume = 0.6 you_are_pirate.Looped = true cant_touch = Instance.new("Sound", head) cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929" cant_touch.Volume = 1 cant_touch.Looped = true gangy_style = Instance.new("Sound", head) gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430" gangy_style.Volume = 0.6 gangy_style.Looped = true fox_say = Instance.new("Sound", head) fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915" fox_say.Volume = 0.5 fox_say.Looped = true durk = Instance.new("Sound", head) durk.SoundId = "http://www.roblox.com/asset/?id=130776787" durk.Volume = 0.8 durk.Looped = true sax_guy = Instance.new("Sound", head) sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684" sax_guy.Volume = 0.6 sax_guy.Looped = true heman = Instance.new("Sound", head) heman.SoundId = "http://www.roblox.com/asset/?id=131102548" heman.Volume = 1 heman.Looped = true justin = Instance.new("Sound", head) justin.SoundId = "http://www.roblox.com/asset/?id=130841252" justin.Volume = 0.8 justin.Looped = true brony_music = Instance.new("Sound", head) brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874" brony_music.Volume = 1 brony_music.Looped = true spitfire = Instance.new("Sound", head) spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596" spitfire.Volume = 0.8 spitfire.Looped = true burn_dem = Instance.new("Sound", head) burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469" burn_dem.Volume = 1 burn_dem.Looped = true aj = Instance.new("Sound", head) aj.SoundId = "rbxassetid://177732780" aj.Volume = 1 aj.Looped = true Instance.new("HumanoidController", game:service'ControllerService') Instance.new("SkateboardController", game:service'ControllerService') Instance.new("VehicleController", game:service'ControllerService') --minimize rh.Parent = nil lh.Parent = nil rs.Parent = nil ls.Parent = nil neck.Parent = nil rj.Parent = nil rl.FormFactor = "Custom" ll.FormFactor = "Custom" ra.FormFactor = "Custom" la.FormFactor = "Custom" torso.FormFactor = "Custom" head.FormFactor = "Custom" rootpart.FormFactor = "Custom" rootpart.Size = Vector3.new(.4, .4, .2) rl.Size = Vector3.new(.2, .4, .2) ll.Size = Vector3.new(.2, .4, .2) ra.Size = Vector3.new(.2, .4, .2) la.Size = Vector3.new(.2, .4, .2) torso.Size = Vector3.new(.4, .4, .2) head.Size = Vector3.new(.4, .2, .2) rh.Parent = torso lh.Parent = torso rs.Parent = torso ls.Parent = torso neck.Parent = torso rj.Parent = rootpart if torso:findFirstChild("roblox") then local p = Instance.new("Part", char) p.FormFactor = "Custom" p.Size = torso.Size p.Transparency = 1 p:BreakJoints() local w = Instance.new("Weld", char) w.Part0 = p w.Part1 = torso torso:findFirstChild("roblox").Parent = p end --[[mesh1 = Instance.new("SpecialMesh", torso) mesh1.Name = "Mesh" mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0) mesh1.MeshId = "rbxasset://fonts/torso.mesh" mesh2 = Instance.new("SpecialMesh", la) mesh2.Name = "Mesh" mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0) mesh2.MeshId = "rbxasset://fonts/leftarm.mesh" mesh3 = Instance.new("SpecialMesh", ra) mesh3.Name = "Mesh" mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0) mesh3.MeshId = "rbxasset://fonts/rightarm.mesh" mesh4 = Instance.new("SpecialMesh", ll) mesh4.Name = "Mesh" mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0) mesh4.MeshId = "rbxasset://fonts/leftleg.mesh" mesh5 = Instance.new("SpecialMesh", rl) mesh5.Name = "Mesh" mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0) mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]] --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1 ls.C0 = CFrame.new(-.3,.1,0) ls.C1 = CFrame.new(0,.1,0) rs.C0 = CFrame.new(.3,.1,0) rs.C1 = CFrame.new(0,.1,0) rh.C0 = CFrame.new(.1,-.2,0) rh.C1 = CFrame.new(0, .2, 0) lh.C0 = CFrame.new(-.1,-.2,0) lh.C1 = CFrame.new(0, .2, 0) neck.C0 = CFrame.new(0,.2,0) neck.C1 = CFrame.new(0,-.1,0) bodyc = char:findFirstChild("Body Colors") if bodyc then bodyc:Destroy() end wait(1) local body = {} for i,v in pairs(char:children()) do if v:IsA'BasePart' then print(v.Name) body[v.Name] = {Color = v.BrickColor} end end print(body.Torso) function restorecolors() for _,bp in pairs(char:children()) do if bp:IsA("BasePart") then bp.BrickColor = body[bp.Name].Color end end end local LightForTorso = Instance.new("PointLight", head) LightForTorso.Color = torso.BrickColor.Color LightForTorso.Range = 7 LightForTorso.Brightness = 1.5 local slidecount = 0 local slidecountmax = 0 local anim = "" local lastanim = anim local speed = 0 local looking = false local dancing = false local superannoying = false local barrelroll = false local dubstepgun = false local foxie = false local durka = false local saxguy = false local heya = false local jb = false local bronymusic = false local sheddy = false local burndem = false local global_wait = 0 count = 0 countspeed = 1 sine = 0 sinespeed = 1 humanoid.WalkSpeed = 11 local controllerService = game:GetService("ControllerService") local controller = controllerService:GetChildren()[1] local colors = {"White", "Really black"} humanoid.Died:connect(function() for cframe_parts = 0, 100 do local p = Instance.new("Part") p.FormFactor = "Custom" p.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) p.Size = Vector3.new(1, 1, 1) Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05) p.Locked = true p.CanCollide = false p.Anchored = true p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36)) p.Parent = workspace game:service'Debris':AddItem(p, 5) coroutine.wrap(function() while wait() do if p ~= nil then p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0) p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0) p.Transparency = p.Transparency + 0.015 else break end end end)() end for _,v in pairs(char:children()) do if v:IsA("Part") then v:Destroy() end end end) mouse.KeyDown:connect(function(k) if string.byte(k) == 50 then if dancing then return end sitting = not sitting if sitting then local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0)) local hitz,enz = workspace:FindPartOnRay(ray, char) if hitz then controller.Parent = nil humanoid.WalkSpeed = 0 coroutine.wrap(function() while wait() do humanoid.PlatformStand = true if sitting == false then humanoid.PlatformStand = false break end end end)() rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) miniweld = Instance.new("Weld", char) miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) miniweld.Part0 = hitz miniweld.Part1 = rootpart else sitting = false return end else if miniweld then miniweld:Destroy() end controller.Parent = controllerService humanoid.PlatformStand = false humanoid.WalkSpeed = 11 end end if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then superannoying = false barrelroll = false heya = false dubstepgun = false youpirate = false canttouch = false gangnam = false sheddy = false durka = false saxguy = false foxie = false burndem = false bronymusic = false brony_music:stop() fox_say:stop() spitfire:stop() heman:stop() justin:stop() jb = false durk:stop() restorecolors() burn_dem:stop() if hat then hat:Destroy() end sax_guy:stop() gangy_style:stop() cant_touch:stop() you_are_pirate:stop() dubstep_gun:stop() super_annoying:stop() barrel_roll:stop() dancing = false global_wait = 0 LightForTorso.Color = torso.BrickColor.Color end if k == "z" then if dancing then return end if not sitting then dancing = true superannoying = true super_annoying:play() end end if k == "k" then if dancing then return end if not sitting then dancing = true sheddy = true spitfire:play() end end if k == "n" then if dancing then return end if not sitting then dancing = true gangnam = true gangy_style:play() end end if k == "r" then if dancing then return end if not sitting then dancing = true burndem = true burn_dem:play() end end if k == "x" then if dancing then return end if not sitting then dancing = true barrelroll = true barrel_roll:play() hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = torso.Size hat.Locked = true hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142" hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063" hatmesh.Scale = Vector3.new(.22, .2, .22) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = torso end end if k == "h" then if dancing then return end if not sitting then dancing = true heman:play() heya = true hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01) hat.Locked = true hat.BrickColor = BrickColor.new("Hot pink") hat:breakJoints() local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = torso end end if k == "j" then if dancing then return end if not sitting then dancing = true justin:play() jb = true hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = head.Size hat.Locked = true hat.BrickColor = BrickColor.new("Hot pink") hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424" hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982" hatmesh.Scale = Vector3.new(.23, .23, .23) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = head hatweld.C0 = CFrame.new(0.025, -0.05, 0) end end if k == "c" then if dancing then return end if not sitting then dancing = true dubstepgun = true dubstep_gun:play() end end if k == "v" then if dancing then return end if not sitting then dancing = true youpirate = true you_are_pirate:play() hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = head.Size hat.Locked = true hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848" hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847" hatmesh.Scale = Vector3.new(.2, .2, .2) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = head hatweld.C0 = CFrame.new(0, -0.15, 0) end end if k == "m" then if dancing then return end if not sitting then dancing = true canttouch = true cant_touch:play() end end if k == "b" then if dancing then return end if not sitting then dancing = true bronymusic = true brony_music:play() for _,bp in pairs(char:children()) do if bp:IsA("BasePart") then bp.BrickColor = BrickColor.new("Lavender") end end hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = head.Size hat.Locked = true hat.BrickColor = BrickColor.new("Lavender") hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643" hatmesh.Scale = Vector3.new(.1, .2, .1) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = head hatweld.C0 = CFrame.new(0, -0.1, 0.05) end end if k == "l" then if dancing then return end if not sitting then dancing = true foxie = true fox_say:play() hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = head.Size hat.Locked = true hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225" hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210" hatmesh.Scale = Vector3.new(.2, .2, .2) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = head hatweld.C0 = CFrame.new(0, -0.1, 0) end end if k == "f" then if dancing then return end if not sitting then dancing = true durka = true durk:play() end end if k == "g" then if dancing then return end if not sitting then dancing = true saxguy = true sax_guy:play() hat = Instance.new("Part", char) hat.FormFactor = "Custom" hat.CanCollide = false hat.Size = head.Size hat.Locked = true hat:breakJoints() local hatmesh = Instance.new("SpecialMesh", hat) hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178" hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320" hatmesh.Scale = Vector3.new(.25, .25, .25) local hatweld = Instance.new("Weld", hat) hatweld.Part0 = hat hatweld.Part1 = la hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4) end end if k == "q" then if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end if sitting then return end looking = true rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4) end if k == "e" then if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end if sitting then return end looking = true rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4) end if k == "t" then if dancing then return end if sitting then return end dancing = true aj:play() end if string.byte(k) == 48 or string.byte(k) == 47 then if sitting then return end humanoid.WalkSpeed = 18 end if string.byte(k) == 52 then if sitting then return end humanoid.WalkSpeed = 6 end end) mouse.KeyUp:connect(function(k) if string.byte(k) == 48 or string.byte(k) == 47 then if sitting then return end humanoid.WalkSpeed = 11 end if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then superannoying = false barrelroll = false heya = false dubstepgun = false youpirate = false canttouch = false gangnam = false sheddy = false durka = false saxguy = false foxie = false burndem = false bronymusic = false aj:stop() brony_music:stop() fox_say:stop() spitfire:stop() heman:stop() justin:stop() jb = false durk:stop() restorecolors() burn_dem:stop() if hat then hat:Destroy() end sax_guy:stop() gangy_style:stop() cant_touch:stop() you_are_pirate:stop() dubstep_gun:stop() super_annoying:stop() barrel_roll:stop() dancing = false global_wait = 0 LightForTorso.Color = torso.BrickColor.Color end if k == "q" then if looking then if sitting then return end rj.C0 = CFrame.new() looking = false end end if k == "e" then if looking then if sitting then return end rj.C0 = CFrame.new() looking = false end end end) game:service'RunService'.Stepped:connect(function() count = (count % 100) + (countspeed/2) angle = math.pi * math.sin(math.pi*2/100*count) if slidecount < slidecountmax then slidecount = slidecount + speed end if slidecount > slidecountmax then slidecount = slidecount - speed end if global_wait == 380 then global_wait = 0 end sine = sine + sinespeed if not dancing then if not sitting then local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0)) local hitz, enz = workspace:FindPartOnRay(ray, char) if not hitz then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0) if not looking then rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) end neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then -- idle anim anim = "Idle" if anim ~= lastanim then if lastanim == "Walking" then speed = 0.5 slidecount = 1 slidecountmax = 0 elseif lastanim == "Running" then speed = 2.5 slidecount = 5 slidecountmax = 0 else slidecount = 0 slidecountmax = 0 end end countspeed = 1 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0) if not looking then rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) end neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then looking = false -- walk anim anim = "Walking" if anim ~= lastanim then speed = 0.2 slidecount = 0 slidecountmax = 1 if lastanim == "Running" then slidecount = 5 end end countspeed = 6 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01)) rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then --run anim anim = "Running" if anim ~= lastanim then speed = 1 slidecount = 0 slidecountmax = 5 if lastanim == "Walking" then slidecount = 1 end end looking = false countspeed = 9 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0) end lastanim = anim else countspeed = 1 local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0)) local hitz, enz = workspace:FindPartOnRay(ray, char) if not hitz then rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16) ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10) else rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) end neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0) end else if superannoying then countspeed = 5 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) elseif barrelroll then countspeed = 5 sinespeed = 0.1 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0) elseif dubstepgun then global_wait = (global_wait % 380) + 1 countspeed = 5 if global_wait < 249 - 40 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) elseif global_wait > 249 - 40 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0) end elseif youpirate then global_wait = (global_wait % 380) + 1 countspeed = 5 if global_wait < 79 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) elseif global_wait < 299 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0) rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) elseif global_wait > 299 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) end elseif canttouch then countspeed = 5 global_wait = (global_wait % 160) + 1 if global_wait == 160 then global_wait = 0 end if global_wait < 39 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0) elseif global_wait < 79 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0) elseif global_wait < 119 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0) torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0) elseif global_wait > 119 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0) torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0) end elseif gangnam then countspeed = 5 if global_wait == 180 then global_wait = 0 end global_wait = (global_wait % 180) + 1 if global_wait < 89 then ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05)) rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) elseif global_wait > 89 then ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) end elseif foxie then countspeed = 5 global_wait = (global_wait % 380) + 2 if global_wait < 89 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0) elseif global_wait > 89 then ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1)) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) end elseif durka then countspeed = 2 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07)) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07)) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03)) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03)) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) elseif saxguy then countspeed = 5 ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4) rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0) rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0) elseif heya then countspeed = 5 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0) elseif jb then countspeed = 5 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) elseif bronymusic then countspeed = 5 ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0) rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0) rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0) neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0) rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0) elseif sheddy then countspeed = 7 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) elseif burndem then countspeed = 4 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) elseif aj.IsPlaying then countspeed = 5 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0) rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0) lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0) * CFrame.Angles(angle*0.05, 0, -0.06) rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06) neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0) end end end) plr.Chatted:connect(function(msg) game:service'Chat':Chat(head, msg, 1) if msg == "die/" then char:breakJoints() end end) end) if not ran and err then print(err) end
local AS = unpack(AddOnSkins) if not AS:CheckAddOn('QuikEmotes') then return end function AS:QuikEmotes() AS:SkinFrame(Group1) AS:SkinButton(Button1) AS:SkinButton(Button2) AS:SkinButton(Button3) AS:SkinButton(Button4) AS:SkinButton(Button5) AS:SkinButton(Button6) AS:SkinButton(Button7) AS:SkinButton(Button8) AS:SkinButton(Button9) AS:SkinButton(Button10) AS:SkinButton(Button11) AS:SkinButton(Button12) AS:SkinButton(Button13) AS:SkinButton(Button14) AS:SkinButton(Button15) AS:SkinButton(Button16) AS:SkinButton(Button17) AS:SkinButton(Button18) AS:SkinButton(Button19) AS:SkinButton(Button20) AS:SkinButton(Button21) AS:SkinButton(Button22) AS:SkinFrame(Group2) AS:SkinFrame(Select) AS:SkinButton(List1) AS:SkinButton(List2) AS:SkinButton(All) end AS:RegisterSkin('QuikEmotes', AS.QuikEmotes)
passive_shoot = class({}) LinkLuaModifier("modifier_passive_shoot", "abilities/units/dummies/modifier_passive_shoot", LUA_MODIFIER_MOTION_NONE) function passive_shoot:GetIntrinsicModifierName() return 'modifier_passive_shoot' end
local T, C, L = Tukui:unpack() ---------------------------------------------------------------- -- LSA (Lua Spell Announce) -- Author: Luaerror ---------------------------------------------------------------- if (not C.SpellAnnounce.Enable) then return end local SpellList = { ["DEATHKNIGHT"] = { { spellID = 61999, type = "resurrect", announce = true }, -- Raise Ally -- Blood { spellID = 48707, type = "defensive", announce = true }, -- Anti-Magic Shell { spellID = 48792, type = "defensive", announce = true }, -- Icebound Fortitude { spellID = 55233, type = "defensive", announce = true }, -- Vampiric Blood }, ["DEMONHUNTER"] = { -- Havoc { spellID = 196718, type = "raid", announce = true, duration = 8 }, -- Darkness }, ["DRUID"] = { { spellID = 20484, type = "resurrect", announce = true }, -- Rebirth -- Balance { spellID = 29166, type = "external", announce = true }, -- Innervate -- Guardian { spellID = 61336, type = "defensive", announce = true }, -- Survival Instincts -- Restoration { spellID = 740 , type = "raid,channeled", announce = true }, -- Tranquility { spellID = 102342, type = "external", announce = true }, -- Ironbark }, ["HUNTER"] = { { spellID = 264667, type = "raid", announce = true }, -- Primal Rage }, ["MAGE"] = { { spellID = 45438 , type = "defensive", announce = true }, -- Ice Block { spellID = 80353 , type = "raid", announce = true }, -- Time Warp }, ["MONK"] = { -- Brewmaster { spellID = 115295, type = "defensive", announce = false }, -- Guard { spellID = 120954, type = "defensive", announce = true }, -- Fortigying Brew { spellID = 122278, type = "defensive", announce = true }, -- Dampen Harm { spellID = 115176, type = "raid,channeled", announce = true }, -- Zen Meditation -- Mistweaver { spellID = 122783, type = "defensive", announce = false }, -- Diffuse Magic { spellID = 243435, type = "defensive", announce = false }, -- Fortifying Brew { spellID = 116849, type = "external", announce = true }, -- Life Cocoon { spellID = 191837, type = "raid,channeled", announce = false },-- Essence Font }, ["PALADIN"] = { -- All Specs { spellID = 642 , type = "defensive", announce = true }, -- Divine Shield { spellID = 1022 , type = "external", announce = true }, -- Blessing of Protection { spellID = 1044 , type = "external", announce = true }, -- Blessing of Freedom { spellID = 6940 , type = "external", announce = true }, -- Blessing of Sacrifice { spellID = 204018, type = "external", announce = true }, -- Blessing of Spellwarding -- Holy { spellID = 498 , type = "defensive", announce = true }, -- Divine Protection { spellID = 31821 , type = "raid", announce = true }, -- Aura Mastery { spellID = 114158, type = "raid,cast", announce = true, duration = 14 }, -- Light's Hammer (Holy) -- Protection { spellID = 31850 , type = "defensive", announce = true }, -- Ardent Defender { spellID = 86659 , type = "defensive", announce = true }, -- Guardian of Ancient Kings { spellID = 204150, type = "raid,channeled", announce = true }, -- Aegis of Light (Protection) }, ["PRIEST"] = { { spellID = 586 , type = "defensive", announce = false }, -- Fade { spellID = 19236 , type = "defensive", announce = false }, -- Desperate Prayer -- Discipline { spellID = 33206 , type = "external", announce = true }, -- Pain Suppresion { spellID = 62618 , type = "raid,cast", announce = true, duration = 10 }, -- Power Word: Barrier { spellID = 271466, type = "raid", announce = true }, -- Luminous Barrier -- Holy { spellID = 47788 , type = "external" , announce = true }, -- Guardian Spirit { spellID = 27827 , type = "defensive", announce = true }, -- Spirit of Redemption { spellID = 64843 , type = "raid,channeled", announce = true }, -- Divine Hymn { spellID = 64901 , type = "raid,channeled", announce = true }, -- Symbol of Hope { spellID = 265202, type = "raid,cast", announce = false }, -- Holy Word: Salvation -- Shadow { spellID = 15286 , type = "raid", announce = true }, -- Vampiric Embrace { spellID = 47585 , type = "defensive", announce = true }, -- Dispersion }, ["ROGUE"] = {}, ["SHAMAN"] = { { spellID = 2825 , type = "raid", announce = true }, -- Bloodlust (Horde) { spellID = 32182 , type = "raid", announce = true }, -- Heroism (Alliance) { spellID = 108271, type = "defensive", announce = false }, -- Astral Shift -- Elemental { spellID = 108281, type = "raid", announce = true }, -- Ancestral Guidance -- Restoration { spellID = 98008 , type = "raid,summon", announce = true }, -- Spirit Link Totem { spellID = 108280, type = "raid,summon", announce = true }, -- Healing Tide Totem { spellID = 157153, type = "raid,summon", announce = true }, -- Cloudburst Totem { spellID = 198838, type = "raid,summon", announce = true }, -- Earthen Wall Totem { spellID = 207399, type = "raid,summon", announce = true }, -- Ancestral Protection Totem }, ["WARLOCK"] = { { spellID = 20707 , type = "resurrect", announce = true }, -- Soulstone }, ["WARRIOR"] = { { spellID = 97463 , type = "raid", announce = true }, -- Rallying Cry -- Protection { spellID = 871 , type = "defensive", announce = true }, -- Shield Wall { spellID = 12975 , type = "defensive", announce = true }, -- Last Stand }, ["ALL"] = {} } local CombatEvents = { -- Healing SPELL_HEAL = true, -- Auras SPELL_AURA_APPLIED = true, SPELL_AURA_REMOVED = true, -- Cast SPELL_CAST_START = true, SPELL_CAST_SUCCESS = true, SPELL_CAST_FAILED = false, -- Others SPELL_SUMMON = true, SPELL_RESURRECT = true, UNIT_DESTROYED = true, UNIT_DIED = true, -- UNIT_DISSIPATES = true, } local playerGUID = nil local playerClass = nil local chatType = nil local band = bit.band local bor = bit.bor local format = string.format local tremove = table.remove local tinsert = table.insert local tsort = table.sort local COMBATLOG_FILTER_TOTEM = bor(COMBATLOG_OBJECT_TYPE_GUARDIAN, COMBATLOG_OBJECT_AFFILIATION_MINE) ---------------------------------------------------------------- -- OnUpdate -- Reference: http://wowwiki.wikia.com/wiki/Using_OnUpdate_correctly on January 21th, 2019 ---------------------------------------------------------------- local SummonedUnits = {} local SummonThreshold = 30 -- threshold time to clear summons table. local UpdateInterval = 1.0 -- how often the OnUpdate code will run. local WaitTable = {} local function OnUpdate(self, elapsed) self.LastUpdate = (self.LastUpdate or 0) + elapsed while (self.LastUpdate > UpdateInterval) do -- updates spell remaining duration. for index, spell in ipairs(WaitTable) do spell.duration = spell.duration - self.LastUpdate -- checks if spell duration has expired if (spell.duration <= 0) then SendChatMessage(format(spell.fmt, unpack(spell.args)), chatType) tremove(WaitTable, index) end end -- stupid totems do not fire combat log event UNIT_DIED -- so delete from table, if this unit was summoned 30 or more secongs ago. for index, unit in ipairs(SummonedUnits) do if (unit.duration <= 0) then tremove(SummonedUnits, index) end unit.duration = unit.duration - self.LastUpdate end self.LastUpdate = self.LastUpdate - UpdateInterval; end end ---------------------------------------------------------------- -- Funtions ---------------------------------------------------------------- -- search spell in the class spell list local function GetSpellListInfo(spellID, class) if (not spellID) then return end for _, v in pairs(SpellList[class or "ALL"]) do if (v.spellID == spellID) then return v.spellID, v.type, v.announce, v.duration end end end local function SearchUnitAura(spell, unit, filter) for index = 1, 40 do local spellName, _, _, _, _, _, _, _, _, spellID = UnitAura(unit, index, filter) if (not spellID) then -- no auras left elseif (type(spell) == "number" and spell == spellID) or (type(spell) == "string"and spell == spellName) then return UnitAura(unit, index, filter) end end end local COMBATLOG_FILTER_PLAYER = bor(COMBATLOG_OBJECT_TYPE_PLAYER, COMBATLOG_OBJECT_CONTROL_PLAYER, COMBATLOG_OBJECT_AFFILIATION_MINE) local function GetUnit(unitFlags) if (band(unitFlags, COMBATLOG_OBJECT_TARGET) > 0) then return "target" elseif (band(unitFlags, COMBATLOG_OBJECT_FOCUS) > 0) then return "focus" elseif (band(unitFlags, COMBATLOG_FILTER_PLAYER) > 0) then return "player" end end ---------------------------------------------------------------- -- Frame ---------------------------------------------------------------- local f = CreateFrame("Frame") f:RegisterEvent("PLAYER_LOGIN") f:RegisterEvent("PLAYER_ENTERING_WORLD") f:SetScript("OnUpdate", OnUpdate) f:SetScript("OnEvent", function (self, event, ...) -- call one of the functions below self[event](self, ...) end) function f:PLAYER_LOGIN() playerGUID = UnitGUID("player") playerClass = select(2, UnitClass("player")) self:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED") end function f:PLAYER_ENTERING_WORLD() local inInstance, instanceType = IsInInstance() if (inInstance) and (C.SpellAnnounce.GroupChat) then if (instanceType == "raid") then if (IsInRaid()) then chatType = "RAID" else chatType = "SAY" end elseif (inInstance == "party") then if (IsInGroup(LE_PARTY_CATEGORY_INSTANCE)) then chatType = "INSTANCE_CHAT" elseif (IsInGroup()) then chatType = "PARTY" else chatType = "SAY" end end else chatType = "SAY" end end function f:COMBAT_LOG_EVENT_UNFILTERED() local timestamp, eventType, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags = CombatLogGetCurrentEventInfo() if (eventType:find("SPELL")) then -- some spells return nil destination if casted with out a locked target if (not destName) then destGUID = sourceGUID destName = sourceName destFlags = sourceFlags destRaidFlags = sourceRaidFlags end -- ignore spell casted by others and aren't targeting the player if (sourceGUID ~= playerGUID) and (destGUID ~= playerGUID) then return end -- get caster class local class = sourceGUID:find("Player") and select(2, GetPlayerInfoByGUID(sourceGUID)) or "ALL" -- get extra combatlog info local spellID, spellName, spellSchool = select(12, CombatLogGetCurrentEventInfo()) -- check spell list local _, types, announce, uptime = GetSpellListInfo(spellID, class) if (announce) then -- split spell types local type, arg1 = strsplit(",", types) -- set which spell text will be displayed local spellLink = GetSpellLink(spellID) local spellText = (C.SpellAnnounce.SpellLink) and spellLink or spellName -- raid cooldowns if (type == "raid") then if (eventType == "SPELL_CAST_SUCCESS") then -- announce only spell casted by the player if (sourceGUID == playerGUID) then if (arg1 == "channeled") then SendChatMessage(format("Channeling %s!", spellText), chat) elseif (arg1 == "cast") then local duration = uptime SendChatMessage(format("%s (%ds) up!", spellText, duration), chatType) if (duration and duration > 0) then tinsert(WaitTable, { duration = duration, fmt = "%s over!", args = { spellName } }) end end end elseif (eventType == "SPELL_AURA_APPLIED") and (not arg1) then -- announce spells that apply affects to a large group of people local unit = GetUnit(destFlags) local filter = (sourceGUID == playerGUID) and "HELPFUL|PLAYER" or "HELPFUL" local duration = select(5, SearchUnitAura(spellID, unit, filter)) if (destGUID == playerGUID) then SendChatMessage(format("%s (%ds) up!", spellText, duration), chatType) end elseif (eventType == "SPELL_AURA_REMOVED") and (arg1 ~= "summon") then -- announce only when the unit is the player if (destGUID == playerGUID) then SendChatMessage(format("%s over!", spellText), chatType) end elseif (eventType == "SPELL_SUMMON") then if (sourceGUID == playerGUID) then SendChatMessage(format("%s up!", spellText), chatType) -- define a limit local duration = SummonThreshold -- get duration of the last totem summoned for i = 1, MAX_TOTEMS do local haveTotem, totemName, startTime, totemDuration = GetTotemInfo(i) if (not haveTotem) then break else duration = totemDuration + 3 end end -- save summoned unit GUID and Name tinsert(SummonedUnits, { timestamp = timestamp, GUID = destGUID, name = destName, duration = duration }) -- sort table by timestamp if (#SummonedUnits > 1) then tsort(SummonedUnits, function(a, b) if (a.timestamp == b.timestamp) then return a.name < b.name end return a.timestamp < b.timestamp end) end end end -- external cooldowns elseif (type == "external") then if (eventType == "SPELL_AURA_APPLIED") then local unit = GetUnit(destFlags) local filter = (sourceGUID == playerGUID) and "HELPFUL|PLAYER" or "HELPFUL" local duration = select(5, SearchUnitAura(spellID, unit, filter)) if (sourceGUID == playerGUID) then if (destGUID == playerGUID) then SendChatMessage(format("%s (%ds) up!", spellText, duration), chatType) else SendChatMessage(format("%s (%ds) casted on %s!", spellText, duration, destName), chatType) end else if (destGUID == playerGUID) then SendChatMessage(format("%s (%s) on me!", spellText, duration), chatType) end end elseif (eventType == "SPELL_AURA_REMOVED") then if (sourceGUID == playerGUID) then if (destGUID == playerGUID) then SendChatMessage(format("%s over!", spellText), chatType) else SendChatMessage(format("%s on %s is over!", spellText, destName), chatType) end else if (destGUID == playerGUID) then SendChatMessage(format("%s on me is over!", spellText), chatType) end end elseif (eventType == "SPELL_HEAL") then if (sourceGUID == playerGUID) then local amount, overhealing, absorbed, critical = select(15, CombatLogGetCurrentEventInfo()) SendChatMessage(format("%s healed %s for %d!", spellText, destName, amount), chatType) end end -- defensive cooldowns elseif (type == "defensive") or (type == "buff") then if (sourceGUID == playerGUID) and (destGUID == playerGUID) then if (eventType == "SPELL_AURA_APPLIED") then local duration = select(5, SearchUnitAura(spellID, "player", "HELPFUL")) SendChatMessage(format("%s (%ds) up!", spellText, duration)) elseif (eventType == "SPELL_AURA_REMOVED") then SendChatMessage(format("%s over!", spellText)) end end -- resurrect elseif (type == "resurrect") then if (sourceGUID == playerGUID) then if (eventType == "SPELL_RESURRECT") then SendChatMessage(format("Casting %s on %s!", spellText, destName), chatType) end end -- debuffs elseif (type == "debuff") then if (sourceGUID ~= playerGUID) and (destGUID == playerGUID) then if (eventType == "SPELL_AURA_APPLIED") then local duration = select(5, SearchUnitAura(spellID, "player", "HARMFUL")) SendChatMessage(format("%s (%ds) up!", spellText, duration)) elseif (eventType == "SPELL_AURA_REMOVED") then SendChatMessage(format("%s over!", spellText)) end end end end elseif (eventType:find("UNIT")) then -- filter units that belong to player if (band(destFlags, COMBATLOG_FILTER_TOTEM) > 0) then -- check if unit was one of the summoned units if (eventType == "UNIT_DIED") or (eventType == "UNIT_DESTROYED") then for index, unit in pairs(SummonedUnits) do if (unit.name == destName) then SendChatMessage(format("%s is over!", destName), chatType) -- remove unit from table tremove(SummonedUnits, index) end end end end end end
return { summary = 'An asset imported from a 3D model file.', description = [[ A Model is a drawable object loaded from a 3D file format. The supported 3D file formats are OBJ, glTF, and STL. ]], constructors = { 'lovr.graphics.newModel', 'lovr.headset.newModel' }, example = [[ local model function lovr.load() model = lovr.graphics.newModel('assets/model.gltf') end function lovr.draw() model:draw(0, 1, -1, 1, lovr.timer.getTime()) end ]] }
local Dialog = ImportPackage("dialogui") local _ = function(k,...) return ImportPackage("i18n").t(GetPackageName(),k,...) end local policeNPC local policeNpcMenu local policeMenu AddRemoteEvent("SetupPolice", function(policenpc) policeNPC = policenpc end) AddEvent("OnTranslationReady", function() policeNpcMenu = Dialog.create(_("police_menu"), nil, _("start_stop_police") ,_("cancel")) policeMenu = Dialog.create(_("police_menu"), nil, _("handcuff_player"), _("put_player_in_vehicle"), _("remove_player_from_vehicle"), _("remove_all_weapons"),_("give_player_fine"), _("cancel")) policeNpcGarageMenu = Dialog.create(_("police_garage_menu"), nil, _("spawn_despawn_patrol_car"), _("cancel")) policeNpcArmoryMenu = Dialog.create(_("police_armory"), nil, _("get_equipped"), _("cancel")) policeReceiveFineMenu = Dialog.create(_("fine"), _("fine_price").." : {fine_price} ".._("currency").." | ".._("reason").." : {reason}", _("pay")) policeFineMenu = Dialog.create(_("finePolice"), nil, _("give_fine"), _("cancel")) Dialog.addTextInput(policeFineMenu, 1, _("amount").." :") Dialog.addSelect(policeFineMenu, 1, _("player"), 3) Dialog.addTextInput(policeFineMenu, 1, _("reason").." :") end) AddEvent("OnKeyPress", function( key ) if key == "E" and not onSpawn and not onCharacterCreation then local NearestPolice, purpose = GetNearestPolice() if NearestPolice ~= 0 then if(purpose == "police_job") then Dialog.show(policeNpcMenu) elseif(purpose == "police_garage") then Dialog.show(policeNpcGarageMenu) elseif(purpose == "police_armory") then Dialog.show(policeNpcArmoryMenu) end end end if key == "F3" and not onSpawn and not onCharacterCreation then CallRemoteEvent("OpenPoliceMenu") end end) AddEvent("OnDialogSubmit", function(dialog, button, ...) local args = { ... } if dialog == policeNpcMenu then if button == 1 then CallRemoteEvent("StartStopPolice") end end if dialog == policeNpcGarageMenu then if button == 1 then CallRemoteEvent("GetPatrolCar") end end if dialog == policeNpcArmoryMenu then if button == 1 then CallRemoteEvent("GetEquipped") end end if dialog == policeMenu then if button == 1 then CallRemoteEvent("HandcuffPlayerSetup") end if button == 2 then CallRemoteEvent("PutPlayerInVehicle") end if button == 3 then CallRemoteEvent("RemovePlayerOfVehicle") end if button == 4 then CallRemoteEvent("RemoveAllWeaponsOfPlayer") end if button == 5 then CallRemoteEvent("OpenPoliceFineMenu") end end if dialog == policeFineMenu then if button == 1 then if args[1] ~= "" then if tonumber(args[1]) > 0 then CallRemoteEvent("GiveFineToPlayer", args[1], args[2], args[3]) else MakeNotification(_("enter_higher_number"), "linear-gradient(to right, #ff5f6d, #ffc371)") end else MakeNotification(_("valid_number"), "linear-gradient(to right, #ff5f6d, #ffc371)") end end end if dialog == policeReceiveFineMenu then if button == 1 then CallRemoteEvent("PayFine") end end end) AddRemoteEvent("PoliceMenu", function() Dialog.show(policeMenu) end) AddRemoteEvent("OpenPoliceFineMenu", function(playerNames) Dialog.setSelectLabeledOptions(policeFineMenu, 1, 2, playerNames) Dialog.show(policeFineMenu) end) function GetNearestPolice() local x, y, z = GetPlayerLocation() for k,v in pairs(GetStreamedNPC()) do local x2, y2, z2 = GetNPCLocation(v) local dist = GetDistance3D(x, y, z, x2, y2, z2) if dist < 250.0 then for k,i in pairs(policeNPC) do if v == i[1] then return v, i[2] end end end end return 0, "" end AddRemoteEvent("ChangeUniformClient", function(playerToChange, pieceName, part) if(pieceName ~= nil and pieceName ~= '') then local SkeletalMeshComponent = GetPlayerSkeletalMeshComponent(playerToChange, "Clothing"..part) SkeletalMeshComponent:SetSkeletalMesh(USkeletalMesh.LoadFromAsset(pieceName)) end end) AddEvent("OnPlayerStreamIn", function(player, otherplayer) CallRemoteEvent("ChangeUniformOtherPlayerServer", player, otherplayer) end) AddEvent("OnKeyPress", function(key) if(key == "R" and IsShiftPressed()) then CallRemoteEvent("HandcuffPlayerSetup") end end) AddEvent("OnGameTick", function() if(GetPlayerPropertyValue(GetPlayerId(), "cuffed")) then if(GetPlayerMovementSpeed() > 0 and GetPlayerMovementMode() ~= 1) then CallRemoteEvent("DisableMovementForCuffedPlayer") else local x, y, z = GetPlayerLocation() CallRemoteEvent("UpdateCuffPosition", x, y, z) end end end) AddEvent("OnPlayerDeath", function(player, instigator) if(GetPlayerPropertyValue(GetPlayerId(), "cuffed")) then CallRemoteEvent("FreeHandcuffPlayer") end end) AddEvent("OnPlayerStartExitVehicle", function(vehicle) if(GetPlayerPropertyValue(GetPlayerId(), "cuffed")) then return false end end) AddEvent("OnPlayerStartEnterVehicle", function(vehicle) if(GetPlayerPropertyValue(GetPlayerId(), "cuffed")) then return false end end) AddRemoteEvent("PlayerReceiveFine", function(amount, reason) Dialog.setVariable(policeReceiveFineMenu, "fine_price", amount) Dialog.setVariable(policeReceiveFineMenu, "reason", reason) Dialog.show(policeReceiveFineMenu) end)