Giter Club home page Giter Club logo

wax-farm-bot's Introduction

wax-farm-bot

CODE BASE: https://github.com/worldwide-asset-exchange/waxjs

donate ๐Ÿบ: 13.gm

For farmersworld/farmingtales/nftpanda/officeland

FarmersWorld : https://farmersworld.io/
FarmingTales : https://www.farmingtales.io/
NFTpanda : https://nftpanda.space/
OfficeLand : https://officeland.io/

Installation

Install nodejs and npm

https://docs.npmjs.com/downloading-and-installing-node-js-and-npm

Then run below script

$ git clone https://github.com/srisaard/wax-farm-bot.git
$ cd wax-farm-bot
$ npm install express request
$ node .
> server on6969

Usage

open browser and go to

http://localhost:6969/

Checked automatic ... everytime when pop-ups shown

Unchecked the box if you don't want the script to run for FW/FT/nftPanda/Officeland

Line notification

https://notify-bot.line.me/en/

Input line token to textbox

TODO

  • New Line notification style
  • Auto switch RPC when server down
  • Trade token via alcor exchange
  • Farmersworld
    • Farmersworld: Select energy for recover
    • Farmersworld: Select durability for repair
    • Farmersworld: Same transaction for withdraw
    • Farmersworld: Line notify when 5% fee
    • Farmersworld: Mine when full storing mining [Memberships]

Request feature here request feature

CHANGELOG

=>ย 20220202

โ€ƒ- Officeland : support new patch
โ€ƒ- New Line notification layouts

=>ย 20220131

โ€ƒ- Officeland Sleep when SR less than threshold
โ€ƒ- Line notification token to textbox

=>ย 20220128

โ€ƒ- Auto build farm plot
โ€ƒ- Auto stake barley/corn

=>ย 20220120

โ€ƒ- Show CPU usage
โ€ƒ- Update UI

SIDE PROJECT FOR SIMULATE PORT

https://farmersworld-simulator.vercel.app/

wax-farm-bot's People

Contributors

srisaard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wax-farm-bot's Issues

How can I run this file

I'm not good at computer. I try really hard to run it but finally I can't reach to there.
I put my line token to .env file and I can't continue from here. I don't know how to run this scripts...

Is this working with OfficeLand ?

Hello, your script is awesome with Farmers World, thank you !
But i dont get it working with OfficeLand.
Is this still working ? Or maybe i am missing something ?

Ok i just checked and it's conencted, so no problem

Error feeding animals

Hello, still getting an error when feeding animals

"assertion failure with message: Feeding this animal requires transfering some food"

I have food in stock for them already.

officeland does not work

(index):1061 Uncaught (in promise) TypeError: Cannot read property 'claim_datas' of undefined
at Officeland_task ((index):1061)

Does not work, I do not understand th
Screenshot_3
e reason! You can tell the settings in the instructions.

about Request to DApp

Hey Srisaard,
May i know how is the request being done to DApp?
is it rendering whole page to do the data fetching?
i'm new on writing bot, would appreciate for sharing some experience
thank you

Anchor wallet

any option is for Anchor wallet is available how can i will use it with anchor wallet

How to withdraw auto can you help me.

This action notworking

    actions: [{
            account: 'farmersworld',
            name: 'withdraw',
            authorization: [{
              actor: wax.userAccount,
              permission: 'active',
            }],
            data: {
              owner: wax.userAccount,
              quantities: _quantity,
              fee: _fee.fee
            },
          }]

Farmersworld Tokens

1641452428945

Equipment repairs or food refills are not available for accounts with different currency positions.
ex: const current_gold = balance.balances[2].split(" ")[0];

i use for mornitor my account
I'm not good at coding Please help fix this request.

		substringG = "GOLD"
		substringW = "WOOD"
		substringF = "FOOD"
		
		if (token_0.includes(substringG) === true){
			var token_G = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[0]).slice(0,-5))
			console.log(token_G);
		}
		if (token_0.includes(substringW) === true){
			var token_W = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[0]).slice(0,-5))
			console.log(token_W);
		}
		if (token_0.includes(substringF) === true){
			var token_F = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[0]).slice(0,-5))
			console.log(token_F);
		}
		
		if (token_1.includes(substringG) === true){
			var token_G = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[1]).slice(0,-5))
			console.log(token_G);
		}
		if (token_1.includes(substringW) === true){
			var token_W = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[1]).slice(0,-5))
			console.log(token_W);
		}
		if (token_1.includes(substringF) === true){
			var token_F = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[1]).slice(0,-5))
			console.log(token_F);
		}
		
		if (token_2.includes(substringG) === true){
			var token_G = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[2]).slice(0,-5))
			console.log(token_G);
		}
		if (token_2.includes(substringW) === true){
			var token_W = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[2]).slice(0,-5))
			console.log(token_W);
		}
		if (token_2.includes(substringF) === true){
			var token_F = parseFloat((JSON.parse(xhr4.responseText).rows[0].balances[2]).slice(0,-5))
			console.log(token_F);
		}

Automatic withdrawal

Set up automatic withdrawal when the fee is 5%.
by choosing which resource to withdraw

I am waiting for update , thanks

Add auto-feed animals?

Hey :)
is there a way to add auto-feed animals such as Cows, Chicken...?
Thanks for the farming bot

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.