Want Votes? Ask Tippy!
Everyone loves an upvote.. right? Here on Steemit a vote is a sign of affirmation, support and sometimes sweet sweet SBD posting reward.
I've given my somewhat buggy silly at times robotic son Tippy some modifications, most of it is just boring bug hunting stuff no one really gives a crap about.. but one interesting thing I do want to share is that Tippy now gives random upvotes to whoever calls it!
Wanna Tippy© Robo-Vote a Post?
Comment @tippy vote
and the article or comment above will receive a random 0.01% to 100% upvote from Tippy! It's completely(ish) random!
Here's the actual code snippet used in Tippy's soul to calculate the vote:
//----- VOTE
if (commandparsed.toLowerCase().indexOf("vote") >= 0 || commandparsed.toLowerCase().indexOf("-v") >= 0 ) {
var weight = Math.floor(Math.random() * 10000) + 10;
console.log("║".blue + logo + " @ ".green.bold + "CALL".white.bold + " │".blue + " VOTE".white.bold + " from @" + parentAuthor + " on Block #" + blockprocesscommnum);
qv.enqueue(confirmvote(op["parent_author"], op["parent_permlink"], weight, "vote"));
}; //END vote
While not the fanciest bit of code and certainly not the prettiest this above determines what sort of upvote you get. Now here's the fun part..!
Join The Development Experiment?
Testing to see without voting constraints how long it take for folks to drain the voting power in the account given the code viewed above. To join the experiment all you must do is go and use the @tippy vote
on posts you like (preferably avoiding a self upvoting circlejerk) as much as you want.
Given the experimental nature of the @tippy project and the fact it's currently under R&D the service may be unavailable, bugged, glitched or heavens knows what else and I assume no responsibility for whatever crazy shenanigans the bot pulls while in alpha testing.
On a side note old balances from before the laptop to workstation move have been re-enabled.. If you had a tippy balance before you may have it back now.. A friendly reminder to not deposit more to the bot than you are willing to write off as test/play/donation funds..!
Observations Thus Far
- Seems collisions of upvote calls in the same block error out one!
- Profile not switching to offline mode on shutdown..
( type the following below somewhere in your comment)
@tippy help
( click reply & type @tippy help for commands )
@tippy -b
( click reply & type @tippy help for commands )
@tippy vote me
@tippy vote
@Tippy -v
@tippy vote
@tippy vote
Just the tip!
So does this randomly upvote a comment on this page bb?
@tippy vote
GIVE ME YOUR GIRTHY VOTE @tippy!
60 cent earned by just commenting on your shit bb... I love steemit :D
Blah 59 cents actually, but still halfway to a cheese burger!
@tippy vote
Thanks sir! (go vote other stuff with it too!)
@tippy vote
@tippy vote
hey, thanks for the snippet, may you send me some useful links to develop on top of steem. or maybe some guides to create or play around with bots. thanks man!
I can do just that. One moment!
The bot is built using nodeJS: https://nodejs.org/en/
Utilizing the steemJS library: https://www.npmjs.com/package/steem
Lots around here prefer python based stuff. Not an expert there. (or with JS for that matter)
If you've got some knowledge of Javascript syntax or other code languages it shouldn't be hard to pick up. As for a proper guide I may have to create one on here in the near future.
Have a good day man.
thanks klye, checking it out now. actually i've been learning the python for last months as an intro to programming. quite fascinated lately by the automation and data..
'Tis the future my friend.
@tippy vote
@tippy vote
Not a bad roll!
98
( roll was between 1 - 100 )
( click reply & type @tippy help for commands )
LOL. It rolled ass well after seeing the word roll.. Anotehr bug for the list. XD
Your roll was even better;)
Do you know any useful documentation for steemJS library?
I'm using Steem-lib but it's last commit was 6 months ago, so I should really swap to the official lib.
The only problem is that I can not find any useful docs on how to use it. The one on npm site just not enough detailed for my little brain! Or, am I just lazy to think...?
Any advice?
The npm page for SteemJS has good docs on it!
@tippy vote
awesome
@tippy vote
@tippy vote
@tippy vote
@tippy vote
@tippy vote
good moves in the right direction
@tippy vote
@klye, thank you for making this bot. When my voting power runs low, I'm gonna be calling @tippy for help. I feel like your bot can be useful in many situations c:
@shello
( click reply & type @tippy help for commands )
Screencapped for reference
@tippy role 20