Giter Site home page Giter Site logo

farmersworld-bot's People

Contributors

txiuqw4 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

farmersworld-bot's Issues

Need to update

Thanks for the tool! A huge request to make a new version for the latest update with seeds

Timeout error

[14:41:03] Fetch crops wallet neooenneo.gm
[14:41:04] Next cropclaim at 11/15/2021, 6:41:04 PM GMT+8
[14:41:17] [Error] - Error: timeout of 15000ms exceeded
at createError (/Users/neo_oen_neo/farmersworld-bot/node_modules/axios/lib/core/createError.js:16:15)
at RedirectableRequest.handleRequestTimeout (/Users/neo_oen_neo/farmersworld-bot/node_modules/axios/lib/adapters/http.js:303:16)
at RedirectableRequest.emit (node:events:390:28)
at Timeout. (/Users/neo_oen_neo/farmersworld-bot/node_modules/follow-redirects/index.js:164:12)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7) {
config: {
url: 'https://wax.cryptolions.io/v1/chain/get_table_rows',
method: 'post',
data: '{"json":true,"code":"farmersworld","scope":"farmersworld","table":"tools","lower_bound":"neooenneo.gm","upper_bound":"neooenneo.gm","index_position":2,"key_type":"i64","limit":"100","reverse":false,"show_payer":false}',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/json',
'X-Forwarded-For': '137.114.41.208',
'User-Agent': 'axios/0.21.4',
'Content-Length': 217
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 15000,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
'axios-retry': { retryCount: 0, lastRequestTime: 1636958462937 }
},
code: 'ECONNABORTED',
request: <ref *1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Array],
error: [Array],
socket: [Function: destroyOnTimeout]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: '/v1/chain/get_table_rows',
method: 'POST',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
hostname: 'wax.cryptolions.io',
port: null,
nativeProtocols: [Object],
pathname: '/v1/chain/get_table_rows'
},
_ended: false,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 217,
_requestBodyBuffers: [ [Object] ],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: false,
_headerSent: true,
_closed: false,
socket: [TLSSocket],
_header: 'POST /v1/chain/get_table_rows HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: application/json\r\n' +
'X-Forwarded-For: 137.114.41.208\r\n' +
'User-Agent: axios/0.21.4\r\n' +
'Content-Length: 217\r\n' +
'Host: wax.cryptolions.io\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/v1/chain/get_table_rows',
_ended: false,
res: null,
aborted: true,
timeoutCb: null,
upgradeOrConnect: false,
parser: [HTTPParser],
maxHeadersCount: null,
reusedSocket: false,
host: 'wax.cryptolions.io',
protocol: 'https:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kError)]: undefined
},
_currentUrl: 'https://wax.cryptolions.io/v1/chain/get_table_rows',
_timeout: null,
[Symbol(kCapture)]: false
},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
}
[14:41:17] run with wallet neooenneo.gm
[14:41:18] Current withdraw fee 8
[14:41:33] [ERROR] another task error - timeout of 15000ms exceeded

need some help

hello ,thansk for you project ,but when i used it ,it did not work well ,no eosjs, ,did i need npm install eosjs first?

RpcError: estimated CPU time (0 us) is not less than the maximum billable CPU time for the transaction (0 us)

bot started giving me this error, even though I have much more CPU than needed and I am able to claim tools manually

02:50:50] [Error] - RpcError: estimated CPU time (0 us) is not less than the maximum billable CPU time for the transaction (0 us)
at new RpcError (/root/Desktop/farmersworld-bot3/node_modules/eosjs/dist/eosjs-rpcerror.js:29:28)
at JsonRpc. (/root/Desktop/farmersworld-bot3/node_modules/eosjs/dist/eosjs-jsonrpc.js:124:35)
at step (/root/Desktop/farmersworld-bot3/node_modules/eosjs/dist/eosjs-jsonrpc.js:37:23)
at Object.next (/root/Desktop/farmersworld-bot3/node_modules/eosjs/dist/eosjs-jsonrpc.js:18:53)
at fulfilled (/root/Desktop/farmersworld-bot3/node_modules/eosjs/dist/eosjs-jsonrpc.js:9:58)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
details: [
{
message: 'estimated CPU time (0 us) is not less than the maximum billable CPU time for the transaction (0 us)',
file: 'transaction_context.cpp',
line_number: 501,
method: 'validate_account_cpu_usage_estimate'
}
],
json: {
code: 500,
message: 'Internal Service Error',
error: {
code: 3080004, name: 'tx_cpu_usage_exceeded',
what: 'Transaction exceeded the current CPU usage limit imposed on the transaction', details: [Array]
} }
}

