Folgendes ist zu ändern, wenn man die selben MuleAccs bei mehreren Bots verwenden will.
Anmerkungen:
- Bereits durch AutoMule erstellte MuleAccs können nur über Umwege eingebunden werden.
- Wenn alle Chars die gleichen Mules benützen, kann es zu Fehlern kommen,
wenn sich mehrere Bots auf den gleichen Acc und auch auf den gleichen Char loggen wollen.
Quote:
Erklärung:
- schwarz: ist bereits im Script vorhanden und soll mittels Suche (STRG+F) gesucht werden
- rot: kommt neu in das Script dazu
|
NTBot.ntj:
Code:
var MuleCharLocation;
[COLOR="Red"]var sameMuleAccs;[/COLOR]
NTConfig_FullAuto.ntj:
Code:
function NT_LoadMuleConfig()
{
switch(me.account)
{
////////////////////////////////////////////////////////
// //
// COPY THIS PART BELOW FOR EACH ACCOUNT YOU BOT WITH //
// //
// Make sure you add the same amount of Accounts, PWs,//
// Nipfiles AND columns to MuleCharLocation! //
// And make sure to chose a different mule game name //
// for each of your accounts //
// //
// best regards //
// Ldevil //
// //
[COLOR="Blue"]case "BotAcc1":
case "BotAcc2":
case "BotAcc3":[/COLOR]
AccPrefix = "XXX"; // What Prefix you want to use for new Accounts & Chars (~2-4 characters)
MuleAccSuffix = ["Runes","Keys","Socket","Mules"]; // Define what Type should be used for Accounts and Chars (~2-5 characters)
NewAccPW = ["","","",""]; // If empty random Password will be used!
DGNipFiles = ["mule/runes.nip","mule/keys.nip","mule/whites.nip","default"]; // This is just an example, please change!
[COLOR="Red"]sameMuleAccs = true; // true = same Muleaccounts will be used on all Bots[/COLOR]
UseNumbers = false; // true = Accounts will be Numbered, false = Accounts use Letters
isLadder = true; // Are you Botting Ladder?
isHC = false; // Are you Botting HC?
isClassic = false; // Are you Botting Classic?
RandomNameLength = 0; // Length of char name (0 = Same as account with I, II, III, IV, V, VI, VII, VIII)
MuleGame = "XXX"; // This will be the Name of your Mulegame
MuleGamePassword ="xxx"; // This will be the PW of your Mulegame
break;
// //
// COPY THIS PART ABOVE FOR EACH ACCOUNT YOU BOT WITH //
// //
////////////////////////////////////////////////////////
}
}
- blau: So kann man die Bots einfacher hinzufügen und muss nicht für alle den kompletten Teil kopieren, da sich dabei gerne Fehler einschleichen!
NTMuleFunctions.ntl:
Code:
[COLOR="Red"]if(sameMuleAccs)
var filehandle = FileOpen("NTBot/mule_configs/MuleAccs/MuleAccs_" + AccPrefix + "-" + MuleAccSuffix[DGCurrentAcc] +".txt", 2);
else[/COLOR]
var filehandle = FileOpen("NTBot/mule_configs/MuleAccs/MuleAccs_" + me.account + "_" + MuleAccSuffix[DGCurrentAcc] +".txt", 2);
Dieser Abschnitt kommt 7x in der Datei vor!
Hier die Funktionen, in denen es vorkommt:
- function FullAutoLocationAction(location)
- function AccNumberToChar()
- function getCurrentMuleAcc()
- function getCurrentMulePW()
- function getCurrentMuleNumber()
- function getNextAccNumber()
- function getNextAccLetter()