Mid0aria / owofarmbot

Discord OwO farm bot with CAPTCHA(BAN) protection😲 (OPENSOURCE) (EOL)
MIT License
147 stars 110 forks source link

Write the features you want to be added under this heading. #24

Closed Mid0aria closed 10 months ago

Mid0aria commented 1 year ago

.

VihaanReddyM commented 1 year ago

I was working on special gems, here is the code

The code `````` function getinv(token, channelid, tokentype, gemc, collectc) { request.post( { headers: { authorization: token, }, url: "https://discord.com/api/v9/channels/" + channelid + "/messages", json: { content: "owo inv", nonce: nonce(), tts: false, flags: 0, }, }, function (error, response, body) {} ); //coded by @mid0aria on github setTimeout(() => { request.get( { headers: { authorization: token, }, url: "https://discord.com/api/v9/channels/" + channelid + "/messages?limit=1", }, function (error, response, body) { var bod = JSON.parse(body); var cont = bod[0].content; console.log(cont); if (gemc == "gemvar") { var empgem = ""; var luckgem = ""; var huntgem = ""; var specialgem = ""; if (collectc.contains("huntgem")) { switch (true) { case cont.includes("`057`"): huntgem = "57"; break; case cont.includes("`056`"): huntgem = "56"; break; case cont.includes("`055`"): huntgem = "55"; break; case cont.includes("`054`"): huntgem = "54"; break; case cont.includes("`053`"): huntgem = "53"; break; case cont.includes("`052`"): huntgem = "52"; break; case cont.includes("`051`"): huntgem = "51"; break; default: break; } } if (collectc.contains("empgem")) { switch (true) { case cont.includes("`071`"): empgem = "71"; break; case cont.includes("`070`"): empgem = "70"; break; case cont.includes("`069`"): empgem = "69"; break; case cont.includes("`068`"): empgem = "68"; break; case cont.includes("`067`"): empgem = "67"; break; case cont.includes("`066`"): empgem = "66"; break; case cont.includes("`065`"): empgem = "65"; break; default: break; } } if (collectc.contains("luckgem")) { switch (true) { case cont.includes("`078`"): luckgem = "78"; break; case cont.includes("`077`"): luckgem = "77"; break; case cont.includes("`076`"): luckgem = "76"; break; case cont.includes("`075`"): luckgem = "75"; break; case cont.includes("`074`"): luckgem = "74"; break; case cont.includes("`073`"): luckgem = "73"; break; case cont.includes("`072`"): luckgem = "72"; break; default: break; } } if (collectc.contains("specialgem")) { switch (true) { case cont.include("`085`"): specialgem = "85"; break; case cont.include("`084`"): specialgem = "84"; break; case cont.include("`083`"): specialgem = "83"; break; case cont.include("`082`"): specialgem = "82"; break; case cont.include("`081`"): specialgem = "81"; break; case cont.include("`080`"): specialgem = "80"; break; case cont.include("``079"): specialgem = "79"; break; default: break; } } if (huntgem == "" && empgem == "" && luckgem == "") { return 0; } else { if ( collectc.contains("huntgem") && collectc.contains("empgem") && collectc.contains("luckgem") ) { var gem = huntgem + " " + empgem + " " + luckgem; } else if ( collectc.contains("huntgem") == false && collectc.contains("empgem") == true && collectc.contains("luckgem") == true ) { var gem = empgem + " " + luckgem ; } else if ( collectc.contains("huntgem") == true && collectc.contains("empgem") == false && collectc.contains("luckgem") == true ) { var gem = huntgem + " " + luckgem; } else if ( collectc.contains("huntgem") == true && collectc.contains("empgem") == true && collectc.contains("luckgem") == false ) { var gem = huntgem + " " + empgem; } else if ( collectc.contains("huntgem") == true && collectc.contains("empgem") == false && collectc.contains("luckgem") == false ) { var gem = huntgem; } else if ( collectc.contains("huntgem") == false && collectc.contains("empgem") == true && collectc.contains("luckgem") == false ) { var gem = empgem; } else if ( collectc.contains("huntgem") == false && collectc.contains("empgem") == false && collectc.contains("luckgem") == true ) { var gem = luckgem; } gemuse(token, gem, channelid, tokentype); } } if (settings.inventory.lootboxcheck == "true") { if (cont.includes("`050`")) { setTimeout(() => { boxuse(token, "lootbox all", channelid, tokentype); }, 2000); } } if (settings.inventory.fabledlootboxcheck == "true") { if (cont.includes("`049`")) { setTimeout(() => { boxuse( token, "lootbox fabled all", channelid, tokentype ); }, 2000); } } if (settings.inventory.cratecheck == "true") { if (cont.includes("`100`")) { setTimeout(() => { boxuse(token, "crate all", channelid, tokentype); }, 2000); } } if (settings.inventory.eventcheck == "true") { if (cont.includes("`018`")) { // valentines day setTimeout(() => { eventuse(token, "18", channelid, tokentype); }, 2000); //E <3 } if (cont.includes("`019`")) { // anniversary day setTimeout(() => { eventuse(token, "19", channelid, tokentype); }, 2000); } if (cont.includes("`020`")) { // fakelootbox setTimeout(() => { eventuse(token, "20", channelid, tokentype); }, 2000); } } } ); }, 3000); } ``````

i dont know the logic you did not make the changes

VihaanReddyM commented 1 year ago
Mid0aria commented 1 year ago

I was working on special gems, here is the code

function getinv(token, channelid, tokentype, gemc, collectc) {
    request.post(
        {
            headers: {
                authorization: token,
            },
            url:
                "https://discord.com/api/v9/channels/" +
                channelid +
                "/messages",
            json: {
                content: "owo inv",
                nonce: nonce(),
                tts: false,
                flags: 0,
            },
        },
        function (error, response, body) {}
    ); //coded by @mid0aria on github
    setTimeout(() => {
        request.get(
            {
                headers: {
                    authorization: token,
                },
                url:
                    "https://discord.com/api/v9/channels/" +
                    channelid +
                    "/messages?limit=1",
            },
            function (error, response, body) {
                var bod = JSON.parse(body);
                var cont = bod[0].content;
                console.log(cont);
                if (gemc == "gemvar") {
                    var empgem = "";
                    var luckgem = "";
                    var huntgem = "";
                    var specialgem = "";
                    if (collectc.contains("huntgem")) {
                        switch (true) {
                            case cont.includes("`057`"):
                                huntgem = "57";
                                break;
                            case cont.includes("`056`"):
                                huntgem = "56";
                                break;
                            case cont.includes("`055`"):
                                huntgem = "55";
                                break;
                            case cont.includes("`054`"):
                                huntgem = "54";
                                break;
                            case cont.includes("`053`"):
                                huntgem = "53";
                                break;
                            case cont.includes("`052`"):
                                huntgem = "52";
                                break;
                            case cont.includes("`051`"):
                                huntgem = "51";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("empgem")) {
                        switch (true) {
                            case cont.includes("`071`"):
                                empgem = "71";
                                break;
                            case cont.includes("`070`"):
                                empgem = "70";
                                break;
                            case cont.includes("`069`"):
                                empgem = "69";
                                break;
                            case cont.includes("`068`"):
                                empgem = "68";
                                break;
                            case cont.includes("`067`"):
                                empgem = "67";
                                break;
                            case cont.includes("`066`"):
                                empgem = "66";
                                break;
                            case cont.includes("`065`"):
                                empgem = "65";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("luckgem")) {
                        switch (true) {
                            case cont.includes("`078`"):
                                luckgem = "78";
                                break;
                            case cont.includes("`077`"):
                                luckgem = "77";
                                break;
                            case cont.includes("`076`"):
                                luckgem = "76";
                                break;
                            case cont.includes("`075`"):
                                luckgem = "75";
                                break;
                            case cont.includes("`074`"):
                                luckgem = "74";
                                break;
                            case cont.includes("`073`"):
                                luckgem = "73";
                                break;
                            case cont.includes("`072`"):
                                luckgem = "72";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("specialgem")) {
                        switch (true) {
                            case cont.include("`085`"):
                                specialgem = "85";
                                break;
                            case cont.include("`084`"):
                                specialgem = "84";
                                break;
                            case cont.include("`083`"):
                                specialgem = "83";
                                break;
                            case cont.include("`082`"):
                                specialgem = "82";
                                break;
                            case cont.include("`081`"):
                                specialgem = "81";
                                break;
                            case cont.include("`080`"):
                                specialgem = "80";
                                break;
                            case cont.include("``079"):
                                specialgem = "79";
                                break;
                            default:
                                break;                    
                        }
                    }

                    if (huntgem == "" && empgem == "" && luckgem == "") {
                        return 0;
                    } else {
                        if (
                            collectc.contains("huntgem") &&
                            collectc.contains("empgem") &&
                            collectc.contains("luckgem")
                        ) {
                            var gem = huntgem + " " + empgem + " " + luckgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = empgem + " " + luckgem ;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == false && 
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = huntgem + " " + luckgem;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = huntgem + " " + empgem;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == false &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = huntgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = empgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == false &&
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = luckgem;
                        }
                        gemuse(token, gem, channelid, tokentype);
                    }
                }

                if (settings.inventory.lootboxcheck == "true") {
                    if (cont.includes("`050`")) {
                        setTimeout(() => {
                            boxuse(token, "lootbox all", channelid, tokentype);
                        }, 2000);
                    }
                }

                if (settings.inventory.fabledlootboxcheck == "true") {
                    if (cont.includes("`049`")) {
                        setTimeout(() => {
                            boxuse(
                                token,
                                "lootbox fabled all",
                                channelid,
                                tokentype
                            );
                        }, 2000);
                    }
                }

                if (settings.inventory.cratecheck == "true") {
                    if (cont.includes("`100`")) {
                        setTimeout(() => {
                            boxuse(token, "crate all", channelid, tokentype);
                        }, 2000);
                    }
                }
                if (settings.inventory.eventcheck == "true") {
                    if (cont.includes("`018`")) {
                        // valentines day
                        setTimeout(() => {
                            eventuse(token, "18", channelid, tokentype);
                        }, 2000); //E <3
                    }
                    if (cont.includes("`019`")) {
                        // anniversary day
                        setTimeout(() => {
                            eventuse(token, "19", channelid, tokentype);
                        }, 2000);
                    }
                    if (cont.includes("`020`")) {
                        // fakelootbox
                        setTimeout(() => {
                            eventuse(token, "20", channelid, tokentype);
                        }, 2000);
                    }
                }
            }
        );
    }, 3000);
}

i dont know the logic you did not make the changes

I added

VihaanReddyM commented 1 year ago

ok

VihaanReddyM commented 1 year ago
VihaanReddyM commented 1 year ago

you there

VihaanReddyM commented 1 year ago

I made this pls see

The code ``` function animals(token, tokentype, channelid, type) { switch (true) { case type == "sacrifice": var animalcheck = true; break; case type == "sell": var animalcheck = true; break; default: var animalcheck = false; break; } if (type == "sacrifice") { var sac = " common uncommon rare epic" } if (animalcheck) { request.post( { headers: { authorization: token, }, url: "https://discord.com/api/v9/channels/" + channelid + "/messages", json: { content: "owo " + type + sac, nonce: nonce(), tts: false, flags: 0, }, }, function (error, response, body) { console.log( chalk.red( `${new Date().getHours()}:${new Date().getMinutes()}:${new Date().getSeconds()}` ) + chalk.magenta(" [" + tokentype + "]") + chalk.yellow(" Animals βœ… / Type: " + type) ); } ); } else { console.log( chalk.red( `${new Date().getHours()}:${new Date().getMinutes()}:${new Date().getSeconds()}` ) + chalk.magenta(" [" + tokentype + "]") + chalk.yellow(" Animals ❌ / Error: Incorrect Type") ); } } ``` it will only sac a few ranks, it enables to get more money :)
Mid0aria commented 1 year ago

I made this pls see

added

VihaanReddyM commented 1 year ago

Thanks

VihaanReddyM commented 1 year ago

Hey i have new feature, whenever we update the config.json the credentials gets reset so we can make it so that they won't

VihaanReddyM commented 1 year ago

i had given a few ideas can you look in to it pls

VihaanReddyM commented 1 year ago

@Mid0aria add checklist plsss

Mid0aria commented 1 year ago

@Mid0aria add checklist plsss

show example

Kayows12 commented 1 year ago

support for replit? then it can run on other devices like android or ios too

VihaanReddyM commented 1 year ago

like our bot will send "owo cl", then it will collect and see what is done, we can see the list is completed or not in the list we need to get 3 lb and wc. we need to complete our vote, and send a cookie. it is like quest only and gives a lb and wc and 1000 in cash

lb = lootbpx wc= weapon create

Mid0aria commented 1 year ago

like our bot will send "owo cl",...

added

Mid0aria commented 1 year ago

i got banned from owo because the captcha i didnt get any notification from my computer. idk its sometimes comes. how i can fix?

image πŸ‘

VihaanReddyM commented 1 year ago
VihaanReddyM commented 1 year ago

I was working on special gems, here is the code

function getinv(token, channelid, tokentype, gemc, collectc) {
    request.post(
        {
            headers: {
                authorization: token,
            },
            url:
                "https://discord.com/api/v9/channels/" +
                channelid +
                "/messages",
            json: {
                content: "owo inv",
                nonce: nonce(),
                tts: false,
                flags: 0,
            },
        },
        function (error, response, body) {}
    ); //coded by @mid0aria on github
    setTimeout(() => {
        request.get(
            {
                headers: {
                    authorization: token,
                },
                url:
                    "https://discord.com/api/v9/channels/" +
                    channelid +
                    "/messages?limit=1",
            },
            function (error, response, body) {
                var bod = JSON.parse(body);
                var cont = bod[0].content;
                console.log(cont);
                if (gemc == "gemvar") {
                    var empgem = "";
                    var luckgem = "";
                    var huntgem = "";
                    var specialgem = "";
                    if (collectc.contains("huntgem")) {
                        switch (true) {
                            case cont.includes("`057`"):
                                huntgem = "57";
                                break;
                            case cont.includes("`056`"):
                                huntgem = "56";
                                break;
                            case cont.includes("`055`"):
                                huntgem = "55";
                                break;
                            case cont.includes("`054`"):
                                huntgem = "54";
                                break;
                            case cont.includes("`053`"):
                                huntgem = "53";
                                break;
                            case cont.includes("`052`"):
                                huntgem = "52";
                                break;
                            case cont.includes("`051`"):
                                huntgem = "51";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("empgem")) {
                        switch (true) {
                            case cont.includes("`071`"):
                                empgem = "71";
                                break;
                            case cont.includes("`070`"):
                                empgem = "70";
                                break;
                            case cont.includes("`069`"):
                                empgem = "69";
                                break;
                            case cont.includes("`068`"):
                                empgem = "68";
                                break;
                            case cont.includes("`067`"):
                                empgem = "67";
                                break;
                            case cont.includes("`066`"):
                                empgem = "66";
                                break;
                            case cont.includes("`065`"):
                                empgem = "65";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("luckgem")) {
                        switch (true) {
                            case cont.includes("`078`"):
                                luckgem = "78";
                                break;
                            case cont.includes("`077`"):
                                luckgem = "77";
                                break;
                            case cont.includes("`076`"):
                                luckgem = "76";
                                break;
                            case cont.includes("`075`"):
                                luckgem = "75";
                                break;
                            case cont.includes("`074`"):
                                luckgem = "74";
                                break;
                            case cont.includes("`073`"):
                                luckgem = "73";
                                break;
                            case cont.includes("`072`"):
                                luckgem = "72";
                                break;
                            default:
                                break;
                        }
                    }
                    if (collectc.contains("specialgem")) {
                        switch (true) {
                            case cont.include("`085`"):
                                specialgem = "85";
                                break;
                            case cont.include("`084`"):
                                specialgem = "84";
                                break;
                            case cont.include("`083`"):
                                specialgem = "83";
                                break;
                            case cont.include("`082`"):
                                specialgem = "82";
                                break;
                            case cont.include("`081`"):
                                specialgem = "81";
                                break;
                            case cont.include("`080`"):
                                specialgem = "80";
                                break;
                            case cont.include("``079"):
                                specialgem = "79";
                                break;
                            default:
                                break;                    
                        }
                    }

                    if (huntgem == "" && empgem == "" && luckgem == "") {
                        return 0;
                    } else {
                        if (
                            collectc.contains("huntgem") &&
                            collectc.contains("empgem") &&
                            collectc.contains("luckgem")
                        ) {
                            var gem = huntgem + " " + empgem + " " + luckgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = empgem + " " + luckgem ;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == false && 
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = huntgem + " " + luckgem;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = huntgem + " " + empgem;
                        } else if (
                            collectc.contains("huntgem") == true &&
                            collectc.contains("empgem") == false &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = huntgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == true &&
                            collectc.contains("luckgem") == false
                        ) {
                            var gem = empgem;
                        } else if (
                            collectc.contains("huntgem") == false &&
                            collectc.contains("empgem") == false &&
                            collectc.contains("luckgem") == true
                        ) {
                            var gem = luckgem;
                        }
                        gemuse(token, gem, channelid, tokentype);
                    }
                }

                if (settings.inventory.lootboxcheck == "true") {
                    if (cont.includes("`050`")) {
                        setTimeout(() => {
                            boxuse(token, "lootbox all", channelid, tokentype);
                        }, 2000);
                    }
                }

                if (settings.inventory.fabledlootboxcheck == "true") {
                    if (cont.includes("`049`")) {
                        setTimeout(() => {
                            boxuse(
                                token,
                                "lootbox fabled all",
                                channelid,
                                tokentype
                            );
                        }, 2000);
                    }
                }

                if (settings.inventory.cratecheck == "true") {
                    if (cont.includes("`100`")) {
                        setTimeout(() => {
                            boxuse(token, "crate all", channelid, tokentype);
                        }, 2000);
                    }
                }
                if (settings.inventory.eventcheck == "true") {
                    if (cont.includes("`018`")) {
                        // valentines day
                        setTimeout(() => {
                            eventuse(token, "18", channelid, tokentype);
                        }, 2000); //E <3
                    }
                    if (cont.includes("`019`")) {
                        // anniversary day
                        setTimeout(() => {
                            eventuse(token, "19", channelid, tokentype);
                        }, 2000);
                    }
                    if (cont.includes("`020`")) {
                        // fakelootbox
                        setTimeout(() => {
                            eventuse(token, "20", channelid, tokentype);
                        }, 2000);
                    }
                }
            }
        );
    }, 3000);
}

i dont know the logic you did not make the changes

I added

Also pls delete this missive message

Kayows12 commented 1 year ago

auto captcha solver, auto huntbot?

Q21042007 commented 1 year ago

how can i use the gem i wanted

thevzz commented 1 year ago

@Mid0aria @VihaanReddyM can you add a feature which would multiply ( * 2) startbet value if bet is lost? example; owo coinflip 2 lost bet owo coinflip 4 lost bet owo coinflip 8 won bet

and then it returns to the startbet

peng1285 commented 1 year ago

@Mid0aria @VihaanReddyM can you add a feature which would multiply ( * 2) startbet value if bet is lost? example; owo coinflip 2 lost bet owo coinflip 4 lost bet owo coinflip 8 won bet

and then it returns to the startbet

like this and we can change amount -,-

VihaanReddyM commented 1 year ago

it is done i opened a PR also pls check

yvreK commented 1 year ago

Please make it so that it just pauses the bot for a second and after it detects the "I have verified that you are a human" message from owo bot it continues.. That way we don't have to restart the bot again and again.. Thankyou πŸ˜…

DatdatItSn02 commented 1 year ago

buy ring

if (settings.buyring == "true") { var rpcbuyring = "βœ…"; } else { var rpcbuyring = "❌"; }

setTimeout(() => { socketio.emit("bot", { info: Hunt and Battle: ${rpchab} BanBypass: ${rpcbanb} Inventory Check: ${rpcinventory} Animals: ${rpcanimals} Buy Ring: ${rpcbuyring}, }); }, 2500);

rpc.on("ready", () => { console.log(chalk.blue("Discord RPC Started!"));

rpc.setActivity({
    details: rpcdetails,
    state: `Hunt and Battle: ${rpchab} BanBypass: ${rpcbanb} Inventory: ${rpcinventory} Animals: ${rpcanimals} Buy Ring: ${rpcbuyring}`,
    startTimestamp: new Date(),
    largeImageKey: "owo",
    largeImageText: "v" + version,
    smallImageKey: "ban",
    smallImageText: rpcbant,
    instance: false,
    buttons: [
        {
            label: "Farm Bot",
            url: "https://github.com/Mid0aria/owofarmbot",
        },
        {
            label: "Github",
            url: "https://github.com/Mid0aria/",
        },
    ],
});

});

//--------------------------------BUY RING-------------------------------------------------// if (settings.buyring == "true") { setInterval(() => { buyring(maintoken, "Main Token", mainchannelid); if (global.etoken) { buyring(extratoken, "Extra Token", extrachannelid); } }, 15000); }

/**

ixmxk commented 11 months ago

/ > Captcha Bypass (node:27584) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created, how to fix this-

VihaanReddyM commented 11 months ago

pls make a issue and then send a screenshot and then maybe we can solve it

whxyu0001 commented 11 months ago

slowing down the bot for like 1-2 sec

Kayows12 commented 10 months ago

β€’ Option to set intervals between messages β€’ Pause for X time, if there's an captcha in dms or chat β€’ Customisable RPC

CelliniaYuu commented 10 months ago

is this a bug? (bot.js file line 1585 vs code) function extrabancheck(token, channelid) { request.get( { headers: { authorization: token, }, url: "https://discord.com/api/v9/channels/" + channelid + "/messages?limit=1", }, here, bancheck for etoken, but in bot.js file i checked was use authorization: token, p/s: i got banned 12h in etoken, cause ban check not work on etoken :')))

yvreK commented 10 months ago

Please make it so that it just pauses the bot for a second and after it detects the "I have verified that you are a human" message from owo bot it continues.. That way we don't have to restart the bot again and again.. Thankyou πŸ˜…

Just gonna up my recom:3

Kayows12 commented 6 months ago
Mid0aria commented 6 months ago
  • Option to pause bot if a captcha message comes up.
  • Option to run the bot for only a selected amount of time. (I noticed that the owo captcha was recieved after 40min of continuous running in first try) So, maybe also custom running times like running for x times then stop for x, and loop.

I will consider adding it to v2

Kayows12 commented 5 months ago

Can you use some code from https://github.com/LongAKolangle/discord-owo-selfbot/ ? It has some great features and timings on it are perfect along with alternative captcha solving methods. Paired with this selfbot, It would be crazy good.