ActionClone

may i know some details of actionsClone when makeTransactions, why need to do that?

Please add membership cards

I like yours work its really impressive
Please add support of membership cards and rising chicken and rising cow thanks in advance

Energy recovery not working

Energy recovery not working.How can i solve this ?

[17:24:04] run with wallet XXXXXX
[17:24:04] asset_id 1099808486291 diff -50179 seconds current durability 720
[17:24:04] asset_id 1099808486306 diff -50175 seconds current durability 720
[17:24:04] asset_id 1099808486314 diff -50172 seconds current durability 720
[17:24:04] asset_id 1099808486330 diff -58268 seconds current durability 810
[17:24:04] asset_id 1099808486346 diff -58266 seconds current durability 855
[17:24:04] asset_id 1099808486349 diff -58261 seconds current durability 855
[17:24:04] asset_id 1099808486844 diff -58256 seconds current durability 1568
[17:24:04] asset_id 1099808486860 diff -58253 seconds current durability 1568
[17:24:04] asset_id 1099808487183 diff -54648 seconds current durability 245
[17:24:04] asset_id 1099808487188 diff -54643 seconds current durability 245
[17:24:04] claim with asset_id XXXXXXXXXXXXXXX
[17:24:05] [ERROR] - assertion failure with message: Not enough energy, please eat food to get more energy
[17:24:06] [ERROR] - assertion failure with message: Not enough energy, please eat food to get more energy
[17:24:07] [ERROR] - assertion failure with message: Not enough energy, please eat food to get more energy
[17:24:08] [ERROR] - assertion failure with message: Not enough energy, please eat food to get more energy
[17:24:08] [Error] - RpcError: assertion failure with message: Not enough energy, please eat food to get more energy
at new RpcError (C:\bot\fwbot\node_modules\eosjs\dist\eosjs-rpcerror.js:29:28)
at JsonRpc. (C:\bot\fwbot\node_modules\eosjs\dist\eosjs-jsonrpc.js:124:35)
at step (C:\bot\fwbot\node_modules\eosjs\dist\eosjs-jsonrpc.js:37:23)
at Object.next (C:\bot\fwbot\node_modules\eosjs\dist\eosjs-jsonrpc.js:18:53)
at fulfilled (C:\bot\fwbot\node_modules\eosjs\dist\eosjs-jsonrpc.js:9:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
details: [
{
message: 'assertion failure with message: Not enough energy, please eat food to get more energy',
file: 'wasm_interface.cpp',
line_number: 1131,
method: 'eosio_assert'
},
{
message: 'pending console output: ',
file: 'apply_context.cpp',
line_number: 113,
method: 'exec_one'
}
],
json: {
code: 500,
message: 'Internal Service Error',
error: {
code: 3050003,
name: 'eosio_assert_message_exception',
what: 'eosio_assert_message assertion failure',
details: [Array]
}
}
}

How to automatically replenish energy

my set:
"TIMEZONE": "Asia/Hong_Kong",
"REPAIR_IF_DURABILITY_LOWER": 100,
"RECOVER_IF_ENERGY_LOWER": 200,
"LOWEST_ENERGY": 60,
"MINIMUM_FEE": 5,
"MINIMUN_WITHDRAW": 500,
"WITHDRAWABLE": ["WOOD"],
"PAYBW": false

There is enough food in the account, but it can't replenish energy automatically

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.