Giter VIP home page Giter VIP logo

Comments (12)

Tegos avatar Tegos commented on May 26, 2024

Hello, @psx365 . Did you follow of the instruction setup from readme ?

Setup

  • clone the repo
  • install the dependencies, yarn install
  • run npm run preinstal or npm run preinstal-windows
  • you should probably register new fake account for these manipulations.

from travian-elephant-finder.

psx365 avatar psx365 commented on May 26, 2024

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.
Capture

from travian-elephant-finder.

Tegos avatar Tegos commented on May 26, 2024

What about antother step of readme? Can you provide your config files?

Config

Set correct configuration in:

  • .env file
  • src/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.

psx365 avatar psx365 commented on May 26, 2024

.env.txt
cookie.txt

from travian-elephant-finder.

Tegos avatar Tegos commented on May 26, 2024

Yes, seems there are some problems, need to check updates from game.

from travian-elephant-finder.

Tegos avatar Tegos commented on May 26, 2024

add some fixes. reinstall app, and use yarn install, instead npm install

from travian-elephant-finder.

Tegos avatar Tegos commented on May 26, 2024

Hello, @psx365. I'm waiting for your report :)

from travian-elephant-finder.

Tegos avatar Tegos commented on May 26, 2024

I created an account and checked the wrork of the tool, see results.
image

https://ts8.x1.europe.travian.com/karte.php?x=37&y=-172

image

from travian-elephant-finder.

psx365 avatar psx365 commented on May 26, 2024

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.

Tegos avatar Tegos commented on May 26, 2024

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.

bitschak avatar bitschak commented on May 26, 2024

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.

Tegos avatar Tegos commented on May 26, 2024

Hello @bitschak . It is a stale issue. Create a new issue if the error still exists.

from travian-elephant-finder.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.