Résolu Je cherche un code pour le bot pour bombparty

Inscription
22 Avril 2016
Messages
11
Réactions
0
Points
48
Bonjour,

Ca va faire une petit moment que je vois des bots sur bombparty qui écrivent un mot à la vitesse de la lumière car le dernier code que j'avais trouvé fesait faire des mots erroné, de plus j'ai vu un bot également sur bombparty qui donnait une aide en fesant /c <le mot>. Je voudrais donc savoir si quelqu'un aurait se code ?!


Merci de votre attention
 

Raptor Jesus

Modérateur
Ancien staff
Inscription
24 Mai 2014
Messages
6 570
Réactions
3 154
Points
16 873
Salut,

J'ai trouvé un code à entrer dans la console sur ton navigateur, il s'agit d'un script :
Code:
function writeChat(text){
    var line = document.createElement('li');
    line[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text;
    document.getElementById("ChatLog").appendChild(line);

}
function updateStatus(text){
    currentStatus[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text;
}
channel.socket.on("setActivePlayerIndex", function (a) {
    if(channel.data.actors[channel.data.activePlayerIndex].authId === app.user.authId && injector.autoInject){
        setTimeout(injector.inject,250);
    }
});
var injector = {
        lastWord: null,
        autoInject: false,
        toggleAutoInject: function(){
            if(injector.autoInject){
                injector.autoInject = false;
                autoInjectIndicator[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto Inject Off';
            }
            else
            {
                injector.autoInject = true;
                autoInjectIndicator[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto Inject On';
            }
        },
        inject: function() {
            injector.lastWord = null;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                updateStatus("Injecting normally");
                var q = channel.data.wordRoot;
                for(var i = 0;i<=injector.wordList.length; i++){
                    if(i==injector.wordList.length){
                        updateStatus("Normal Inject Failed");
                        setTimeout(injector.injectPanic());
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        for(var j = 0;j<channel.data.actorsByAuthId[window.app.user.authId].lockedLetters.length;j++){
                            if(injector.wordList[i].indexOf(channel.data.actorsByAuthId[window.app.user.authId].lockedLetters[j].toLowerCase())!=-1){
                                channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                                injector.lastWord = i;
                                setTimeout(injector.injectInternal,250);
                                return;
                            }
                        }
                    }
                }
            }
        },
        injectInternal: function() {
            var q = channel.data.wordRoot;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                for(var i = injector.lastWord+1;i<=injector.wordList.length;i++){
                    if(i==injector.wordList.length){
                        updateStatus("Normal Injection Failed");
                        setTimeout(injector.injectPanic(),250);
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        for(var j = 0;j<channel.data.actorsByAuthId[window.app.user.authId].lockedLetters.length;j++){
                            if(injector.wordList[i].indexOf(channel.data.actorsByAuthId[window.app.user.authId].lockedLetters[j].toLowerCase())!=-1){
                                channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                                injector.lastWord = i;
                                setTimeout(injector.injectInternal,250);
                                return;
                            }
                        }
                    }
                }
                setTimeout(injector.injectPanic,250);

            }
        },
        injectPanic: function() {
            injector.lastWord = null;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                updateStatus("Starting Panic Injection");
                var q = channel.data.wordRoot;
                for(var i = 0;i<=injector.wordList.length; i++){
                    if(i==injector.wordList.length){
                        updateStatus("No Words Work. GAME OVER");
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                        injector.lastWord = i;
                        setTimeout(injector.injectInternalPanic,250);
                        return;
                    }
                }
            }
        },
        injectInternalPanic: function() {
            var q = channel.data.wordRoot;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                for(var i = injector.lastWord+1;i<=injector.wordList.length;i++){
                    if(i==injector.wordList.length){
                        updateStatus("No Words Work. GAME OVER");
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                        injector.lastWord = i;
                        setTimeout(injector.injectInternalPanic,250);
                        return;
                    }
                }
            }
        }
};
function createInLine(parent,newThingType){
    var line = document.createElement('li');
    var thing = document.createElement(newThingType);
    parent.appendChild(line);
    line.appendChild(thing);
    return thing;
}
parentThing = document.getElementById("SettingsTab");
injectButton = createInLine(parentThing,'button');
injectButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Inject';
parentThing.align = "left";
injectButton.addEventListener('click',injector.inject);
panicButton = createInLine(parentThing,'button');
panicButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Panic ';
panicButton.addEventListener('click',injector.injectPanic);
autoButton = createInLine(parentThing,'button');
autoButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto  ';
autoButton.addEventListener('click',injector.toggleAutoInject);
var autoInjectIndicator = document.createElement('li');
parentThing.appendChild(autoInjectIndicator);
var currentStatus = document.createElement('li');
parentThing.appendChild(currentStatus);

