Giter Site home page Giter Site logo

bombcrypto-superbot's Issues

Bug function 'There are no heroes to work now'

Bom dia.

Mesmo com a opção ADVENTURE=0 ou sem setar essa variavel no start, o bot está chamando a função para jogar o modo aventura, quando não há herois para trabalhar (l:360 src/bot.ts)

E também, na inicialização do bot, se você setar a variavel ADVENTURE= independente do valor que setar (0 ou 1) o modo aventura estara ativo e esta usando as chaves.

BUG

under revision

Alguém aqui teve a conta em revisão?

Acredito que o bloqueio do site sem anúncios seja para verificar bots que não estão vendo os anúncios, vários usuários estão levando bloqueio por estar usando adblock

bombcrypto-superbot/build/err.js:30

Boa tarde,

Bot está caindo mais vezes de acordo com o erro abaixo.

/bombcrypto-superbot/build/err.js:30
return new SuperBotException(type, ${type}: ${message});
^

SuperBotException: MessageError: Failed with code 1005
at makeException (/bombcrypto-superbot/build/err.js:30:12)
at Client.handleMessageError (/bombcrypto-superbot/build/api/client.js:488:47)
at Client.handleExtentionResponse (/bombcrypto-superbot/build/api/client.js:543:25)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
at e.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:24112)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:94887)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
at WebSocket.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:20672)
at WebSocket.onMessage (/bombcrypto-superbot/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (events.js:400:28) {
type: 'MessageError'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.17

F

F

Dúvida Modo Aventura

Boa tarde, pessoal.

Parabéns pelo projeto. Estou analisando pra tentar começar a usar.

No modo aventura ele escolhe o heroi com maior raridade? Ele respeita o período de bloqueio/tempo do heroi?
Se eu tiver 2 herois épicos, por exemplo, ele joga com um e depois o outro ou utiliza sempre o mesmo?

Desculpe tantas perguntas mas é porque TypeScript não é minha praia, então ainda não consigo tirar essas dúvidas só olhando o código.

Obrigado.

HELP

Boa tarde mano, parabens pelo projeto. Teria como dar uma instrucao pra quem e leigo conseguir rodar o bot usando windows? Valeu!

BOT OFICIALMENTE BANIDO!

Aparentemente eles baniram o uso desse tipo de ferramenta. Logo, não usem a não ser que estejam cientes do risco atual (já não era tão recomendado usar, agora é expressamente proíbido).

Screen Shot 2022-04-08 at 09 34 32

PS: O código não é malicioso, eu usei durante semanas, a equipe do bomb apenas tornou a pratica expressamente proíbida.

Mineraland

Fala meu querido @lucasvieceli percebi que você fala português também.
Então, tem alguma forma de você alterar esse bot para funcionar com o game mineraland ? Ele é a mesma coisa que o bombcrypto só muda os gráficos, ate os modos e o work funcionam da mesma forma, só estou pedindo mesmo porque esse bot em node salvou meu pc hahahah

o link do game: https://play.mineraland.io/

Se precisar de uma conta para testar, estou à disposição.

Telegram bots

So far I have created a bot for each account, but it's somewhat cumbersome and I think that Telegram has some limit on the maximum number of bots (already found... Sorry, too many attempts. Please try again in 60915 seconds.)

Is it possible to use a single bot for all accounts?

Can't run bot

After run command LOGIN=myusername:mypasssword yarn go
I got this message:

yarn run v1.22.18
$ yarn lint && yarn format:check && yarn build && yarn start
$ eslint src/ --ext .ts
$ yarn prettier --check src/
$ C:\Users\kCacTdXh\Desktop\bombcrypto-superbot\node_modules\.bin\prettier --check src/
Checking formatting...
[warn] src\bot.ts
[warn] Code style issues found in the above file(s). Forgot to run Prettier?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

How to fix it?

Ajudem um dummie a ativar o telegram em multiaccount

Bom dia!
Antes de mais nada, parabéns pelo excelente trabalho!

estou com uma dúvida a respeito do bot, devo criar um bot para cada conta e a chave a ser colocada na linha da execução é a chave fornecida pelo botfather ou é aquele ID do chat específico do bot?

Se tiverem um passo a passo também, agradeço muito! obrigado!

Muito obrigado.

Sugestões de aprimoramento do bot

Olá pessoas,

Gostaria inicialmente de parabenizar o desenvolver do bot, funciona muito bem e a integração com o telegram é filé!

Sugestão:
Problema: Heróis com mais stamina ou raridade maior demoram muito para ir trabalhar, já que o calculo é baseado em % de stamina cheia. Alterando o MIN_HERO_ENERGY para um número inferior também causaria um problema com heróis que tem stamina baixa ou bateria.

Exemplo:
Comum 25/50 energia - (energia herói / energia máxima) * 100 = 50%
Comum 25/100 energia - (energia herói / energia máxima) * 100 = 25%
Épico 25/550 energia - (energia herói / energia máxima) * 100 = 4,5%

O boneco épico iria demorar muito para ir trabalhar, porém ele é o que quebra os blocos mais rápido, já os comuns trabalhariam mais com menor eficiência, já que os heróis mais fortes também tem skills ou quebram outros blocos por consequência no processo.

Solução queeu fiz no meu, mas na gambiarra kkk:
Alterar o calculo de % para valor total da energia e setar um número mínimo para qualquer herói trabalhar

Eu alterei no arquivo bot.ts
LINHA 28:
const MIN_HERO_ENERGY = 49;

LINHA 216:
const percent = (hero.energy / 1) * 1;

não sei se somente (hero.energy) já funcionária na função, não manjo de programação no nível de vocês, então deixei o mesmo código e só fiz divisão e multiplicação por 1 da energia do herói para dar a energia atual.

Imagino que também seja possível melhorar a eficiência de mineração se for possível definir quais tipos de bloco tem no mapa e a vida atual deles para fazer a escolha dos heróis que vão trabalhar.

Off-topic

Já tentou fazer um bot websocket para o space crypto?

Last update error

After git pull I have this error that was not there before

2022-03-20T18:29:30.045Z [info]: Logging in...
/root/bombcrypto-superbot/build/err.js:30
    return new SuperBotException(type, `${type}: ${message}`);
           ^
SuperBotException: LoginFailed: Error code 10
    at makeException (/root/bombcrypto-superbot/build/err.js:30:12)
    at Client.handleLoginError (/root/bombcrypto-superbot/build/api/client.js:318:91)
    at t.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
    at e.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:88417)
    at e.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:68919)
    at e.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:65729)
    at t.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:94887)
    at t.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
    at WebSocket.value (/root/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:20672)
    at WebSocket.onMessage (/root/bombcrypto-superbot/node_modules/ws/lib/event-target.js:199:18) {
  type: 'LoginFailed'
}
error Command failed with exit code 1.

