-
Notifications
You must be signed in to change notification settings - Fork 105
/
scraps.txt
291 lines (246 loc) · 7.25 KB
/
scraps.txt
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
function cleanHeroData(json) {
for (const [key, char] of Object.entries(json)) {
delete char['moonlight']
if (char.ex_equip && char.ex_equip.length) {
char.ex_equip = [
{
stat: char.ex_equip[0].stat
}
]
} else {
char.ex_equip = []
}
}
console.log(JSON.stringify(json, null, 1))
}
cleanHeroData(herodata)
##############
function cleanArtifactData(json) {
for (const [key, artifact] of Object.entries(json)) {
delete artifact['assets']
}
console.log(JSON.stringify(json, null, 1))
}
cleanArtifactData(artifactData)
CREATE TABLE item_info_1 AS
SELECT
*
FROM text_en
INNER JOIN equip_item ON equip_item.name = text_en.id
### Importing gear automatically from the game:
NOT RELEASED YET
##### First time setup for the automatic importer on Windows:
1. Install [Python 3.9+](https://www.python.org/downloads/release/python-392/) using the Windows installer (64-bit) option. Click for [direct download link](https://www.python.org/ftp/python/3.9.2/python-3.9.2-amd64.exe). Use default settings
2. Install [Npcap 1.10](https://nmap.org/npcap/#download). Click for [direct download link](https://nmap.org/npcap/dist/npcap-1.10.exe). Use default settings
3. Restart your computer
##### First time setup for the automatic importer on Mac:
1. Install [Python 3.9+](https://www.python.org/downloads/release/python-392/)
2. Install [Wireshark](https://www.wireshark.org/download.html)
##### Using the automatic importer:
1. Open your emulator
2. Close Epic 7 if it's open
3. On the *Importer* tab, click *Start scanning*
4. Open Epic 7
5. Load into the lobby and click to open your equipment inventory
6. On the *Importer* tab, click *Stop scanning*
7. Wait about 3-5 minutes for the gear to be processed
8. Once it is done, click Export, and save the *gear.txt* file.
9. Under the *Importing gear data* section, click on Append/Replace/Merge data, and select your *gear.txt* file.
10. Now you should see your imported gears under the Gears tab.
11. Use the Level = 0 filter to find level 0 items (most likely recent event items). Manually edit those items to fix their info.
Object.values(a).forEach(x => {
delete x._id;
delete x.description;
delete x.identifier;
delete x.limited;
delete x.skill;
})
"ReplaceNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee": {
"assets": {
"icon": "https://assets.epicsevendb.com/_source/item_arti/icon_art0105.png",
"image": "https://assets.epicsevendb.com/_source/item_arti/art0105_fu.png",
"thumbnail": "https://assets.epicsevendb.com/_source/item_arti/art0105_l.jpg"
},
"name": "ReplaceNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"rarity": 5,
"role": "warrior",
"stats": {
"attack": 21,
"health": 32
}
},
const ordered = Object.keys(h).sort().reduce(
(obj, key) => {
obj[key] = h[key];
return obj;
},
{}
);
Object.values(ordered).forEach(x => {
delete x.id;
delete x.base_id;
delete x.specialty_id;
delete x.description;
delete x.story;
delete x.get_line;
delete x.stats;
delete x.relationships;
delete x.specialty;
delete x.camping;
delete x.zodiac_tree;
delete x.buffs;
delete x.debuffs;
delete x.common;
delete x.skills;
})
d = -- log.txt --
m = []question_circle.png
for (var x of d) {
if (x.ipFlags == "") {
//continue;
}
if (x.tcpAck in m) {
m[x.tcpAck].push(x)
} else {
m[x.tcpAck] = [x]
}
}
n = Object.values(m)
duplicates = {}
function combine(index) {
arr = n[index]
Utils.sortByAttribute(arr, 'tcpSeq')
data = ""
for (var packet of arr) {
if (!Object.keys(duplicates).includes(packet.tcpSeq)) {
data += packet.data
}
duplicates[packet.tcpSeq] = true;
}
return data;
}
finishedReading([combine(0)])
x=""; for (var i= 0; i < 107; i++) {if(i!=13)x+=n[12][i].data} finishedReading([x])
00\xabpersonality\xaapet_pers_8\xaaadditional\x80\xa3tip\x85\xa4type\xa5gacha\xa2tm\xce`>\xd9\xf9\xa7user_id\xce\x00\xedYm\xa4name\xacepic7#vhldwg\xa4info\x82\xa4type\xa5equip\xa4code\xa5efh07'
00\xabpersonality\xaapet_pers_2\xaaadditional\x80\xa3tip\x85\xa4type\xa5gacha\xa2tm\xce`>\xce\xc8\xa7user_id\xce\x00&\x05\'\xa4name\xaaMaxedcrew7\xa4info\x82\xa4type\xa4unit\xa4code\xa5c2002'
4
4343 to alarms 3607
4263 to archers 3171
4079 to spears 3919
4358 to mages 2734
7
4079 to grey 3984
4615 to white 3654
var count = 10;
var win = 0;
for (var j = 0; j < count; j++) {
var spirit = 50
for (var i = 0; i < 6; i++) {
if (Math.random() < 0.85) spirit += 10
}
for (var i = 0; i < 3; i++) {
if (Math.random() < 0.85) spirit += 5
}
if (spirit >= 100) win += 1
}
console.log(win + " / " + count + " = " + (win/count))
"assets": {
"icon": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png",
"image": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png",
"thumbnail": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png"
},
"Camilla": {
"_id": "camilla",
"name": "Camilla",
"moonlight": false,
"rarity": 3,
"attribute": "light",
"role": "warrior",
"zodiac": "maiden",
"self_devotion": {
"type": "cri",
"grades": {
"D": 0.028,
"C": 0.042,
"B": 0.056,
"A": 0.07,
"S": 0.084,
"SS": 0.098,
"SSS": 0.112
}
},
"devotion": {
"type": "max_hp_rate",
"grades": {
"C": 0.024,
"B": 0.036,
"A": 0.048,
"S": 0.06,
"SS": 0.072,
"SSS": 0.084
},
"slots": {
"1": true,
"2": true,
"3": true,
"4": true
}
},
"specialty_change": {},
"assets": {
"icon": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png",
"image": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png",
"thumbnail": "https://raw.githubusercontent.com/fribbels/Fribbels-Epic-7-Optimizer/main/data/cachedimages/question_circle.png"
},
"ex_equip": [],
"calculatedStatus": {
"lv50FiveStarNoAwaken": {
"cp": 10990,
"atk": 647,
"hp": 3688,
"spd": 108,
"def": 477,
"chc": 0.15,
"chd": 1.5,
"dac": 0.05,
"eff": 0,
"efr": 0
},
"lv50FiveStarFullyAwakened": {
"cp": 12701,
"atk": 767,
"hp": 4028,
"spd": 112,
"def": 477,
"chc": 0.19,
"chd": 1.5,
"dac": 0.05,
"eff": 0.18,
"efr": 0
},
"lv60SixStarNoAwaken": {
"cp": 13717,
"atk": 807,
"hp": 4637,
"spd": 108,
"def": 592,
"chc": 0.15,
"chd": 1.5,
"dac": 0.05,
"eff": 0,
"efr": 0
},
"lv60SixStarFullyAwakened": {
"cp": 16298,
"atk": 957,
"hp": 5057,
"spd": 112,
"def": 592,
"chc": 0.27,
"chd": 1.5,
"dac": 0.05,
"eff": 0.18,
"efr": 0
}
}
},