mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
upped the spams
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,8 +11,8 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-Dpm2R3OA.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BTc7ve5w.css">
|
||||
<script type="module" crossorigin src="/assets/index-BaS9tmKz.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DTYY_hd_.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -10,7 +10,7 @@ module.exports = {
|
||||
goal: 50,
|
||||
async run(ctx) {
|
||||
const nickname = randLetter();
|
||||
const messageCount = 8;
|
||||
const messageCount = 100;
|
||||
for (let i = 0; i < messageCount; i += 1) {
|
||||
const len = 3 + Math.floor(Math.random() * 14);
|
||||
let text = '';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const NAMES = ['x', 'q', 'z', 'm', 'n', 'p', 'k', 'r'];
|
||||
const BURSTS = 14;
|
||||
const NAMES = ['ross', 'david', 'chirpet', 'caydu', 'meow', 'wawa'];
|
||||
const BURSTS = 200;
|
||||
const TICK_MS = 180;
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -54,7 +54,7 @@ module.exports = {
|
||||
async run(ctx) {
|
||||
const prevMode = ctx.getMode();
|
||||
const prevReason = ctx.getAdminReasonText();
|
||||
const jamReason = `Button box chaos active until ${new Date(Date.now() + DURATION_MS).toLocaleTimeString()}`;
|
||||
const jamReason = `Locked by button box until ${new Date(Date.now() + DURATION_MS).toLocaleTimeString()}`;
|
||||
|
||||
try {
|
||||
ctx.setMode('admin', 'buttonbox:modeJam');
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = {
|
||||
name: 'Event Flood',
|
||||
goal: 45,
|
||||
async run(ctx) {
|
||||
for (let i = 0; i < 10; i += 1) {
|
||||
for (let i = 0; i < 500; i += 1) {
|
||||
const color = COLORS[Math.floor(Math.random() * COLORS.length)];
|
||||
const title = TITLES[Math.floor(Math.random() * TITLES.length)];
|
||||
const message = `Event ${i + 1} / 10`;
|
||||
|
||||
@@ -122,11 +122,11 @@ export default function ButtonBoxPanel() {
|
||||
}, [effectiveAlertVolume, socket]);
|
||||
|
||||
return (
|
||||
<section className="panel-section space-y-1 text-base">
|
||||
<header className="text-center text-sm text-slate-300">
|
||||
<section className="panel-section space-y-0.5 text-base">
|
||||
<header className="panel-muted text-center text-sm">
|
||||
<p>Button Box</p>
|
||||
</header>
|
||||
<div className="grid grid-cols-4 gap-1">
|
||||
<div className="grid grid-cols-4 gap-0.5">
|
||||
{buttons.map((button) => {
|
||||
const id = Number(button.id);
|
||||
const count = Number.isFinite(button.count) ? button.count : 0;
|
||||
@@ -142,16 +142,16 @@ export default function ButtonBoxPanel() {
|
||||
<article
|
||||
key={id}
|
||||
className={[
|
||||
'rounded bg-slate-800/70 p-1 text-center shadow-sm ring-1 ring-white/10 transition-colors duration-200',
|
||||
incActive ? 'bg-cyan-900/70 ring-1 ring-cyan-400/70' : '',
|
||||
rewardActive ? 'bg-fuchsia-900/70 ring-1 ring-fuchsia-400/80' : '',
|
||||
'surface px-0.5 py-0.5 text-center transition-colors duration-200',
|
||||
incActive ? 'border border-cyan-400/70 bg-cyan-900/40' : '',
|
||||
rewardActive ? 'border border-fuchsia-400/80 bg-fuchsia-900/40' : '',
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(' ')}
|
||||
>
|
||||
<p className="text-xs text-slate-300">Button {id}</p>
|
||||
<p className="text-xs text-slate-400">Button {id}</p>
|
||||
<p className="text-sm font-semibold text-white">{count} / {goal}</p>
|
||||
<p className="truncate text-[0.7rem] text-slate-200">#{rewardNumber} {rewardName}</p>
|
||||
<p className="truncate text-[0.7rem] text-slate-300">#{rewardNumber} {rewardName}</p>
|
||||
</article>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user