Comments (11)
You had provided bad credentials
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] collect: node collectOasysPosition.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] collect script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users******\AppData\Roaming\npm-cache_logs\2021-01-11T17_12_44_724Z-debug.log
from travian-elephant-finder.
My config.js :
const config = {
cookie: 'JWT=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJleHAiOjE2MTAzODUxNTcsInByb3BlcnRpZXMiOnsic2FsdCI6ImEwMmRkOGQzZDNkMGU0N2U1NjlkYjg4YTdmOTVlYzgxIiwiaGFzaCI6IjgzNzA1OTgwODM3MDgzNzBmZDIzMGZkMGMxZDg2MWJmIiwibG9naW5JZCI6MTEzNjE2LCJsb3dSZXMiOmZhbHNlLCJtb2JpbGVPcHRpbWl6YXRpb25zIjpmYWxzZSwidmlsbGFnZVBlcnNwZWN0aXZlIjoicGVyc3BlY3RpdmVSZXNvdXJjZXMiLCJ1dWlkIjoiMDFiNjc4MDAtNDA1Ny0xMWViLTBkMTItMDEwMDAwMDAwNzM4IiwicHciOiI1ZjYwNGM1YzZiZDFmYjIxNzRiNWE2NzQ4MTVkYTk3NmQ0MDE3ODIxIn19.wwoEzRR-BjpSYZVPbfkxC_9Prq1phqXhr2eY8crLBkJ9neMrFwBenV_mpgjuRRvKWltVtjNymKBy6OJEQ5kpdaGUBhuHZigOCTWX3mPvOWq42pwiftShcuCbejVqqsjU9JSE5LaepGuF0tSZ6uLFlqU7RfcY36luz0TLJ3i47H2heNF0t3aL3zosiwFtNMXM1q1Eljgv8bmQsZdoZ5hSpxNEqK5uopZzphR1Dalk-tuxAdi9Lim5ENX2MFZ-5UtONTAi3BDSGAo73Tdw_RCVkYHdU8eeQ1mMXJzhl9wUxO9v8qLCLAvXVDXMcoKXl7u-_qgWfJcMJq5B6d-JvXr5lA; active_rallypoint_sub_filters_1=1; travian-language=fr-FR; mapId1=%7B%22grid%22%3Atrue%7D',
travianServer: 'https://***.travian.fr',
authorization: 'Bearer ************************',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0',
minX: -200,
minY: 200,
maxX: -112,
maxY: 85,
startX: -152,
startY: 117,
delayMin: 100,
delayMax: 1500,
jsonFileOasis: 'data/oasis.json',
jsonFileOasisOccupied: 'data/oasis-occupied.json',
};
module.exports = config;
from travian-elephant-finder.
Hello. Yes, seems you provided bad config for token. You should check readme and set up correct auth token and cookies.
from travian-elephant-finder.
if I do a test on a square of 9 boxes, it takes me 10 seconds and does not cause any problems
from travian-elephant-finder.
so i think the values are good
For a scan of several hours, this error appeared because the token must have expired, right?
from travian-elephant-finder.
Yes, you are right. The token needs renewing. I will try to research this problem, but seems it's not possible without login/pass.
from travian-elephant-finder.
We can cheat by refreshing automatically to keep the current session maybe? or it does not work? (need request or something like that)
from travian-elephant-finder.
I don't know exactly, didn't play a long time). I will try to find some time for creating account in game and make some investigation.
from travian-elephant-finder.
Okey, i will follow your new suggestion !
from travian-elephant-finder.
hello, there was a new release of tool, please check if the issue fixed.
from travian-elephant-finder.
Hello. Did you try? Is there any updates? @ThibautChaz
from travian-elephant-finder.
Related Issues (10)
- cant run the app HOT 2
- Не выполняется поиск оазисов HOT 5
- Feature: Using login/password instead cookies HOT 1
- json error then enoent HOT 12
- How do I run this? HOT 3
- Unexpected end of JSON input HOT 8
- Cannot read property 'data' of undefined HOT 2
- i got error message when runing npm run clean
- When i run, it show red things, it say invalid permission, something like that HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from travian-elephant-finder.