Want Votes? Ask Tippy!

in #tippy7 years ago (edited)

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..

Thanks for helping me test Tippy! Enjoy the upvotes!

No need to vote this post with tippy! Thank you though!


@KLYE for Witness
Sort:  

example:
( type the following below somewhere in your comment)

@tippy vote

( this will upvote the parent (above) post a random amount)

@Tippy Help & Commands
CallUseExample
tip-tTip a user@tippy tip klye 1.337 STEEM
powerup-pPowerup user@tippy powerup klye 0.690 STEEM
balance-bCheck Balance@tippy balance
stats-sView Statistics@tippy stats
info-iMore Info@tippy info
ping-oCheck Status@tippy ping
vote-vUpvote post@tippy vote
roll-dRoll dice@tippy roll 20
Admin Commands
Call
Use
Example
flagFlag post@tippy flag
feeSet Tipping Fee@tippy fee 1%
service stopShuts Down The Service@tippy service stop
uptimeDisplay Uptime Info in Console@tippy uptime on/off
debugTurns Debug Output On or Off@tippy debug on/off

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )
@klye's Account Balance:
1.800 STEEM
$0.999 SBD

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )

@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!)

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..

@tippy vote

tippy upvote @cryptoctopus/re-klye-want-votes-ask-tippy-2017090… (74.33%) 

Not a bad roll!

Random Roll:
@klye rolled

98


( roll was between 1 - 100 )

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( 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!

awesome

@tippy vote

good moves in the right direction

@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

@Tippy Help & Commands
CallUseExample
tip-tTip a user@tippy tip klye 1.337 STEEM
powerup-pPowerup user@tippy powerup klye 0.690 STEEM
balance-bCheck Balance@tippy balance
stats-sView Statistics@tippy stats
info-iMore Info@tippy info
ping-oCheck Status@tippy ping
vote-vUpvote post@tippy vote
roll-dRoll dice@tippy roll 20

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )

Screencapped for reference

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 60777.85
ETH 2609.63
USDT 1.00
SBD 2.65