Hello everyone. I'm 'extremely' new with programming in general, but I am trying to help a friend of mine with botting. I was able to create a working script with the help of chatgpt and copilot, but I'm no longer making progress even with their help. I can launch a total of 30 bots without issues, but anymore than that I get errors such as:
Bot #46 encountered an error: Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:456:15)
at runNextTicks (node:internal/process/task_queues:65:5)
at process.processImmediate (node:internal/timers:459:9)
at async #evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:389:60)
at async ExecutionContext.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:278:16)
at async IsolatedWorld.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:100:16)
at async CdpFrame.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:346:20)
at async CdpPage.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:812:20)
at async createBot (C:\Users\Owner\test1.js:39:9)
at async Promise.all (index 45)
I've been trying to figure this out for awhile now. I had a system that ran up to 358 bots but the website wasn't recognizing them, so I decided to start again from my first working script.
I'll include my current working script here in a google document:
https://docs.google.com/document/d/1Hu3NJZUUncVqMgk-cqD8FzaDEVaVeZacHG925HsqXHM/edit?usp=sharing
I've been working on adjustments to this working script for easily 12+ hours now, seemingly in vain. I tried experimenting with reducing resources each bot used, calculating and catagorizing each bot into different catagories and giving updates on their status every minute or so. Whenever I seem to fix one problem, I cause another.
If anyone here is both able and willing to help me out here, I'd greatly appreciate it!
Bot #46 encountered an error: Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:456:15)
at runNextTicks (node:internal/process/task_queues:65:5)
at process.processImmediate (node:internal/timers:459:9)
at async #evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:389:60)
at async ExecutionContext.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:278:16)
at async IsolatedWorld.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:100:16)
at async CdpFrame.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:346:20)
at async CdpPage.evaluate (C:\Users\Owner\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:812:20)
at async createBot (C:\Users\Owner\test1.js:39:9)
at async Promise.all (index 45)
I've been trying to figure this out for awhile now. I had a system that ran up to 358 bots but the website wasn't recognizing them, so I decided to start again from my first working script.
I'll include my current working script here in a google document:
https://docs.google.com/document/d/1Hu3NJZUUncVqMgk-cqD8FzaDEVaVeZacHG925HsqXHM/edit?usp=sharing
I've been working on adjustments to this working script for easily 12+ hours now, seemingly in vain. I tried experimenting with reducing resources each bot used, calculating and catagorizing each bot into different catagories and giving updates on their status every minute or so. Whenever I seem to fix one problem, I cause another.
If anyone here is both able and willing to help me out here, I'd greatly appreciate it!