-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease2
377 lines (361 loc) · 17.3 KB
/
release2
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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
warned = false
setInterval(function(){window.top.document.title = "OWoT + Jupiter"},1)
alert('Welcome to Jupiter!')
writeCharTo=(char,color,tileX,tileY,charX,charY)=>{writeBuffer.push([tileY,tileX,charY,charX,getDate,char,nextObjId,color])};
menu.addOption("Flush",_=>{flushWrites()});
menu.addEntry('<h5 id="writebuffermeter">█▬█ █▄█ █▬█</h5>');setInterval(_=>{document.getElementById('writebuffermeter').innerText="Writebuffer Length:"+writeBuffer.length},0)
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", Math.floor(Math.random() * 16777215), l, F)
}
};
menu.addOption("Colored Static", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('Check the menu for the button')
}();
function generateRandomHexAndConvert() {
const randomHex = Math.floor(Math.random() * 0xff).toString(16).padStart(2, '0');
const repeatedHex = randomHex.repeat(3);
const decimal = parseInt(repeatedHex, 16);
return decimal;
}! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", generateRandomHexAndConvert(), l, F)
}
};
menu.addOption("Black and White Static", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('Check the menu for the other button')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", 15658734, l, F)
}
};
menu.addOption("Fake Member Protect", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('why do you read these')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", 14540253, l, F)
}
};
menu.addOption("Fake Owner Protect", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('please just stop looking at console')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(" ", 0, l, F)
}
};
menu.addOption("Wiper", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", 0, l, F)
}
};
menu.addOption("Censorfag-inator", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('...')
}();
function getcol() {
const hexColor = prompt("Enter a hexadecimal color (e.g., #FFFFFF):");
// Convert hex to decimal
col = parseInt(hexColor, 16);
}
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", col, l, F)
}
};
menu.addOption("Make a colored box", () => {
var e = RegionSelection();
getcol()
e.init(), e.onselection(r), e.startSelection()
}), console.log('the j')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", (((Math.abs(l)%8)^(Math.abs(-F%8)))*32), l, F)
}
};
menu.addOption("XOR paster", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
})
}();
function tintStatic(inputColor) {
// Generate a random grayscale color with consistent lightness
const grayscale = Math.floor(Math.random() * 256);
const grayscaleHex = grayscale.toString(16).padStart(2, '0');
const grayscaleColor = `#${grayscaleHex}${grayscaleHex}${grayscaleHex}`;
// Parse the input color into RGB components
const inputColorRgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(inputColor);
const inputRed = parseInt(inputColorRgb[1], 16);
const inputGreen = parseInt(inputColorRgb[2], 16);
const inputBlue = parseInt(inputColorRgb[3], 16);
// Blend the grayscale and input colors
const blendedRed = Math.floor((grayscale + inputRed) / 2);
const blendedGreen = Math.floor((grayscale + inputGreen) / 2);
const blendedBlue = Math.floor((grayscale + inputBlue) / 2);
// Convert the blended color to a hex string
const blendedHex = blendedRed.toString(16).padStart(2, '0') +
blendedGreen.toString(16).padStart(2, '0') +
blendedBlue.toString(16).padStart(2, '0');
return parseInt(blendedHex,16);
}
function getcolhex() {
const hexColor = prompt("Enter a hexadecimal color (e.g., #FFFFFF):");
// Convert hex to hex
colh = hexColor
}
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", tintStatic(colh), l, F)
}
};
menu.addOption("Tinted Static", () => {
getcolhex();
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('tinty')
}();
setInterval(function(){if (!state.worldModel.pathname && !warned){alert('WARNING! IF YOU DO NOT WANT TO BE RATELIMITED, DO NOT SPAM USING THIS.'); warned = true}}, 1)
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(String.fromCharCode(Math.floor(Math.random() * 65536)), Math.floor(Math.random() * 16777215), l, F)
}
};
menu.addOption("Unicode", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(chosenUnicode, 0, l, F)
}
};
menu.addOption("Create Unicode Block", () => {
var e = RegionSelection();
chosenUnicode = prompt("Insert a Unicode character. (Note: Only the first character will be used if it's a string.)")
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
! function() {
count = 0
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++) {
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(chosenUnicode.charAt(count%chosenUnicode.length), 0, l, F)
}; count++}
};
menu.addOption("Create Unicode String Block", () => {
var e = RegionSelection();
chosenUnicode = prompt("Insert a Unicode string.")
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(v.char, 0, l, F)
}
};
menu.addOption("Remove Colors", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('wahhhh i hate color')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(v.char, Math.floor(Math.random() * 16777215), l, F)
}
};
menu.addOption("Add Colors", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('yayyy i love color !!!')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(v.char, generateRandomHexAndConvert(), l, F)
}
};
menu.addOption("Add Static (Keeps Characters)", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('yayyy i love tatic !!!')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY("█", v.color, l, F)
}
};
menu.addOption("Add Blocks (Keeps Colors)", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('yayyy i love bolcks !!!')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(v.char, v.color+Math.floor(Math.random()*(intensity*3)-intensity*2), l, F)
}
};
menu.addOption("Color Offset", () => {
intensity = prompt('How intense do you want the offset to be?')
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(v.char, 16777216, l, F)
}
};
menu.addOption("hide (not delete) text", () => {
var e = RegionSelection();
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();
(function(){OWOT.acceptOwnEdits=!0;var edits=[],putchar=(t,_,r,l)=>{edits.push([Math.floor(_/8),Math.floor(t/16),_-8*Math.floor(_/8),t-16*Math.floor(t/16),0,r,0,l]),edits.length>=512&&(network.write(edits),edits=[])},fill=(t,_,r,l,o,i)=>{for(var e=t;e<=r;e++)for(var f=_;f<=l;f++)edits.push([Math.floor(f/8),Math.floor(e/16),f-8*Math.floor(f/8),e-16*Math.floor(e/16),0,o,0,i]),edits.length>=512&&(network.write(edits),edits=[])},onsel=(t,_,r,l)=>{var o=16*t[0]+t[2],i=8*t[1]+t[3],e=16*_[0]+_[2],f=8*_[1]+_[3],h=YourWorld.Color;putchar(o-1,i-3,"╭",h),putchar(o-1,i-2,"│",h),putchar(o-1,i-1,"├",h),fill(o-1,i,o-1,f,"│",h),putchar(o-1,f+1,"╰",h),putchar(e+1,i-3,"╮",h),putchar(e+1,i-2,"│",h),putchar(e+1,i-1,"┤",h),fill(e+1,i,e+1,f,"│",h),putchar(e+1,f+1,"╯",h),fill(o,i-3,e,i-3,"─",h),fill(o,i-1,e,i-1,"─",h),fill(o,f+1,e,f+1,"─",h),putchar(e+2,i-2," ",h),putchar(o,f+2," ",h),putchar(e+2,f+2," ",h),fill(o+1,f+2,e+1,f+2," ",h),fill(e+2,i-1,e+2,f+1," ",h),network.write(edits),edits=[]};menu.addOption("Rounded (Win-11 Style) Window",()=>{var t=RegionSelection();t.init(),t.onselection(onsel),t.startSelection()});var a="+"+"-".repeat(40)+"+";console.log(a+'\n|Check the menu for the "Rounded Window" button|\n'+a);})();
(function(){OWOT.acceptOwnEdits=!0;var edits=[],putchar=(t,_,r,l)=>{edits.push([Math.floor(_/8),Math.floor(t/16),_-8*Math.floor(_/8),t-16*Math.floor(t/16),0,r,0,l]),edits.length>=512&&(network.write(edits),edits=[])},fill=(t,_,r,l,o,i)=>{for(var e=t;e<=r;e++)for(var f=_;f<=l;f++)edits.push([Math.floor(f/8),Math.floor(e/16),f-8*Math.floor(f/8),e-16*Math.floor(e/16),0,o,0,i]),edits.length>=512&&(network.write(edits),edits=[])},onsel=(t,_,r,l)=>{var o=16*t[0]+t[2],i=8*t[1]+t[3],e=16*_[0]+_[2],f=8*_[1]+_[3],h=YourWorld.Color;putchar(o-1,i-3,"┌",h),putchar(o-1,i-2,"│",h),putchar(o-1,i-1,"├",h),fill(o-1,i,o-1,f,"│",h),putchar(o-1,f+1,"└",h),putchar(e+1,i-3,"┐",h),putchar(e+1,i-2,"│",h),putchar(e+1,i-1,"┤",h),fill(e+1,i,e+1,f,"│",h),putchar(e+1,f+1,"┘",h),fill(o,i-3,e,i-3,"─",h),fill(o,i-1,e,i-1,"─",h),fill(o,f+1,e,f+1,"─",h),putchar(e+2,i-2," ",h),putchar(o,f+2," ",h),putchar(e+2,f+2," ",h),fill(o+1,f+2,e+1,f+2," ",h),fill(e+2,i-1,e+2,f+1," ",h),network.write(edits),edits=[]};menu.addOption("Sharp (Win-10 Style) Window",()=>{var t=RegionSelection();t.init(),t.onselection(onsel),t.startSelection()});var a="+"+"-".repeat(40)+"+";console.log(a+'\n|Check the menu for the "Sharp Window" button|\n'+a);})();
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
Math.random() <= chance && 0 === v.protection && writeCharToXY("█", col, l, F)
}
};
menu.addOption("Spray Paint Thing", () => {
var e = RegionSelection();
chance = prompt('Give me a chance (0.5 being 50%)')
getcol()
e.init(), e.onselection(r), e.startSelection()
}), console.log('happy Jupiter 2.0!!!')
}();
function charGet(the, j)
{
if (Math.random() > j) {
return " "
} else {
return the
}
}
! function() {
w.setFlushInterval(0);
var e = [..."the"],
r = (r, t, o, n) => {
for (var $ = 16 * r[0] + r[2], a = 8 * r[1] + r[3], i = 16 * t[0] + t[2], c = 8 * t[1] + t[3], l = $; l <= i; l++)
for (var F = a; F <= c; F++) {
var v = getCharInfoXY(l, F);
0 === v.protection && writeCharToXY(charGet(v.char, j), 0, l, F)
}
};
menu.addOption("Wipern't", () => {
var e = RegionSelection();
j = prompt('Give me a chance (0.5 being 50%)')
e.init(), e.onselection(r), e.startSelection()
}), console.log('the')
}();