Och, ich hatte das Ganze mit einem String Array mit Strings von "01" bis "10" während der Bot ingame war getestet, um genau zu sehen wann welches Problem auftritt.
Faul wie ich war, habe ich dann einfach die Switch Anweisung aus diesem Feldversuch rauskopiert und dabei Vergessen das String Array durch den entsprechenden String mit der Spielnummer zu ersetzen. Was dann kam kann man sich ja denken...Aufruf einer Elementfunktion über ein undefiniertes Objekt --> fatal error, restart!
Die kleine Sünden bestraft der liebe Gott sofort.
Lg
Muddy
dafür funzt es jetzt perfekt! nice, bistn kuhler Typ
habe es nun so eingestellt ist es rictig?
var gameMinLength = 180000; // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)
var unableToConnectRetry = 5; // time in minutes to retry connecting on connection fail (real value is +/- 1 min)
var realmDownRetry = 300; // time in minutes to retry connecting on a realm down (default is 300 minutes)
var disconnectedRetry = 5; // time in minutes to retry on a disconnection (usually ip ban related)
var cdkeyInUseRetry = 5; // time in minutes to retry on a cdkey in use error message (set to 0 to stop)
var connectingToBnetTimeout = 20000; // time in milliseconds to wait for a login to time out and click cancel and retry
var characterScreenTimeout = 10000; // time in milliseconds to wait for character screen to appear
var pleaseWaitTimeout = 10000; // time in milliseconds to wait for a please wait popup
var createGameThreshold = 10000; // time in milliseconds to wait between making games
var createGameThresholdRandom = 5000; // time in milliseconds to randomly add +/- to the game create time
var createGameTimeout = 15000; // time in milliseconds to register a failed to create game
var waitInLineTimeout = 60000; // time in milliseconds to wait in lines for a create game (60 second default)
var characterSelectDelay = 1000; // time in milliseconds to wait before selecting a character on the char screen
var loginDelay = 1000; // time in milliseconds to wait before submitting login information
var clickDelay = 1000; // wait X milliseconds before next action after a click event
var textDelay = 1000; // wait X milliseconds before next action after inserting text into a textbox
var clickDelayRandom = 500; // random amount of time to add to a click
var textDelayRandom = 500; // random amount of time to add to a text set
var gameDoesNotExistDelayMin = 600000; // how long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes
var gameDoesNotExistDelayMax = 900000; // how long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes
var gameDoesNotExistTimeout = 30000; // how long to wait for the dialog to disappear (default 30 seconds, don't change this)
var joinChatAfterLogin = true; // join chat after login
var joinRandomChannel = false; // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat = "Op esnbaal"; // leave blank not to join a private channel
var channelLogin = false; // type ".login" once after joining the channel
var channelUsers = new Array(); // dynamic array that holds channel users
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// add channel users - only channel users will perform channel/chat actions
channelUsers.push("esn_char");
channelUsers.push("BreeOlsenStar");
//----------------------------------------------------------------------------------------------------------------------------------------------------------
//These key expressions are replaced that way: %game --> "gamename-",%counter --> number of the next game, %time --> time in seconds till game creation, %password --> game password
//Note that the announcement will start after the first run, so there won't be any anncouncement right after login
var gameAnnouncement = "Example: Creating %game%counter///%password in %time seconds..."; // leave blank not to post a channel announcement
var gameAnnouncementDelay = 5000; // wait X milliseconds before posting the announcement message (don't set this too low!)
var gameAnnouncementDelayRandom = 500; // random amount of time to add to a to the announcement delay
var gameMinLength = 180000; // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)
var unableToConnectRetry = 5; // time in minutes to retry connecting on connection fail (real value is +/- 1 min)
var realmDownRetry = 300; // time in minutes to retry connecting on a realm down (default is 300 minutes)
var disconnectedRetry = 5; // time in minutes to retry on a disconnection (usually ip ban related)
var cdkeyInUseRetry = 5; // time in minutes to retry on a cdkey in use error message (set to 0 to stop)
var connectingToBnetTimeout = 20000; // time in milliseconds to wait for a login to time out and click cancel and retry
var characterScreenTimeout = 10000; // time in milliseconds to wait for character screen to appear
var pleaseWaitTimeout = 10000; // time in milliseconds to wait for a please wait popup
var createGameThreshold = 10000; // time in milliseconds to wait between making games
var createGameThresholdRandom = 5000; // time in milliseconds to randomly add +/- to the game create time
var createGameTimeout = 15000; // time in milliseconds to register a failed to create game
var waitInLineTimeout = 60000; // time in milliseconds to wait in lines for a create game (60 second default)
var characterSelectDelay = 1000; // time in milliseconds to wait before selecting a character on the char screen
var loginDelay = 1000; // time in milliseconds to wait before submitting login information
var clickDelay = 1000; // wait X milliseconds before next action after a click event
var textDelay = 1000; // wait X milliseconds before next action after inserting text into a textbox
var clickDelayRandom = 500; // random amount of time to add to a click
var textDelayRandom = 500; // random amount of time to add to a text set
var gameDoesNotExistDelayMin = 600000; // how long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes
var gameDoesNotExistDelayMax = 900000; // how long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes
var gameDoesNotExistTimeout = 30000; // how long to wait for the dialog to disappear (default 30 seconds, don't change this)
var joinChatAfterLogin = true; // join chat after login
var joinRandomChannel = false; // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat = "Op esnbaal"; // leave blank not to join a private channel
var channelLogin = false; // type ".login" once after joining the channel
var channelUsers = new Array(); // dynamic array that holds channel users
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// add channel users - only channel users will perform channel/chat actions
channelUsers.push("esn_char");
channelUsers.push("BreeOlsenStar");
//----------------------------------------------------------------------------------------------------------------------------------------------------------
//These key expressions are replaced that way: %game --> "gamename-",%counter --> number of the next game, %time --> time in seconds till game creation, %password --> game password
//Note that the announcement will start after the first run, so there won't be any anncouncement right after login
var gameAnnouncement = "Example: Creating %game%counter///%password in %time seconds..."; // leave blank not to post a channel announcement
var gameAnnouncementDelay = 5000; // wait X milliseconds before posting the announcement message (don't set this too low!)
var gameAnnouncementDelayRandom = 500; // random amount of time to add to a to the announcement delay
Sofern das deine Char-/Accountnamen sind ja.
Bitte Quelltext aller Art immer als [code] posten, der Hinweis steht nicht Grundlos in meiner Sig und so schwer ist das nun wirklich nicht!
Man muss doch irgendwie ein Interesse daran haben, dass die eigenen Beiträge eine gewisse Form und Lesbarkeit haben, so sehe ich das jedenfalls...
Ich bin ab jetzt nicht mehr zuhause, bei weiteren Rückfragen kann die Antwort also etwas dauern.
das problem ist ich bin neu hier weis nicht wie sowas geht^^
Ich erwarte von niemandem irgendetwas spezielles zu wissen, ich erwarte jedoch, dass man sich zu behelfen weiss und in der Lage ist, sich fehlendes Wissen eigenständig anzueignen.
Da gibt es zum einen den allseits beliebten Begriff des Googlens.
In unserer Generation (ich schätze dich jetzt mal auf unter 25) etwas völlig selbstverständliches und damit lässt sich schon verdammt viel anfangen.
Darüber hinaus versuchen Plattformen aller Art aber auch nochmal von sich aus möglichst Einsteigerfreundlich zu sein und haben deshalb in der Regel so etwas wie eine Hilfe Sektion, wo man sich fehlendes Basiswissen leicht aneignen kann.
Von speziellem Interesse sind dabei sicherlich , wie man sie heutzutage in geschätzen 95% aller Foren vorfindet.
Ich hoffe dir ist mit diesem - an dieser Stelle völlig unpassenden Beitrag - geholfen. Bitte nicht darauf antworten, es sei denn du hast noch was zum eigentlichen Thema.
hab mal ne frage ich hab meinen bot auf keys eingestellt aber nach dem run ist der 104 s in der lobby.. wo kann ich das ändern?
Vermutlich hier:
Code:
var gameMinLength = 120000; // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)
var createGameThreshold = 10000; // time in milliseconds to wait between making games
Aber das steht dort an sich auch direkt dahinter, hätte man selber finden können oder?
Dass zu kurze games alles andere als sinnvoll sind brauche ich an dieser Stelle wohl nicht nochmal zu erwähnen.
Also ich hab mir die ntbot dabei gesaugt und nun wenn ich in den manager gehe udn pw eingeb , geht zwar wie gewohnt das Fenster auf, aber er gibt weder password ein noch klickt er auf battlenet oder macht anstalten sich einzuloggn.. is tot i wie :P kannst mir da helfen ? :=
Also ich hab mir die ntbot dabei gesaugt und nun wenn ich in den manager gehe udn pw eingeb , geht zwar wie gewohnt das Fenster auf, aber er gibt weder password ein noch klickt er auf battlenet oder macht anstalten sich einzuloggn.. is tot i wie :P kannst mir da helfen ? :=
Nein, da sowas bei mir bisher noch nicht passiert ist und auch nicht wirklich nachvollziehbar ist, warum das Problem auftritt. Schau doch nochmal ob du auch wirklich alles korrekt kopiert hast, eventuell fehlen schlicht irgendwelche Teile.
Quote:
Originally Posted by benno1990
bei mir klappts iwie nicht.. er postet gar nichts
Findet auch kein Channel Login statt?
Wenn ja, bitte überprüfen, ob dein Char bzw. Accountname Element des dafür vorgesehenen Arrays ist.
Muss mal schauen, vielleicht lade ich nachher mal meine aktuelle Version hoch, da würde in dem Fall ein dicker roter Hinweis kommen.
Hi habe da mal ein problem
habe es wie folgt eingestellt
Code:
var gameMinLength = 60000; // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)
var unableToConnectRetry = 5; // time in minutes to retry connecting on connection fail (real value is +/- 1 min)
var realmDownRetry = 5; // time in minutes to retry connecting on a realm down (default is 300 minutes)
var disconnectedRetry = 5; // time in minutes to retry on a disconnection (usually ip ban related)
var cdkeyInUseRetry = 5; // time in minutes to retry on a cdkey in use error message (set to 0 to stop)
var connectingToBnetTimeout = 14000; // time in milliseconds to wait for a login to time out and click cancel and retry
var characterScreenTimeout = 8000; // time in milliseconds to wait for character screen to appear
var pleaseWaitTimeout = 8000; // time in milliseconds to wait for a please wait popup
var createGameThreshold = 5500; // time in milliseconds to wait between making games
var createGameThresholdRandom = 3000; // time in milliseconds to randomly add +/- to the game create time
var createGameTimeout = 8000; // time in milliseconds to register a failed to create game
var waitInLineTimeout = 5000; // time in milliseconds to wait in lines for a create game (60 second default)
var characterSelectDelay = 1000; // time in milliseconds to wait before selecting a character on the char screen
var loginDelay = 1000; // time in milliseconds to wait before submitting login information
var clickDelay = 500; // wait X milliseconds before next action after a click event
var textDelay = 500; // wait X milliseconds before next action after inserting text into a textbox
var clickDelayRandom = 500; // random amount of time to add to a click
var textDelayRandom = 500; // random amount of time to add to a text set
var gameDoesNotExistDelayMin = 600000; // how long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes
var gameDoesNotExistDelayMax = 900000; // how long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes
var gameDoesNotExistTimeout = 30000; // how long to wait for the dialog to disappear (default 30 seconds, don't change this)
var joinChatAfterGame = true; // join chat after leaving a game
var joinRandomChannel = false; // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat = "Op lastbaal"; // leave blank to not join a private channel
var waitBeforeEnterChatMin = 1000; // min how long to wait before entering chat
var waitBeforeEnterChatMax = 2000; // max how long to wait before entering chat
var waitInChatBeforeActionsMin = 2000; // min how long to wait before joining channel
var waitInChatBeforeActionsMax = 3000; // max how long to wait before joining channel
var channelLogin = true; // type ".login" once after joining the channel
var channelUsers = new Array(); // dynamic array that holds channel users
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// add channel users - only channel users will perform channel/chat actions
channelUsers.push("vivalabash-l");
channelUsers.push("Dabashii");
//----------------------------------------------------------------------------------------------------------------------------------------------------------
//These key expressions are replaced that way: %game --> "gamename-",%counter --> number of the next game, %time --> time in seconds till game creation, %password --> game password
//Note that the announcement will start after the first run, so there won't be any anncouncement right after login
var gameAnnouncement = "Example: Creating %game%counter///%password in %time seconds..."; // leave blank not to post a channel announcement
var gameAnnouncementDelay = 5000; // wait X milliseconds before posting the announcement message (don't set this too low!)
var gameAnnouncementDelayRandom = 500; // random amount of time to add to a to the announcement delay
und es geht nix tut sich nix kann mir wer da mal helfen ? also schreiben tut er nix .
Hi habe da mal ein problem
habe es wie folgt eingestellt
Code:
var gameMinLength = 60000; // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)
var unableToConnectRetry = 5; // time in minutes to retry connecting on connection fail (real value is +/- 1 min)
var realmDownRetry = 5; // time in minutes to retry connecting on a realm down (default is 300 minutes)
var disconnectedRetry = 5; // time in minutes to retry on a disconnection (usually ip ban related)
var cdkeyInUseRetry = 5; // time in minutes to retry on a cdkey in use error message (set to 0 to stop)
var connectingToBnetTimeout = 14000; // time in milliseconds to wait for a login to time out and click cancel and retry
var characterScreenTimeout = 8000; // time in milliseconds to wait for character screen to appear
var pleaseWaitTimeout = 8000; // time in milliseconds to wait for a please wait popup
var createGameThreshold = 5500; // time in milliseconds to wait between making games
var createGameThresholdRandom = 3000; // time in milliseconds to randomly add +/- to the game create time
var createGameTimeout = 8000; // time in milliseconds to register a failed to create game
var waitInLineTimeout = 5000; // time in milliseconds to wait in lines for a create game (60 second default)
var characterSelectDelay = 1000; // time in milliseconds to wait before selecting a character on the char screen
var loginDelay = 1000; // time in milliseconds to wait before submitting login information
var clickDelay = 500; // wait X milliseconds before next action after a click event
var textDelay = 500; // wait X milliseconds before next action after inserting text into a textbox
var clickDelayRandom = 500; // random amount of time to add to a click
var textDelayRandom = 500; // random amount of time to add to a text set
var gameDoesNotExistDelayMin = 600000; // how long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes
var gameDoesNotExistDelayMax = 900000; // how long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes
var gameDoesNotExistTimeout = 30000; // how long to wait for the dialog to disappear (default 30 seconds, don't change this)
var joinChatAfterGame = true; // join chat after leaving a game
var joinRandomChannel = false; // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat = "Op lastbaal"; // leave blank to not join a private channel
var waitBeforeEnterChatMin = 1000; // min how long to wait before entering chat
var waitBeforeEnterChatMax = 2000; // max how long to wait before entering chat
var waitInChatBeforeActionsMin = 2000; // min how long to wait before joining channel
var waitInChatBeforeActionsMax = 3000; // max how long to wait before joining channel
var channelLogin = true; // type ".login" once after joining the channel
var channelUsers = new Array(); // dynamic array that holds channel users
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// add channel users - only channel users will perform channel/chat actions
channelUsers.push("vivalabash-l");
channelUsers.push("Dabashii");
//----------------------------------------------------------------------------------------------------------------------------------------------------------
//These key expressions are replaced that way: %game --> "gamename-",%counter --> number of the next game, %time --> time in seconds till game creation, %password --> game password
//Note that the announcement will start after the first run, so there won't be any anncouncement right after login
var gameAnnouncement = "Example: Creating %game%counter///%password in %time seconds..."; // leave blank not to post a channel announcement
var gameAnnouncementDelay = 5000; // wait X milliseconds before posting the announcement message (don't set this too low!)
var gameAnnouncementDelayRandom = 500; // random amount of time to add to a to the announcement delay
und es geht nix tut sich nix kann mir wer da mal helfen ? also schreiben tut er nix .
Wie sieht der Status Text Balken aus? Es müsste nach dem ersten Login im Statustext Fenster stehen, ob dein Char korrekt als Channel User erkannt wurde, in dem Fall würde das dort in grün stehen, ansonsten steht da in rot, dass dein Char kein Channel User ist. Diese Meldung blinkt aber nur drei mal kurz auf und das auch nur direkt nach dem Einloggen.
Achja, bitte bedenken, dass die Game Ansage erst funktioniert, wenn du vorher mal in einem Spiel mit gültigem Namen warst.
Das siehst du allerdings auch am Statustext. Ist dein Spielname nicht definiert, steht dort was von "Game Creation Pending... (xxs)", ansonsten steht dort "Next Game: DeinSpielName (xxs)". Sollte sich aber ändern, nachdem du in einem Spiel mit gültigem namen warst, davon wird dann der Name des nächsten Spiels abgeleitet.
Achja, ein gültiger Name bedeutet z.B. "Name-42", bei mehreren Bindestrichen wird das Probleme geben. Wobei mir das auch gerade erst auffällt, hatte ich vorher nicht bedacht. Denke ich werde das demnächst mal daraufhin anpassen, habe allerdings momentan nicht soviel Zeit.
so habe mal drauf geachtet
und joa tut sich garnix kein blincken kein text nix auhc nach den ersten bal run tippselt auch nicht .login im chat also rein garnix
d2nt channel Problem 03/21/2012 - Diablo 2 - 4 Replies Hi,
Also mein bot geht in channel alles schön und gut aber wie kann man einstellen das er am anfang .login schreibt und immer gameansage macht z.b next game is ???-baal-xx ??
Mfg
Wickedseek
D2nt Channel frage 08/09/2010 - Diablo 2 - 1 Replies Huhu leute,
ich wollte gerne meinen hammer nen OP xxx channel joinen + mich einloggen
sprich .login.
Habe schön öfters gesehen, das der bot auch das nächste game ansagen kann im channel..
Channel reingehen ist ja kein prob, nur den rest bekomme ich nicht hin.. schon einiges im inet gefunden aber ka wie was wo..
würde mich über schnelle und gute lösungen freuen ^^
Can Someone Help me with D2nt Channel Bott 07/09/2010 - Diablo 2 Programming - 2 Replies I am trying to create a channel bot for my clan. However, I can not seem to get it to work. I was wondering if someone who has this could copy and paste their Bot. ntj file or help me.
what i want
1) Bot to enter same private channel every time
2) Bot to announce my upcoming game
here is what I am trying to use.... bot does enters channel but does not announce the game. The script I am using can be found below:
d2nt join channel only @ login 05/13/2010 - Diablo 2 - 2 Replies ja der d2nt joined ja den channel immer wieder neu obwohl er schon drinne ist. finde das ein wenig lästig.
kann man das umstellen dass er nur nachm login den channel joined?
d2nt bluebird channel frage 05/07/2010 - Diablo 2 - 6 Replies hi leutz
ne frage wie mache ich das, das er nach dem login in denn channel joint wo ich hin will und dann den game name schreibt was ich gemacht habe??
mfg toby
ps: ja ich weis gehört ins topic von blue hab 2 mal rein gepostet aber niemand antwortet mir