Bot Manager Config Gen
A config generator for http://www.ownedcore.com/forums/pokemon-go/pokemon-go-hacks-cheats/568064-bot-manager-necro-pokemob-spegeli-haxton-all-one-multi-account-1000-a.html
by LiMiTx
HTML
<h3>
Catchem Bulk Config Generator
</h3>
<div>
<select id="authtype">
<option value="Ptc">PTC</option>
<option value="Google">Google</option>
</select>
<label for="authtype">Authentication Method</label>
</div>
<div class="somepeoplearestupid">
<input type="text" id="listdelimiter" value="newline" />
<label for="listdelimiter">Accounts list delimiter (newline for newline, for other enter the character)</label>
</div>
<div class="somepeoplearestupid">
<input type="text" id="accsdelimiter" value=":" />
<label for="accsdelimiter">User pass delimiter</label>
</div>
<div>
<select id="bot" hidden>
<option value='n'>NecroBot</option>
<option value='s'>Spegeli</option>
<option value='h'>Haxton</option>
<option value='p'>PokeMobBot</option>
</select>
</div>
<div class="proxies2">
<hr />
<input type="checkbox" id="useProxies" />
<label for="useProxies">Use Proxies</label>
<br />
<textarea id="proxies2" rows="10" cols="40" placeholder="ip:port proxies"></textarea>
<div class="authGroup">
<input id="useAuth" type="checkbox">
<label for="useAuth">Use Auth</label>
<input id="authUser" type="text">
<input id="authPass" type="text">
</div>
<hr />
</div>
<div>
<textarea id="accs" rows="10" cols="40" placeholder="user:pass"></textarea>
<textarea id="output" rows="10" cols="40" placeholder="output (dont put anything here)"></textarea>
</div>
<input type="submit" id="magic" value="Create Batch Config" />
<br />
<br />
Proxies with authentication currently not supported because im lazy af
CSS
@import 'https://fonts.googleapis.com/css?family=Reem+Kufi';
body {
width: 90%;
font-family: 'Reem Kufi', sans-serif;
}
textarea,
input,
select {
margin: 0.4em;
}
input,
label {
display: inline;
}
div {
width: 100%;
}
textarea {
width: 30%;
display: inline;
}
#proxies {
width: 58%%;
}
.proxies {
display: none;
}
.somepeoplearestupid {
display: none;
}
JavaScript
$('#magic').click(function() {
if ($('#input').val() == "") {
alert("What are you trying to generate batch for ? Empty textbox ?? That doesn't work here..\nFeed me some accounts")
} else {
var i = 0;
var splitChar = $('#listdelimiter').val() == 'newline' ? /\n/ : $('#listdelimiter').val();
var accounts = $('#accs').val().split(splitChar);
var final = [];
$.each(accounts, function(index, account) {
var accountType = $('#authtype').val();
var userpass = account.split($('#accsdelimiter').val());
var user = userpass['0'];
var pass = userpass['1'];
if (user && pass) {
final.push(generate(index, user, pass, accountType, i));
} else {
alert(`Bad User Pass Combo at line no: ${index + 1}`);
}
});
if (final.length > 0) {
exportAccs();
$('#output').val(final.join('\n'));
}
}
});
function generate(index, user, pass, accountType, i) {
var bot = $('#bot').val();
var lat = $('#lat').val();
var lng = $('#lng').val();
var typeText = (bot == 'h') ? 'AccountType' : 'AuthType';
var userText = 'PtcUsername';
var passText = 'PtcPassword';
var proxyString = '';
if (accountType == 'Google') {
userText = (bot == 'h' || bot == 's') ? 'GoogleEmail' : 'GoogleUsername';
passText = 'GooglePassword';
}
if ((bot == 'n' || bot == 'h') && $('#useProxies').is(':checked')) {
if (bot == 'n' && $('#useAuth').is(':checked')) {
if ($('#authUser').val() == "" || $('#authPass').val() == "") {
alert("Please enter proxy usename and password");
} else {
proxyString = generateProxyString(index, i, bot, true);
}
} else {
proxyString = generateProxyString(index, i, bot);
}
}
return `${accountType};${user};${pass};${proxyString}`;
}
function generateProxyString(index, i, bot, addAuth) {
if ($('#proxies2').val() == '') {
alert('Please add proxies !')
} else {
var proxies =...