mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-13 22:15:26 +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
|
MIN: 3, // Random range minimum
|
||||||
MAX: 20, // Random range maximum
|
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
|
AUTO_CAPTCHA_ENABLED: true, // Turnstile generator enabled by default
|
||||||
TOKEN_SOURCE: 'generator', // "generator", "manual", or "hybrid" - default to generator
|
TOKEN_SOURCE: 'generator', // "generator", "manual", or "hybrid" - default to generator
|
||||||
COOLDOWN_CHARGE_THRESHOLD: 1, // Default wait threshold
|
COOLDOWN_CHARGE_THRESHOLD: 1, // Default wait threshold
|
||||||
@@ -544,10 +544,10 @@
|
|||||||
lastPosition: { x: 0, y: 0 },
|
lastPosition: { x: 0, y: 0 },
|
||||||
estimatedTime: 0,
|
estimatedTime: 0,
|
||||||
language: 'en',
|
language: 'en',
|
||||||
paintingSpeed: CONFIG.PAINTING_SPEED.DEFAULT, // pixels batch size
|
paintingSpeed: CONFIG.PAINTING_SPEED.DEFAULT, // pixels size
|
||||||
batchMode: CONFIG.BATCH_MODE, // "normal" or "random"
|
Mode: CONFIG._MODE, // "normal" or "random"
|
||||||
randomBatchMin: CONFIG.RANDOM_BATCH_RANGE.MIN, // Random range minimum
|
randomMin: CONFIG.RANDOM__RANGE.MIN, // Random range minimum
|
||||||
randomBatchMax: CONFIG.RANDOM_BATCH_RANGE.MAX, // Random range maximum
|
randomMax: CONFIG.RANDOM__RANGE.MAX, // Random range maximum
|
||||||
cooldownChargeThreshold: CONFIG.COOLDOWN_CHARGE_THRESHOLD,
|
cooldownChargeThreshold: CONFIG.COOLDOWN_CHARGE_THRESHOLD,
|
||||||
chargesThresholdInterval: null,
|
chargesThresholdInterval: null,
|
||||||
tokenSource: CONFIG.TOKEN_SOURCE, // "generator" or "manual"
|
tokenSource: CONFIG.TOKEN_SOURCE, // "generator" or "manual"
|
||||||
@@ -659,7 +659,7 @@
|
|||||||
return `${width}x${height}_${px},${py}_${rx},${ry}_${state.blueMarbleEnabled}_${state.overlayOpacity}`;
|
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() {
|
async processImageIntoChunks() {
|
||||||
if (!this.imageBitmap || !this.startCoords) return;
|
if (!this.imageBitmap || !this.startCoords) return;
|
||||||
|
|
||||||
@@ -706,7 +706,7 @@
|
|||||||
const totalTiles = (endTileX - startTileX + 1) * (endTileY - startTileY + 1);
|
const totalTiles = (endTileX - startTileX + 1) * (endTileY - startTileY + 1);
|
||||||
console.log(`🔄 Processing ${totalTiles} overlay tiles...`);
|
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 batchSize = 4; // Process 4 tiles at a time
|
||||||
const tilesToProcess = [];
|
const tilesToProcess = [];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user