var wordScript = document.createElement("script");
wordScript.src = "https://dl.dropboxusercontent.com/u/9328924/wordf.js";
document.head.appendChild(wordScript);
 

Naikko

Premium
Inscription
9 Février 2015
Messages
1 348
Réactions
216
Points
4 671
Salut,

J'ai trouvé un code à entrer dans la console sur ton navigateur, il s'agit d'un script :
Code:
function writeChat(text){
    var line = document.createElement('li');
    line[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text;
    document.getElementById("ChatLog").appendChild(line);

}
function updateStatus(text){
    currentStatus[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text;
}
channel.socket.on("setActivePlayerIndex", function (a) {
    if(channel.data.actors[channel.data.activePlayerIndex].authId === app.user.authId && injector.autoInject){
        setTimeout(injector.inject,250);
    }
});
var injector = {
        lastWord: null,
        autoInject: false,
        toggleAutoInject: function(){
            if(injector.autoInject){
                injector.autoInject = false;
                autoInjectIndicator[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto Inject Off';
            }
            else
            {
                injector.autoInject = true;
                autoInjectIndicator[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto Inject On';
            }
        },
        inject: function() {
            injector.lastWord = null;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                updateStatus("Injecting normally");
                var q = channel.data.wordRoot;
                for(var i = 0;i<=injector.wordList.length; i++){
                    if(i==injector.wordList.length){
                        updateStatus("Normal Inject Failed");
                        setTimeout(injector.injectPanic());
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        for(var j = 0;j<channel.data.actorsByAuthId[window.app.user.authId].lockedLetters.length;j++){
                            if(injector.wordList[i].indexOf(channel.data.actorsByAuthId[window.app.user.authId].lockedLetters[j].toLowerCase())!=-1){
                                channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                                injector.lastWord = i;
                                setTimeout(injector.injectInternal,250);
                                return;
                            }
                        }
                    }
                }
            }
        },
        injectInternal: function() {
            var q = channel.data.wordRoot;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                for(var i = injector.lastWord+1;i<=injector.wordList.length;i++){
                    if(i==injector.wordList.length){
                        updateStatus("Normal Injection Failed");
                        setTimeout(injector.injectPanic(),250);
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        for(var j = 0;j<channel.data.actorsByAuthId[window.app.user.authId].lockedLetters.length;j++){
                            if(injector.wordList[i].indexOf(channel.data.actorsByAuthId[window.app.user.authId].lockedLetters[j].toLowerCase())!=-1){
                                channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                                injector.lastWord = i;
                                setTimeout(injector.injectInternal,250);
                                return;
                            }
                        }
                    }
                }
                setTimeout(injector.injectPanic,250);

            }
        },
        injectPanic: function() {
            injector.lastWord = null;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                updateStatus("Starting Panic Injection");
                var q = channel.data.wordRoot;
                for(var i = 0;i<=injector.wordList.length; i++){
                    if(i==injector.wordList.length){
                        updateStatus("No Words Work. GAME OVER");
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                        injector.lastWord = i;
                        setTimeout(injector.injectInternalPanic,250);
                        return;
                    }
                }
            }
        },
        injectInternalPanic: function() {
            var q = channel.data.wordRoot;
            if(window.app.user.authId == channel.data.actors[channel.data.activePlayerIndex].authId){
                for(var i = injector.lastWord+1;i<=injector.wordList.length;i++){
                    if(i==injector.wordList.length){
                        updateStatus("No Words Work. GAME OVER");
                        return;
                    }
                    if(injector.wordList[i].indexOf(q.toLowerCase())!=-1){
                        channel.socket.emit("setWord", {word: injector.wordList[i],validate: true});
                        injector.lastWord = i;
                        setTimeout(injector.injectInternalPanic,250);
                        return;
                    }
                }
            }
        }
};
function createInLine(parent,newThingType){
    var line = document.createElement('li');
    var thing = document.createElement(newThingType);
    parent.appendChild(line);
    line.appendChild(thing);
    return thing;
}
parentThing = document.getElementById("SettingsTab");
injectButton = createInLine(parentThing,'button');
injectButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Inject';
parentThing.align = "left";
injectButton.addEventListener('click',injector.inject);
panicButton = createInLine(parentThing,'button');
panicButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Panic ';
panicButton.addEventListener('click',injector.injectPanic);
autoButton = createInLine(parentThing,'button');
autoButton[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = 'Auto  ';
autoButton.addEventListener('click',injector.toggleAutoInject);
var autoInjectIndicator = document.createElement('li');
parentThing.appendChild(autoInjectIndicator);
var currentStatus = document.createElement('li');
parentThing.appendChild(currentStatus);

var wordScript = document.createElement("script");
wordScript.src = "https://dl.dropboxusercontent.com/u/9328924/wordf.js";
document.head.appendChild(wordScript);
Salut,
Tu devrais éviter de lui donner ce script a cause de sa beaucoup de personnnes font des recherches et tombent sur ton script .
J'en avait déjà un a qui j'ai demandé la suppression du topic a Lyrix car y'avait pleins de bots et du coup le jeu était gachée :/
 

Raptor Jesus

Modérateur
Ancien staff
Inscription
24 Mai 2014
Messages
6 570
Réactions
3 154
Points
16 873
Salut,
Tu devrais éviter de lui donner ce script a cause de sa beaucoup de personnnes font des recherches et tombent sur ton script .
J'en avait déjà un a qui j'ai demandé la suppression du topic a Lyrix car y'avait pleins de bots et du coup le jeu était gachée :/
Les bots ne viennent pas tous d'ici, ils sont partagés partout donc un de plus ou de moins tu sais..
Tant que les devs n'ont pas compris qu'il faudrait faire un patch pour éviter que ça continue, ça continuera
 

Naikko

Premium
Inscription
9 Février 2015
Messages
1 348
Réactions
216
Points
4 671
Les bots ne viennent pas tous d'ici, ils sont partagés partout donc un de plus ou de moins tu sais..
Tant que les devs n'ont pas compris qu'il faudrait faire un patch pour éviter que ça continue, ça continuera
Ouais ta bien raison , mais la plupart des personnes qui ont des bots , reviennent a ce site car ils trouvent pas ailleurs :)
J'ai bien demandé plusieurs fois où ta pris ton BOT et il ma envoyé l'ancien topic dont j'ai fais la demande de suppression ;)
Mais après il cherche un bot juste pour s'entrainer seul donc c'est pas grave ;)
 

