Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection Interrupted
#1
Trying to use D2NT 3.1 with NTBot 4.2 with my Cold Sorc and keep getting a connection interrupted about 30-45 seconds into the game. At first I assumed it was because the default timings were too low, so I raised them and raised them in an attempt to solve the issue but no matter how high I make them, I still keep getting disconnected. Sometimes it's when I'm at the boss, sometimes at the stash, sometimes when gambling. I have included my config below. I'm new to this, so there's a good chance I screwed something up.

Code:
var NTConfig_CastStatic;

function NT_LoadConfig()
{
    //------------------------------------------------------------------------------
    // Boss configuration
    //------------------------------------------------------------------------------
    NTConfig_Script.push("NTPindleskin.ntj"); NTConfig_NihlathakExtension = false;
    //NTConfig_Script.push("NTNihlathak.ntj"); NTConfig_PindleskinExtension = true;
    NTConfig_Script.push("NTEldritch.ntj"); NTConfig_ShenkExtension = true;
    //NTConfig_Script.push("NTThreshSocket.ntj");
    //NTConfig_Script.push("NTFrozenRiver.ntj"); NTConfig_ClearFrozenRiver = false;
    //NTConfig_Script.push("NTGlacialTrail.ntj"); NTConfig_ClearGlacialTrail = false;
    //NTConfig_Script.push("NTIcyCellar.ntj"); NTConfig_ClearIcyCellar = false;
    NTConfig_Script.push("NTBaal.ntj"); NTConfig_KillBaal = true;
    //NTConfig_Script.push("NTDiablo.ntj");
    //NTConfig_Script.push("NTHephasto.ntj");
    //NTConfig_Script.push("NTIzual.ntj");
    //NTConfig_Script.push("NTMephisto.ntj");
    //NTConfig_Script.push("NTTravincal.ntj");
    //NTConfig_Script.push("NTKurastTravel.ntj");
    //NTConfig_Script.push("NTAct3Sewers.ntj"); NTConfig_ClearA3SewersLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
    //NTConfig_Script.push("NTSummoner.ntj"); NTConfig_KillFireEye = true;
    //NTConfig_Script.push("NTDuriel.ntj");
    //NTConfig_Script.push("NTAncientTunnels.ntj");
    //NTConfig_Script.push("NTColdworm.ntj");
    //NTConfig_Script.push("NTRadament.ntj");
    //NTConfig_Script.push("NTAndariel.ntj");
    //NTConfig_Script.push("NTCountess.ntj");
    //NTConfig_Script.push("NTTreehead.ntj");
    //NTConfig_Script.push("NTPit.ntj"); NTConfig_ClearPitLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
    //NTConfig_Script.push("NTMausoleum.ntj"); NTConfig_KillBloodRaven = true;
    //NTConfig_Script.push("NTHole.ntj"); NTConfig_ClearHoleLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
    //NTConfig_Script.push("NTTristram.ntj"); NTConfig_KillRakanishu = true;

    //------------------------------------------------------------------------------
    //------------------------------------------------------------------------------
    me.maxgametime = 900; // time in seconds, maximum game length (0 is infinite)
    NTConfig_StartDelay = 1500;    // Delay time in milliseconds to start;
    NTConfig_AreaDelay = 2000;    // Delay time in milliseconds to change area;
    NTConfig_SnagDelay = 1500;    // Delay time in milliseconds to wait before starting picking items

    //------------------------------------------------------------------------------
    //------------------------------------------------------------------------------
    NTConfig_SkipHealLife = 90;    // If you have more than this percent of life, you won't go to a healer
    NTConfig_SkipHealMana = 70;    // If you have more than this percent of mana, you won't go to a healer
    NTConfig_UseMerc = true;    // Set to true if you use a mercenary, will revive merc at a reviver npc.
    NTConfig_ResetWeapon = false;    // Set to true to reset weapon when reviving merc

    NTConfig_LifeThresh = 50;    // Drink a normal potion if under this percent of life.
    NTConfig_LifeRejuvThresh = 30;    // Drink a rejuvenation potion if under this percent of life.
    NTConfig_ManaThresh = 25;    // Drink a normal potion if under this percent of mana.
    NTConfig_ManaRejuvThresh = 5;    // Drink a rejuvenation potion if under this percent of mana.
    NTConfig_LifeChicken = 25;    // This is your chicken life percent. If you go below this life total, exit game.
    NTConfig_ManaChicken = 0;    // This is your chicken mana percent. If you go below this mana total, exit game.

    NTConfig_MercLifeThresh = 40;    // This is the threshold to use a life potion on your merc in percent.
    NTConfig_MercRejuvThresh = 20;    // This is the threshold to use a rejuv potion on your merc in percent.
    NTConfig_MercChicken = 0;    // This is your mercs chicken life percent. If he goes below this, exit game.

    //------------------------------------------------------------------------------
    //------------------------------------------------------------------------------
    NTConfig_FreeSpace = 6;        // Number of free columns. If less full columns are free stashing is set.

    // The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
    NTConfig_Columns[0] = [1,1,1,1,1,1,0,0,0,0];
    NTConfig_Columns[1] = [1,1,1,1,1,1,0,0,0,0];
    NTConfig_Columns[2] = [1,1,1,1,1,1,0,0,0,0];
    NTConfig_Columns[3] = [1,1,1,1,1,1,0,0,0,0];

    NTConfig_MinGoldToStash = 150000;    // Maximum gold amount carried before going to stash

    //----------------------------------------------------------------------------------------------
    // Type of potion used in each belt column
    // Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
    // Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
    // Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
    // Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
    // To use rejuvenations only, put "rv" in all columns.
    //----------------------------------------------------------------------------------------------
    NTConfig_BeltColType[0] = "hp";
    NTConfig_BeltColType[1] = "mp";
    NTConfig_BeltColType[2] = "rv";
    NTConfig_BeltColType[3] = "rv";

    //-----------------------------------------------------------------------------------
    // SnagIt configuration
    // Select one group only (normal / advance / extreme)
    //-----------------------------------------------------------------------------------
    //NTConfig_NIPFilePath.push("normal/normal.nip");
    //NTConfig_NIPFilePath.push("normal/magic_rare.nip");
    //NTConfig_NIPFilePath.push("normal/set.nip");
    //NTConfig_NIPFilePath.push("normal/unique.nip");
    //NTConfig_NIPFilePath.push("normal/craft.nip");

    NTConfig_NIPFilePath.push("advance/normal.nip");
    NTConfig_NIPFilePath.push("advance/magic_rare.nip");
    NTConfig_NIPFilePath.push("advance/set.nip");
    NTConfig_NIPFilePath.push("advance/unique.nip");
    NTConfig_NIPFilePath.push("advance/craft.nip");

    //NTConfig_NIPFilePath.push("extreme/normal.nip");
    //NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
    //NTConfig_NIPFilePath.push("extreme/set.nip");
    //NTConfig_NIPFilePath.push("extreme/unique.nip");
    //NTConfig_NIPFilePath.push("extreme/craft.nip");

    NTConfig_SnagRange = 35;    // Radius to check for dropped items. 40 is a good number here

    //------------------------------------------------------------------------------
    // Cubing configuration
    //------------------------------------------------------------------------------
    NTConfig_Cubing = false;        // Enable cubing

    //NTConfig_CubingItem.push([NTCU_GEM, 560]);    // Flawless Amethyst
    //NTConfig_CubingItem.push([NTCU_GEM, 565]);    // Flawless Topaz
    //NTConfig_CubingItem.push([NTCU_GEM, 570]);    // Flawless Saphire
    //NTConfig_CubingItem.push([NTCU_GEM, 575]);    // Flawless Emerald
    //NTConfig_CubingItem.push([NTCU_GEM, 580]);    // Flawless Ruby
    //NTConfig_CubingItem.push([NTCU_GEM, 585]);    // Flawless Diamond
    //NTConfig_CubingItem.push([NTCU_GEM, 600]);    // Flawless Skull

    //NTConfig_CubingItem.push([NTCU_MAGIC, 420]);    // Magic Tiara
    //NTConfig_CubingItem.push([NTCU_MAGIC, 421]);    // Magic Diadem

    //NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 603]);    // Magic Small Charm
    NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 605]);    // Magic Grand Charm

    NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 382]);    // Craft Heavy Bracers
    //NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 452]);    // Craft Vambraces

    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 354]);        // Craft Casque
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 424]);        // Craft Armet
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 388]);    // Craft Battle Boots
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 458]);    // Craft Mirrored Boots
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 381]);    // Craft Sharkskin Gloves
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 451]);    // Craft Vampirebone Gloves
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 392]);        // Craft Mesh Belt
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 462]);        // Craft Mithril Coil
    //NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_AMULET, 520]);    // Craft Amulet
    NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_RING, 522]);        // Craft Ring

    NTConfig_CubingItem.push([NTCU_CRAFT_CASTER_AMULET, 520]);    // Craft Amulet

    //NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_SHIELD, 447]);    // Craft Monarch
    //NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_AMULET, 520]);    // Craft Amulet

    NTConfig_CubingItem.push([NTCU_ESSENSE, 0]);

    //NTConfig_CubingItem.push([NTCU_RUNE_THUL, 562]);
    //NTConfig_CubingItem.push([NTCU_RUNE_AMN, 557]);
    //NTConfig_CubingItem.push([NTCU_RUNE_SOL, 567]);
    //NTConfig_CubingItem.push([NTCU_RUNE_SHAEL, 577]);
    //NTConfig_CubingItem.push([NTCU_RUNE_DOL, 572]);
    //NTConfig_CubingItem.push([NTCU_RUNE_HEL, 582]);
    //NTConfig_CubingItem.push([NTCU_RUNE_IO, 563]);
    NTConfig_CubingItem.push([NTCU_RUNE_LUM, 558]);
    NTConfig_CubingItem.push([NTCU_RUNE_KO, 568]);
    NTConfig_CubingItem.push([NTCU_RUNE_FAL, 578]);
    NTConfig_CubingItem.push([NTCU_RUNE_LEM, 573]);
    NTConfig_CubingItem.push([NTCU_RUNE_PUL, 583]);
    NTConfig_CubingItem.push([NTCU_RUNE_UM, 564]);
    NTConfig_CubingItem.push([NTCU_RUNE_MAL, 559]);
    //NTConfig_CubingItem.push([NTCU_RUNE_IST, 569]);
    //NTConfig_CubingItem.push([NTCU_RUNE_GUL, 579]);
    //NTConfig_CubingItem.push([NTCU_RUNE_VEX, 574]);
    //NTConfig_CubingItem.push([NTCU_RUNE_OHM, 584]);
    //NTConfig_CubingItem.push([NTCU_RUNE_LO, 565]);
    //NTConfig_CubingItem.push([NTCU_RUNE_SUR, 560]);
    //NTConfig_CubingItem.push([NTCU_RUNE_BER, 570]);
    //NTConfig_CubingItem.push([NTCU_RUNE_JAH, 580]);
    //NTConfig_CubingItem.push([NTCU_RUNE_CHAM, 575]);

    //***** Include the following, Primary item must be setted in item_configs folder *****

    //NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 442]);    // Socket Sacred Armor

    //NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 255]);    // Socket Thresher
    //NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 256]);    // Socket Cryptic Axe
    //NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 257]);    // Socket Great Poleaxe
    //NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 258]);    // Socket Giant Thresher

    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_WEAPON, 295]);    // Titan's Revenge : Exceptional -> Elite

    //NTConfig_CubingItem.push([NTCU_UPGRADE_N_UNIQUE_ARMOR, 337]);    // Magefist : Normal -> Exceptional
    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 360]);    // Skin of the Vipermagi : Exceptional -> Elite
    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 383]);    // Magefist or Lava Gout : Exceptional -> Elite
    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 389]);    // Gore Rider : Exceptional -> Elite
    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 477]);    // Arreat's Face : Exceptional -> Elite
    //NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 481]);    // Herald Of Zakarum : Exceptional -> Elite

    //------------------------------------------------------------------------------
    // Gamble configuration
    // To specify what items to gamble, adjust the array with the desired item codes
    //------------------------------------------------------------------------------
    NTConfig_Gamble = true;        // Enable gambling
    NTConfig_GambleStartGold = 2750000;    // Gold amount to start the gambling
    NTConfig_GambleStopGold = 2500000;    // Gold amount to stop the gambling

    NTConfig_GambleItem.push(520);    // Amulets
    NTConfig_GambleItem.push(522);    // Rings
    //NTConfig_GambleItem.push(418);    // Circlets
    NTConfig_GambleItem.push(419);    // Coronets
    //NTConfig_GambleItem.push(334);    // Leather Gloves
    //NTConfig_GambleItem.push(335);    // Heavy Gloves
    //NTConfig_GambleItem.push(336);    // Chain Gloves
    //NTConfig_GambleItem.push(337);    // Light Gauntlets
    //NTConfig_GambleItem.push(338);    // Gauntlets

    //------------------------------------------------------------------------------
    // General configuration
    //------------------------------------------------------------------------------
    NTConfig_PublicMode = true;
    NTConfig_CheckCloneDiablo = false;    // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
    NTConfig_OpenChest = false;            // Set to true to open chest
    me.quitonhostile = false;

    //------------------------------------------------------------------------------
    // Attack configuration
    //------------------------------------------------------------------------------
    NTConfig_AttackSkill[0] = 0;    // First skill. Set to 0 if you won't
    NTConfig_AttackSkill[1] = 59;    // Primary skill to boss.
    NTConfig_AttackSkill[2] = 0;    // Primary untimed skill to boss. Set to 0 if you won't
    NTConfig_AttackSkill[3] = 59;    // Primary skill to others.
    NTConfig_AttackSkill[4] = 0;    // Primary untimed skill to others. Set to 0 if you won't
    NTConfig_AttackSkill[5] = 42;    // Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
    NTConfig_AttackSkill[6] = 0;    // Secondary untimed skill. Set to 0 if you won't
    NTConfig_ClearPosition = false;    // Set to true if you want to clear area after killing boss.

    // Check self safe in field (NOT in town). Set to 0 if you won't
    // 0x01 : Potion, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
    NTConfig_CheckSelfSafe = 0x04|0x40;
    // Check merc's safe in field (NOT in town). Set to 0 if you won't
    // 0x01 : Death, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
    NTConfig_CheckMercSafe = 0x01|0x04|0x10|0x40;

    NTConfig_CastStatic = 60;    // Cast Static Field until monster's HP lower less than this percent. Set to 100 if you won't
}


