[Drugwars] How to find good targets using STEEMSQL DB

in #drugwars5 years ago (edited)

I've notice on discord chat a lot of people with trouble finding good targets to battle so I decide to write a post with a few tips on how to do that in a easy way. And in name of fairness, so all players can do the same.

Attencion, this might not work in the near future!! Drugwars is changing constantly and the shield will be removed soon, with many other changes that will make bots useless, I believe.

Most of the top heist players are getting their drugs from inactive players (or ones without army and + res).

But where in the hell they find so many targets in this conditions??? Well...they probably access the block chain and with a script in python they query those targets very easy (steempy or beem)

If you are like me, a person who don't know how to do that, you are in the right post xD

Think this way...those top heisters are target finders for us. We just need to know who they are attacking and get there first...and this can be done to all attacks from all players...

The hard way to do that is on Steemd.com , checking accounts and their attacks (5h-6h ago) and hiting next when shield goes down.

Now the easy way...

You will need
MS Excel or similar
STEEMSQL subscription (thanks @arcange)

On Excel>
Data>From Other Sources>From SQL Server
Server name: sql.steemsql.com > Set your name and password (steemsql.com subscribe) > Select any table and Finish
Data>Existing Connections>Select sql.steemsql.com> Properties...
Definition tab>Check Save Password>Commant type: SQL

Now you add this SQL query to the command text box:
(just put the name of the top heisters)


select  timestamp,
JSON_VALUE(json_metadata,'$.payload.target') AS Target,
JSON_VALUE(json_metadata,'$.author') AS Attacker
from Txcustoms
where CONVERT(DATE,timestamp) = '2019-03-11' AND tid = 'drugwars' AND JSON_VALUE(json_metadata,'$.author') IN ('top1','top2','top3','top5','top6','top7','top8','top9','top10')

or use this if you want to query all attacks from everyone :

select  timestamp,
JSON_VALUE(json_metadata,'$.payload.target') AS Target,
JSON_VALUE(json_metadata,'$.author') AS Attacker
from Txcustoms
where CONVERT(DATE,timestamp) = '2019-03-11' AND tid = 'drugwars'

*Don't forget to set DATE *

Click OK...

You will get this, now you use your Excel abilities to filter the timing for the shields (6hrs) and you are all set!!

You can play a lot with it...

This can be improved , its just an small example, I'm not a programmer so i'm doing the best I can xD

Now you know...bye

Sort:  

This story was recommended by Steeve to its users and upvoted by one or more of them.

Check @steeveapp to learn more about Steeve, an AI-powered Steem interface.

Boa, @lpessin! Estava pensando justamente em como automatizar a busca pelos alvos :D Toda vez que eu chego alguém já atacou antes :P Hahahaha! Bora achar mais uns alvos, obrigado por compartilhar ;)

Posted using Steeve, an AI-powered Steem interface

É , não vai funcionar para sempre...mas ai descobrimos outro jeito de jogar competitivamente!

Boa dica. Ainda estou fazendo meu exército. Depois que estiver pronto, vou começar atacar. Mais ainda quero construir melhor meu império. Kkkk

Posted using Partiko Android

Boa haha! Quando for fazer exercito faz com todos os tipos de unidade, as batalhas sao em rounds, e quem tem mais tipos de unidade leva vantagem contra quem tem poucos tipos...O ideal é ter os 10 hehe

Congratulations @lpessin! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 80 posts. Your next target is to reach 90 posts.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness and get one more award and increased upvotes!

Congratulations @lpessin! You received a personal award!

DrugWars Early Access
Thank you for taking part in the early access of Drugwars.

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Are you a DrugWars early adopter? Benvenuto in famiglia!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

!bookkeeping drugwars

Hi @lpessin!

drugwars

Received:

  • 28.747 STEEM from daily
  • 35.254 STEEM from heist
  • 0.117 STEEM from referral

Spent:

  • 103.032 STEEM

Total:

  • -38.914 STEEM

First transfer was before 23.32 days.
Your ROI per day is 2.67 % and you are earning approx. 2.75 STEEM per day.
Break even in approx. 14.2 days.

ROI when taking only the last 5 days into account

Your ROI per day is 1.13 % and you are earning approx. 1.16 STEEM per day.
Break even in approx. 33.5 days.

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 64320.07
ETH 3154.23
USDT 1.00
SBD 4.34