Comments (12)
Hello, @psx365 . Did you follow of the instruction setup from readme ?
Setup
- clone the repo
- install the dependencies,
yarn install
- run
npm run preinstal
ornpm run preinstal-windows
- you should probably register new fake account for these manipulations.
from travian-elephant-finder.
Yes I did. Somehow managed to get trough those errors. Btw. I had to manually make an empty token.txt file and install an older version of node.js + use the "npm install" command. But now I am getting a lot of html codes when I run npm collect.
But I don't get how the bot can login if I don't give the pw and acc name to it.
from travian-elephant-finder.
What about antother step of readme? Can you provide your config files?
Config
Set correct configuration in:
.env
filesrc/config/cookie.txt
file
But I don't get how the bot can login if I don't give the pw and acc name to it.
Application can work with correct cookie auth.
from travian-elephant-finder.
from travian-elephant-finder.
Yes, seems there are some problems, need to check updates from game.
from travian-elephant-finder.
add some fixes. reinstall app, and use yarn install, instead npm install
from travian-elephant-finder.
Hello, @psx365. I'm waiting for your report :)
from travian-elephant-finder.
I created an account and checked the wrork of the tool, see results.
https://ts8.x1.europe.travian.com/karte.php?x=37&y=-172
from travian-elephant-finder.
I am going to check it today. Last time I tested after the "npm run collect" command it was frozen and did nothing.
Update: It works I get the datas that I need, but the excel files are empty.
from travian-elephant-finder.
Hello, @psx365
Did you figure out with configurations? You run npm run find and get empty excel file? There are two options: you set wrong configurations or there are no elephants.
from travian-elephant-finder.
Hi!
I encountered with the same issue as above. When I try to 'run collect' says the following:
PS C:\Users\user\Documents\GitHub\travian-elephant-finder> npm run collect
[email protected] collect
node src/scripts/collectOasysPosition.js
C:\Users\user\Documents\GitHub\travian-elephant-finder\node_modules\jsonfile\index.js:67
throw err
^
SyntaxError: data/oasis.json: Unexpected end of JSON input
at JSON.parse ()
at Object.readFileSync (C:\Users\User\Documents\GitHub\travian-elephant-finder\node_modules\jsonfile\index.js:63:17)
at Object. (C:\Users\User\Documents\GitHub\travian-elephant-finder\src\scripts\collectOasysPosition.js:11:30)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Node.js v17.6.0
PS C:\Users\user\Documents\GitHub\travian-elephant-finder>
How did you resolve the problem? Thanks!
from travian-elephant-finder.
Hello @bitschak . It is a stale issue. Create a new issue if the error still exists.
from travian-elephant-finder.
Related Issues (10)
- cant run the app HOT 2
- Не выполняется поиск оазисов HOT 5
- bad credentials due to token expiration HOT 11
- Feature: Using login/password instead cookies HOT 1
- How do I run this? HOT 3
- Unexpected end of JSON input HOT 4
- 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.