---------- Post added 06-10-2011 at 02:48 PM ---------- Previous post was 06-09-2011 at 08:00 PM ----------

Here's the NTBot configuration, I even exaggerated the click delays but to no avail:

Code:
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        = 10;        // 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        = 4400;        // time in milliseconds to wait between making games
var createGameThresholdRandom    = 1700;        // 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            = 1500;        // 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        = 800;        // 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        = false;    // join chat after leaving a game
var joinRandomChannel        = true;        // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat        = "";        // 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
More details:
Windows Vista 32-bit
D2NT 3.1 & D2Bot 4.2
Connection: 15mbps Broadband
Server: USEast
Reply
#2
Do u have any issues running the game without the bot?

Most of the time that issue is caused by lag but u have 15mb net so u should not have net lag.
[SIGPIC]http://yfrog.com/mhskidudecopyg[/SIGPIC]
Reply
#3
No, I do not have the problems without the NTBot running. Oddly enough, it is not D2NT that seems to be the problem, since I can run bots other than the NTBot and do not get any problems.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  My bot got connection bug botsquestions 2 354 11-11-2010, 07:17 PM
Last Post: botsquestions
  D2NT Bot 3.1 - Your Connection Has Been Interrupted Error clemens1989 3 1,797 07-02-2010, 03:54 PM
Last Post: skidude
  Dual Boxing connection issue Mizary101 1 418 10-25-2008, 10:25 PM
Last Post: Ikevink
  "Your connection has been temporarily..." Outbreak 8 487 08-02-2007, 12:41 AM
Last Post: Outbreak
  connection problem tenakinator 3 256 02-16-2007, 02:29 PM
Last Post: tenakinator
  d2jsp + connection brad35309 1 213 07-11-2006, 05:05 PM
Last Post: DarkZeb
  D2Loader Connection Problems KniteKreeper 2 230 01-19-2006, 08:23 AM
Last Post: KniteKreeper
  JhJ "connection interupted" DJ_MUTTA 0 181 04-12-2005, 08:07 AM
Last Post: DJ_MUTTA
  Connection Error Chaos31 2 301 01-17-2005, 04:04 AM
Last Post: Chaos31
  How To Reset Server List. Due To B-net Connection Problems After Botting. Uber-Soldat 0 740 07-23-2004, 11:18 PM
Last Post: Uber-Soldat

Forum Jump:


Users browsing this thread: 1 Guest(s)