Spiel erstellen Position

07/26/2015 19:17 EndlessOnFire#1
Hi,

also der Bot läuft jetzt endlich sehr gut.

Habe aber jetzt das Problem das der Bot beim erstellen eines Spiels oft die meldung bekommt das er an auf Position X auf der warteliste steht und der bot dann restartet.

gibtes eine möglichkeit die zeitverzögerung zu erhöhen das er länger wartet?

Danke schonmal im vorraus!

lg
Endless
07/27/2015 17:45 NerDxx™#2
Hier Posten ...[Only registered and activated users can see links. Click Here To Register...]



Schau mal in der Scripts/NTBot.Ntj
Ich glaube das hier;
Code:
var MaximumLocationLoops		= 15;							// The maximum number of loops for a single location; if the window is does not respond and is caught in an infinite loop it will be restarted when the number of loops exceeds the one you specify here.
Code:
/**
*	This file was modified by [Only registered and activated users can see links. Click Here To Register...]
*	Check the programming section for updates and further scripts
*	Last Update: 11:25 05.11.2011
*/

//------------------------------------------------------------------------------
// Delays
//------------------------------------------------------------------------------

var GameMinLength				= 120;							// Time in seconds, 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				= 15;							// 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		= 20;							// Time in seconds to wait for a login to Time out and click cancel and retry.
var CharacterScreenTimeout		= 10;							// Time in seconds to wait for character screen to appear.
var PleaseWaitTimeout			= 15;							// Time in seconds to wait for a please wait popup.
var CreateGameThreshold			= 40;							// Time in seconds to wait between making games.
var CreateGameThresholdRandom	= 15;							// Time in seconds to randomly add +/- to the game create time.
var CreateGameTimeout			= 15;							// Time in seconds to register a failed to create game.
var WaitInLineTimeout			= 60;							// Time in seconds 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 GameDoesNotExistDelayMin	= 10;							// How long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes.
var GameDoesNotExistDelayMax	= 15;							// How long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes.
var GameDoesNotExistTimeout		= 30;							// How long to wait for the dialog to disappear (default 30 seconds, don't change this).
// Control
var LoginDelay					= 5000;							// Time in milliseconds to wait before submitting login information.
var ClickDelay					= 2000;							// Wait X milliseconds before next action after a click event.
var TextDelay					= 2500;							// Wait X milliseconds before next action after inserting text into a textbox.
var ClickDelayRandom			= 500;							// Random amount of Time in milliseconds to add to a click.
var TextDelayRandom				= 500;							// Random amount of Time in milliseconds to add to a text set.
// Channel
var WaitBeforeEnterChatMin		= 1000;							// Min time in milliseconds to wait before entering chat.
var WaitBeforeEnterChatMax		= 2000;							// Max time in milliseconds to wait before entering chat.
var WaitInChatBeforeActionsMin	= 2000;							// Min time in milliseconds to wait before joining channel.
var WaitInChatBeforeActionsMax	= 3000;							// Max time in milliseconds to wait before joining channel.
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 UseFileBackupTimeMax		= 30;							// Time in minutes that may pass since last file update - The backup File is updated at the beginning of every single game and is read everytime the name of your previous game is undefined (e.g. at restarts); Set to 0 to deactivate file backup.

//------------------------------------------------------------------------------
// Game settings
//------------------------------------------------------------------------------

var PlayersPerGame				= 8;							// Maximum number of players to be set when creating a game.
var CharacterDifference			= 0;							// Level difference to be set when creating games. Set to 0 not to use level restrictions.
var GameDescription				= "";	// The description to be used for your game. Set to "" not to enter a game description.

var JoinRandomGamesChars		= new Array("YourNameGoesHere");// Dynamic array that holds chars that are to join public games.
var JoinGameKeywords			= new Array("dia", "baal");		// If your char is set to join public games, games will only be joined if the game name contains one of the given keywords.

//------------------------------------------------------------------------------
// Channel Settings
//------------------------------------------------------------------------------

var IgnoreWispers				= true;							// Set to true to ignore all incoming wispers from players that are not on your friendlist.
var JoinChatAfterLogin			= false;							// 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			= "";				// Leave blank not to join a private channel.
var PerformChannelLogin			= false;						// 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("YourCharNameGoesHere");
// Or
ChannelUsers.push("YourAccountNameGoesHere");

// The following key expressions will be replaced by their actual values:  %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 usually won't be any anncouncement right after login - If the gamename is undefined, the bot will try to load the backup file to announce the upcoming game properly.
var GameAnnouncement			= "Creating %game%counter//%password in about %time seconds.";

var ShowStatusOnStartup			= true;
var JoinRetries					= 5;							// How many attempts before giving up the mule game?
var JoinRetryDelay				= 55;							// Seconds to wait between Retry Attempts.
var TimeBeforeMuleGame			= 1;							// Minutes to wait before creating the game.
var TimeAfterMule				= 3;							// Minutes to wait before logging back to bot account.
var WaitOnBlockedAccount		= 2;							// Minutes to wait if the mule account is currently being used by another char (this delay will be used up to 20 times).

//------------------------------------------------------------------------------
// Misc
//------------------------------------------------------------------------------

var MaximumLocationLoops		= 5;							// The maximum number of loops for a single location; if the window is does not respond and is caught in an infinite loop it will be restarted when the number of loops exceeds the one you specify here.