Naikko

Premium
Inscription
9 Février 2015
Messages
1 348
Réactions
216
Points
4 671
Moi je cherchai juste un bot pour m'entrainer seul mais .... apparemment personne à de code qui répond à mes quelques critères ?! :/
Salut,
J'ai trouvé une astuce pour pouvoir t’entraîner tout seul :
- Crée ton propre salon , et ouvre 2 pages , une page avec un compte Guest ou autres .. Un autre avec ton compte officiel ;)
Dans le compte invité tu mettra le script pour le BOT , une fois mis tu ne quitte pas la page mais tu lance la partie et tu joue contre le BOT que tu viendra d'injecter
Dis moi si ta bien compris ;)
 
Inscription
22 Avril 2016
Messages
11
Réactions
0
Points
48
Salut,
J'ai trouvé une astuce pour pouvoir t’entraîner tout seul :
- Crée ton propre salon , et ouvre 2 pages , une page avec un compte Guest ou autres .. Un autre avec ton compte officiel ;)
Dans le compte invité tu mettra le script pour le BOT , une fois mis tu ne quitte pas la page mais tu lance la partie et tu joue contre le BOT que tu viendra d'injecter
Dis moi si ta bien compris ;)
Oui c'est ce que je compte faire mais moi il me faudrai un bot avec un dico propre pas un dico avec des mots erroné du style "parapharma~'cie" car le script qu'il y a au dessus et que j'ai également testé à un mauvais dico et du coup prend du temps à repondre :/
 

Naikko

Premium
Inscription
9 Février 2015
Messages
1 348
Réactions
216
Points
4 671
Oui c'est ce que je compte faire mais moi il me faudrai un bot avec un dico propre pas un dico avec des mots erroné du style "parapharma~'cie" car le script qu'il y a au dessus et que j'ai également testé à un mauvais dico et du coup prend du temps à repondre :/
Ben , sinon demande directement au mec de BombParty et tu verra bien ;)
 
Haut