FRENCH SEE BELOW / FRANÇAIS VOIR PLUS BAS
This is a proposal to help DW with its anti bot rule.
Bots scanning the blockchain are not illegal, as the blockchain is public. What is not allowed in game industry is to automate game sessions to take unfair advantage on true gamers.
So, what should be done in the game should be signed to be validated.
Here is a little trick simple to use :
Add a field in the json, allowing your sever to verify it's published by the game and not a bot.
An easy way to do so, is to use an XOR encryption, for example
Take the tx idea of the action ( attack, upgrade, soldiers hiring, etc)
Create in your db something like a timestamp on when the action was performed or some random secret word
Perform an XOR between those two and add the result in the json as signature.
Xor is well known as it uses the same command to find the original text :)
Then your server only needs to XOR the json added field to verify it was made by the game and not from a bot.
Hope it helped, it's only an idea.
Legit players are always welcomed to join the FRENCHIES
Not yet in the game ? Join DrugWars now
Ceci est une idée pour aider DW dans sa lutte anti bot
Utiliser un bot pour scanner la blockchain est légitime, après tout, le contenu de la blockchain est public. Ce qui n'est pas toléré dans le monde du jeu, c'est d'automatiser sa session de jeu pour prendre un avantage sur les joueurs.
Donc, ce qui doit être réalisé par le jeu, doit être signé par le jeu.
Voici un petit truc, facile à implémenter pour signer une transaction:
Ajouter un champs dans le json, permettant au serveur de vérifier que le json fut créé par le jeu et non par un bot.
XOR le permet très facilement, par exemple comme ceci:
Prenez le numéro de transaction ( attaque, recrutement, upgrade, ou peu importe)
Créez un mot secret ou une empreinte de temps dans votre DB à la création de la requête
Faites un XOR entre ces deux valeurs et placez là dans le nouveau champ du json.
Xor est très connu car il suffit de refaire la même commande pour retrouver le texte original en clair.
Ensuite votre serveur pourra aisément vérifier par le XOR si l'action vient du jeu ou d'un bot et donc de le valider ou rejeter.
C'est bien entendu juste une idée, en espérant avoir été utile :)
Les vrais joueurs sont les bienvenus dans FRENCHIES
Vous n'êtes pas encore dans le jeu ? Rejoignez-nous
A bientôt,
@itharagaian
Helping my projects / Tipping :-)
Currently supporting those projects:
I'm not sure what all this means. I'm not much of a programmer nowadays. Used to Dabble in Visual Basic back in the 80s and I learned HTML and XML. Haven't programmed in years. Wouldn't a simple captcha do the trick?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Captcha is a pain for the players, while XOR is invisible and takes almost no time, it will not impact players
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Oh. Nice. That makes sense
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Seems like a decent idea. I guess it makes the game much more playable.
But as it is right now there is nothing you can do if you don't use bots yourself.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I do battles every day, I use the find target and fight what seem abandonned accounts, it pays off more often than one can think :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your interest in Drugwars. This post is dope and we wanted to show our gratitude for your involvement with an upvote. Hope that you’ll keep enjoying the game and we have much more surprises for the Drugwars players. Don’t hesitate to report bugs, give suggestions and feedbacks.
See you on Drugwars as a friend or an enemy…
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
!bookkeeping drugwars
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @itharagaian.net!
drugwars
Received:
Spent:
Total:
First transfer was before 22.00 days.
Your ROI per day is 1.96 % and you are earning approx. 1.04 STEEM per day.
Break even in approx. 29.1 days.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
!bookkeeping drugwars
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @emrebeyler!
drugwars
Received:
Spent:
Total:
First transfer was before 24.11 days.
Your ROI per day is 3.49 % and you are earning approx. 10.29 STEEM per day.
Break even in approx. 4.6 days.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
!bookkeeping drugwars
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @alexs1320!
drugwars
Received:
Spent:
Total:
First transfer was before 10.52 days.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit