Share your repls and programming experiences

← Back to all posts
Vote
Vandesm14 (2431)

It's like upvotes, except they don't count for anything.

Here's the idea...

I send this app out to the community. The users will click the button. They will get hooked. They will continue to hit the button. We all work together to reach the goal of 1M (1,000,000) votes!

But I'm bored of clicker games!

Well, this isn't your basic clicker game. Instead of clicking a button and increasing points by yourself, this allows you to collaborate with the entire community to get to the goal of 1M votes.

No, the votes aren't for me. I just called them "votes" because why not!

Commentshotnewtop
[deleted]

no, why is it privated?

Vandesm14 (2431)

@TaylorLiang In order to prevent people from checking and bypassing the security code (which happened yesterday)

[deleted]

@Vandesm14 oh. You could try and add localstorage to help the bypass thing

Vandesm14 (2431)

@TaylorLiang I tried to use cookies, but socketio was not reading them correctly. It's fine now tho, botting has stopped. Now it's just the user's job to click.

[deleted]

@Vandesm14 :/ its still down though

Vandesm14 (2431)

@TaylorLiang It is? It's working for me...

[deleted]

@Vandesm14 i think you still have it on private...

Vandesm14 (2431)

@TaylorLiang Yeah. Just to hide some of the captcha and other security stuff so it doesn't get botted so easily anymore.

[deleted]

@Vandesm14 oh. Whats the link to it again?

[deleted]

@Vandesm14 it says it cant be reached

Vandesm14 (2431)

@TaylorLiang I'm gonna contact support because it keeps doing that

SilentShadowBla (544)

is it just me or is not working?

Vandesm14 (2431)

@SilentShadowBla It should be working now. I have no idea why it crashed.

SilentShadowBla (544)

unfortunately, it's not working still :( @Vandesm14

Invizibo (1)

You didn't said we can't do this, so I'm simply not breaking the rules :)
I plit windows, the big one on the right I can put there anything, another tab to watch videos or something with the simple script I wrote automatically Puts the mouse on the the vote button on the screen on the left and clicks every 5 and a half on the screen on the left and after clicking It returns the cursor where it was before, very fast you don't even notice that It moved, You just see a red cool down.
Python Script:

from pynput.mouse import Controller, Button as btn

cur = Controller()
pos=(309, 611)
while True:
    pos2=cur.position
    cur.position=pos
    cur.click(btn.left, 1)
    cur.position=pos2
    __import__('time').sleep(5.5)

Must have pynput module. And position the windows as I did or change the variable "pos" to match yours.


The only problem would be when you have to type 😔

MrEconomical (2232)

@Invizibo ive been botting vote on my own for 2 hours thats how there are 66k
with a simple console script:

const num_clients = 275
const clients = []

const init_interval = setInterval(() => {
    clients.push(io())
    if (clients.length >= num_clients) {
        clearInterval(init_interval)
    }
}, 20)

setTimeout(() => {
    let c = 0
    setInterval(() => {
        clients[c].emit("vote")
        c ++
        if (c >= clients.length) {
            c = 0
        }
    }, 20)
}, 1000)

this script also works with multiple vote windows and a customizable amount of clients (I found over 1000 craps the server out)

Coder100 (10774)

Come on....

data.toLocaleString()

much more yummy :)
also:

while(true){
  cycles ++;
  ++ votes;
}

nice work!
I see you have used my suggestion of url shortening/taking advantage :)

Vandesm14 (2431)

@Coder100 What would I use .toLocalestring() for?
(And also: Where do you see url shortening? Do you mean the domain?)

Coder100 (10774)

no the /socket.io/socket.io.js
.toLocaleString() is so useful!

1000 -> "1,000"

@Vandesm14

AtticusKuhn (233)

Also it seems to be going up once per second, idk why.

Vandesm14 (2431)

@AtticusKuhn It's botted, but that doesn't matter.

Vandesm14 (2431)

@PDanielY Please don't. Even if the server is rate limited, just don't make it public. You do you.

PDanielY (1125)

@Vandesm14 I'm guessing you private it for this reason