Kennen eventuell schon einige vom Stealth Bot
Habe den Magic8Ball mal mit Hilfe von Muddy_Waters auf D2NT geportet.
Über den Sinn lässt sich streiten, besonders für User die nur privat botten.
Als "Spaß"-Feature für Public Baalruns kann man es jedoch verwenden
Hier mal die grobe Funktionsweise in graphischer Form
Nun zu den Codes:
In eurer Charconfig:
Code:
//------------------------------------------------------------------------------
// Magic 8 Ball Config
//------------------------------------------------------------------------------
Magic8Ball = true; // This toggles the Magic8Ball feature on / off.
In NTBotGame.ntj:
Code:
if(Magic8Ball)
Load("NTBot/tools/NTm8b.ntj");
Inhalt der NTm8b.ntj aus dem Tools-Ordner:
Code:
var Ball_Trigger = ".ask8ball";
var Ball_Answers = new Array();
Ball_Answers.push("As I see It, Yes");
Ball_Answers.push("It is decidedly so");
Ball_Answers.push("It is certain");
Ball_Answers.push("Most likely");
Ball_Answers.push("Outlook good");
Ball_Answers.push("Signs point to Yes");
Ball_Answers.push("Without a doubt");
Ball_Answers.push("YES");
Ball_Answers.push("Yes, definitely");
Ball_Answers.push("You may rely on it");
Ball_Answers.push("Better not tell you now");
Ball_Answers.push("Cannot predict now");
Ball_Answers.push("Concentrate and ask again");
Ball_Answers.push("Don't count on it");
Ball_Answers.push("My reply is No");
Ball_Answers.push("My sources say No");
Ball_Answers.push("Outlook not so good");
Ball_Answers.push("Reply Hazy, Try again");
Ball_Answers.push("Stop trolling");
Ball_Answers.push("You missed that day in school, huh?");
Ball_Answers.push("Ask Claz.(/w *118) TY TY");
Ball_Answers.push("Chav -,-");
Ball_Answers.push("How you dare to ask that?");
Ball_Answers.push("GTFO Randpiss");
Ball_Answers.push("Tosser... ,luv.");
Ball_Answers.push("What about some RL instead?");
Ball_Answers.push("That was serious?");
Ball_Answers.push("Absolutely YES.. and Joe is a jew.");
Ball_Answers.push("NO NO NO NO... joe is no jew. i was kidding, he is a jew.");
Ball_Answers.push("Very doubtful");
Ball_Answers.push("Not only no, but HELL No!");
Ball_Answers.push("Not only yes, but HELL Yes!");
Ball_Answers.push("You will regret it!");
Ball_Answers.push("Signs point to No");
Ball_Answers.push("Outlook is disturbing");
Ball_Answers.push("Please shut up, go take your dumb questions somewhere else.");
Ball_Answers.push("Not only yes, but HELL YES");
Ball_Answers.push("Not only no, but HELL NO");
Ball_Answers.push("I'll kill you.");
Ball_Answers.push("Okay.");
Ball_Answers.push("Sure.");
Ball_Answers.push("Probably.");
Ball_Answers.push("You're a girl, you ask too many fucking questions.");
Ball_Answers.push("Uh-huh.");
Ball_Answers.push("Yup.");
Ball_Answers.push("Could you repeat the question?");
Ball_Answers.push("Nazi -,-");
Ball_Answers.push("Ask again later");
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTA_Initialize();
Print("ÿc1Magic 8 Ball");
RegisterEvent(EVENT_GAMEMSG, NT_GameMsgEvents);
while(true)
NTC_Delay(500);
}
function NT_GameMsgEvents(msg, type)
{
if(type == 0 && msg.toLowerCase().indexOf(Ball_Trigger.toLowerCase()) != -1)
Say("looks into his Magic 8 Ball: " + MW_GetEightBallAnswer());
}
function MW_GetEightBallAnswer()
{
NTC_Delay(1);
return Ball_Answers[Random(0, Ball_Answers.length -1)];
}
Natürlich lassen sich der Triggercommand sowie alle Antworten des Bots nach eigenem Belieben ändern
Bei Fragen stehe ich euch gerne zur Seite.
Lg
eXoo~
Das Script kenn ich doch noch von irgendwo aus der Section!
Eine kleine Verbesserung würde ich vorschlagen, und zwar dass das ganze nicht mehr case-sensitive ist:
Code:
function NT_GameMsgEvents(msg, type)
{
if(type == 0 && msg.toLowerCase().indexOf(Ball_Trigger.toLowerCase()) != -1)
Say("looks into his Magic 8 Ball: " + MW_GetEightBallAnswer());
}
Dann ist es egal, ob man .ask8ball, .ASK8BALL oder .AsK8BaLl schreibt, zuvor ging nur .ask8ball!
So Kritik hat man doch gerne
Hab deinen Verbesserungsvorschlag mal oben eingefügt
Hatte das ganze schonma gepostet, allerdings in komplett anderer Form soweit ich mich erinnern kann...
Ball frezze and ball speed hack 11/17/2012 - General Gaming Discussion - 28 Replies I sell Ball frezze and ball speed hack for ap
[RELEASE]500% special exp ball and 5x exp potion 03/19/2011 - EO PServer Guides & Releases - 14 Replies revolution263 requested for this and now your request is granted. :D
Included in this release are the following:
1. 500% special exp ball sql script.
2. 5x exp potion sql script.
3. Client side things.
*Note for 5x exp potion:
The 5x exp potion lasts only for 1 hour. If you'd like to extend it to 2 or more hours check this line at cq_action/script 3021320 and look for 43 500 3600 0. 500 - exp rate and 3600 - refers to the time in secs so 3600 means 1 hour and 7200 means 2 hours and...