function 写(iii, ii, io) gg.setRanges(32) gg.clearResults() gg.setVisible(false) gg.searchNumber(iii[1][1], io) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = iii[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #iii do local tmp = {} local offset = iii[k][2] - base local num = iii[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("写入:"..#data) local t = {} local base = iii[1][2] for i=1, #data do for k, w in ipairs(ii) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = io 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) end end end 写入枪械 = function(SZ1,SZ2) 写({{SZ1,0x0},{0,0x8},{SZ1,0xC}},{{SZ2,0x4}},4) end gg.alert("开启美化后需要再重新启动一次 等待一会UI就会出来") local material3 = elgg.import("material3") context = material3:getContext() context.setTheme(0x7f090069) import "android.os.*" import "android.view.*" import "android.widget.*" import "android.graphics.PixelFormat" import "android.graphics.Color" import "android.graphics.drawable.GradientDrawable" import "android.graphics.drawable.StateListDrawable" import "com.google.android.material.materialswitch.MaterialSwitch" import "android.graphics.Color" import "android.content.res.ColorStateList" import "android.animation.LayoutTransition" import 'com.google.android.material.slider.Slider' import "android.animation.ObjectAnimator" import "android.animation.AnimatorSet" import "android.view.animation.DecelerateInterpolator" import "android.animation.LayoutTransition" import "android.animation.ValueAnimator" import "android.view.animation.LinearInterpolator" import "android.renderscript.*" import "android.graphics.Bitmap" import "android.graphics.Canvas" import "android.os.Handler" import "android.os.Looper" elgg.import("HiddenApiBypass") elgg.import("toast") import "android.view.View" import "android.animation.ObjectAnimator" import "android.view.animation.DecelerateInterpolator" import "android.os.Handler" -- 全局状态标记:是否开启音量键控制 yinliang = false local material3 = elgg.import("material3") -- 导入 m3 库 context = material3:getContext() -- 获取 m3 库的 context (不要用 local,不然 loadlayout 加载不了) context.setTheme(0x7f090069) -- 设置 material3 亮色主题 import "android.os.*" import "android.view.*" import "android.widget.*" import "android.graphics.PixelFormat" import "android.graphics.Color" import "android.graphics.drawable.GradientDrawable" import "android.graphics.drawable.StateListDrawable" import "com.google.android.material.materialswitch.MaterialSwitch" import "android.graphics.Color" import "android.content.res.ColorStateList" import "android.animation.LayoutTransition" import 'com.google.android.material.slider.Slider' import "android.animation.ObjectAnimator" -- 属性动画我吃柠檬 import "android.animation.AnimatorSet" -- 组合动画我吃柠檬🍋 import "android.view.animation.DecelerateInterpolator" -- 减速效果我吃柠檬🍋 import "android.animation.LayoutTransition" import "android.animation.ValueAnimator" import "android.view.animation.LinearInterpolator" import "android.os.Handler" import "android.os.Looper" elgg.import("HiddenApiBypass") -- 导入 HiddenApiBypass 库 elgg.import("toast") -- toast 库 elgg.import("AlGui") -- AlGui 库 local Typeface = luajava.bindClass("android.graphics.Typeface") local File = luajava.bindClass("java.io.File") function loadFont(fontPath) if not fontPath or fontPath == "" then return Typeface.DEFAULT end local file = File(fontPath) if file.exists() then local success, font = pcall(function() return Typeface.createFromFile(fontPath) end) if success then return font end end return Typeface.DEFAULT end local fontPath = "/storage/emulated/0/肥鱼美化2.0/资源/软糖.ttf" local font = loadFont(fontPath) gg.setConfig(2131427487, 0) gg.hide(true) gg.playMusic("/sdcard/肥鱼美化2.0/Music/欢迎回家.mp3") local lj = "/storage/emulated/0/秋风UI/" local window = activity.getSystemService("window") local 肥鱼美化 = {} gg.setVisible(false) local HotPoint = luajava.bindClass("android.ext.HotPoint") local HP = HotPoint.getMethod("d") HotPoint = HotPoint.instance HotPoint.f() local function getVerticalBG(gtvb1, gtvb3, gtvb4, gtvb5) if not gtvb4 then gtvb4 = 0 gtvb5 = 0xff000000 end local colors = luajava.new(GradientDrawable) colors.setColor(gtvb1) colors.setCornerRadius(gtvb3) colors.setGradientType(GradientDrawable.LINEAR_GRADIENT) colors.setStroke(gtvb4, gtvb5) return colors end function applyBestBlurEffect(view, radius) if Build.VERSION.SDK_INT >= 31 then view.setRenderEffect(nil) end local animator = ValueAnimator.ofFloat(0, radius) animator.setDuration(400) animator.setInterpolator(DecelerateInterpolator()) animator.addUpdateListener({ onAnimationUpdate = function(animation) local currentRadius = animation.getAnimatedValue() if Build.VERSION.SDK_INT >= 31 then import "android.graphics.RenderEffect" import "android.graphics.Shader" local blurEffect = RenderEffect.createBlurEffect( currentRadius, currentRadius, Shader.TileMode.CLAMP ) view.setRenderEffect(blurEffect) return end if Build.VERSION.SDK_INT >= 26 then local rootView = activity.getWindow().getDecorView().getRootView() local blurredBg = applyFullResBlur(rootView, currentRadius) view.setBackgroundDrawable(BitmapDrawable(activity.getResources(), blurredBg)) return end local alpha = math.floor(0x80 * (currentRadius/radius)) local drawable = GradientDrawable() drawable.setColor(alpha * 0x1000000) drawable.setCornerRadius(35) view.setBackgroundDrawable(drawable) end }) animator.addListener({ onAnimationEnd = function() if Build.VERSION.SDK_INT >= 31 then import "android.graphics.RenderEffect" import "android.graphics.Shader" local blurEffect = RenderEffect.createBlurEffect( radius, radius, Shader.TileMode.CLAMP ) view.setRenderEffect(blurEffect) end end }) animator.start() view.setPivotX(view.getWidth()/2) view.setPivotY(view.getHeight()/2) local scaleAnimator = ObjectAnimator.ofFloat(view, "scaleX", 0.9, 1.05, 1.0) local scaleYAnimator = ObjectAnimator.ofFloat(view, "scaleY", 0.9, 1.05, 1.0) local animSet = AnimatorSet() animSet.playTogether(scaleAnimator, scaleYAnimator) animSet.setDuration(800) animSet.setInterpolator(DecelerateInterpolator()) animSet.start() return true end function createBlurDrawable() local BlurMaskFilter = luajava.bindClass("android.graphics.BlurMaskFilter") local Blur = luajava.bindClass("android.graphics.BlurMaskFilter$Blur") local RectShape = luajava.bindClass("android.graphics.drawable.shapes.RectShape") local ShapeDrawable = luajava.bindClass("android.graphics.drawable.ShapeDrawable") local Color = luajava.bindClass("android.graphics.Color") local blur = BlurMaskFilter(12000, Blur.NORMAL) local shape = luajava.new(RectShape) local shapeDrawable = luajava.new(ShapeDrawable, shape) local paint = shapeDrawable.getPaint() paint.setMaskFilter(blur) paint.setColor(Color.parseColor("#aaFFFFFF")) return shapeDrawable end local function getVerticalBG(gtvb1, gtvb3, gtvb4, gtvb5) if not gtvb4 then gtvb4 = 0 gtvb5 = 0xff000000 end local colors = luajava.new(GradientDrawable) colors.setColor(gtvb1) colors.setCornerRadius(gtvb3) colors.setGradientType(GradientDrawable.LINEAR_GRADIENT) colors.setStroke(gtvb4, gtvb5) return colors end function zm_animation(view) view.setPivotX(view.getWidth()/2) view.setPivotY(view.getHeight()/2) local scaleX = ObjectAnimator.ofFloat(view, "scaleX", 0.9, 1) local scaleY = ObjectAnimator.ofFloat(view, "scaleY", 0.9, 1) local alpha = ObjectAnimator.ofFloat(view, "alpha", 0, 1) local translateY = ObjectAnimator.ofFloat(view, "translationY", 12, 0) local animatorSet = AnimatorSet() animatorSet.playTogether(scaleX, scaleY, alpha, translateY) animatorSet.setDuration(320) animatorSet.setInterpolator(DecelerateInterpolator()) view.post(function() animatorSet.start() end) end function zoom_animation(view) if view.getWidth() == 0 or view.getHeight() == 0 then view.post(function() zoom_animation(view) end) return end view.setPivotX(view.getWidth()/2) view.setPivotY(view.getHeight()/2) local scaleX = ObjectAnimator.ofFloat(view, "scaleX", 0.9, 1) local scaleY = ObjectAnimator.ofFloat(view, "scaleY", 0.9, 1) local alpha = ObjectAnimator.ofFloat(view, "alpha", 0, 1) local translateY = ObjectAnimator.ofFloat(view, "translationY", 10, 0) local animatorSet = AnimatorSet() animatorSet.playTogether(scaleX, scaleY, alpha, translateY) animatorSet.setDuration(300) animatorSet.setInterpolator(DecelerateInterpolator()) animatorSet.start() end -- 温馨二次元关闭(温柔消散) function zom_animation(view) if view.getWidth() == 0 or view.getHeight() == 0 then view.post(function() zom_animation(view) end) return end view.setPivotX(view.getWidth()/2) view.setPivotY(view.getHeight()/2) local scaleX = ObjectAnimator.ofFloat(view, "scaleX", 1, 1.05, 0.9) local scaleY = ObjectAnimator.ofFloat(view, "scaleY", 1, 1.05, 0.9) local alpha = ObjectAnimator.ofFloat(view, "alpha", 1, 0) local translateY = ObjectAnimator.ofFloat(view, "translationY", 0, 12) local animatorSet = AnimatorSet() animatorSet.playTogether(scaleX, scaleY, alpha, translateY) animatorSet.setDuration(320) animatorSet.setInterpolator(DecelerateInterpolator()) animatorSet.start() end -- 切换也走忧郁温馨风 function sparkle_animation(view, time) local animator = ObjectAnimator.ofFloat(view, "alpha", 0, 1) animator.setDuration(time) animator.setInterpolator(DecelerateInterpolator()) animator.start() end -- 淡出动画:view为悬浮窗根布局(如windows) function sparkle_animationo(view, time) local animator = ObjectAnimator.ofFloat(view, "alpha", 1, 0) animator.setDuration(time) animator.setInterpolator(DecelerateInterpolator()) animator.start() end -- 隐藏视图 function hide(id) load("return "..id)().setVisibility(View.GONE) end -- 显示视图(带动画) function view(id) load("return windows")().post(function() sparkle_animation(windows,600) load("return "..id)().setVisibility(View.VISIBLE) end) end -- 音量键控制悬浮窗显隐【核心监听函数】 setOnAudioListener(function(str) -- 未开启则直接返回,不响应音量键 if not yinliang then return end -- 音量+:显示悬浮窗 if str == "增加" then view("windows") -- 音量-:隐藏悬浮窗(淡出动画后延迟隐藏) else load("return windows")().post(function() sparkle_animationo(windows,600) Handler().postDelayed(function() hide("windows") end, 650) end) end end) -- 音量键控制开关:开启/关闭 function togglePlayPause() yinliang = true toast.hint("已开启音量键控制悬浮窗", true) end function togglePlayPauses() yinliang = false toast.hint("已关闭音量键控制悬浮窗", true) end function zoot_animation(view) if view.getWidth() == 0 or view.getHeight() == 0 then view.post(function() zoot_animation(view) end) return end view.setPivotX(view.getWidth()/2) view.setPivotY(view.getHeight()/2) local scaleX = ObjectAnimator.ofFloat(view, "scaleX", 1, 0.9) local scaleY = ObjectAnimator.ofFloat(view, "scaleY", 1, 0.9) local alpha = ObjectAnimator.ofFloat(view, "alpha", 1, 0) local translateY = ObjectAnimator.ofFloat(view, "translationY", 0, 10) local animatorSet = AnimatorSet() animatorSet.playTogether(scaleX, scaleY, alpha, translateY) animatorSet.setDuration(300) animatorSet.setInterpolator(DecelerateInterpolator()) animatorSet.start() end function miaobian(d, r, t, y) local drawable = GradientDrawable() drawable.setShape(GradientDrawable.RECTANGLE) drawable.setColor(t) drawable.setCornerRadii({r, r, r, r, r, r, r, r}) drawable.setStroke(d, y) return drawable end function getShepeBackground(color, radiu) local drawable = luajava.new(GradientDrawable) drawable.setShape(GradientDrawable.RECTANGLE) drawable.setColor(color) drawable.setCornerRadii({radiu, radiu, radiu, radiu, radiu, radiu, radiu, radiu}) return drawable end local function getButtonBG() local selector = StateListDrawable() local state = android.R.attr.state_pressed selector.addState({state}, getVerticalBG("0xfffffffff", 25)) selector.addState({-state}, getVerticalBG("0xfffffffff", 25)) return selector end local function getLayoutParams() local LayoutParams = WindowManager.LayoutParams local layoutParams = luajava.new(LayoutParams) layoutParams.type = Build.VERSION.SDK_INT >= 26 and LayoutParams.TYPE_APPLICATION_OVERLAY or LayoutParams.TYPE_PHONE layoutParams.format = PixelFormat.RGBA_8888 layoutParams.flags = LayoutParams.FLAG_NOT_FOCUSABLE | LayoutParams.FLAG_ALT_FOCUSABLE_IM layoutParams.gravity = Gravity.CENTER layoutParams.width = LayoutParams.WRAP_CONTENT layoutParams.height = LayoutParams.WRAP_CONTENT return layoutParams end local function threadStart(runnable) local newRun = luajava.createProxy("java.lang.Runnable", runnable) local subThread = luajava.newInstance("java.lang.Thread", newRun) subThread:start() end local function log(text, color, size) local tmp = loadlayout { TextView, Typeface = font, text = os.date("%m-%d %H:%M:%S ") .. text, textSize = size or '10sp', textColor = color, gravity = "left", layout_width = "wrap_content", } console_list.addView(tmp) console.fullScroll(View.FOCUS_DOWN) end local change_menu local background_list = { getShepeBackground("0xff161616", 15), } 肥鱼美化.switch = function(name, func1, func2) local sw sw = loadlayout({ MaterialSwitch; text = " "..name; textColor = "0xff333333"; textSize = "12sp"; padding = "5dp"; layout_width = "match"; layout_height = "match"; trackTintList=(ColorStateList({{android.R.attr.state_checked},{}},{0xffB5CFE4,0x28FFFFFF})), thumbTintList=(ColorStateList({{android.R.attr.state_checked},{-android.R.attr.state_checked}},{0xfffffffff,0xFF4B484F})), onClick = function() local func = sw.checked and func1 or func2 threadStart({ run = function() pcall(func) end }) end }) local tmp = loadlayout({ LinearLayout, -- 添加 1dp 黑色边框,保持 6dp 圆角和原有背景色 background = miaobian(1, 6, 0xfffffffff, 0xffF48FB1), elevation = "1dp"; layout_width = 'fill_parent'; layout_height = "40dp"; layout_margin = "2dp"; gravity = "center_vertical"; padding = { "0dp", "0dp", "6dp", "0dp" }; }) local rest = loadlayout({ LinearLayout, layout_width = 'fill_parent'; layout_height = "wrap_content"; gravity = "center_vertical"; }) tmp.addView(sw) rest.addView(tmp) return rest end 肥鱼美化.seek = function(name,bian,smin,smax,nows) local sw _ENV[bian] =nows smin=tonumber(smin) smax=tonumber(smax) if _ENV[bian] == nil then _ENV[bian] = 1.0 end if not name then name = "未设置" end sw = loadlayout({ Slider, thumbHeight='23dp', trackHeight='15dp', tickVisible=false, TrackActiveTintList=ColorStateList({{}},{"0xff".."000000"}), TrackInactiveTintList=ColorStateList({{}},{"0x55".."000000"}), ThumbTintList=ColorStateList({{}},{"0xff".."000000"}), layout_width = 'match_parent', id=luajava.newId(name.."seekbar"), valueFrom=smin, valueTo=smax, value=nows, stepSize=1.0, }) sw.addOnChangeListener({ onValueChange = function(slider, value, fromUser) _ENV[bian] = value end }) local tmp = loadlayout({ LinearLayout, background = miaobian(1, 6, 0xfffffffff, 0xffF48FB1), elevation = "1dp", layout_width = 'fill_parent', layout_height = "40dp", layout_marginLeft = '2dp', layout_marginRight = '2dp', layout_marginTop = '2dp', layout_marginBottom = '2dp', gravity = "center_vertical", padding = { "0dp", "0dp", "6dp", "0dp" },{TextView, Typeface = font, padding={"5dp","10dp","0dp","10dp",}, gravity = "top", textColor='0xff333333', textSize='11sp', text = name, id = luajava.newId(names), layout_width = 'wrap_content', layout_marginLeft = "5dp",} }) local rest = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = "wrap_content", gravity = "center_vertical", }) tmp.addView(sw) rest.addView(tmp) return rest end 肥鱼美化.text = function(txt, color, size) local tmp = { TextView, Typeface = font, text = txt or "未设置文字", textSize = size or "18sp", textColor = color or "#545454", layout_width = "wrap_content", } return loadlayout(tmp) end layoutTransition=LayoutTransition() function visi (tid , ttid) local tview = luajava.getIdView (tid) local ttview = luajava.getIdView (ttid) if not tview then return 0 end if tonumber (tostring (tview : getVisibility ())) == 8.0 then tview.setVisibility (View.VISIBLE) else tview.setVisibility (View.GONE) end end -- 必须在最前面提前定义全局变量,避免报错 colorvs = {} boxes = {} boxpic = {} function visi(tid, ttid) local tview = luajava.getIdView(tid) local arrowView = luajava.getIdView(tid.."_arrow") if not tview then return 0 end if tonumber(tostring(tview:getVisibility())) == 8.0 then tview.setVisibility(View.VISIBLE) local anim = ObjectAnimator.ofFloat(arrowView, "rotation", 0, 90) anim.setDuration(300) anim.start() else tview.setVisibility(View.GONE) local anim = ObjectAnimator.ofFloat(arrowView, "rotation", 90, 0) anim.setDuration(300) anim.start() end end function 肥鱼美化.box(views) local tid = "box"..string.randomUUID(true) colorvs[#colorvs+1] = {"box",tid} local arrowIcon = { ImageView, id = luajava.newId(tid.."_arrow"), layout_width="wrap_content", layout_height="wrap_content", src = "/sdcard/樱泽墨资源1/图片/box", ColorFilter = "0xff333333" } local ttid = tid.."6" local firadio = { LinearLayout, layout_width='fill_parent', -- 外层添加 1dp 黑色边框(背景色+边框色+边框宽度) background = miaobian(1, 25, 0xfffffffff, 0xffF48FB1), -- 1dp黑边,25dp圆角 elevation="2dp", layout_height="wrap_content", layout_margin="4dp", orientation="vertical", LayoutTransition = LayoutTransition() } if type(views[1]) == "string" or type(views[1]) == "number" then firadio[#firadio + 1] = { LinearLayout, layout_width='fill_parent', layout_height="40dp", gravity="center_vertical", onClick = function() visi(tid,ttid) end, { LinearLayout, layout_width='fill_parent', layout_height="36dp", layout_marginRight="4dp", layout_marginLeft="4dp", gravity="center_vertical", -- 内层添加 1dp 黑色边框 elevation="1dp", { TextView, Typeface = font, gravity="center_vertical", text=views[1], textColor="0xff333333", textSize="12sp", layout_weight=1, layout_marginLeft="15dp", layout_marginRight="20dp", layout_width='fill_parent', }, { LinearLayout, padding={"0dp","0dp","15dp","0dp"}, layout_width="30dp", layout_height="30dp", gravity="center", arrowIcon } } } else gg.alert("肥鱼美化.box 的 table 内第一个元素必须是 string") os.exit() end local contentLayout = { LinearLayout, layout_marginLeft="10dp", layout_marginRight="10dp", layout_marginBottom="10dp", orientation="vertical", visibility="gone", id=luajava.newId(tid), layout_width='fill_parent', } for i=2,#views do table.insert(contentLayout, views[i]) end local finalLayout = loadlayout(firadio) local contentView = loadlayout(contentLayout) finalLayout.addView(contentView) boxes[tid] = contentView return finalLayout end function 肥鱼美化.box2(views) local tid = "box"..string.randomUUID(true) colorvs[#colorvs+1] = {"box",tid} local arrowIcon = { ImageView, id = luajava.newId(tid.."_arrow"), layout_width="wrap_content", layout_height="wrap_content", src = "/sdcard/樱泽墨资源1/", ColorFilter = "0xff333333" } local ttid = tid.."6" local firadio = { LinearLayout, layout_width='fill_parent', -- 外层 1dp 黑色边框(背景色+黑边+圆角) background = miaobian(1, 25, 0xfffffffff, 0xffF48FB1), elevation="2dp", layout_height="wrap_content", layout_margin="4dp", orientation="vertical", LayoutTransition = LayoutTransition() } if type(views[1]) == "string" then firadio[#firadio + 1] = { LinearLayout, layout_width='fill_parent', layout_height="40dp", gravity="center_vertical", onClick = function() visi(tid,ttid) end, { LinearLayout, layout_width='fill_parent', layout_height="36dp", layout_marginRight="4dp", layout_marginLeft="4dp", gravity="center", -- 内层 1dp 黑色边框 elevation="1dp", { ImageView, layout_width="24dp", layout_height="24dp", scaleType="fitCenter", src = views[1], }, { LinearLayout, padding={"0dp","0dp","15dp","0dp"}, layout_width="30dp", layout_height="30dp", gravity="center", arrowIcon } } } else gg.alert("肥鱼美化.box2 第一个参数必须是图标路径字符串") os.exit() end local contentLayout = { LinearLayout, layout_marginLeft="10dp", layout_marginRight="10dp", layout_marginBottom="10dp", orientation="vertical", visibility="gone", id=luajava.newId(tid), layout_width='fill_parent', } for i=2,#views do table.insert(contentLayout, views[i]) end local finalLayout = loadlayout(firadio) local contentView = loadlayout(contentLayout) finalLayout.addView(contentView) boxes[tid] = contentView return finalLayout end 肥鱼美化.jjonkoj = function(views) if #views == 0 then return end local mainLayout = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical' }) local scrollView = loadlayout({ HorizontalScrollView, layout_width = 'fill_parent', layout_height = 'wrap_content', { LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'vertical', id = 'rows_container' } }) mainLayout.addView(scrollView) local buttonsPerRow = 4 local currentRow = nil local buttonsInCurrentRow = 0 for i, v in ipairs(views) do if buttonsInCurrentRow % buttonsPerRow == 0 then currentRow = loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'horizontal', id = 'row_'..math.ceil(i/buttonsPerRow) }) rows_container.addView(currentRow) end local func1, func2 = v[2], v[3] local buju = loadlayout({ LinearLayout, layout_width = '70dp', layout_height = '75dp', clickable="true", onClick = function(view) threadStart({ run = function() if func1 then pcall(func1) end end }) end, { CardView, layout_width='match_parent', layout_height="match_parent", layout_margin = "5dp", elevation = "2dp", background = getVerticalBG(0xffffe6f2,15,2,0xff333333), {RelativeLayout, layout_width='match_parent', layout_height='match_parent', { ImageView, padding="4dp", layout_width='match_parent', layout_height="match_parent", layout_alignParentTop="true", layout_marginBottom="10dp", src = views[i]["图片"], }, { TextView, Typeface = font, layout_width = "match_parent", layout_height = "wrap_content", layout_alignParentBottom="true", gravity = "center", text = v[1], textSize = "10sp", textColor = 0xff0000ff } } } }) currentRow.addView(buju) buttonsInCurrentRow = buttonsInCurrentRow + 1 end return mainLayout end 肥鱼美化.checkbox = function(views) if #views == 0 then return end local mainLayout = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical' }) local scrollView = loadlayout({ HorizontalScrollView, layout_width = 'fill_parent', layout_height = 'wrap_content', { LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'vertical', id = 'rows_container' } }) mainLayout.addView(scrollView) local buttonsPerRow = 4 local currentRow = nil local buttonsInCurrentRow = 0 for i, v in ipairs(views) do if buttonsInCurrentRow % buttonsPerRow == 0 then currentRow = loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'horizontal', id = 'row_'..math.ceil(i/buttonsPerRow) }) rows_container.addView(currentRow) end local func1, func2 = v[2], v[3] local sw = loadlayout({ CheckBox; layout_width = 'match_parent', layout_height = '28dp', buttonTintList=ColorStateList({{android.R.attr.state_checked},{-android.R.attr.state_checked}},{0xff000000,0xff000000}), onClick = function(view) local isChecked = view.isChecked() threadStart({ run = function() if isChecked and func1 then pcall(func1) elseif not isChecked and func2 then pcall(func2) end end }) end }) local buju = loadlayout({ LinearLayout, layout_width = '70dp', layout_height = "70dp", { CardView; layout_width='match_parent', layout_height="match_parent", layout_margin = "5dp", elevation = "2dp"; background = getVerticalBG(0xfffffffff,15,5,0xfffffffff), {RelativeLayout, layout_width='match_parent', layout_height='match_parent', { ImageView, padding="10dp", layout_margin="2dp", layout_width='match_parent', layout_height="match_parent", src = views[i]["图片"], }, { TextView, Typeface = font, layout_width = "wrap_content", layout_height = "wrap_content", layout_alignParentBottom="true", layout_alignParentRight="true", text = v[1], textSize = "10sp", textColor = "0xff000000"; }, sw } } }) currentRow.addView(buju) buttonsInCurrentRow = buttonsInCurrentRow + 1 end return mainLayout end 肥鱼美化.checkbox1 = function(views) if #views == 0 then return end local mainLayout = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical' }) local scrollView = loadlayout({ HorizontalScrollView, layout_width = 'fill_parent', layout_height = 'wrap_content', { LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'vertical', id = 'rows_container' } }) mainLayout.addView(scrollView) local buttonsPerRow = 3 local currentRow = nil local buttonsInCurrentRow = 0 for i, v in ipairs(views) do if buttonsInCurrentRow % buttonsPerRow == 0 then currentRow = loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'horizontal', id = 'row_'..math.ceil(i/buttonsPerRow) }) rows_container.addView(currentRow) end local func1, func2 = v[2], v[3] local sw = loadlayout({ CheckBox; layout_width = 'wrap_content', layout_height = '30dp'; buttonTintList=ColorStateList({{android.R.attr.state_checked},{-android.R.attr.state_checked}},{0xFf000000,0xff000000},{0xff000000,0xff000000}), text = v[1], textColor = "#000000"; textSize = "12sp"; onClick = function(view) local isChecked = view.isChecked() threadStart({ run = function() if isChecked and v[2] then pcall(v[2]) elseif not isChecked and v[3] then pcall(v[3]) end end }) end }) local buju = loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = "wrap_content", layout_margin = "3dp", layout_weight = "1", sw }) currentRow.addView(buju) buttonsInCurrentRow = buttonsInCurrentRow + 1 end return mainLayout end 肥鱼美化.checkbox2 = function(views) if #views == 0 then return end local mainLayout = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical' }) local rows_container = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical' }) local scrollView = loadlayout({ HorizontalScrollView, layout_width = 'fill_parent', layout_height = 'wrap_content', rows_container }) mainLayout.addView(scrollView) for i, v in ipairs(views) do local func1, func2 = v[2], v[3] local noteText = v[4] or "" local sw = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = '30dp', orientation = 'horizontal', gravity = 'center_vertical', { CheckBox; layout_width = 'wrap_content', layout_height = 'match_parent'; buttonTintList=ColorStateList({{android.R.attr.state_checked},{-android.R.attr.state_checked}},{0xFf000000,0xff000000},{0xff000000,0xff000000}), layout_marginLeft = "5dp", onClick = function(view) local isChecked = view.isChecked() threadStart({ run = function() if isChecked and func1 then pcall(func1) elseif not isChecked and func2 then pcall(func2) end end }) end }, { TextView, Typeface = font, text = v[1], textColor = "#000000", textSize = "12sp", layout_marginLeft = "4dp" -- 减小间距,让文字靠近方框 }, { TextView, Typeface = font, text = noteText, textColor = "#999999", textSize = "9sp", layout_marginLeft = "5dp", layout_weight = 1, gravity = "right", layout_marginRight = "5dp" } }) local buju = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = "wrap_content", layout_margin = "3dp", sw }) rows_container.addView(buju) end return mainLayout end 肥鱼美化.checkbox3 = function(views) if #views == 0 then return end -- 创建主垂直布局 local mainLayout = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'vertical', id = 'rows_container' }) -- 每行最多3个按钮 local buttonsPerRow = 3 local currentRow = nil local buttonsInCurrentRow = 0 local totalButtons = #views for i, v in ipairs(views) do -- 每行开始时创建新的水平布局 if buttonsInCurrentRow % buttonsPerRow == 0 then currentRow = loadlayout({ LinearLayout, layout_width = 'fill_parent', layout_height = 'wrap_content', orientation = 'horizontal', gravity = "left", -- 默认靠左 id = 'row_'..math.ceil(i/buttonsPerRow) }) rows_container.addView(currentRow) end local buttonFunc = v[2] -- 按钮点击回调函数 local btn = loadlayout({ Button; layout_width = 'wrap_content', layout_height = '40dp', text = v[1], textColor = "#000000", singleLine = true, backgroundDrawable = GradientDrawable() .setShape(GradientDrawable.RECTANGLE) .setCornerRadius(25) .setColor(0xFFFFFFFF), -- 改为亮蓝色,更清新活力 paddingLeft = "2dp", paddingRight = "2dp", paddingTop = "4dp", paddingBottom = "4dp", onClick = function(view) if buttonFunc then threadStart({run=function() pcall(buttonFunc) end}) end end }) -- 判断是否是最后一行 local rowIndex = math.ceil(i / buttonsPerRow) local isLastRow = (i + buttonsPerRow - 1 >= totalButtons) local buju if (not isLastRow) or (buttonsInCurrentRow + 1 == buttonsPerRow) then -- 满3个按钮 → weight=1 平分 buju = loadlayout({ LinearLayout, layout_width = '0dp', layout_height = "wrap_content", layout_margin = "2dp", layout_weight = "1", btn }) else buju = loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = "wrap_content", layout_margin = "2dp", btn }) end currentRow.addView(buju) buttonsInCurrentRow = buttonsInCurrentRow + 1 end return mainLayout end function 肥鱼美化.image(text) local tmp = { LinearLayout, layout_height="wrap_content", layout_width="fill_parent", gravity="center", { CardView; layout_height="160dp"; radius="10dp"; backgroundColor="#DFDBE6EF"; layout_width="260dp"; { ImageView; src=text; layout_height="match_parent"; layout_width="match_parent"; }; }; } return loadlayout(tmp) end function 肥鱼美化.tapbnuw(imgPath, text1, text2, text3, text4, bottomText, bgImgPath) local tmp = { LinearLayout, layout_height="wrap_content", layout_width="fill_parent", gravity="center", padding="5dp", { LinearLayout, layout_height="102dp", layout_width="252dp", background=getShepeBackground(0x90FFFFFF, 11), -- 改为淡白半透大圆角 padding="1dp", { -- 内层背景使用透明,去掉壁纸图片 FrameLayout, layout_height="match_parent", layout_width="match_parent", -- 内容层,淡白半透 { LinearLayout, layout_height="match_parent", layout_width="match_parent", background=getShepeBackground(0x80FFFFFF, 10), -- 淡白半透圆角 padding="8dp", { LinearLayout, layout_width="match_parent", layout_height="match_parent", orientation="horizontal", gravity="top", { LinearLayout, layout_width="60dp", layout_height="wrap_content", orientation="vertical", gravity="center", layout_marginRight="8dp", { CardView, layout_width="60dp", layout_height="60dp", radius="30dp", backgroundColor=0x80FFFFFF, -- 头像背景淡白半透 { ImageView; src=imgPath; layout_width="match_parent"; layout_height="match_parent"; scaleType="fitCenter"; padding="3dp"; } }, { TextView, Typeface = font, text=bottomText, textColor="#FFE91E63", textSize="12sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginTop="5dp" } }, { LinearLayout, layout_width="0dp", layout_weight=1, layout_height="wrap_content", orientation="vertical", gravity="top", layout_marginTop="2dp", { TextView, Typeface = font, text=text1, textColor="#FF4CAF50", textSize="16sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginBottom="4dp" }, { TextView, Typeface = font, text=text2, textColor="#FFE91E63", textSize="10sp", layout_width="match_parent", layout_height="wrap_content", layout_marginBottom="2dp" }, { TextView, Typeface = font, text=text3, textColor="#FFE91E63", textSize="10sp", layout_width="match_parent", layout_height="wrap_content", layout_marginBottom="2dp" }, { TextView, Typeface = font, text=text4, textColor="#FFE91E63", textSize="10sp", layout_width="match_parent", layout_height="wrap_content" } } } } } } } return loadlayout(tmp) end function 肥鱼美化.启动游戏(topImg, topText, img1, text1, pkg1, img2, text2, pkg2, img3, text3, pkg3, img4, text4, pkg4) local tmp = { LinearLayout, layout_height="wrap_content", layout_width="fill_parent", gravity="center", padding="3dp", { LinearLayout, layout_height="90dp", layout_width="252dp", background=getShepeBackground(0xFF000000, 11), padding="1dp", { LinearLayout, layout_height="match_parent", layout_width="match_parent", background=getShepeBackground(0xFFF5F5F5, 10), padding="6dp", orientation="vertical", gravity="center_vertical", { LinearLayout, layout_width="match_parent", layout_height="wrap_content", orientation="horizontal", gravity="center_vertical", layout_marginBottom="4dp", { CardView, layout_width="30dp", layout_height="30dp", radius="5dp", backgroundColor="#00000000", { ImageView, src=topImg, layout_width="match_parent", layout_height="match_parent", scaleType="fitCenter", padding="1dp" } }, { TextView, Typeface = font, text=topText, textColor="#FF000000", textSize="12sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginLeft="6dp", gravity="left" } }, { LinearLayout, layout_width="match_parent", layout_height="wrap_content", orientation="horizontal", gravity="center", weightSum=4, { LinearLayout, layout_width="0dp", layout_weight=1, layout_height="wrap_content", orientation="vertical", gravity="center", clickable="true", onClick=function() luajava.newThread(function() local l=getLoadingBox('选择'..text1..'进程') l['显示']() gg.setProcess(pkg1) gg.sleep(400) local s=(tostring(gg.getTargetPackage())==pkg1) if not s then app.startActivity(pkg1) gg.sleep(2000) s=(tostring(gg.getTargetPackage())==pkg1) end l['关闭']() if s then gg.alert(text1..'进程就绪') else gg.alert('选择失败') gg.setProcessX() end end):start() end, { CardView, layout_width="30dp", layout_height="30dp", radius="5dp", backgroundColor="#00000000", { ImageView, src=img1, layout_width="match_parent", layout_height="match_parent", scaleType="fitCenter", padding="1dp" } }, { TextView, Typeface = font, text=text1, textColor="#FF000000", textSize="8sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginTop="2dp", gravity="center" } }, { LinearLayout, layout_width="0dp", layout_weight=1, layout_height="wrap_content", orientation="vertical", gravity="center", clickable="true", onClick=function() luajava.newThread(function() local l=getLoadingBox('选择'..text2..'进程') l['显示']() gg.setProcess(pkg2) gg.sleep(400) local s=(tostring(gg.getTargetPackage())==pkg2) if not s then app.startActivity(pkg2) gg.sleep(2000) s=(tostring(gg.getTargetPackage())==pkg2) end l['关闭']() if s then gg.alert(text2..'进程就绪') else gg.alert('选择失败') gg.setProcessX() end end):start() end, { CardView, layout_width="30dp", layout_height="30dp", radius="5dp", backgroundColor="#00000000", { ImageView, src=img2, layout_width="match_parent", layout_height="match_parent", scaleType="fitCenter", padding="1dp" } }, { TextView, Typeface = font, text=text2, textColor="#FF000000", textSize="8sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginTop="2dp", gravity="center" } }, { LinearLayout, layout_width="0dp", layout_weight=1, layout_height="wrap_content", orientation="vertical", gravity="center", clickable="true", onClick=function() luajava.newThread(function() local l=getLoadingBox('选择'..text3..'进程') l['显示']() gg.setProcess(pkg3) gg.sleep(400) local s=(tostring(gg.getTargetPackage())==pkg3) if not s then app.startActivity(pkg3) gg.sleep(2000) s=(tostring(gg.getTargetPackage())==pkg3) end l['关闭']() if s then gg.alert(text3..'进程就绪') else gg.alert('选择失败') gg.setProcessX() end end):start() end, { CardView, layout_width="30dp", layout_height="30dp", radius="5dp", backgroundColor="#00000000", { ImageView, src=img3, layout_width="match_parent", layout_height="match_parent", scaleType="fitCenter", padding="1dp" } }, { TextView, Typeface = font, text=text3, textColor="#FF000000", textSize="8sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginTop="2dp", gravity="center" } }, { LinearLayout, layout_width="0dp", layout_weight=1, layout_height="wrap_content", orientation="vertical", gravity="center", clickable="true", onClick=function() luajava.newThread(function() local l=getLoadingBox('选择'..text4..'进程') l['显示']() gg.setProcess(pkg4) gg.sleep(400) local s=(tostring(gg.getTargetPackage())==pkg4) if not s then app.startActivity(pkg4) gg.sleep(2000) s=(tostring(gg.getTargetPackage())==pkg4) end l['关闭']() if s then gg.alert(text4..'进程就绪') else gg.alert('选择失败') gg.setProcessX() end end):start() end, { CardView, layout_width="30dp", layout_height="30dp", radius="5dp", backgroundColor="#00000000", { ImageView, src=img4, layout_width="match_parent", layout_height="match_parent", scaleType="fitCenter", padding="1dp" } }, { TextView, Typeface = font, text=text4, textColor="#FF000000", textSize="8sp", layout_width="wrap_content", layout_height="wrap_content", layout_marginTop="2dp", gravity="center" } } } } } } return loadlayout(tmp) end 肥鱼美化.button = function(name,func) local btn1 = { RelativeLayout, layout_width = "match", layout_height = "35dp", layout_margin = "2dp", layout_marginLeft = "3dp", layout_marginRight = "3dp", background = getShepeBackground(0xfffffffff, 6), elevation = "1dp", { TextView, Typeface = font, text = name, textColor = "0xff333333", textSize = "12sp", layout_margin = "5dp", layout_marginLeft = "14dp", layout_width = "wrap", layout_height = "match", gravity = "center", layout_alignParentLeft = true, }, { ImageView, layout_width = "20dp", layout_height = "20dp", layout_margin = "5dp", ColorFilter = "0xff333333", src = "/storage/emulated/0/樱泽墨资源1/图片/qing", layout_alignParentRight = true, layout_centerVertical = true, }, } local btn1 = loadlayout(btn1) btn1.onClick = function() if eooeis == 1 then eooeis = 2 else threadStart({ run = function() pcall(func) end, }) end end return btn1 end function 肥鱼美化.image2(text) local tmp = { LinearLayout, layout_height="wrap_content", layout_width="fill_parent", gravity="center", { CardView; layout_height="200dp"; radius="40dp"; backgroundColor="#DFDBE6EF"; layout_width="400dp"; { ImageView; src=text; layout_height="match_parent"; layout_width="match_parent"; }; }; } return loadlayout(tmp) end 肥鱼美化.numberAdjust = function(imgPath, mainText, skinNames, weaponSuffix, varName, maxNum, initNum, numFuncMap) _ENV[varName] = initNum or 1 maxNum = maxNum or 5 weaponSuffix = weaponSuffix or "" skinNames = skinNames or {} -- 获取当前数值对应的皮肤名称 local function getCurrentSkinName(num) return skinNames[num] or "默认皮肤" end -- 拼接子名称 local function getSubText(num) return getCurrentSkinName(num) .. weaponSuffix end local subText = getSubText(_ENV[varName]) numFuncMap = numFuncMap or {} local mainLayout = loadlayout({ LinearLayout, layout_width = "fill_parent", layout_height = "38dp", layout_margin = "1dp", background = getShepeBackground(0xFFFFFFFF, 12), gravity = "center_vertical", orientation = "horizontal", padding = "3dp", -- 左侧图片 { ImageView, layout_width = "28dp", layout_height = "28dp", layout_marginLeft = "3dp", src = imgPath, scaleType = "fitCenter", adjustViewBounds = "true", }, -- 中间文字区域 { LinearLayout, layout_width = "0dp", layout_weight = 1, layout_height = "wrap_content", orientation = "vertical", layout_marginLeft = "6dp", layout_marginRight = "6dp", { TextView, Typeface = font, text = mainText, textColor = "0xff010101", textSize = "10sp", layout_width = "wrap_content", layout_height = "wrap_content", }, { TextView, Typeface = font, id = luajava.newId(varName .. "_subtext"), text = subText, textColor = "0xff515151", textSize = "7sp", layout_width = "wrap_content", layout_height = "wrap_content", }, }, -- 右侧功能区 { LinearLayout, layout_width = "wrap_content", layout_height = "wrap_content", orientation = "horizontal", gravity = "center", -- 减号按钮(增加圆角,保持循环逻辑) { Button, text = "-", textColor = "0xff000000", textSize = "16sp", layout_width = "22dp", layout_height = "22dp", gravity = "center", padding = "0dp", background = miaobian(1, 20, 0xffffffff, 0xffcccccc),-- 圆角调整为4dp,与第二个函数一致 onClick = function() _ENV[varName] = _ENV[varName] == 1 and maxNum or _ENV[varName] - 1 luajava.getIdView(varName .. "_num").setText(_ENV[varName] .. "/" .. maxNum) luajava.getIdView(varName .. "_subtext").setText(getSubText(_ENV[varName])) end, }, -- 数字显示 { TextView, Typeface = font, id = luajava.newId(varName .. "_num"), text = _ENV[varName] .. "/" .. maxNum, textColor = "0xff000000", textSize = "11sp", layout_width = "30dp", layout_height = "22dp", gravity = "center", layout_marginLeft = "3dp", layout_marginRight = "3dp", }, -- 加号按钮(增加圆角,保持循环逻辑) { Button, text = "+", textColor = "0xff000000", textSize = "16sp", layout_width = "22dp", layout_height = "22dp", gravity = "center", padding = "0dp", background = miaobian(1, 20, 0xffffffff, 0xffcccccc),-- 统一圆角4dp onClick = function() _ENV[varName] = _ENV[varName] == maxNum and 1 or _ENV[varName] + 1 luajava.getIdView(varName .. "_num").setText(_ENV[varName] .. "/" .. maxNum) luajava.getIdView(varName .. "_subtext").setText(getSubText(_ENV[varName])) end, }, -- 应用按钮(增加圆角) { Button, text = "美化", textColor = "0xffffffff", textSize = "10sp", layout_width = "40dp", layout_height = "22dp", gravity = "center", padding = "0dp", layout_marginLeft = "3dp", background = miaobian(1, 20, 0xff2196F3, 0xff1976D2),-- 统一圆角4dp,与加减按钮视觉一致 onClick = function() local currentNum = _ENV[varName] if numFuncMap[currentNum] then threadStart({ run = function() pcall(numFuncMap[currentNum], currentNum) end }) -- toast.success(mainText .. "已应用" .. getCurrentSkinName(currentNum)) else toast.error("该等级暂无对应功能") end end, }, }, }) local numText = luajava.getIdView(varName .. "_num") local subTextView = luajava.getIdView(varName .. "_subtext") -- 新增:修改指定等级的皮肤名称 mainLayout.setSkinName = function(num, name) skinNames[num] = name subTextView.setText(getSubText(_ENV[varName])) end mainLayout.getNum = function() return _ENV[varName] end return mainLayout end 肥鱼美化.funcButton = function(iconPath, btnText, bgColorInt, borderColorInt, textColorInt, btnSize, func) -- 适当调大的尺寸 local defBgColor = 0x80B3E0FF -- 浅蓝透底 local defBorderColor = 0xFFFFFFFF -- 白色边框 local defTextColor = 0xff000000 -- 黑色文字 local defWidth = "130dp" -- 按钮宽度调大 local defHeight = "50dp" -- 按钮高度调大 local defTextSize = "12sp" -- 文字调大 local defCorner = 8 -- 圆角调大 local defIconSize = "14dp" -- 图标调大 local defPadding = "8dp" -- 内边距调大 local defMargin = "6dp" -- 外边距调大 -- 赋值默认值 bgColorInt = bgColorInt or defBgColor borderColorInt = borderColorInt or defBorderColor textColorInt = textColorInt or defTextColor btnText = btnText or "按钮" func = func or function() end local btnWidth = defWidth local btnHeight = defHeight if btnSize and btnSize[1] then btnWidth = btnSize[1] end if btnSize and btnSize[2] then btnHeight = btnSize[2] end -- 构建带边框的背景 local btnBg = luajava.newInstance("android.graphics.drawable.GradientDrawable") btnBg.setShape(luajava.bindClass("android.graphics.drawable.GradientDrawable").RECTANGLE) btnBg.setCornerRadius(luajava.newInstance("android.util.TypedValue").applyDimension(1, defCorner, activity.getResources().getDisplayMetrics())) btnBg.setColor(bgColorInt) btnBg.setStroke(1, borderColorInt) -- 构建按钮布局 local btnLayout = loadlayout({ LinearLayout, layout_width = btnWidth, layout_height = btnHeight, layout_margin = defMargin, -- 外边距调大 orientation = "horizontal", gravity = "center", background = btnBg, padding = defPadding, -- 内边距调大 clickable = true, onClick = function() threadStart({run = function() pcall(func) end}) end, -- 左侧图标 { ImageView, layout_width = defIconSize, layout_height = defIconSize, layout_marginRight = "4dp", -- 图标和文字的间距调大 src = iconPath, scaleType = "fitCenter" }, -- 右侧文字 { TextView, Typeface = font, layout_width = "wrap_content", layout_height = "wrap_content", text = btnText, textColor = textColorInt, textSize = defTextSize, maxLines = 1, ellipsize = "end" } }) return btnLayout end 肥鱼美化.menu = function(icon, title, menu) local g_window_layout, g_ball, g_mainLayoutParams local layout = { LinearLayout; layout_height = "wrap_content"; layout_width = "wrap_content"; id = "windowst"; { CardView; layout_height = "wrap_content"; layout_width = "wrap_content"; id = "windows"; elevation = "10dp"; { RelativeLayout; layout_height = UI高度; layout_width = UI宽度; background=getShepeBackground(0x90FFFFFF, 35); -- 淡白半透大圆角 id="ooo"; { LinearLayout; layout_height = "match_parent"; layout_width = "80dp"; orientation = "vertical"; layout_margin = "6dp"; gravity = "center"; background=getShepeBackground(侧边栏, 28); -- 侧边栏 elevation = "2dp"; { CircleImageView; layout_width = "50dp"; src = "/storage/emulated/0/肥鱼美化2.0/资源/主页.jpg"; layout_height = "50dp"; layout_marginTop = "10dp"; layout_marginBottom = "5dp"; onClick = function() zom_animation(windows) zoot_animation(windowst) Handler().postDelayed(function() window.removeView(g_window_layout, g_mainLayoutParams) window.addView(g_ball, g_mainLayoutParams) end, 600) end; onTouch = function(v, event) return onUiDrag(v, event) end; }; { TextView; text = "肥鱼美化美化"; textColor = "0xFFFF90AC"; textSize = "12sp"; layout_width = "wrap"; layout_height = "wrap"; layout_marginBottom = "8dp"; gravity = "center"; }; { ScrollView; layout_height = "0dp"; layout_weight = 1; layout_width = "match_parent"; fillViewport = "true"; { LinearLayout; layout_width = "match_parent"; layout_height = "wrap_content"; orientation = "vertical"; id = "menu_list"; background = getShepeBackground(0x00FFFFFF, 0); padding = "4dp"; }; }; { LinearLayout; layout_width = "match_parent"; layout_height = "wrap_content"; layout_margin = "4dp"; background=getShepeBackground(0x80FFFFFF, 18); -- 底部淡白半透圆角 elevation = "1dp"; gravity = "center"; padding = "4dp"; { TextView; text = "肥鱼美化美化"; textColor = "0xFF7A9ED7"; textSize = "8sp"; layout_width = "wrap"; layout_height = "wrap"; }; }; }; { View; layout_width = "4dp"; layout_height = "match_parent"; layout_marginLeft = "84dp"; background=getShepeBackground(主页面, 2); -- 分割线淡白半透 id = "split_line"; }; { LinearLayout; layout_height = "match_parent"; background=getShepeBackground(主页面, 25); -- 主内容区淡 layout_marginLeft = "88dp"; layout_marginRight = "6dp"; layout_marginTop = "6dp"; layout_marginBottom = "6dp"; id = "main"; orientation = "vertical"; { LinearLayout; layout_height = "38dp"; layout_width = "match"; background=getShepeBackground(0x70FFFFFF, 20); -- 标题栏淡白半透圆角 { RelativeLayout; layout_width = "match"; layout_height = "38dp"; onTouch = function(v, event) return onUiDrag(v, event) end; { TextView; id = "current_page_title"; layout_width = "100dp"; layout_height = "38dp"; layout_margin = "5dp"; text = ""; textColor = "0xFF6B89C9"; textSize="16sp"; layout_marginLeft = "15dp"; }; { ImageView; layout_width = "25dp"; layout_height = "25dp"; layout_margin = "6dp"; src = "/storage/emulated/0/肥鱼美化2.0/资源/缩小悬浮窗"; ColorFilter = "0xFF7A9ED7"; id = 'lessen'; layout_alignParentRight="true"; layout_marginRight = "30dp"; }; { ImageView; layout_width = "25dp"; layout_height = "25dp"; layout_margin = "6dp"; src = "/storage/emulated/0/樱泽墨资源1/图片/exit"; id = 'window_exit'; ColorFilter = "0xFF7A9ED7"; layout_alignParentRight="true"; }; }; }; }; { ImageView; src = "/storage/emulated/0/樱泽墨资源1/图片/拖动"; id = "ydd"; layout_height="20dp"; layout_width = "20dp"; layout_alignParentBottom="true"; layout_alignParentRight="true"; clickable = true; focusable = true; ColorFilter = "0xFF7A9ED7"; layout_margin = "8dp"; }; }; }; }; local ball = { LinearLayout; layout_height = "fill"; layout_width = "fill"; { LinearLayout; layout_width = "58dp"; { ImageView; layout_width = "43dp"; id = "suspended_ball"; src = icon; layout_height = "43dp"; }; }; }; ball = loadlayout(ball) g_ball = ball local window_layout = loadlayout(layout) g_window_layout = window_layout local mainLayoutParams = getLayoutParams() g_mainLayoutParams = mainLayoutParams local menu_layout = {} local icon_list = {} local x, y, RawX, RawY = 0, 0, 0, 0 function onUiDrag(v, event) local Action = event.getAction() if Action == MotionEvent.ACTION_DOWN then RawX = event.getRawX() RawY = event.getRawY() x = g_mainLayoutParams.x y = g_mainLayoutParams.y return true elseif Action == MotionEvent.ACTION_MOVE then g_mainLayoutParams.x = tonumber(x) + (event.getRawX() - RawX) g_mainLayoutParams.y = tonumber(y) + (event.getRawY() - RawY) window.updateViewLayout(g_window_layout, g_mainLayoutParams) return true end return false end ooo.onTouch = function(v, event) return onUiDrag(v, event) end windows.onTouch = function(v, event) return onUiDrag(v, event) end for i, v in ipairs(menu) do local item = loadlayout { LinearLayout; layout_width = "match_parent"; layout_height = "32dp"; layout_margin = "2dp"; background=getShepeBackground(0x80FFFFFF, 22); -- 菜单项淡白半透圆角 elevation = "1dp"; gravity = "center_vertical"; paddingLeft = "5dp"; onClick = function() change_menu(i) end; { ImageView; layout_width = "16dp"; layout_height = "16dp"; layout_marginRight = "3dp"; src=v.图片; }; { TextView; text = v.name; textColor = "0xFF6B89C9"; textSize = "10sp"; layout_width = "wrap"; layout_height = "wrap"; }; }; local func_layout = { LinearLayout; layout_height = "match_parent"; layout_width = "match_parent"; orientation = "vertical"; { ScrollView; fillViewport = "true"; layout_width = "match_parent"; layout_height = "match_parent"; { LinearLayout; layout_width = "match_parent"; layout_marginLeft = "5dp"; id = "layout_func" .. i; layout_marginRight = "5dp"; gravity = "center_horizontal"; orientation = "vertical"; background=getShepeBackground(0x00FFFFFF, 0); }; }; }; table.insert(icon_list, item) menu_layout[i] = loadlayout(func_layout) menu_list.addView(item) for _, k in ipairs(v) do _ENV['layout_func' .. i].addView(k) end end windows.setBackground(getShepeBackground(0x00FFFFFF, 0)) do local last change_menu = function(i) if last then icon_list[last].setBackground(getShepeBackground(0x80FFFFFF, 22)) main.removeView(menu_layout[last]) end icon_list[i].setBackground(getShepeBackground(0x90FFD0E0, 22)) -- 选中态淡粉半透圆角 last = i main.addView(menu_layout[i]) zm_animation(menu_layout[i]) current_page_title.setText(menu[i].name) end change_menu(1) end window_exit.onClick = function() HP.invoke(HotPoint, nil) window.removeView(g_window_layout, g_mainLayoutParams) Looper.myLooper().quitSafely() end lessen.onClick = function() zom_animation(windows) zoot_animation(windowst) Handler().postDelayed(function() window.removeView(g_window_layout, g_mainLayoutParams) window.addView(g_ball, g_mainLayoutParams) end, 600) end suspended_ball.onClick = function() zoom_animation(windows) zoom_animation(windowst) window.removeView(g_ball, g_mainLayoutParams) window.addView(g_window_layout, g_mainLayoutParams) end function ydd.onTouch(v, event) local Action = event.getAction() if Action == MotionEvent.ACTION_DOWN then RawX = event.getRawX() RawY = event.getRawY() x = g_mainLayoutParams.x y = g_mainLayoutParams.y lllayoutParams = ooo.getLayoutParams() xx = lllayoutParams.width yy = lllayoutParams.height minWidth = 200 minHeight = 150 maxWidth = 1000 maxHeight = 800 elseif Action == MotionEvent.ACTION_MOVE then local newWidth = tonumber(xx) + (event.getRawX() - RawX) local newHeight = tonumber(yy) + (event.getRawY() - RawY) lllayoutParams.width = newWidth lllayoutParams.height = newHeight ooo.setLayoutParams(lllayoutParams) end return true end do local t = {{suspended_ball, ball, window_layout}, {lessen, window_layout, ball}} local tt = {{windows, window_layout}, {suspended_ball, ball}} for i, v in ipairs(t) do v[1].onClick = function() if v[1] == suspended_ball then zoom_animation(windows) zoom_animation(windowst) window.removeView(v[2], g_mainLayoutParams) window.addView(v[3], g_mainLayoutParams) elseif v[1] == lessen then zom_animation(windows) zoot_animation(windowst) Handler().postDelayed(function() window.removeView(g_window_layout, g_mainLayoutParams) window.addView(g_ball, g_mainLayoutParams) end, 600) end end local x, y, RawX, RawY = 0, 0, 0, 0 tt[i][1].onTouch = function (_, event) local Action = event.getAction() if Action == MotionEvent.ACTION_DOWN then RawX = event.getRawX() RawY = event.getRawY() x = g_mainLayoutParams.x y = g_mainLayoutParams.y elseif Action == MotionEvent.ACTION_MOVE then g_mainLayoutParams.x = tonumber(x) + (event.getRawX() - RawX) g_mainLayoutParams.y = tonumber(y) + (event.getRawY() - RawY) window.updateViewLayout(tt[i][2], g_mainLayoutParams) end end end end Handler(Looper.getMainLooper()) Looper.prepare() window.addView(g_ball, g_mainLayoutParams) applyBestBlurEffect(windows, 0) Looper.loop() end 肥鱼美化.imgTextPanel = function(imgPathList, bgColorInt, text1, text1ColorInt, text1Size, text2, text2ColorInt, text2Size, text3, text3ColorInt, text3Size, text4, text4ColorInt, text4Size, text5, text5ColorInt, text5Size) -- 定义默认值(直接用16进制数字,不是字符串) local defColorInt = 0xffB5CFE4 local defSize = "16sp" -- 字体从14sp → 16sp local defBgColorInt = 0xffF5F5F5 -- 默认背景色(数字值) -- 赋值默认值(避免nil) bgColorInt = bgColorInt or defBgColorInt text1 = text1 or "无内容" text1ColorInt = text1ColorInt or defColorInt text1Size = text1Size or defSize text2 = text2 or "无内容" text2ColorInt = text2ColorInt or defColorInt text2Size = text2Size or defSize text3 = text3 or "无内容" text3ColorInt = text3ColorInt or defColorInt text3Size = text3Size or defSize text4 = text4 or "无内容" text4ColorInt = text4ColorInt or defColorInt text4Size = text4Size or defSize text5 = text5 or "无内容" text5ColorInt = text5ColorInt or defColorInt text5Size = text5Size or defSize -- 多图兼容处理(核心修改,其余完全不变) local imgSection = { LinearLayout, layout_width = "wrap_content", layout_height = "wrap_content", orientation = "horizontal", gravity = "center_vertical", layout_marginRight = "12dp" } -- 单图转数组,统一适配 if type(imgPathList) ~= "table" then imgPathList = {imgPathList} end -- 循环添加图片,保留原尺寸/样式 for i, imgPath in ipairs(imgPathList) do table.insert(imgSection, { ImageView, layout_width = "90dp", layout_height = "90dp", layout_marginRight = i < #imgPathList and "6dp" or "0dp", src = imgPath, scaleType = "fitCenter", background = getShepeBackground(0xfffffffff, 10), padding = "5dp" }) end -- 纯静态布局(无任何luajava绑定,ELGG完全兼容) local panel = loadlayout({ LinearLayout, layout_width = "match_parent", layout_height = "wrap_content", layout_margin = "5dp", gravity = "center_vertical", orientation = "horizontal", background = getShepeBackground(bgColorInt, 15), -- 直接传数字颜色值 padding = "10dp", -- 内边距从8dp → 10dp -- 多图区域(仅替换此处,其余完全不变) imgSection, -- 右侧文字区域 { LinearLayout, layout_width = "0dp", layout_height = "wrap_content", layout_weight = 1, orientation = "vertical", gravity = "center_vertical", -- 第一行文字 { TextView, Typeface = font, layout_width = "match_parent", -- 宽度从wrap_content → match_parent layout_height = "wrap_content", layout_margin = "3dp", -- 间距从2dp → 3dp text = text1, textColor = text1ColorInt, -- 数字颜色值 textSize = text1Size, maxLines = 2, -- 允许两行显示,避免被截断 ellipsize = "end" }, -- 第二行文字 { TextView, Typeface = font, layout_width = "match_parent", -- 宽度从wrap_content → match_parent layout_height = "wrap_content", layout_margin = "3dp", -- 间距从2dp → 3dp text = text2, textColor = text2ColorInt, -- 数字颜色值 textSize = text2Size, maxLines = 2, ellipsize = "end" }, -- 第三行文字 { TextView, Typeface = font, layout_width = "match_parent", -- 宽度从wrap_content → match_parent layout_height = "wrap_content", layout_margin = "3dp", -- 间距从2dp → 3dp text = text3, textColor = text3ColorInt, -- 数字颜色值 textSize = text3Size, maxLines = 2, ellipsize = "end" }, -- 第四行文字 { TextView, Typeface = font, layout_width = "match_parent", -- 宽度从wrap_content → match_parent layout_height = "wrap_content", layout_margin = "3dp", -- 间距从2dp → 3dp text = text4, textColor = text4ColorInt, -- 数字颜色值 textSize = text4Size, maxLines = 2, ellipsize = "end" }, -- 第五行文字 { TextView, Typeface = font, layout_width = "match_parent", -- 宽度从wrap_content → match_parent layout_height = "wrap_content", layout_margin = "3dp", -- 间距从2dp → 3dp text = text5, textColor = text5ColorInt, -- 数字颜色值 textSize = text5Size, maxLines = 2, ellipsize = "end" } } }) return panel end -- 适配当前悬浮窗的功能按钮(适当调大尺寸) 肥鱼美化.funcButton = function(iconPath, btnText, bgColorInt, borderColorInt, textColorInt, btnSize, func) -- 适当调大的尺寸 local defBgColor = 0x80B3E0FF -- 浅蓝透底 local defBorderColor = 0xfffffffff -- 白色边框 local defTextColor = 0xff000000 -- 黑色文字 local defWidth = "84dp" -- 按钮宽度调大 local defHeight = "37dp" -- 按钮高度调大 local defTextSize = "10sp" -- 文字调大 local defCorner = 8 -- 圆角调大 local defIconSize = "16dp" -- 图标调大 local defPadding = "7dp" -- 内边距调大 local defMargin = "7dp" -- 外边距调大 -- 赋值默认值 bgColorInt = bgColorInt or defBgColor borderColorInt = borderColorInt or defBorderColor textColorInt = textColorInt or defTextColor btnText = btnText or "按钮" func = func or function() end local btnWidth = defWidth local btnHeight = defHeight if btnSize and btnSize[1] then btnWidth = btnSize[1] end if btnSize and btnSize[2] then btnHeight = btnSize[2] end -- 构建带边框的背景 local btnBg = luajava.newInstance("android.graphics.drawable.GradientDrawable") btnBg.setShape(luajava.bindClass("android.graphics.drawable.GradientDrawable").RECTANGLE) btnBg.setCornerRadius(luajava.newInstance("android.util.TypedValue").applyDimension(1, defCorner, activity.getResources().getDisplayMetrics())) btnBg.setColor(bgColorInt) btnBg.setStroke(1, borderColorInt) -- 构建按钮布局 local btnLayout = loadlayout({ LinearLayout, layout_width = btnWidth, layout_height = btnHeight, layout_margin = defMargin, -- 外边距调大 orientation = "horizontal", gravity = "center", background = btnBg, padding = defPadding, -- 内边距调大 clickable = true, onClick = function() threadStart({run = function() pcall(func) end}) end, -- 左侧图标 { ImageView, layout_width = defIconSize, layout_height = defIconSize, layout_marginRight = "4dp", -- 图标和文字的间距调大 src = iconPath, scaleType = "fitCenter" }, -- 右侧文字 { TextView, Typeface = font, layout_width = "wrap_content", layout_height = "wrap_content", text = btnText, textColor = textColorInt, textSize = defTextSize, maxLines = 1, ellipsize = "end" } }) return btnLayout end -- 按钮行(适当间距) 肥鱼美化.buttonRow = function(buttons) local rowLayout = loadlayout({ LinearLayout, layout_width = "match_parent", layout_height = "wrap_content", orientation = "horizontal", gravity = "left", padding = "0dp", layout_margin = "3dp" -- 行本身有2dp外边距 }) for i = 1, #buttons do local button = buttons[i] -- 给按钮添加适当的间距 local params = luajava.new(LinearLayout.LayoutParams, LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT) params.rightMargin = 5 -- 按钮之间的间距调大 button.setLayoutParams(params) rowLayout.addView(button) end return rowLayout end function mb() gg.playMusic("/storage/emulated/0/樱泽墨资源1/音效/音效") gg.clearList() end UI高度 = 680 UI宽度 = 900 侧边栏 = 0x80FFFFFF 主页面 = 0x80FFFFFF local icon = '/storage/emulated/0/肥鱼美化2.0/资源/头像.jpg' local menu = { { name = '主页公告', desc = '要读取游戏先看我', 图片 = '/storage/emulated/0/肥鱼美化2.0/资源/ff1', 肥鱼美化.text(" 肥鱼美化美化 ", "#333333", "10sp"), 肥鱼美化.tapbnuw( "/storage/emulated/0/肥鱼美化2.0/资源/ff5", "肥鱼美化美化更新公告", "1.1 更新新版本旁路" ), name = '主页公告', desc = '功能等', 图片 = '/storage/emulated/0/肥鱼美化2.0/资源/g', 肥鱼美化.button('选择进程',function() gg.setProcessX()-- 永久屏幕中心圆圈(ELGG 1.2.6 drawText 精准居中版) -- 运行后立即显示,自动跟随屏幕旋转,无需操作 -- 可自定义参数(修改后重新运行即可) local circleChar = "肥鱼天天开心" -- 圆圈字符 local circleSize = 30 -- 字体大小(控制圆圈尺寸) local circleColor = "#BA55D3" -- 颜色(十六进制,绿色) local offsetX = 0 -- 微调 X 偏移(正右负左) local offsetY = 50 -- 微调 Y 偏移(正下负上) local obj = nil local lastW, lastH = 0, 0 -- 创建或更新圆圈位置 local function updateCircle() local okW, w = pcall(gg.getScreenWidth) local okH, h = pcall(gg.getScreenHeight) if not okW or not w or w == 0 then w = 1080 end if not okH or not h or h == 0 then h = 1920 end -- 屏幕中心 local cx, cy = w / 2, h / 2 -- 让字符的视觉中心对齐屏幕中心(假设字符宽度≈高度≈circleSize) local x = cx - circleSize / 2 + offsetX local y = cy - circleSize / 2 + offsetY if not obj then obj = drawText(circleChar, circleColor, x, y, circleSize) if not obj then gg.alert("drawText 创建失败,请检查修改器版本") return false end else obj.update(circleChar, circleColor, x, y) end return true end -- 首次绘制 if not updateCircle() then return end -- 循环保持脚本活跃,并定时校正位置 while true do local okW, w = pcall(gg.getScreenWidth) local okH, h = pcall(gg.getScreenHeight) if okW and okH and w and h and (w ~= lastW or h ~= lastH) then updateCircle() lastW, lastH = w, h end gg.sleep(1000) -- 每 1 秒检测一次,省资源 end end), 肥鱼美化.button('台防红色logo开',function() -- 自动获取模块信息 local soInfo_anogs = gg.getRangesList("libanogs.so")[1] local soInfo_tprt = gg.getRangesList("libtprt.so")[1] local soInfo_unity = gg.getRangesList("libunity.so")[1] local startTime = os.clock() -- 必须存在 libanogs.so if not soInfo_anogs then gg.alert("未找到 libanogs.so 模块,脚本终止") return end local allItems = {} local base_anogs = soInfo_anogs.start local base_tprt = soInfo_tprt and soInfo_tprt.start or 0 local base_unity = soInfo_unity and soInfo_unity.start or 0 -- ====================== 基础函数 Hook ====================== table.insert(allItems, { address = base_anogs + 0x4A392C, flags = 4, value = "~A8 ldrb w10, [x0]", freeze = false }) table.insert(allItems, { address = base_anogs + 0x528990, flags = 4, value = "~A8 ret", freeze = false }) table.insert(allItems, { address = base_anogs + 0x2029B0, flags = 4, value = "~A8 ret", freeze = false }) -- ====================== 执行修改 ====================== gg.toast("libanogs.so 基址加载成功: 0x" .. string.format("%X", base_anogs)) -- 添加到列表 if #allItems > 0 then gg.addListItems(allItems) gg.toast("已加载 " .. #allItems .. " 个修改项") else gg.alert("无有效修改项,脚本终止") return end -- 构建可修改项(严格校验) local nonFrozenItems = {} for _, item in ipairs(allItems) do if not item.freeze and item.address and item.value then table.insert(nonFrozenItems, { address = item.address, flags = item.flags, value = item.value }) end end -- 执行写入 if #nonFrozenItems > 0 then gg.setValues(nonFrozenItems) gg.toast("成功修改 " .. #nonFrozenItems .. " 个地址") else gg.alert("无有效可修改项") end -- 耗时统计 local endTime = os.clock() local elapsed = endTime - startTime gg.toast(string.format("加载完成\n总耗时: %.3f 秒", elapsed)) end),肥鱼美化.button('台服防闪logo开',function() function setvalue(a,b,c,d) if type(a)=="number" and type(b)=="number" then gg.setValues({address=a, flags=b, value=c}) else local t={} for i=1,#b do t[i]={ address = a + b[i], flags = c, value = type(d)=="table" and d[i] or d } end gg.setValues(t) end end setv = setvalue function S_Pointer(s,o,b) for i,v in ipairs(gg.getRangesList(s[1])) do if v.state == s[2] then a = v.start + o[1] for i=2,#o do a = gg.getValues({{address=a, flags=b and 32 or 4}})[1].value + o[i] end return string.format('0x%X', a) end end end function so(n) return gg.getRangesList(n)[1].start end function freeze(a,b,c,d) setvalue(a,b,c,d) local t={} for i=1,#b do t[i]={ address = a + b[i], flags = c, value = type(d)=="table" and d[i] or d, freeze = true } end gg.addListItems(t) end freeze(so("libanogs.so"), {0x4BC464}, 4, 0xD65F03C0) gg.toast("开启成功") end),肥鱼美化.button('手持枪械循环特效',function() function allck(iii, ii, io, msg) gg.setRanges(32) gg.clearResults() gg.setVisible(false) gg.searchNumber(iii[1][1], io) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = iii[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k = 2, #iii do local tmp = {} local offset = iii[k][2] - base local num = iii[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.sleep(200) local t = {} local base = iii[1][2] for i = 1, #data do for k, w in ipairs(ii) do offset = w[2] - base t[#t + 1] = {} t[#t].address = data[i] + offset t[#t].flags = io 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) end end end -- 武器 1 local ck1_1 = {{10126001, 0}, {1, 0xC}, {10126002, 0x20}, {0, 0x28}} local ck2_1 = {{510000022, 0x28}, {520000022, 0x2C}, {610000002, 0x34}, {600000022, 0x38}} -- 武器 2 local ck1_2 = {{10127001, 0}, {1, 0xC}, {10127002, 0x20}, {0, 0x28}} local ck2_2 = {{510000023, 0x28}, {520000023, 0x2C}, {610000023, 0x34}, {600000023, 0x38}} -- 武器 3 local ck1_3 = {{10124001, 0}, {1, 0xC}, {10124002, 0x20}, {0, 0x28}} local ck2_3 = {{510000015, 0x28}, {520000016, 0x2C}, {610000005, 0x34}, {600000005, 0x38}} -- 武器 4(❤️提示) local ck1_4 = {{10520001, 0}, {1, 0xC}, {10520036, 0x20}, {0, 0x28}} local ck2_4 = {{510000033, 0x28}, {520000033, 0x2C}, {610000033, 0x34}, {600000033, 0x38}} -- 武器 5 local ck1_5 = {{10309001, 0}, {1, 0xC}, {10309002, 0x20}, {0, 0x28}} local ck2_5 = {{510000007, 0x28}, {520000008, 0x2C}, {610000001, 0x34}, {600000001, 0x38}} -- 武器 6 local ck1_6 = {{10122001, 0}, {1, 0xC}, {10122002, 0x20}, {0, 0x28}} local ck2_6 = {{510000011, 0x28}, {520000012, 0x2C}, {610000003, 0x34}, {600000003, 0x38}} -- 武器 7 local ck1_7 = {{10207001, 0}, {1, 0xC}, {10207155, 0x20}, {0, 0x28}} local ck2_7 = {{510000024, 0x28}, {520000024, 0x2C}, {610000024, 0x34}, {600000024, 0x38}} -- 武器 8 local ck1_8 = {{10431001, 0}, {1, 0xC}, {10431002, 0x20}, {0, 0x28}} local ck2_8 = {{510000034, 0x28}, {520000034, 0x2C}, {610000034, 0x34}, {600000034, 0x38}} -- 武器 9 local ck1_9 = {{10216001, 0}, {1, 0xC}, {10216019, 0x20}, {0, 0x28}} local ck2_9 = {{510000037, 0x28}, {520000037, 0x2C}, {610000037, 0x34}, {600000037, 0x38}} -- 武器 10 local ck1_10 = {{10132001, 0}, {1, 0xC}, {10132002, 0x20}, {0, 0x28}} local ck2_10 = {{510000030, 0x28}, {520000030, 0x2C}, {610000030, 0x34}, {600000030, 0x38}} -- 武器 11 local ck1_11 = {{10133001, 0}, {1, 0xC}, {10133002, 0x20}, {0, 0x28}} local ck2_11 = {{510000032, 0x28}, {520000032, 0x2C}, {610000032, 0x34}, {600000032, 0x38}} -- 武器 12 (10106001 变体 10106197) local ck1_12 = {{10106001, 0}, {1, 0xC}, {10106197, 0x20}, {0, 0x28}} local ck2_12 = {{510000035, 0x28}, {520000035, 0x2C}, {610000035, 0x34}, {600000035, 0x38}} -- 武器 13 local ck1_13 = {{10107001, 0}, {1, 0xC}, {10107146, 0x20}, {0, 0x28}} local ck2_13 = {{510000017, 0x28}, {520000018, 0x2C}, {610000006, 0x34}, {600000006, 0x38}} -- 武器 14 local ck1_14 = {{10125001, 0}, {1, 0xC}, {10125002, 0x20}, {0, 0x28}} local ck2_14 = {{510000019, 0x28}, {520000020, 0x2C}, {610000007, 0x34}, {600000007, 0x38}} -- 武器 15 local ck1_15 = {{10424001, 0}, {1, 0xC}, {10424002, 0x20}, {0, 0x28}} local ck2_15 = {{510000021, 0x28}, {520000021, 0x2C}, {610000021, 0x34}, {600000021, 0x38}} -- 武器 16 local ck1_16 = {{10135001, 0}, {1, 0xC}, {10135002, 0x20}, {0, 0x28}} local ck2_16 = {{510000036, 0x28}, {520000036, 0x2C}, {610000036, 0x34}, {600000036, 0x38}} -- 武器 17 local ck1_17 = {{10129001, 0}, {1, 0xC}, {10129002, 0x20}, {0, 0x28}} local ck2_17 = {{510000026, 0x28}, {520000026, 0x2C}, {610000026, 0x34}, {600000026, 0x38}} -- 武器 18 local ck1_18 = {{10428001, 0}, {1, 0xC}, {10428002, 0x20}, {0, 0x28}} local ck2_18 = {{510000028, 0x28}, {520000028, 0x2C}, {610000028, 0x34}, {600000028, 0x38}} -- 武器 19 local ck1_19 = {{10139001, 0}, {1, 0xC}, {10139002, 0x20}, {0, 0x28}} local ck2_19 = {{510000039, 0x28}, {520000039, 0x2C}, {610000039, 0x34}, {600000039, 0x38}} -- 武器 20 local ck1_20 = {{10211001, 0}, {1, 0xC}, {10211002, 0x20}, {0, 0x28}} local ck2_20 = {{510000009, 0x28}, {520000010, 0x2C}, {610000002, 0x34}, {600000002, 0x38}} -- 武器 21 local ck1_21 = {{10420001, 0}, {1, 0xC}, {10420002, 0x20}, {0, 0x28}} local ck2_21 = {{510000013, 0x28}, {520000014, 0x2C}, {610000004, 0x34}, {600000004, 0x38}} -- 武器 22 local ck1_22 = {{10314001, 0}, {1, 0xC}, {10314002, 0x20}, {0, 0x28}} local ck2_22 = {{510000031, 0x28}, {520000031, 0x2C}, {610000031, 0x34}, {600000031, 0x38}} -- 武器 23 local ck1_23 = {{10432001, 0}, {1, 0xC}, {10432002, 0x20}, {0, 0x28}} local ck2_23 = {{510000038, 0x28}, {520000038, 0x2C}, {610000038, 0x34}, {600000038, 0x38}} -- 武器 24 local ck1_24 = {{10130001, 0}, {1, 0xC}, {10130012, 0x20}, {0, 0x28}} local ck2_24 = {{510000029, 0x28}, {520000029, 0x2C}, {610000029, 0x34}, {600000029, 0x38}} -- 武器 25 (10106001 变体 10106173) local ck1_25 = {{10106001, 0}, {1, 0xC}, {10106173, 0x20}, {0, 0x28}} local ck2_25 = {{510000027, 0x28}, {520000027, 0x2C}, {610000027, 0x34}, {600000027, 0x38}} -- 武器 26 local ck1_26 = {{11207001, 0}, {1, 0xC}, {11207002, 0x20}, {0, 0x28}} local ck2_26 = {{510000041, 0x28}, {520000041, 0x2C}, {610000041, 0x34}, {600000041, 0x38}} -- 武器 27(新加入 10101001) local ck1_27 = {{10101001, 0}, {1, 0xC}, {10101177, 0x20}, {0, 0x28}} local ck2_27 = {{510000040, 0x28}, {520000040, 0x2C}, {610000040, 0x34}, {600000040, 0x38}} local io_type = 4 -- 主循环 while true do local found = allck(ck1_1, ck2_1, io_type) if not found then found = allck(ck1_2, ck2_2, io_type) end if not found then found = allck(ck1_3, ck2_3, io_type) end if not found then found = allck(ck1_4, ck2_4, io_type) end if not found then found = allck(ck1_5, ck2_5, io_type) end if not found then found = allck(ck1_6, ck2_6, io_type) end if not found then found = allck(ck1_7, ck2_7, io_type) end if not found then found = allck(ck1_8, ck2_8, io_type) end if not found then found = allck(ck1_9, ck2_9, io_type) end if not found then found = allck(ck1_10, ck2_10, io_type) end if not found then found = allck(ck1_11, ck2_11, io_type) end if not found then found = allck(ck1_12, ck2_12, io_type) end if not found then found = allck(ck1_13, ck2_13, io_type) end if not found then found = allck(ck1_14, ck2_14, io_type) end if not found then found = allck(ck1_15, ck2_15, io_type) end if not found then found = allck(ck1_16, ck2_16, io_type) end if not found then found = allck(ck1_17, ck2_17, io_type) end if not found then found = allck(ck1_18, ck2_18, io_type) end if not found then found = allck(ck1_19, ck2_19, io_type) end if not found then found = allck(ck1_20, ck2_20, io_type) end if not found then found = allck(ck1_21, ck2_21, io_type) end if not found then found = allck(ck1_22, ck2_22, io_type) end if not found then found = allck(ck1_23, ck2_23, io_type) end if not found then found = allck(ck1_24, ck2_24, io_type) end if not found then found = allck(ck1_25, ck2_25, io_type) end if not found then found = allck(ck1_26, ck2_26, io_type) end if not found then allck(ck1_27, ck2_27, io_type) end -- 停止方式:点击GG悬浮图标 if gg.isVisible(true) then local el = gg.alert("是否要停止?", "YES", "NO") if el == 1 then gg.alert("你选择了确定") break end end gg.sleep(100) end end), }, { name = '枪械美化', desc = '自身人物套装美化', 图片 = '/storage/emulated/0/樱泽墨资源1/图片/衣服', 肥鱼美化.image2('/storage/emulated/0/肥鱼美化2.0/资源/中二病也要谈恋爱.jpg'), 肥鱼美化.box({ "突击步枪", -- TYPE25系列 肥鱼美化.box({ "TYPE25系列", 肥鱼美化.switch("吸血鬼猎人", function() 写入枪械(10101001, 10101035) end), 肥鱼美化.switch("磁力", function() 写入枪械(10101001, 10101075) end), 肥鱼美化.switch("食人魔", function() 写入枪械(10101001, 10101106) end), 肥鱼美化.switch("天目一甲", function() 写入枪械(10101001, 10101131) end), 肥鱼美化.switch("凤凰烈焰", function() 写入枪械(10101001, 10101145) end), 肥鱼美化.switch("激光边缘", function() 写入枪械(10101001, 10101161) end), 肥鱼美化.switch("NM切割", function() 写入枪械(10101001, 10101177) end), 肥鱼美化.switch("默认", function() 写入枪械(10101001, 10101205) end) }), -- TYPE25系列 肥鱼美化.box({ "GRAU556_SBT系列", 肥鱼美化.switch("燧火雷鸣", function() 写入枪械(10140001, 10140002) end), }), -- M16系列 肥鱼美化.box({ "M16系列", 肥鱼美化.switch("伊诺", function() 写入枪械(10105001, 10105140) end), 肥鱼美化.switch("朱雀", function() 写入枪械(10105001, 10105152) end), 肥鱼美化.switch("LL", function() 写入枪械(10105001, 10105175) end), 肥鱼美化.switch("孔雀", function() 写入枪械(10105001, 10105179) end), 肥鱼美化.switch("默认", function() 写入枪械(10105001, 10105205) end) }), -- AK117系列 肥鱼美化.box({ "AK117系列", 肥鱼美化.switch("传奇", function() 写入枪械(10106001, 10106014) end), 肥鱼美化.switch("豪华圣诞", function() 写入枪械(10106001, 10106022) end), 肥鱼美化.switch("地狱之骨", function() 写入枪械(10106001, 10106049) end), 肥鱼美化.switch("欧阳娜娜", function() 写入枪械(10106001, 10106120) end), 肥鱼美化.switch("LD3", function() 写入枪械(10106001, 10106125) end), 肥鱼美化.switch("兰博基尼", function() 写入枪械(10106001, 10106128) end), 肥鱼美化.switch("白月魁", function() 写入枪械(10106001, 10106155) end), 肥鱼美化.switch("日月光", function() 写入枪械(10106001, 10106173) end), 肥鱼美化.switch("熔毁尊享", function() 写入枪械(10106001, 10106184) end), 肥鱼美化.switch("钩锁", function() 写入枪械(10106001, 10106195) end), 肥鱼美化.switch("熔岩", function() 写入枪械(10106001, 10106197) end), 肥鱼美化.switch("默认", function() 写入枪械(10106001, 10106205) end), 肥鱼美化.switch("翼", function() 写入枪械(10106001, 10106222) end) }), -- AK47系列 肥鱼美化.box({ "AK47系列", 肥鱼美化.switch("黑红", function() 写入枪械(10107001, 10107014) end), 肥鱼美化.switch("南瓜", function() 写入枪械(10107001, 10107022) end), 肥鱼美化.switch("狂怒", function() 写入枪械(10107001, 10107037) end), 肥鱼美化.switch("黑幕", function() 写入枪械(10107001, 10107109) end), 肥鱼美化.switch("九尾神性", function() 写入枪械(10107001, 10107164) end), 肥鱼美化.switch("塔罗牌", function() 写入枪械(10107001, 10107172) end), 肥鱼美化.switch("武士", function() 写入枪械(10107001, 10107187) end), 肥鱼美化.switch("默认", function() 写入枪械(10107001, 10107205) end), 肥鱼美化.switch("圣诞主题", function() 写入枪械(10107001, 10107243) end), 肥鱼美化.switch("ICB步枪", function() 写入枪械(10107001, 10107249) end), 肥鱼美化.switch("NRA", function() 写入枪械(10107001, 10107250) end), 肥鱼美化.switch("ICB步枪SA", function() 写入枪械(10107001, 10107251) end) }), -- ASM10系列 肥鱼美化.box({ "ASM10系列", 肥鱼美化.switch("地堡克星", function() 写入枪械(10108001, 10108059) end), 肥鱼美化.switch("深渊特工", function() 写入枪械(10108001, 10108104) end), 肥鱼美化.switch("少女前线", function() 写入枪械(10108001, 10108108) end), 肥鱼美化.switch("鬼", function() 写入枪械(10108001, 10108143) end), 肥鱼美化.switch("警察", function() 写入枪械(10108001, 10108180) end), 肥鱼美化.switch("默认", function() 写入枪械(10108001, 10108205) end) }), -- M4系列 肥鱼美化.box({ "M4系列", 肥鱼美化.switch("M4A1TECH-5", function() 写入枪械(10109001, 10109018) end), 肥鱼美化.switch("宫廷小丑", function() 写入枪械(10109001, 10109088) end), 肥鱼美化.switch("罗亚黑魂", function() 写入枪械(10109001, 10109139) end), 肥鱼美化.switch("红蓝魂", function() 写入枪械(10109001, 10109176) end), 肥鱼美化.switch("四目鬼太", function() 写入枪械(10109001, 10109191) end), 肥鱼美化.switch("默认", function() 写入枪械(10109001, 10109205) end), 肥鱼美化.switch("朱庇特炮", function() 写入枪械(10109001, 10109208) end), 肥鱼美化.switch("链式火焰", function() 写入枪械(10109001, 10109250) end) }), -- BK57系列 肥鱼美化.box({ "BK57系列", 肥鱼美化.switch("太空竞赛", function() 写入枪械(10110001, 10110067) end), 肥鱼美化.switch("闪光冻结", function() 写入枪械(10110001, 10110091) end), 肥鱼美化.switch("幽灵之歌", function() 写入枪械(10110001, 10110132) end), 肥鱼美化.switch("离子切割", function() 写入枪械(10110001, 10110140) end), 肥鱼美化.switch("默认", function() 写入枪械(10110001, 10110205) end) }), -- LK24系列 肥鱼美化.box({ "LK24系列", 肥鱼美化.switch("心之地", function() 写入枪械(10111001, 10111051) end), 肥鱼美化.switch("RGBACG", function() 写入枪械(10111001, 10111108) end), 肥鱼美化.switch("RGBACGUS", function() 写入枪械(10111001, 10111118) end), 肥鱼美化.switch("柴老", function() 写入枪械(10111001, 10111134) end), 肥鱼美化.switch("安全保险箱", function() 写入枪械(10111001, 10111160) end), 肥鱼美化.switch("死亡之阳", function() 写入枪械(10111001, 10111166) end), 肥鱼美化.switch("默认", function() 写入枪械(10111001, 10111205) end) }), -- ICR系列 肥鱼美化.box({ "ICR系列", 肥鱼美化.switch("彩色水晶", function() 写入枪械(10112001, 10112005) end), 肥鱼美化.switch("智能", function() 写入枪械(10112001, 10112029) end), 肥鱼美化.switch("赛博小丑", function() 写入枪械(10112001, 10112031) end), 肥鱼美化.switch("银背龙", function() 写入枪械(10112001, 10112077) end), 肥鱼美化.switch("战斗黑猩猩", function() 写入枪械(10112001, 10112087) end), 肥鱼美化.switch("午夜信仰", function() 写入枪械(10112001, 10112101) end), 肥鱼美化.switch("多元宇宙猫", function() 写入枪械(10112001, 10112134) end), 肥鱼美化.switch("默认", function() 写入枪械(10112001, 10112205) end) }), -- ManOWar系列 肥鱼美化.box({ "ManOWar系列", 肥鱼美化.switch("梦想", function() 写入枪械(10113001, 10113002) end), 肥鱼美化.switch("传奇v91", function() 写入枪械(10113001, 10113020) end), 肥鱼美化.switch("火箭", function() 写入枪械(10113001, 10113048) end), 肥鱼美化.switch("白死神", function() 写入枪械(10113001, 10113064) end), 肥鱼美化.switch("蝎子", function() 写入枪械(10113001, 10113091) end), 肥鱼美化.switch("默认", function() 写入枪械(10113001, 10113205) end) }), -- KN44系列 肥鱼美化.box({ "KN44系列", 肥鱼美化.switch("彩虹", function() 写入枪械(10114001, 10114002) end), 肥鱼美化.switch("死亡之舞", function() 写入枪械(10114001, 10114038) end), 肥鱼美化.switch("妖狐", function() 写入枪械(10114001, 10114082) end), 肥鱼美化.switch("乌鸦", function() 写入枪械(10114001, 10114100) end), 肥鱼美化.switch("鬼火", function() 写入枪械(10114001, 10114110) end), 肥鱼美化.switch("花朵", function() 写入枪械(10114001, 10114124) end), 肥鱼美化.switch("默认", function() 写入枪械(10114001, 10114205) end) }), -- HBRa3系列 肥鱼美化.box({ "HBRa3系列", 肥鱼美化.switch("虫群", function() 写入枪械(10115002, 10115007) end), 肥鱼美化.switch("狂野闪电", function() 写入枪械(10115002, 10115053) end), 肥鱼美化.switch("猎鹰", function() 写入枪械(10115002, 10115084) end), 肥鱼美化.switch("默认", function() 写入枪械(10115002, 10115205) end) }), -- HVK30系列 肥鱼美化.box({ "HVK30系列", 肥鱼美化.switch("最高安全", function() 写入枪械(10116001, 10116013) end), 肥鱼美化.switch("弹壳粉碎者", function() 写入枪械(10116001, 10116051) end), 肥鱼美化.switch("皇家将军", function() 写入枪械(10116001, 10116079) end), 肥鱼美化.switch("RYBG", function() 写入枪械(10116001, 10116084) end), 肥鱼美化.switch("操纵杆", function() 写入枪械(10116001, 10116086) end), 肥鱼美化.switch("北极熊", function() 写入枪械(10116001, 10116097) end), 肥鱼美化.switch("默认", function() 写入枪械(10116001, 10116205) end) }), -- DRH系列 肥鱼美化.box({ "DRH系列", 肥鱼美化.switch("邪恶之爪", function() 写入枪械(10117001, 10117005) end), 肥鱼美化.switch("坏狗", function() 写入枪械(10117001, 10117048) end), 肥鱼美化.switch("阿修罗", function() 写入枪械(10117001, 10117063) end), 肥鱼美化.switch("红米", function() 写入枪械(10117001, 10117065) end), 肥鱼美化.switch("红米2", function() 写入枪械(10117001, 10117072) end), 肥鱼美化.switch("DNA", function() 写入枪械(10117001, 10117082) end), 肥鱼美化.switch("黑花", function() 写入枪械(10117001, 10117101) end), 肥鱼美化.switch("骑士", function() 写入枪械(10117001, 10117110) end), 肥鱼美化.switch("默认", function() 写入枪械(10117001, 10117205) end) }), -- MK2系列 肥鱼美化.box({ "MK2系列", 肥鱼美化.switch("红枪", function() 写入枪械(10118001, 10118002) end), 肥鱼美化.switch("重金属摇滚", function() 写入枪械(10118001, 10118023) end), 肥鱼美化.switch("烟酰胺", function() 写入枪械(10118001, 10118043) end), 肥鱼美化.switch("默认", function() 写入枪械(10118001, 10118205) end) }), -- FR556系列 肥鱼美化.box({ "FR556系列", 肥鱼美化.switch("以太", function() 写入枪械(10119001, 10119002) end), 肥鱼美化.switch("电波", function() 写入枪械(10119001, 10119041) end), 肥鱼美化.switch("默认", function() 写入枪械(10119001, 10119205) end) }), -- ASVAL系列 肥鱼美化.box({ "ASVAL系列", 肥鱼美化.switch("红枪", function() 写入枪械(10120001, 10120002) end), 肥鱼美化.switch("电锯", function() 写入枪械(10120001, 10120032) end), 肥鱼美化.switch("北京歌剧", function() 写入枪械(10120001, 10120057) end), 肥鱼美化.switch("未来之物", function() 写入枪械(10120001, 10120072) end), 肥鱼美化.switch("DSIW", function() 写入枪械(10120001, 10120091) end), 肥鱼美化.switch("默认", function() 写入枪械(10120001, 10120205) end), 肥鱼美化.switch("红枪2", function() 写入枪械(10120001, 10120999) end) }), -- CR56系列 肥鱼美化.box({ "CR56系列", 肥鱼美化.switch("红死", function() 写入枪械(10121001, 10121002) end), 肥鱼美化.switch("朋克猪", function() 写入枪械(10121001, 10121023) end), 肥鱼美化.switch("死神", function() 写入枪械(10121001, 10121039) end), 肥鱼美化.switch("AMAX", function() 写入枪械(10121001, 10121051) end), 肥鱼美化.switch("红死尊享", function() 写入枪械(10121001, 10121058) end), 肥鱼美化.switch("CDrop", function() 写入枪械(10121001, 10121062) end), 肥鱼美化.switch("默认", function() 写入枪械(10121001, 10121205) end) }), -- M13系列 肥鱼美化.box({ "M13系列", 肥鱼美化.switch("先驱者", function() 写入枪械(10122001, 10122002) end), 肥鱼美化.switch("无畏", function() 写入枪械(10122001, 10122024) end), 肥鱼美化.switch("胡萝卜可爱", function() 写入枪械(10122001, 10122041) end), 肥鱼美化.switch("赛博战士", function() 写入枪械(10122001, 10122068) end), 肥鱼美化.switch("VFW", function() 写入枪械(10122001, 10122079) end) }), 肥鱼美化.box({ "Swordfish系列", 肥鱼美化.switch("糖猫", function() 写入枪械(10001, 10002) end), 肥鱼美化.switch("海王", function() 写入枪械(10001, 10018) end), 肥鱼美化.switch("骷髅尊享", function() 写入枪械(10001, 10033) end), 肥鱼美化.switch("宜兴", function() 写入枪械(10001, 10123045) end) }), -- Kilo141系列 肥鱼美化.box({ "Kilo141系列", 肥鱼美化.switch("堕落天使", function() 写入枪械(10124001, 10124002) end), 肥鱼美化.switch("圣歌", function() 写入枪械(10124001, 10124017) end), 肥鱼美化.switch("军团之矛", function() 写入枪械(10124001, 10124029) end), 肥鱼美化.switch("写轮眼", function() 写入枪械(10124001, 10124059) end), 肥鱼美化.switch("FVV", function() 写入枪械(10124001, 10124063) end) }), -- Oden系列 肥鱼美化.box({ "Oden系列", 肥鱼美化.switch("Kakko", function() 写入枪械(10125001, 10125014) end), 肥鱼美化.switch("废土", function() 写入枪械(10125001, 10125042) end), 肥鱼美化.switch("锦标赛", function() 写入枪械(10125001, 10125047) end) }), -- Krig6系列 肥鱼美化.box({ "Krig6系列", 肥鱼美化.switch("冰龙", function() 写入枪械(10126001, 10126002) end), 肥鱼美化.switch("光滑铬", function() 写入枪械(10126001, 10126015) end), 肥鱼美化.switch("调制解调器", function() 写入枪械(10126001, 10126033) end), 肥鱼美化.switch("VFW", function() 写入枪械(10126001, 10126046) end) }), -- EM2系列 肥鱼美化.box({ "EM2系列", 肥鱼美化.switch("红枪", function() 写入枪械(10127001, 10127002) end), 肥鱼美化.switch("DBR", function() 写入枪械(10127001, 10127016) end), 肥鱼美化.switch("DT", function() 写入枪械(10127001, 10127028) end), 肥鱼美化.switch("霜冻领袖", function() 写入枪械(10127001, 10127040) end) }), -- Maddox系列 肥鱼美化.box({ "Maddox系列", 肥鱼美化.switch("水星列车", function() 写入枪械(10128001, 10128002) end), 肥鱼美化.switch("南瓜恶魔", function() 写入枪械(10128001, 10128014) end) }), -- FFAR1CW系列 肥鱼美化.box({ "FFAR1CW系列", 肥鱼美化.switch("亮刃", function() 写入枪械(10129001, 10129002) end), 肥鱼美化.switch("法老之言", function() 写入枪械(10129001, 10129012) end), 肥鱼美化.switch("裂缝", function() 写入枪械(10129001, 10129031) end), 肥鱼美化.switch("快手CN", function() 写入枪械(10129001, 10129040) end), 肥鱼美化.switch("去品牌版", function() 写入枪械(10129001, 10129041) end) }), -- GRAU556系列 肥鱼美化.box({ "GRAU556系列", 肥鱼美化.switch("机械马", function() 写入枪械(10130001, 10130002) end), 肥鱼美化.switch("SBT", function() 写入枪械(10130001, 10130012) end), 肥鱼美化.switch("蛇", function() 写入枪械(10130001, 10130027) end), 肥鱼美化.switch("LMENT", function() 写入枪械(10130001, 10130035) end), 肥鱼美化.switch("SLQ", function() 写入枪械(10130001, 10130038) end), 肥鱼美化.switch("默认", function() 写入枪械(10130001, 10130901) end) }), -- GROZA系列 肥鱼美化.box({ "GROZA系列", 肥鱼美化.switch("BEBEB", function() 写入枪械(10131001, 10131002) end), 肥鱼美化.switch("水瓶座", function() 写入枪械(10131001, 10131013) end) }), -- TYPE19X系列 肥鱼美化.box({ "TYPE19X系列", 肥鱼美化.switch("墨水", function() 写入枪械(10132001, 10132002) end), 肥鱼美化.switch("和平", function() 写入枪械(10132001, 10132006) end), 肥鱼美化.switch("多元宇宙猫系列", function() 写入枪械(10132001, 10132018) end) }), -- F2000系列 肥鱼美化.box({ "F2000系列", 肥鱼美化.switch("星能", function() 写入枪械(10133001, 10133002) end), 肥鱼美化.switch("BHT", function() 写入枪械(10133001, 10133017) end) }), -- FAL系列 肥鱼美化.box({ "FAL系列", 肥鱼美化.switch("带手枪", function() 写入枪械(10134001, 10134002) end), 肥鱼美化.switch("拉撒路", function() 写入枪械(10134001, 10134015) end) }), --RAM7 肥鱼美化.box({ "RAM7系列", 肥鱼美化.switch("RAM7-星空", function() 写入枪械(10135001, 10137002) end), 肥鱼美化.switch("RAM-7星空2", function() 写入枪械(10139001, 10139002) end) }), --VARGO 肥鱼美化.box({ "VARGO系列", 肥鱼美化.switch("VARGO-熔岩", function() 写入枪械(10138001, 10138002) end), 肥鱼美化.switch("VARGO-尘归尘", function() 写入枪械(10138001, 10138010) end) }), -- 其他突击步枪 肥鱼美化.box({ "xm4系列", 肥鱼美化.switch("XM4-机械核心", function() 写入枪械(10135001, 10135002) end), }) }), 肥鱼美化.box({ "轻机枪", -- QBB LSW系列 肥鱼美化.box({ "QBB LSW系列", 肥鱼美化.switch("情人节", function() 写入枪械(10303001, 10303020) end), 肥鱼美化.switch("默认", function() 写入枪械(10303001, 10303205) end) }), -- UL736系列 肥鱼美化.box({ "UL736系列", 肥鱼美化.switch("深水炸弹", function() 写入枪械(10304001, 10304044) end), 肥鱼美化.switch("电光", function() 写入枪械(10304001, 10304109) end), 肥鱼美化.switch("默认", function() 写入枪械(10304001, 10304205) end) }), -- RPD系列 肥鱼美化.box({ "RPD系列", 肥鱼美化.switch("恶作剧者", function() 写入枪械(10305001, 10305042) end), 肥鱼美化.switch("蜜蜂", function() 写入枪械(10305001, 10305112) end), 肥鱼美化.switch("鱼", function() 写入枪械(10305001, 10305139) end), 肥鱼美化.switch("天秤座", function() 写入枪械(10305001, 10305155) end), 肥鱼美化.switch("路狗", function() 写入枪械(10305001, 10305169) end), 肥鱼美化.switch("源代码", function() 写入枪械(10305001, 10305173) end), 肥鱼美化.switch("默认", function() 写入枪械(10305001, 10305205) end) }), -- M4LMG系列 肥鱼美化.box({ "M4LMG系列", 肥鱼美化.switch("机械动漫风", function() 写入枪械(10306001, 10306071) end), 肥鱼美化.switch("武装战士", function() 写入枪械(10306001, 10306148) end), 肥鱼美化.switch("多元宇宙猫", function() 写入枪械(10306001, 10306160) end), 肥鱼美化.switch("默认", function() 写入枪械(10306001, 10306205) end) }), -- Chopper系列 肥鱼美化.box({ "Chopper系列", 肥鱼美化.switch("连锁反应", function() 写入枪械(10308001, 10308002) end), 肥鱼美化.switch("游戏规则US", function() 写入枪械(10308001, 10308041) end), 肥鱼美化.switch("游戏规则", function() 写入枪械(10308001, 10308042) end), 肥鱼美化.switch("地狱犬", function() 写入枪械(10308001, 10308067) end), 肥鱼美化.switch("地狱犬尊享", function() 写入枪械(10308001, 10308085) end), 肥鱼美化.switch("默认", function() 写入枪械(10308001, 10308205) end) }), 肥鱼美化.box({ "Holger26系列", 肥鱼美化.switch("黑暗前线", function() 写入枪械(10309001, 10309002) end), 肥鱼美化.switch("深度恐惧", function() 写入枪械(10309001, 10309019) end), 肥鱼美化.switch("万圣节", function() 写入枪械(10309001, 10309049) end), 肥鱼美化.switch("BLHRYBG", function() 写入枪械(10309001, 10309063) end), 肥鱼美化.switch("默认", function() 写入枪械(10309001, 10309205) end), 肥鱼美化.switch("er26_BR_红", function() 写入枪械(10309001, 10309206) end) }), 肥鱼美化.box({ "Hades系列", 肥鱼美化.switch("LD2", function() 写入枪械(10310001, 10310002) end), 肥鱼美化.switch("金之蛇", function() 写入枪械(10310001, 10310032) end), 肥鱼美化.switch("虚空发送者尊享", function() 写入枪械(10310001, 10310056) end) }), 肥鱼美化.box({ "大盘鸡系列", 肥鱼美化.switch("裂逼祭台", function() 写入枪械(10317001, 1031002) end), }), -- PKM系列 肥鱼美化.box({ "PKM系列", 肥鱼美化.switch("圣诞", function() 写入枪械(10311001, 10311002) end), 肥鱼美化.switch("新时代", function() 写入枪械(10311001, 10311035) end), 肥鱼美化.switch("LL", function() 写入枪械(10311001, 10311042) end) }), -- 其他轻机枪 肥鱼美化.box({ "其他轻机枪", 肥鱼美化.switch("Dingo-猩红神谕", function() 写入枪械(10312001, 10312002) end), 肥鱼美化.switch("BRUENMK9-致命之弦", function() 写入枪械(10313001, 10313002) end), 肥鱼美化.switch("BRUENMK9-黑猩猩", function() 写入枪械(10313001, 10313015) end), 肥鱼美化.switch("MG42-残骸", function() 写入枪械(10314001, 10314002) end), 肥鱼美化.switch("MG42-黑客", function() 写入枪械(10314001, 10314021) end), 肥鱼美化.switch("MG42-SLQ", function() 写入枪械(10314001, 10314028) end), 肥鱼美化.switch("RAALMG-乌鸦", function() 写入枪械(10315001, 10315002) end) }) }), 肥鱼美化.box({ "狙击枪", -- XPR50系列 肥鱼美化.box({ "XPR50系列", 肥鱼美化.switch("恶魔面具", function() 写入枪械(10203001, 10203087) end), 肥鱼美化.switch("破碎意志", function() 写入枪械(10203001, 10203108) end), 肥鱼美化.switch("默认", function() 写入枪械(10203001, 10203205) end) }), -- Arctic50系列 肥鱼美化.box({ "Arctic50系列", 肥鱼美化.switch("5", function() 写入枪械(10204001, 10204012) end), 肥鱼美化.switch("狐火", function() 写入枪械(10204001, 10204090) end), 肥鱼美化.switch("白虎圣骑士", function() 写入枪械(10204001, 10204110) end), 肥鱼美化.switch("狐火尊享", function() 写入枪械(10204001, 10204129) end), 肥鱼美化.switch("舞会面具", function() 写入枪械(10204001, 10204136) end), 肥鱼美化.switch("辐射", function() 写入枪械(10204001, 10204154) end), 肥鱼美化.switch("默认", function() 写入枪械(10204001, 10204205) end), 肥鱼美化.switch("BR_O", function() 写入枪械(10204001, 10204206) end), 肥鱼美化.switch("反坦克", function() 写入枪械(10204001, 10204207) end), 肥鱼美化.switch("IC50_BR_红", function() 写入枪械(10204001, 10204208) end), 肥鱼美化.switch("IC50_BR_O", function() 写入枪械(10204001, 10204216) end), 肥鱼美化.switch("反坦克2", function() 写入枪械(10204001, 10204217) end) }), -- M21EBR系列 肥鱼美化.box({ "M21EBR系列", 肥鱼美化.switch("灰烬重生", function() 写入枪械(10205001, 10205108) end), 肥鱼美化.switch("默认", function() 写入枪械(10205001, 10205205) end) }), -- DLQ33系列 肥鱼美化.box({ "DLQ33系列", 肥鱼美化.switch("豪华圣诞", function() 写入枪械(10207001, 10207022) end), 肥鱼美化.switch("狂热者", function() 写入枪械(10207001, 10207068) end), 肥鱼美化.switch("高级火炮", function() 写入枪械(10207001, 10207114) end), 肥鱼美化.switch("精准", function() 写入枪械(10207001, 10207140) end), 肥鱼美化.switch("莲花火焰", function() 写入枪械(10207001, 10207155) end), 肥鱼美化.switch("BLKMT", function() 写入枪械(10207001, 10207174) end), 肥鱼美化.switch("狂热者2", function() 写入枪械(10207001, 10207188) end), 肥鱼美化.switch("默认", function() 写入枪械(10207001, 10207205) end), 肥鱼美化.switch("默认1", function() 写入枪械(10207001, 10207901) end) }), -- LOCUS系列 肥鱼美化.box({ "LOCUS系列", 肥鱼美化.switch("海王星", function() 写入枪械(10208001, 10208054) end), 肥鱼美化.switch("轨道炮", function() 写入枪械(10208001, 10208077) end), 肥鱼美化.switch("幽灵猎人", function() 写入枪械(10208001, 10208102) end), 肥鱼美化.switch("金属胡须", function() 写入枪械(10208001, 10208121) end), 肥鱼美化.switch("山羊", function() 写入枪械(10208001, 10208139) end), 肥鱼美化.switch("VFW", function() 写入枪械(10208001, 10208145) end), 肥鱼美化.switch("默认", function() 写入枪械(10208001, 10208205) end) }), -- NA45系列 肥鱼美化.box({ "NA45系列", 肥鱼美化.switch("狼人", function() 写入枪械(10209001, 10209003) end), 肥鱼美化.switch("狼人尊享", function() 写入枪械(10209001, 10209048) end), 肥鱼美化.switch("龙", function() 写入枪械(10209001, 10209205) end) }), -- SniperSniver系列 肥鱼美化.box({ "SniperSniver系列", 肥鱼美化.switch("不法之徒", function() 写入枪械(10210001, 10210002) end), 肥鱼美化.switch("宝藏", function() 写入枪械(10210001, 10210060) end), 肥鱼美化.switch("默认", function() 写入枪械(10210001, 10210205) end) }), -- AMR系列 肥鱼美化.box({ "AMR系列", 肥鱼美化.switch("红枪", function() 写入枪械(10211001, 10211002) end), 肥鱼美化.switch("二头龙", function() 写入枪械(10211001, 10211020) end), 肥鱼美化.switch("青花瓷", function() 写入枪械(10211001, 10211047) end), 肥鱼美化.switch("气球", function() 写入枪械(10211001, 10211067) end), 肥鱼美化.switch("默认", function() 写入枪械(10211001, 10211205) end) }), -- SVD系列 肥鱼美化.box({ "SVD系列", 肥鱼美化.switch("紫魂", function() 写入枪械(10212001, 10212002) end), 肥鱼美化.switch("Kannkore", function() 写入枪械(10212001, 10212019) end) }), -- Koshka系列 肥鱼美化.box({ "Koshka系列", 肥鱼美化.switch("奇迹步枪", function() 写入枪械(10213001, 10213002) end), 肥鱼美化.switch("奇迹步枪CN", function() 写入枪械(10213001, 10213003) end), 肥鱼美化.switch("恶魔能量", function() 写入枪械(10213001, 10213033) end) }), -- ZRG20系列 肥鱼美化.box({ "ZRG20系列", 肥鱼美化.switch("杀戮", function() 写入枪械(10214001, 10214002) end), 肥鱼美化.switch("咖啡机", function() 写入枪械(10214001, 10214022) end) }), -- HDR系列 肥鱼美化.box({ "HDR系列", 肥鱼美化.switch("维生素C", function() 写入枪械(10215001, 10215002) end), 肥鱼美化.switch("尖叫", function() 写入枪械(10215001, 10215023) end) }), -- LW3TUNDRA系列 肥鱼美化.box({ "LW3TUNDRA系列", 肥鱼美化.switch("狼外婆", function() 写入枪械(10216001, 10216002) end), 肥鱼美化.switch("苔原", function() 写入枪械(10216001, 10216019) end), 肥鱼美化.switch("SLQ", function() 写入枪械(10216001, 10216029) end) }) }), 肥鱼美化.box({ "冲锋枪", -- AKS-74U系列 肥鱼美化.box({ "AKS-74U系列", 肥鱼美化.switch("时空领域", function() 写入枪械(10403001, 10403034) end), 肥鱼美化.switch("ZX7000", function() 写入枪械(10403001, 10403056) end), 肥鱼美化.switch("均衡器", function() 写入枪械(10403001, 10403117) end), 肥鱼美化.switch("均衡器CN", function() 写入枪械(10403001, 10403118) end), 肥鱼美化.switch("圣诞", function() 写入枪械(10403001, 10403126) end), 肥鱼美化.switch("定制工作", function() 写入枪械(10403001, 10403136) end), 肥鱼美化.switch("神秘灯", function() 写入枪械(10403001, 10403166) end), 肥鱼美化.switch("默认", function() 写入枪械(10403001, 10403205) end) }), -- CHICOM系列 肥鱼美化.box({ "CHICOM系列", 肥鱼美化.switch("像素化", function() 写入枪械(10404001, 10404113) end), 肥鱼美化.switch("默认", function() 写入枪械(10404001, 10404205) end) }), -- CHICOM系列 肥鱼美化.box({ "vmp系列", 肥鱼美化.switch("幽冥花海", function() 写入枪械(10432001, 10432002) end), }), -- PDW57系列 肥鱼美化.box({ "PDW57系列", 肥鱼美化.switch("有毒废物", function() 写入枪械(10406001, 10406051) end), 肥鱼美化.switch("坦克", function() 写入枪械(10406001, 10406174) end), 肥鱼美化.switch("默认", function() 写入枪械(10406001, 10406205) end), 肥鱼美化.switch("默认2", function() 写入枪械(10406001, 10406212) end), 肥鱼美化.switch("玻璃切割器", function() 写入枪械(10406001, 10406235) end), 肥鱼美化.switch("废土", function() 写入枪械(10406001, 10406262) end) }), -- Razorback系列 肥鱼美化.box({ "Razorback系列", 肥鱼美化.switch("核选择", function() 写入枪械(10406015, 10406090) end), 肥鱼美化.switch("核选择2", function() 写入枪械(10406015, 10406097) end), 肥鱼美化.switch("极光1", function() 写入枪械(10406015, 10406109) end), 肥鱼美化.switch("剃刀背", function() 写入枪械(10406015, 10406219) end), 肥鱼美化.switch("剃刀背2", function() 写入枪械(10406015, 10406224) end) }), -- MSMC系列 肥鱼美化.box({ "MSMC系列", 肥鱼美化.switch("空间站", function() 写入枪械(10408001, 10408029) end), 肥鱼美化.switch("默认", function() 写入枪械(10408001, 10408205) end) }), -- HG40系列 肥鱼美化.box({ "HG40系列", 肥鱼美化.switch("2", function() 写入枪械(10409001, 10409013) end), 肥鱼美化.switch("黄金标准", function() 写入枪械(10409001, 10409054) end), 肥鱼美化.switch("冲锋枪", function() 写入枪械(10409001, 10409121) end), 肥鱼美化.switch("食尸鬼束缚尊享", function() 写入枪械(10409001, 10409145) end), 肥鱼美化.switch("默认", function() 写入枪械(10409001, 10409205) end) }), -- Pharo系列 肥鱼美化.box({ "Pharo系列", 肥鱼美化.switch("梦想", function() 写入枪械(10411001, 10411002) end), 肥鱼美化.switch("潜水", function() 写入枪械(10411001, 10411062) end), 肥鱼美化.switch("默认", function() 写入枪械(10411001, 10411205) end) }), -- GKRS系列 肥鱼美化.box({ "GKRS系列", 肥鱼美化.switch("TU", function() 写入枪械(10412001, 10412002) end), 肥鱼美化.switch("传奇v91", function() 写入枪械(10412001, 10412025) end), 肥鱼美化.switch("Poukaa", function() 写入枪械(10412001, 10412062) end), 肥鱼美化.switch("默认", function() 写入枪械(10412001, 10412205) end) }), -- Cordite系列 肥鱼美化.box({ "Cordite系列", 肥鱼美化.switch("零重力", function() 写入枪械(10413001, 10413002) end), 肥鱼美化.switch("演示", function() 写入枪械(10413001, 10413056) end), 肥鱼美化.switch("默认", function() 写入枪械(10413001, 10413205) end) }), -- QQ9系列 肥鱼美化.box({ "QQ9系列", 肥鱼美化.switch("熔化的太阳", function() 写入枪械(10414001, 10414003) end), 肥鱼美化.switch("MOONER", function() 写入枪械(10414001, 10414033) end), 肥鱼美化.switch("永恒之枪", function() 写入枪械(10414001, 10414037) end), 肥鱼美化.switch("Mamoto", function() 写入枪械(10414001, 10414074) end), 肥鱼美化.switch("兴奋", function() 写入枪械(10414001, 10414089) end), 肥鱼美化.switch("电子", function() 写入枪械(10414001, 10414126) end), 肥鱼美化.switch("红宝石", function() 写入枪械(10414001, 10414127) end), 肥鱼美化.switch("默认", function() 写入枪械(10414001, 10414205) end) }), -- Fennec系列 肥鱼美化.box({ "Fennec系列", 肥鱼美化.switch("升天", function() 写入枪械(10415001, 10415002) end), 肥鱼美化.switch("螺旋", function() 写入枪械(10415001, 10415026) end), 肥鱼美化.switch("Mettyasugoi", function() 写入枪械(10415001, 10415058) end), 肥鱼美化.switch("龙", function() 写入枪械(10415001, 10415077) end), 肥鱼美化.switch("VFW", function() 写入枪械(10415001, 10415095) end), 肥鱼美化.switch("默认", function() 写入枪械(10415001, 10415205) end) }), -- AGR556系列 肥鱼美化.box({ "AGR556系列", 肥鱼美化.switch("杜兰达尔", function() 写入枪械(10416001, 10416002) end), 肥鱼美化.switch("Flam", function() 写入枪械(10416001, 10416024) end), 肥鱼美化.switch("杜兰达尔尊享", function() 写入枪械(10416001, 10416045) end), 肥鱼美化.switch("默认", function() 写入枪械(10416001, 10416205) end) }), -- Mpapa7系列 肥鱼美化.box({ "Mpapa7系列", 肥鱼美化.switch("秘密圣诞老人", function() 写入枪械(10417001, 10417002) end), 肥鱼美化.switch("骨龙", function() 写入枪械(10417001, 10417035) end), 肥鱼美化.switch("默认", function() 写入枪械(10417001, 10417205) end) }), -- PP19系列 肥鱼美化.box({ "PP19系列", 肥鱼美化.switch("创新", function() 写入枪械(10418001, 10418003) end), 肥鱼美化.switch("岩浆", function() 写入枪械(10418001, 10418029) end), 肥鱼美化.switch("雪男", function() 写入枪械(10418001, 10418039) end), 肥鱼美化.switch("比松誓言挑战", function() 写入枪械(10418001, 10418049) end), 肥鱼美化.switch("公主", function() 写入枪械(10418001, 10418058) end), 肥鱼美化.switch("公主2", function() 写入枪械(10418001, 10418059) end), 肥鱼美化.switch("NRA", function() 写入枪械(10418001, 10418066) end), 肥鱼美化.switch("默认", function() 写入枪械(10418001, 10418205) end) }), -- MX9系列 肥鱼美化.box({ "MX9系列", 肥鱼美化.switch("火龙", function() 写入枪械(10419001, 10419002) end), 肥鱼美化.switch("图灵", function() 写入枪械(10419001, 10419022) end), 肥鱼美化.switch("无心尊享", function() 写入枪械(10419001, 10419035) end), 肥鱼美化.switch("默认", function() 写入枪械(10419001, 10419205) end) }), -- P90系列 肥鱼美化.box({ "P90系列", 肥鱼美化.switch("世界", function() 写入枪械(10420001, 10420022) end), 肥鱼美化.switch("鳄鱼吞食", function() 写入枪械(10420001, 10420044) end), 肥鱼美化.switch("SophiaDT", function() 写入枪械(10420001, 10420051) end) }), -- PPSh41系列 肥鱼美化.box({ "PPSh41系列", 肥鱼美化.switch("请多关照", function() 写入枪械(10421001, 10421002) end), 肥鱼美化.switch("怪声物质", function() 写入枪械(10421001, 10421011) end), 肥鱼美化.switch("圣诞", function() 写入枪械(10421001, 10421022) end), 肥鱼美化.switch("燃烧", function() 写入枪械(10421001, 10421034) end) }), -- MAC-10系列 肥鱼美化.box({ "MAC-10系列", 肥鱼美化.switch("原子星", function() 写入枪械(10422001, 10422002) end), 肥鱼美化.switch("龙力", function() 写入枪械(10422001, 10422014) end), 肥鱼美化.switch("巴斯特偶像", function() 写入枪械(10422001, 10422017) end), 肥鱼美化.switch("COD黑暗", function() 写入枪械(10422001, 10422029) end), 肥鱼美化.switch("COD黑暗2", function() 写入枪械(10422001, 10422031) end), 肥鱼美化.switch("多元宇宙猫", function() 写入枪械(10422001, 10422040) end) }), -- KSP45系列 肥鱼美化.box({ "KSP45系列", 肥鱼美化.switch("巨像", function() 写入枪械(10423001, 10423002) end), 肥鱼美化.switch("干扰器", function() 写入枪械(10423001, 10423018) end) }), -- Switchblade系列 肥鱼美化.box({ "fss飓风", 肥鱼美化.switch("永夜冥乡", function() 写入枪械(10436001, 10436002) end), }), -- Switchblade系列 肥鱼美化.box({ "Switchblade系列", 肥鱼美化.switch("中二病", function() 写入枪械(10424001, 10424002) end), 肥鱼美化.switch("双鱼座", function() 写入枪械(10424001, 10424031) end), 肥鱼美化.switch("默认", function() 写入枪械(10424001, 10424901) end) }), -- LAPA系列 肥鱼美化.box({ "LAPA系列", 肥鱼美化.switch("贵族", function() 写入枪械(10425001, 10425002) end), 肥鱼美化.switch("足球主题K", function() 写入枪械(10425001, 10425010) end) }), -- 其他冲锋枪 肥鱼美化.box({ "其他冲锋枪", 肥鱼美化.switch("OTs9CW-炼狱", function() 写入枪械(10426001, 10426002) end), 肥鱼美化.switch("Striker45-鲨鱼", function() 写入枪械(10427001, 10427002) end), 肥鱼美化.switch("CX9-红色", function() 写入枪械(10428001, 10428002) end), 肥鱼美化.switch("CX9-狂战士", function() 写入枪械(10428001, 10428012) end), 肥鱼美化.switch("CX9-愤怒BHT", function() 写入枪械(10428001, 10428022) end), 肥鱼美化.switch("CX9-FVV", function() 写入枪械(10428001, 10428027) end), 肥鱼美化.switch("TEC9-YYDS", function() 写入枪械(10429001, 10429002) end), }), }), 肥鱼美化.box({ "霰弹枪", -- M1216系列 肥鱼美化.box({ "M1216系列", 肥鱼美化.switch("默认", function() 写入枪械(10502001, 10502205) end) }), -- W1200系列 肥鱼美化.box({ "W1200系列", 肥鱼美化.switch("HALEI", function() 写入枪械(10503001, 10503083) end), 肥鱼美化.switch("默认", function() 写入枪械(10503001, 10503205) end), 肥鱼美化.switch("BR_红", function() 写入枪械(10503001, 10503206) end) }), -- BY15系列 肥鱼美化.box({ "BY15系列", 肥鱼美化.switch("茶百道", function() 写入枪械(10503001, 10503125) end), 肥鱼美化.switch("章鱼", function() 写入枪械(10503001, 10503126) end) }), -- M1887系列 肥鱼美化.box({ "M1887系列", 肥鱼美化.switch("金鱼缸", function() 写入枪械(10504001, 10504105) end), 肥鱼美化.switch("默认", function() 写入枪械(10504001, 10504205) end) }), -- STRIKER系列 肥鱼美化.box({ "STRIKER系列", 肥鱼美化.switch("源代码", function() 写入枪械(10506001, 10506143) end), 肥鱼美化.switch("源代码2", function() 写入枪械(10506001, 10506144) end), 肥鱼美化.switch("默认", function() 写入枪械(10506001, 10506205) end) }), -- KRM262系列 肥鱼美化.box({ "KRM262系列", 肥鱼美化.switch("弹射器", function() 写入枪械(10508002, 10508044) end), 肥鱼美化.switch("GameBoy", function() 写入枪械(10508002, 10508076) end), 肥鱼美化.switch("熔岩", function() 写入枪械(10508002, 10508083) end), 肥鱼美化.switch("默认", function() 写入枪械(10508002, 10508205) end) }), -- Echo系列 肥鱼美化.box({ "Echo系列", 肥鱼美化.switch("自然原因", function() 写入枪械(10509001, 10509002) end), 肥鱼美化.switch("骑士", function() 写入枪械(10509001, 10509093) end), 肥鱼美化.switch("默认", function() 写入枪械(10509001, 10509205) end) }), -- R90系列 肥鱼美化.box({ "R90系列", 肥鱼美化.switch("未开发", function() 写入枪械(10510001, 10510002) end), 肥鱼美化.switch("犬科", function() 写入枪械(10510001, 10510057) end) }), -- JAK12系列 肥鱼美化.box({ "JAK12系列", 肥鱼美化.switch("重甲", function() 写入枪械(10520001, 10520002) end), 肥鱼美化.switch("凤凰", function() 写入枪械(10520001, 10520036) end), 肥鱼美化.switch("深度", function() 写入枪械(10520001, 10520046) end) }), -- ARGUS系列 肥鱼美化.box({ "ARGUS系列", 肥鱼美化.switch("中国龙", function() 写入枪械(10521001, 10521002) end), 肥鱼美化.switch("PAB", function() 写入枪械(10521001, 10521018) end), 肥鱼美化.switch("洋红火焰尊享", function() 写入枪械(10521001, 10521025) end) }), -- 其他霰弹枪 肥鱼美化.box({ "其他霰弹枪", 肥鱼美化.switch("VLKROUGE-合成", function() 写入枪械(10522001, 10522002) end), 肥鱼美化.switch("EINHORNREVOLVING-水晶蛇", function() 写入枪械(10523001, 10523002) end) }) }), 肥鱼美化.box({ "手枪", -- RAYGUN系列 肥鱼美化.box({ "RAYGUN系列", 肥鱼美化.switch("默认", function() 写入枪械(10601101, 10601101) end) }), -- 44MAGNUM系列 肥鱼美化.box({ "44MAGNUM系列", 肥鱼美化.switch("默认", function() 写入枪械(10602001, 10602205) end) }), -- J358系列 肥鱼美化.box({ "J358系列", 肥鱼美化.switch("恐惧层层", function() 写入枪械(10602001, 10602259) end), 肥鱼美化.switch("恐惧层层CN", function() 写入枪械(10602001, 10602273) end), 肥鱼美化.switch("OxVFW", function() 写入枪械(10602001, 10602339) end), 肥鱼美化.switch("MAGNUM名称", function() 写入枪械(10602001, 10602996) end) }), -- 1911系列 肥鱼美化.box({ "1911系列", 肥鱼美化.switch("默认", function() 写入枪械(10604001, 10604205) end), 肥鱼美化.switch("MW11-恶魔", function() 写入枪械(10604001, 10604418) end) }), -- 50GS系列 肥鱼美化.box({ "50GS系列", 肥鱼美化.switch("灾难", function() 写入枪械(10607001, 10607002) end), 肥鱼美化.switch("致命火焰", function() 写入枪械(10607001, 10607168) end), 肥鱼美化.switch("默认", function() 写入枪械(10607001, 10607205) end) }), -- Renetti系列 肥鱼美化.box({ "Renetti系列", 肥鱼美化.switch("金属幻影", function() 写入枪械(10608001, 10608002) end), 肥鱼美化.switch("默认", function() 写入枪械(10608001, 10608205) end) }), -- 725系列 肥鱼美化.box({ "725系列", 肥鱼美化.switch("最后手段", function() 写入枪械(10609001, 10609002) end), 肥鱼美化.switch("默认", function() 写入枪械(10609001, 10609205) end) }), -- 其他手枪 肥鱼美化.box({ "其他手枪", 肥鱼美化.switch("十字弓-等离子", function() 写入枪械(10610001, 10610006) end), 肥鱼美化.switch("LCAR9-圣光", function() 写入枪械(10611001, 10611002) end), 肥鱼美化.switch("Sykov-刺刀", function() 写入枪械(10612001, 10612002) end), 肥鱼美化.switch("SYKOV-漩涡", function() 写入枪械(10612001, 10612024) end), 肥鱼美化.switch("NAILGUN-CWDNA", function() 写入枪械(10613001, 10613002) end), 肥鱼美化.switch("MACHINEPISTOL-杜松子酒", function() 写入枪械(10614001, 10614002) end) }) }), -- ================== 近战武器 ================== 肥鱼美化.box({ "近战武器", -- 刀系列 肥鱼美化.box({ "刀系列", 肥鱼美化.switch("龙泉", function() 写入枪械(10702999, 10702670) end), 肥鱼美化.switch("军用电子棍", function() 写入枪械(10702999, 10702739) end), 肥鱼美化.switch("蛇剑", function() 写入枪械(10702999, 10702744) end), 肥鱼美化.switch("光束军刀VFW", function() 写入枪械(10702999, 10702761) end), 肥鱼美化.switch("双光束军刀VFW", function() 写入枪械(10702999, 10702762) end), 肥鱼美化.switch("双刃镰刀VFW", function() 写入枪械(10702999, 10702763) end), 肥鱼美化.switch("电锯默认", function() 写入枪械(10702999, 10714001) end), 肥鱼美化.switch("Chinano1", function() 写入枪械(10702999, 10717001) end), 肥鱼美化.switch("Chinano1-2", function() 写入枪械(10702999, 10717002) end), 肥鱼美化.switch("光束军刀VFW-2", function() 写入枪械(10702999, 10719021) end) }), -- 手套系列 肥鱼美化.box({ "手套系列", 肥鱼美化.switch("摩羯座", function() 写入枪械(10709003, 10709079) end) }), -- 其他近战武器 肥鱼美化.box({ "其他近战武器", 肥鱼美化.switch("扳手-基础", function() 写入枪械(10710001, 10710005) end), 肥鱼美化.switch("KaliSticks-眼镜蛇", function() 写入枪械(10715001, 10715002) end), 肥鱼美化.switch("蝴蝶刀-传奇", function() 写入枪械(10716001, 10716002) end), 肥鱼美化.switch("SAI-梁宅", function() 写入枪械(10718001, 10718002) end), 肥鱼美化.switch("矛-忠诚", function() 写入枪械(10720001, 10720002) end) }) }), -- ================== 发射器 ================== 肥鱼美化.box({ "发射器", 肥鱼美化.box({ "火箭发射器", 肥鱼美化.switch("FHJ18-银甲", function() 写入枪械(10801001, 10801247) end), 肥鱼美化.switch("SMRS-SLQ", function() 写入枪械(10802001, 10802291) end) }), 肥鱼美化.box({ "榴弹发射器", 肥鱼美化.switch("Thumper-彩炮", function() 写入枪械(10804001, 10804002) end), 肥鱼美化.switch("D13Sector-火焰", function() 写入枪械(10805001, 10805002) end) }), 肥鱼美化.box({ "其他发射器", 肥鱼美化.switch("GOLIATHWEAPON", function() 写入枪械(10905002, 10905003) end) }) }), -- ================== 特殊武器 ================== 肥鱼美化.box({ "特殊武器", 肥鱼美化.box({ "净化器系列", 肥鱼美化.switch("水", function() 写入枪械(11001005, 11001005) end), 肥鱼美化.switch("水2", function() 写入枪械(11001007, 11001007) end), 肥鱼美化.switch("基础", function() 写入枪械(11001001, 11001008) end), 肥鱼美化.switch("灭火器", function() 写入枪械(11001001, 11001009) end) }), 肥鱼美化.box({ "战争机器", 肥鱼美化.switch("基础", function() 写入枪械(11002007, 11002007) end) }), 肥鱼美化.box({ "其他特殊武器", 肥鱼美化.switch("XPLODE-斥候", function() 写入枪械(11008001, 11008004) end), 肥鱼美化.switch("GRAVITYSPIKES", function() 写入枪械(11009003, 11009003) end), 肥鱼美化.switch("ANNIHILATOR-基础", function() 写入枪械(11012001, 11012004) end), 肥鱼美化.switch("ShadowBlade-基础", function() 写入枪械(11013001, 11013006) end), 肥鱼美化.switch("DOWBLADE-重制", function() 写入枪械(11013001, 11013011) end), 肥鱼美化.switch("DOWBLADE-GEO", function() 写入枪械(11013001, 11013012) end), 肥鱼美化.switch("R", function() 写入枪械(11014001, 11014201) end), 肥鱼美化.switch("ORTEXGUN-YZK", function() 写入枪械(11020001, 11020006) end) }) }), -- ================== 射手步枪 ================== 肥鱼美化.box({ "射手步枪", -- Kar98K系列 肥鱼美化.box({ "Kar98K系列", 肥鱼美化.switch("轨道炮", function() 写入枪械(11201001, 11201003) end), 肥鱼美化.switch("千发一动", function() 写入枪械(11201001, 11201077) end), 肥鱼美化.switch("默认", function() 写入枪械(11201001, 11201205) end) }), -- SKS系列 肥鱼美化.box({ "SKS系列", 肥鱼美化.switch("未来死亡贩子", function() 写入枪械(11202001, 11202002) end), 肥鱼美化.switch("Reルガン", function() 写入枪械(11202001, 11202037) end), 肥鱼美化.switch("铃铃滚", function() 写入枪械(11202001, 11202050) end), 肥鱼美化.switch("粒子分裂器尊享", function() 写入枪械(11202001, 11202062) end), 肥鱼美化.switch("守望者", function() 写入枪械(11202001, 11202070) end), 肥鱼美化.switch("默认", function() 写入枪械(11202001, 11202205) end) }), -- SPR208系列 肥鱼美化.box({ "SPR208系列", 肥鱼美化.switch("传奇v91", function() 写入枪械(11203001, 11203002) end), 肥鱼美化.switch("星月", function() 写入枪械(11203001, 11203030) end), 肥鱼美化.switch("GRINDBURN", function() 写入枪械(11203001, 11203059) end), 肥鱼美化.switch("默认", function() 写入枪械(11203001, 11203205) end) }), -- SNPMK2系列 肥鱼美化.box({ "SNPMK2系列", 肥鱼美化.switch("猎人", function() 写入枪械(11204001, 11204002) end), 肥鱼美化.switch("默认", function() 写入枪械(11204001, 11204205) end) }), -- 其他射手步枪 肥鱼美化.box({ "其他射手步枪", 肥鱼美化.switch("TYPE63-海盗", function() 写入枪械(11205001, 11205002) end), 肥鱼美化.switch("M1GARAND-独角兽角", function() 写入枪械(11206001, 11206003) end), 肥鱼美化.switch("SO14-刀刃", function() 写入枪械(11207001, 11207002) end) }) }) }, { name = '人物美化', 图片 = '/storage/emulated/0/樱泽墨资源1/皮肤图片/tf', desc = '脸型等区域', 肥鱼美化.box({"人物美化", 肥鱼美化.switch("伊丽莎白七大罪", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,005,266;0;0;710,000,042;710,005,276;710,001,102;710,005,266;710,001,101;710,001,102", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("黑蔷薇", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("710,000,464;0;0;710,000,042;710,000,463;710,000,464;710,000,465;710,000,463;710,000,464", gg.TYPE_DWORD) gg.toast("开启成功") end), 肥鱼美化.switch("素子", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("720,000,112;0;0;710,000,042;710,002,490;710,000,102;710,002,491;710,001,101;710,001,102", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("冉冰", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,002,477;0;0;710,000,042;710,002,434;710,001,102;710,002,435;710,001,101;710,001,102", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("丧尸--都会雅痞", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("丧尸--暴徒守卫", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,001,580;0;0;710,000,042;710,001,579;710,000,102;710,001,581;710,001,101;710,001,102", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("丧尸--战地丧尸", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("100,000,086;0;0;100,000,086;100,000,076;100,000,086;100,000,081;100,000,076;100,000,076;100,000,076;100,000,076;100,000,076::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,000,579;0;0;710,000,042;710,000,578;710,000,102;710,000,580;710,001,101;710,001,102", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), 肥鱼美化.switch("罗兹", function() gg.clearResults() gg.setRanges(32) gg.searchNumber("710,001,102;0;0;710,000,042;710,001,101;710,001,102;710,001,103;710,001,101;710,001,102::", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,002,084;0;0;710,000,042;710,002,083;710,002,084;710,002,085;710,002,083;710,002,084", gg.TYPE_DWORD) gg.clearResults() gg.toast("罗兹 美化成功") end), 肥鱼美化.switch("艾本原皮", function() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("710,001,102;0;0;710,000,042;710,001,101;710,001,102;0;0;710,001,103;710,001,101;710,001,102::49", gg.TYPE_DWORD) gg.getResults(10000) gg.editAll("710,000,283;0;0;710,000,042;710,000,285;710,000,102;710,000,284;710,000,285;710,000,283", gg.TYPE_DWORD) gg.clearResults() gg.toast("开启成功") end), }) }, { name = '等级美化', desc = '自身人物套装美化', 图片 = '/storage/emulated/0/樱泽墨资源1/图片/头盔', 肥鱼美化.box({"等级美化", 肥鱼美化.switch("燧火雷鸣中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then gg.toast(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then gg.toast(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据') else gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="燧火雷鸣等级"}, {['value']=10140002, ['type']=4}, {['lv']=400031,['offset']=-12, ['type']=4}, {['lv']=300385,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=35469,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("燧火雷鸣满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then gg.toast(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then gg.toast(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据') else gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="燧火雷鸣等级"}, {['value']=10140002, ['type']=4}, {['lv']=400031,['offset']=-12, ['type']=4}, {['lv']=300385,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=35726,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("飞翔的荷兰人中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="agr等级"}, {['value']=10416073, ['type']=4}, {['lv']=400030,['offset']=-12, ['type']=4}, {['lv']=300375,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=34436,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("飞翔的荷兰人满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="agr等级"}, {['value']=10416073, ['type']=4}, {['lv']=400030,['offset']=-12, ['type']=4}, {['lv']=300375,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=34693,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("万刃灼锋中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="SO14等级"}, {['value']=11207002, ['type']=4}, {['lv']=400029,['offset']=-12, ['type']=4}, {['lv']=300373,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=31873,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("万刃灼锋满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="SO14等级"}, {['value']=11207002, ['type']=4}, {['lv']=400029,['offset']=-12, ['type']=4}, {['lv']=300373,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=32032,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("万象天梭中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="TYPE25等级"}, {['value']=10101177, ['type']=4}, {['lv']=400028,['offset']=-12, ['type']=4}, {['lv']=300353,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=30324,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("万象天梭满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="TYPE25等级"}, {['value']=10101177, ['type']=4}, {['lv']=400028,['offset']=-12, ['type']=4}, {['lv']=300353,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=30581,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("星月夜中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="RAM_7等级"}, {['value']=10139002, ['type']=4}, {['lv']=400026,['offset']=-12, ['type']=4}, {['lv']=300317,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=29049,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("星月夜满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="RAM_7等级"}, {['value']=10139002, ['type']=4}, {['lv']=400026,['offset']=-12, ['type']=4}, {['lv']=300317,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=29339,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("幽冥花海中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="VMP等级"}, {['value']=10432002, ['type']=4}, {['lv']=400027,['offset']=-12, ['type']=4}, {['lv']=300324,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=25959,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("幽冥花海满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="VMP等级"}, {['value']=10432002, ['type']=4}, {['lv']=400027,['offset']=-12, ['type']=4}, {['lv']=300324,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=26216,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("离散单元中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="LW3等级"}, {['value']=10216019, ['type']=4}, {['lv']=400025,['offset']=-12, ['type']=4}, {['lv']=300309,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=25178,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("离散单元满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="LW3等级"}, {['value']=10216019, ['type']=4}, {['lv']=400025,['offset']=-12, ['type']=4}, {['lv']=300309,['offset']=-8, ['type']=4},--300296 } local qmxg= { {['value']=25435,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("天策含光中级", function() gg.setRanges(32) function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="XM4满级"}, {['value']=10135002, ['type']=4}, {['lv']=400024,['offset']=-12, ['type']=4}, {['lv']=300296,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=21590,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("天策含光满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="XM4满级"}, {['value']=10135002, ['type']=4}, {['lv']=400024,['offset']=-12, ['type']=4}, {['lv']=300296,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=22357,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("焕光迁越中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="USS9等级"}, {['value']=10431002, ['type']=4}, {['lv']=400022,['offset']=-12, ['type']=4}, {['lv']=300282,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=18763,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("焕光迁越满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="USS9满级"}, {['value']=10431002, ['type']=4}, {['lv']=400022,['offset']=-12, ['type']=4}, {['lv']=300282,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=19530,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("涅槃炎凤中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="JK12等级"}, {['value']=10520036, ['type']=4}, {['lv']=400021,['offset']=-12, ['type']=4}, {['lv']=300269,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=17731,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("涅槃炎凤满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="JK12等级"}, {['value']=10520036, ['type']=4}, {['lv']=400021,['offset']=-12, ['type']=4}, {['lv']=300269,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=17988,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("日蚀中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="BP50等级"}, {['value']=10133002, ['type']=4}, {['lv']=400020,['offset']=-12, ['type']=4}, {['lv']=300252,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=15675,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("日蚀满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="BP50满级"}, {['value']=10133002, ['type']=4}, {['lv']=400020,['offset']=-12, ['type']=4}, {['lv']=300252,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=15932,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("永别中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="MG42等级"}, {['value']=10314002, ['type']=4}, {['lv']=400019,['offset']=-12, ['type']=4}, {['lv']=300235,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=14646,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("永别满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="MG42等级"}, {['value']=10314002, ['type']=4}, {['lv']=400019,['offset']=-12, ['type']=4}, {['lv']=300235,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=14903,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("丹青万壑满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="墨龙等级"}, {['value']=10132002, ['type']=4}, {['lv']=400018,['offset']=-12, ['type']=4}, {['lv']=300231,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=12596,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("丹青万壑中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="墨龙等级"}, {['value']=10132002, ['type']=4}, {['lv']=400018,['offset']=-12, ['type']=4}, {['lv']=300231,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=12597,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("源核天灾中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="格雷等级"}, {['value']=10130012, ['type']=4}, {['lv']=400017,['offset']=-12, ['type']=4}, {['lv']=300221,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=11310,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("希尔芙的庇护中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="CX9等级"}, {['value']=10428002, ['type']=4}, {['lv']=400016,['offset']=-12, ['type']=4}, {['lv']=300214,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=8992,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("希尔芙的庇护满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="CX9等级"}, {['value']=10428002, ['type']=4}, {['lv']=400016,['offset']=-12, ['type']=4}, {['lv']=300214,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=9249,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("熔岩中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="AK117等级"}, {['value']=10106197, ['type']=4}, {['lv']=400023,['offset']=-12, ['type']=4}, {['lv']=300283,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=20558,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("熔岩满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="AK117等级"}, {['value']=10106197, ['type']=4}, {['lv']=400023,['offset']=-12, ['type']=4}, {['lv']=300283,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=20815,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("终墟中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="AK117等级"}, {['value']=10106173, ['type']=4}, {['lv']=400015,['offset']=-12, ['type']=4}, {['lv']=300199,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=7450,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("终墟满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="AK117等级"}, {['value']=10106173, ['type']=4}, {['lv']=400015,['offset']=-12, ['type']=4}, {['lv']=300199,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=7707,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("无尽空刃中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="FFAR1满级"}, {['value']=10129002, ['type']=4}, {['lv']=400014,['offset']=-12, ['type']=4}, {['lv']=300189,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=10516,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("无尽空刃满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="FFAR1满级"}, {['value']=10129002, ['type']=4}, {['lv']=400014,['offset']=-12, ['type']=4}, {['lv']=300189,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=10773,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("潮海汐月中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="QQ9等级"}, {['value']=10414089, ['type']=4}, {['lv']=400013,['offset']=-12, ['type']=4}, {['lv']=300181,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=9746,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("潮汐海月满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="QQ9等级"}, {['value']=10414089, ['type']=4}, {['lv']=400013,['offset']=-12, ['type']=4}, {['lv']=300181,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=10009,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("红莲天珠中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="Q33等级"}, {['value']=10207155, ['type']=4}, {['lv']=400012,['offset']=-12, ['type']=4}, {['lv']=300168,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=11,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("红莲天珠满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="Q33等级"}, {['value']=10207155, ['type']=4}, {['lv']=400012,['offset']=-12, ['type']=4}, {['lv']=300168,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=12,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("苍穹中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="EM2等级"}, {['value']=10127002, ['type']=4}, {['lv']=400011,['offset']=-12, ['type']=4}, {['lv']=300153,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=22791,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("苍穹满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="EM2等级"}, {['value']=10127002, ['type']=4}, {['lv']=400011,['offset']=-12, ['type']=4}, {['lv']=300153,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=22792,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("冰霜巨龙中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="king6等级"}, {['value']=10126002, ['type']=4}, {['lv']=400010,['offset']=-12, ['type']=4}, {['lv']=300150,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=24068,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("冰霜巨龙满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="king6等级"}, {['value']=10126002, ['type']=4}, {['lv']=400010,['offset']=-12, ['type']=4}, {['lv']=300150,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=24069,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("瞬影斩决中级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="x9等级"}, {['value']=10424002, ['type']=4}, {['lv']=400009,['offset']=-12, ['type']=4}, {['lv']=300136,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=22529,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), 肥鱼美化.switch("瞬影斩决满级", function() function xqmnb(Search,Modification) gg.clearResults() gg.setRanges(Search[1].memory) gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1) if gg.getResultCount()==0 then toast.hint(Search[2].name..'开启失败') return end local Result=gg.getResults(gg.getResultCount()) local sum for index=4,#Search do sum=0 for i=1,#Result do if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then Result[i].Usable=true sum=sum+1 end end if sum==#Result then toast.hint(Search[2].name..'开启失败') return end end local Data,Freeze,Freezes={},{},0 sum=0 for index,value in ipairs(Modification)do for index=1,#Result do if not Result[index].Usable then local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true} if value.freeze then Freeze[#Freeze+1]=Value Freezes=Freezes+1 else Data[#Data+1]=Value end sum=sum+1 end end end gg.setValues(Data) gg.addListItems(Freeze) if Freezes==0 then toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据') else toast.hint(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据') end gg.clearResults() end local qmnb= { {['memory']=32}, {['name']="x9等级"}, {['value']=10424002, ['type']=4}, {['lv']=400009,['offset']=-12, ['type']=4}, {['lv']=300136,['offset']=-8, ['type']=4}, } local qmxg= { {['value']=22530,['offset']=-20,['type']=4}, } xqmnb(qmnb,qmxg) end), }), }, { name = '台服功能', desc = '手持美化枪械', 图片 = '/storage/emulated/0/樱泽墨资源1/图片/枪械', 肥鱼美化.box({ "功能", 肥鱼美化.switch('自瞄',function() gg.clearResults() gg.setRanges(16384) gg.searchNumber("506206624", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("506206624", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("506206631", gg.TYPE_DWORD) gg.toast("❤开启成功❤️") gg.clearResults() end), 肥鱼美化.switch('天线',function() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("1.5~1.6;0.2~0.22::5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) revert = gg.getResults(6000, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("-555", gg.TYPE_FLOAT) gg.clearResults() gg.toast("❤️开启成功❤️") end), 肥鱼美化.switch('头部范围',function() gg.clearResults() gg.setRanges(32) gg.searchNumber("0.1439999938", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.1439999938", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("2.4", gg.TYPE_FLOAT) gg.toast("❤️开启成功❤️") gg.clearResults() end), }), }, { name = '美化设置', desc = '读取配置,保存配置', 图片 = '/storage/emulated/0/樱泽墨资源1/图片/参数', 肥鱼美化.switch('退出悬浮窗', function() print(err) luajava.exit() end), 肥鱼美化.switch("音量隐藏开关", function() togglePlayPause() end, -- 打开:开启音量键控制 function() togglePlayPauses() end, true ), }, } 肥鱼美化.menu(icon, title, menu) os.exit()