Ich werds mir mal anschauen wenn ich wieder Zeit zum programmieren finde. :)Quote:
easy muling... der bot ist da ziemlich eigensinnig. vorallem jetzt, wo er noch in den channel geht usw, teilweise ziemlich schwierig in ein bestimmtes game zu joinen. Oder wie macht ihr das?
Oder auch, wenn man mal kurz chatten will, oder was auch immer^^ Also, wenn's zu aufwendig ist, kein Problem, aber wenn's leicht möglich ist, schadet's ja nicht ;)
Zu deiner anderen Frage: Die Pause Funktion läuft über ein Event Handle, welches Tastendrücke abfängt. Dies befindet sich aber in der NTBotGame.ntj, darum ist es für mich leider nach wie vor nicht nachvollziehbar inwieweit dies hiermit zusammen hängen könnte.
Was nicht heisst, dass ich dir das nicht abnehme, ich kann es mir nur genauso wenig erklären wie du. :(
Die Frage wurde im Grunde schon beantwortet, die Werte sind ganz einfach viel gering, ich würde als createGameThreshold mindestens 15 Sekunden ansetzen.Quote:
zu meinem problem seitdem ich "var createGameThreshold" geändert habe nachdem mir das erstellen zu unregelmässig war funktioniert die ansage leider nicht mehr tips für die parameter?^^Code:var gameMinLength = 120000; // 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 = 5000; // time in milliseconds to wait between making games var createGameThresholdRandom = 1000; // 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 = 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 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 Lastbaal"; // leave blank not to join a private channel var channelLogin = true; // type ".login" once after joining the channel var channelUsers = new Array(); // dynamic array that holds channel users //--------------------------------------------------------------------------------------------------------------------------------------------------------- // add any char/account here that is supposed to perform chat actions/game announcements or join a private channel channelUsers.push("Buzul123-mf"); channelUsers.push("Hammer-Buz"); //---------------------------------------------------------------------------------------------------------------------------------------------------------- //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 = "Next Game: %game%counter in few seconds."; // leave blank not to post a channel announcement var gameAnnouncementDelay = 1000; // 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 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 // DONT EDIT ANYTHING BELOW THIS
Achja, und gameAnnouncementDelay kannst du zwar auf unter 5 Sekunden setzen, dann wird aber deine Angabe ignoriert und der default Wert von 5 Sekunden angesetzt. Das ist eine Sicherheitsmaßnahme, weil zu kurze Delays hier zu Fehlfunktionen führen. Mal abgesehen davon, dass andere Spielteilnehmer in der Regel etwas Zeit brauchen und nicht simultan mit dem Bot das Spiel verlassen. Allein aus diesem Grund macht es keinen Sinn schon dann eine Ansage zu machen, wenn sie niemand hören kann. ;)
Lg
Muddy