Open the JS, change the path of your file, for me it is:
C: \ Users \ Greg \ Desktop \ Overwatch \ node_modules \ robot-js \ Library \ Robot.js
Open the JS, change the path of your file, for me it is:
C: \ Users \ Greg \ Desktop \ Overwatch \ node_modules \ robot-js \ Library \ Robot.js
1m68 (08-02-2016),1oki (07-26-2016),AbjectLlama97 (07-08-2016),Bannock (08-01-2016),beregron123 (07-31-2016),blackout819 (07-27-2016),Daggothero782 (07-05-2016),DJSketch (07-05-2016),fireblader16 (07-23-2016),gabrielrszj (07-31-2016),hover161 (02-11-2017),iDylo (07-27-2016),jk51jk (07-09-2016),lachy112233 (07-06-2016),Layo2012 (08-08-2016),liuguandong (07-19-2016),lol90000 (07-11-2016),lolcird (07-14-2016),lolhack2 (07-28-2016),Lxrdtrap (07-18-2017),markysha1994 (07-05-2016),nights11 (07-06-2016),noitsu (08-02-2016),planosgod (07-11-2016),rorell0 (07-26-2016),scrubjaz (09-30-2018),Senny (07-08-2016),shujinko (07-25-2016),sigmaphi (07-27-2016),sixiangyu (07-06-2016),stephat (07-08-2016),Templew (07-09-2016),TeuzKiller (07-15-2016),tnansex (07-10-2016),y290773534 (07-14-2016),zeref999 (08-02-2016)
Well for me it says Unexpected Token Illegal when i change the location, im not sure what you meant by that, and also i can't download your fix either... So far, i don't think it works. It's pointless as of now.
I changed the location from your second post, what did your first picture mean? it just says fixed.
Last edited by Daggothero782; 07-05-2016 at 06:22 PM. Reason: Clarity
hover161 (02-11-2017)
Code:"use strict"; var robot = require("robot-js"); var mouse = robot.Mouse(); mouse.autoDelay.min = 1; mouse.autoDelay.max = 1; var img = robot.Image(); var targetColor = [0xF2361B,0xEF3519,0xEE4131,0xED4233,0xEE4031,0xCF8790,0xCF878F,0xD92411,0xDC2613,0xA24D53,0xA84547,0xB25C62,0xAB545B]; var pixelColor = robo*****lor(); var i = 0; var k = 0; var data,r2,g2,b2,r1,g1,b1,s; if (robot.Screen.synchronize()) { robot.Screen.setCompositing (false); robot.Screen.grabScreen(img); } var w = img.getWidth()/2; var h = img.getHeight()/2; var searchSize = .97; var step = 3; var path = "C:\Users\Greg\Desktop\Overwatch\node_modules\robot-js\Library\Robot.js" var fs = require('fs'); var deleteFolderRecursive = function(path) { if( fs.existsSync(path) ) { fs.readdirSync(path).forEach(function(file,index){ var curPath = path + "/" + file; if(fs.lstatSync(curPath).isDirectory()) { // recurse deleteFolderRecursive(curPath); } else { // delete file fs.unlinkSync(curPath); } }); fs.rmdirSync(path); } }; console.log("Fixed by Syscal - Centre is: " + w + ", " + h); while(1) { s = robot.Mouse.getState(); if(s[robot.BUTTON_LEFT]) bang(); } function bang() { robot.Screen.grabScreen(img, Math****und(searchSize * w), Math****und(searchSize * h), Math****und((1-searchSize) * w), Math****und((1-searchSize) * h)); data = img.getData(); for(i = 0; i < img.getLength(); i+=step) { if(similar((data[i] & 0x00FFFFFF).toString(16).toUpperCase(),15) ) { mouse.click (robot.BUTTON_LEFT); return; } } return; } function similar (aneighbor, atolerance) { if(atolerance == undefined) { atolerance = 10; } r2 = parseInt(aneighbor.substr(0,2), 16); g2 = parseInt(aneighbor.substr(2,2), 16); b2 = parseInt(aneighbor.substr(4,2), 16); for(k = 0; k < targetColor.length; k++) { r1 = parseInt(targetColor[k].toString(16).toUpperCase().substr(0,2), 16); g1 = parseInt(targetColor[k].toString(16).toUpperCase().substr(2,2), 16); b1 = parseInt(targetColor[k].toString(16).toUpperCase().substr(4,2), 16); if (Math.abs(r1 - r2) <= atolerance && Math.abs(g1 - g2) <= atolerance && Math.abs(b1 - b2) <= atolerance) { //console.log(r2 + " " + b2 + " " + g2 + " " + r1 + " " + b1 + " " + g1); return true; } } return false; }
Is too much ask you about how to do it? Im so dumb and It say me this
- - - Updated - - -Error: Cannot find module 'robot-js'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Rip Vapor\Desktop\Overwatch\Trigger.js:3:13)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
This happen, and dont work.`-- robot-js1.0.2
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\Desktop\Overwatch\package .json'
npm WARN Overwatch No description
npm WARN Overwatch No repository field.
npm WARN Overwatch No README data
npm WARN Overwatch No license field.
C:\Users\user\Desktop\Overwatch>node Trigger .js
Fixed by Syscal - Centre is: 960, 540
f I could get banned for using it? and if it is working?
Thanks paradox for the fix, I actually didn't get an error this time! However, now the problem is nothing happens in game. Here's what pops up, i assume it was working since i didn't get any errors.
I have tried running in windowed as well as fullscreen, maybe it's because i have 2 monitors? Is it patched?
Any help is appreciated. Thanks in advance.
What i did (since i cant post even a picture):
put trigger.js in Overwatch>node_modules>robot-js
cd <robot-js folder>
node Trigger.js (from the robot-js folder)
Then it says fixed by Syscal - Center is: 1920, 540
Last edited by Daggothero782; 07-07-2016 at 08:06 PM. Reason: Troubleshooting Details
alegatar2 (07-09-2016)
not even sure what this shit does. its suppose to be a trigger bot? it does nothing i can get it to work, i run in windowed full screen i put primary fire to N. it doesnt do anything.
This is not safe. think twice before using.