// Name: Auction Bidding Bot // Description: Automated bidding script for auction platforms // Author: 72602 import "@johnlindquist/kit" // Configuration variables const zapros = 0.01 // How much the script will outbid the request // Screen coordinates const coordinates = { topZakaz: { x: 1385, y: 137 }, downZakaz: { x: 1475, y: 171 }, priceLotTop: { x: 884, y: 420 }, priceLotDown: { x: 1081, y: 477 }, ot: { x: 1700, y: 275 }, zak2: { x: 937, y: 718 }, gal: { x: 1573, y: 1032 }, zak1: { x: 1722, y: 161 }, vvo: { x: 982, y: 449 } } // Timing configuration const timings = { sleepTime: 1000, // Active request time sleep1: 250, // After clicking order sleep2: 200, // Before clicking confirm sleep3: 4000 // Re-entry to lot } // Number keypad coordinates const numberKeypad = [ { x: 807, y: 1028 }, // 0 { x: 397, y: 658 }, // 1 { x: 809, y: 662 }, // 2 { x: 1215, y: 653 }, // 3 { x: 398, y: 781 }, // 4 { x: 807, y: 792 }, // 5 { x: 1214, y: 786 }, // 6 { x: 395, y: 911 }, // 7 { x: 804, y: 904 }, // 8 { x: 1214, y: 909 } // 9 ] const dot = { x: 397, y: 1054 } const deleteKey = { x: 1573, y: 904 } // Function to simulate mouse clicks async function clickAt(point) { await mouse.setPosition(point) await mouse.leftClick() } // Function to enter numbers using virtual keypad async function enterNumbers(numberString) { for (let i = 0; i < numberString.length; i++) { const char = numberString.charAt(i) if (char === '.' || char === ',') { await clickAt(dot) } else { const digit = parseInt(char) if (digit >= 0 && digit <= 9) { await clickAt(numberKeypad[digit]) await wait(15) } } await wait(15) } } // Function to get text from screen region (simulated) async function getTextFromRegion(topPoint, bottomPoint) { // This would need to be implemented with OCR or screen capture // For now, returning a placeholder return "0.00" } // Main script execution await div(md(` # Auction Bidding Bot Started **Configuration:** - Bid increment: ${zapros} - Active request time: ${timings.sleepTime}ms - Telegram channel: https://t.me/Vortex_scriptss **Status:** Initializing... `)) let prevZakaz = 0 let zakaz = 0 let lotPrice = 0 let startScriptZakaz = false let lastCheckTime = Date.now() while (true) { if (!startScriptZakaz) { console.log("Free script") console.log("Telegram channel -> https://t.me/Vortex_scriptss") console.log("Private script would bring much more profit!") await wait(100) await clickAt(coordinates.zak1) await wait(timings.sleep1) const priceLotText = await getTextFromRegion(coordinates.priceLotTop, coordinates.priceLotDown) await clickAt(coordinates.vvo) await wait(200) try { lotPrice = parseFloat(priceLotText.trim()) } catch (error) { console.log("Reconfigure points priceLotTop, priceLotDown") } startScriptZakaz = true } const priceStringZakaz1 = await getTextFromRegion(coordinates.topZakaz, coordinates.downZakaz) try { zakaz = parseFloat(priceStringZakaz1.trim()) } catch (error) { console.log("Reconfigure coordinates topZakaz, downZakaz") continue } const proverkaFull = zakaz + zapros if (zakaz > prevZakaz && prevZakaz > 0 && proverkaFull < lotPrice) { const newZakaz = zakaz + zapros await enterNumbers(newZakaz.toString()) await clickAt(coordinates.gal) await wait(timings.sleep2) await clickAt(coordinates.zak2) await wait(timings.sleepTime) await clickAt(coordinates.ot) await wait(400) startScriptZakaz = false } await wait(50) prevZakaz = zakaz if (Date.now() - lastCheckTime > timings.sleep3) { await clickAt(coordinates.ot) await clickAt(coordinates.ot) await clickAt(coordinates.ot) startScriptZakaz = false await wait(233) lastCheckTime = Date.now() } // Check for exit condition const shouldExit = await arg({ placeholder: "Press 'q' to quit or any other key to continue", timeout: 100, strict: false }).catch(() => null) if (shouldExit === 'q') { break } } await div(md("# Script stopped"))