暗区突围855透视脚本代码

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) if gg.searchNumber(qmnb[3]["value"],qmnb[3]["type"],false,gg.SIGN_EQUAL,0,-1)~=true then gg.searchAddress(qmnb[3]["value"],-1,qmnb[3]["type"]) end if gg.getResultCount()==0 then gg.toast(qmnb[2]["name"].."开启失败")return end szxx=gg.getResults(gg.getResultCount()) szpd={} a=0 for i=4,#qmnb do for s=1,#szxx do if szpd[s]~="false" then if gg.getValues({{address=szxx[s].address+qmnb[i]["offset"],flags=qmnb[i]["type"]}})[1].value+0~=qmnb[i]["lv"]then szpd[s]="false" a=a+1 end end end end if a==#szxx then gg.toast(qmnb[2]["name"].."开启失败")return end b=0 t={} for x=1,#qmxg do if qmxg[x]["freeze"]==true then a=1 end for i=1,#szxx do if szpd[i]==nil then b=b+1 table.insert(t,{address=szxx[i].address+qmxg[x]["offset"],flags=qmxg[x]["type"],freeze=qmxg[x]["freeze"],value=qmxg[x]["value"]}) end end end gg.setValues(t) gg.addListItems(t) gg.clearResults() if a~=1 then gg.clearList()else a=nil end gg.toast(qmnb[2]["name"].."开启成功,共修改了"..b.."条数据") end
-----------------------------------------------------------------------------------------
function Main()
SN = gg.multiChoice({
"855透视",
"啥也不是",
"上色",
"功能名称4",
"功能名称5",
"功能名称6",
"功能名称7",
"功能名称8",
"退出脚本"
}, nil, "核星破壳www.xingapk.com")
if SN == nil then
else
if SN[1] == true then
DY1()
end
if SN[2] == true then
DY2()
end
if SN[3] == true then
DY3()
end
if SN[4] == true then
DY4()
end
if SN[5] == true then
DY8()
end
if SN[6] == true then
DY6()
end
if SN[7] == true then
DY7()
end
if SN[8] == true then
DY8()
end
if SN[9] == true then
Exit()
end
end
XGCK = -1
end
function DY1()
qmnb = {
{["memory"] = 1048576},
{["name"] = "暗区马赛克"},
{["value"] = 2.375, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = -244, ["type"] = 16},
{["lv"] = 2.25, ["offset"] = -136, ["type"] = 16},
{["lv"] = 3.75, ["offset"] = -80, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = -244, ["type"] = 16},
}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "暗区透明化"},
{["value"] = 2.250002861022949, ["type"] = 16},
{["lv"] = 1.0, ["offset"] = 200, ["type"] = 16},
{["lv"] = 3.0, ["offset"] = 240, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 268, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = 268, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY2()
qmnb = {
{["memory"] = 1048576},
{["name"] = "暗区透明化"},
{["value"] = 2.250002861022949, ["type"] = 16},
{["lv"] = 1.0, ["offset"] = 200, ["type"] = 16},
{["lv"] = 3.0, ["offset"] = 240, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 268, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = 268, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY3()
qmnb = {
{["memory"] = 1179648},
{["name"] = "上色"},
{["value"] = 1.25, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = -112, ["type"] = 16},
{["lv"] = 3.0, ["offset"] = -84, ["type"] = 16},
{["lv"] = 1.0, ["offset"] = -76, ["type"] = 16},
}
qmxg = {
{["value"] = 999, ["offset"] = -112, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY4()
qmnb = {
{["memory"] = 32},
{["name"] = "功能名词"},
{["value"] = 1, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY5()
qmnb = {
{["memory"] = 32},
{["name"] = "功能名词"},
{["value"] = 1, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY6()
qmnb = {
{["memory"] = 32},
{["name"] = "功能名词"},
{["value"] = 1, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY7()
qmnb = {
{["memory"] = 32},
{["name"] = "功能名词"},
{["value"] = 1, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end
function DY8()
qmnb = {
{["memory"] = 32},
{["name"] = "功能名词"},
{["value"] = 1, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
{["lv"] = 1, ["offset"] = 0, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end
function Exit()
print("核星破壳www.xingapk.com")
os.exit()
end
cs = "核星破壳www.xingapk.com"
while true do
if gg.isVisible(true) then
XGCK = 1
gg.setVisible(false)
end
gg.clearResults()
if XGCK == 1 then
Main()
end
end

标签

发表评论