Also noticed you have removed MAX_WORKING_HEROES variable, do you think it's a better strategy?

Parou de rodar após atualização de 04/03/2022

@john-titor-master

Parabéns pelo projeto e obrigado por compartilhar!!

Gostei muito e já comecei a estudar WASM, pois nem sabia o que era.

Ontem rodei o projeto e funcionou de boa até às 23h, porém hoje após a atualização, não está funcionando.
image

Olhando pelo seu código e tentando entender, pode ser que eles tenham mudado a SALT_KEY, mas é um mero chute. Ainda não consigo entender o motivo.

Error with login by token

2022-04-12T15:02:14.286Z [info]: Starting telegraf...
2022-04-12T15:02:14.330Z [info]: Logging in...
internal/process/promises.js:213
triggerUncaughtException(err, true /* fromPromise */);
^

HTTPError: Response code 400 (Bad Request)
at Request. (/bombcrypto-superbot/node_modules/got/dist/source/as-promise/index.js:117:42)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
code: 'ERR_NON_2XX_3XX_RESPONSE',
timings: {
start: 1649775734615,
socket: 1649775734831,
lookup: undefined,
connect: undefined,
secureConnect: undefined,
upload: 1649775734831,
response: 1649775735239,
end: 1649775735243,
error: undefined,
abort: undefined,
phases: {
wait: 216,
dns: undefined,
tcp: undefined,
tls: undefined,
request: NaN,
firstByte: 408,
download: 4,
total: 628
}

Modo aventura

Modo aventura está sempre jogando com o mesmo hero, acho que isso pode dar ban.

request> more telegram functions

hello. would it be possible to add more telegram functions? like showing the following:
invested bcoin, total mined, ROI %, and reward %?

zz

Login error

2022-04-24T07:13:31.675Z [info]: Starting telegraf...
2022-04-24T07:13:31.678Z [info]: Logging in...
/Users/rabo/Desktop/bombcrypto-superbot/build/err.js:30
return new SuperBotException(type, ${type}: ${message});
^

SuperBotException: LoginFailed: Error code 101
at makeException (/Users/rabo/Desktop/bombcrypto-superbot/build/err.js:30:12)
at Client.handleLoginError (/Users/rabo/Desktop/bombcrypto-superbot/build/api/client.js:346:91)
at t.value (/Users/rabo/Desktop/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
at e.value (/Users/rabo/Desktop/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:88417)
at e.value (/Users/rabo/Desktop/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:68919)

authorized ?

hello

Is your bot authorized under bombcrypto terms or not?

Adventure Mode

what happens if i activate adventure mode? being that it is deprecated

Constants

Vi que tem um arquivo com algumas constantes, tais como:
SALT_KEY, DATE_OFFSET, VERSION_CODE

Como saber os novos valores após uma atualização?

How to use

can you help me used this tool easily.

i don't know how to do.

telegram : @thotq

Conseguiram logar no novo sistema? aqui tenho o seguinte erro:

Estou tendo erro tanto no login pelo usuário quanto pela private key:

2022-04-12T14:16:14.982Z [info]: Starting telegraf...
2022-04-12T14:16:14.984Z [info]: Logging in...
/bombcrypto-superbot/build/err.js:30
return new SuperBotException(type, ${type}: ${message});
^

SuperBotException: LoginFailed: Error code 101
at makeException (/bombcrypto-superbot/build/err.js:30:12)
at Client.handleLoginError (/bombcrypto-superbot/build/api/client.js:346:91)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
at e.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:88417)
at e.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:68919)
at e.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:65729)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:94887)
at t.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:6:38057)
at WebSocket.value (/bombcrypto-superbot/node_modules/sfs2x-api/sfs2x-api-1.7.15.js:7:20672)
at WebSocket.onMessage (/bombcrypto-superbot/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (events.js:400:28)
at Receiver.receiverOnMessage (/bombcrypto-superbot/node_modules/ws/lib/websocket.js:1093:20)
at Receiver.emit (events.js:400:28)
at Receiver.dataMessage (/bombcrypto-superbot/node_modules/ws/lib/receiver.js:507:14)
at /bombcrypto-superbot/node_modules/ws/lib/receiver.js:473:23
at /bombcrypto-superbot/node_modules/ws/lib/permessage-deflate.js:308:9 {
type: 'LoginFailed'

Error after second run

I get this error after i did the second run

2022-04-19T09:47:52.786Z [info]: Starting telegraf...
2022-04-19T09:47:52.788Z [info]: Logging in...
C:\Users\JW\Desktop\crypto\bombcrypto-superbot\build\err.js:30
return new SuperBotException(type, ${type}: ${message});
^

SuperBotException: ConnectionFailed: Connection failed
at makeException (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\build\err.js:30:12)
at Client.handleConnection (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\build\api\client.js:339:97)
at t.value (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\sfs2x-api\sfs2x-api-1.7.15.js:6:38057)
at t.value (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\sfs2x-api\sfs2x-api-1.7.15.js:7:94587)
at t.value (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\sfs2x-api\sfs2x-api-1.7.15.js:6:38057)
at WebSocket.value (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\sfs2x-api\sfs2x-api-1.7.15.js:7:20209)
at WebSocket.onClose (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\ws\lib\event-target.js:210:18)
at WebSocket.emit (node:events:526:28)
at WebSocket.emitClose (C:\Users\JW\Desktop\crypto\bombcrypto-superbot\node_modules\ws\lib\websocket.js:245:12)
at Object.onceWrapper (node:events:645:28)
at ClientRequest.emit (node:events:526:28)
at emitAbortNT (node:_http_client:377:7)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'ConnectionFailed'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

More than 15 heroes

I have noticed two issues here:

  1. Squad:: get heroes() return only the active heroes which is MAX 15 hero. is there a way to get the full list of heroes (including the inactive ones)?
  2. Is it possible to rotate active heroes in case we have more than 15 heroes in an account?

Alive?

Is anyone still working on this project?

Error

I don't know this issues bro. Check and help me

[warn] src\bot.ts
[warn] Code style issues found in the above file(s). Forgot to run Prettier?

LoginFailed

Bot não está logando (estava normal à alguns dias)
O login pela web (jogo normal) funciona.
image

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.