intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 46df77319962c66c5cc532807e2ee1f697d959ac
parent 24f35e9d6439f85294d9d638ffb5558f38be7c47
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Fri, 18 Nov 2016 21:11:00 +0100

turn res down because some limits in HO
Diffstat:
Mscreencap_iitc.js | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -160,7 +160,7 @@ function login(l, p) { } function afterPlainLogin(IntelURL, search) { - page.viewportSize = { width: '1920', height: '1080' }; + page.viewportSize = { width: '1280', height: '720' }; page.open(IntelURL, function(status) { if (status !== 'success') {quit('unable to connect to remote server')} if (!isSignedIn()) { @@ -188,7 +188,7 @@ function afterPlainLogin(IntelURL, search) { var interval = setInterval(function(){ if(new Date().getTime() - startTime > 5000){ hideDebris(); - prepare('1920', '1080'); + prepare('1280', '720'); main(); clearInterval(interval); return; @@ -201,7 +201,7 @@ function afterPlainLogin(IntelURL, search) { var interval = setInterval(function(){ if(new Date().getTime() - startTime > 5000){ hideDebris(); - prepare('1920', '1080'); + prepare('1280', '720'); main(); clearInterval(interval); return; @@ -261,7 +261,7 @@ function loadLocalIitcPlugin(src) { } function afterCookieLogin(IntelURL, search) { - page.viewportSize = { width: '1920', height: '1080' }; + page.viewportSize = { width: '1280', height: '720' }; page.open(IntelURL, function(status) { if (status !== 'success') {quit('unable to connect to remote server')} if(!isSignedIn()) { @@ -298,7 +298,7 @@ function afterCookieLogin(IntelURL, search) { var interval = setInterval(function(){ if(new Date().getTime() - startTime > 5000){ hideDebris(); - prepare('1920', '1080'); + prepare('1280', '720'); main(); clearInterval(interval); return; @@ -311,7 +311,7 @@ function afterCookieLogin(IntelURL, search) { var interval = setInterval(function(){ if(new Date().getTime() - startTime > 5000){ hideDebris(); - prepare('1920', '1080'); + prepare('1280', '720'); main(); clearInterval(interval); return; @@ -357,10 +357,10 @@ function setupIITC(){ "Level 6 Portals": true, "Level 7 Portals": true, "Level 8 Portals": true, - "Fields": true, - "Links": true, - "Resistance": true, - "Enlightened": true, + "Fields": true, + "Links": true, + "Resistance": true, + "Enlightened": true, "DEBUG Data Tiles":false, "Artifacts":true, "Ornaments":true