mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-13 14:15:48 +00:00
disable painting speed enable
This commit is contained in:
1 parent
52e6d3c832
commit
a134ba4496
1 file changed
+7
-7
+7
-7
@@ -16,7 +16,7 @@
|
||||
MIN: 3, // Random range minimum
|
||||
MAX: 20, // Random range maximum
|
||||
},
|
||||
PAINTING_SPEED_ENABLED: true, // On by default
|
||||
PAINTING_SPEED_ENABLED: false, // On by default
|
||||
AUTO_CAPTCHA_ENABLED: true, // Turnstile generator enabled by default
|
||||
TOKEN_SOURCE: 'generator', // "generator", "manual", or "hybrid" - default to generator
|
||||
COOLDOWN_CHARGE_THRESHOLD: 1, // Default wait threshold
|
||||
@@ -544,10 +544,10 @@
|
||||
lastPosition: { x: 0, y: 0 },
|
||||
estimatedTime: 0,
|
||||
language: 'en',
|
||||
paintingSpeed: CONFIG.PAINTING_SPEED.DEFAULT, // pixels batch size
|
||||
batchMode: CONFIG.BATCH_MODE, // "normal" or "random"
|
||||
randomBatchMin: CONFIG.RANDOM_BATCH_RANGE.MIN, // Random range minimum
|
||||
randomBatchMax: CONFIG.RANDOM_BATCH_RANGE.MAX, // Random range maximum
|
||||
paintingSpeed: CONFIG.PAINTING_SPEED.DEFAULT, // pixels size
|
||||
Mode: CONFIG._MODE, // "normal" or "random"
|
||||
randomMin: CONFIG.RANDOM__RANGE.MIN, // Random range minimum
|
||||
randomMax: CONFIG.RANDOM__RANGE.MAX, // Random range maximum
|
||||
cooldownChargeThreshold: CONFIG.COOLDOWN_CHARGE_THRESHOLD,
|
||||
chargesThresholdInterval: null,
|
||||
tokenSource: CONFIG.TOKEN_SOURCE, // "generator" or "manual"
|
||||
@@ -659,7 +659,7 @@
|
||||
return `${width}x${height}_${px},${py}_${rx},${ry}_${state.blueMarbleEnabled}_${state.overlayOpacity}`;
|
||||
}
|
||||
|
||||
// --- OVERLAY UPDATE: Optimized chunking with caching and batch processing ---
|
||||
// --- OVERLAY UPDATE: Optimized chunking with caching and processing ---
|
||||
async processImageIntoChunks() {
|
||||
if (!this.imageBitmap || !this.startCoords) return;
|
||||
|
||||
@@ -706,7 +706,7 @@
|
||||
const totalTiles = (endTileX - startTileX + 1) * (endTileY - startTileY + 1);
|
||||
console.log(`🔄 Processing ${totalTiles} overlay tiles...`);
|
||||
|
||||
// Process tiles in batches to avoid blocking the main thread
|
||||
// Process tiles in es to avoid blocking the main thread
|
||||
const batchSize = 4; // Process 4 tiles at a time
|
||||
const tilesToProcess = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user