scripting help pls

07/07/2014 11:42 DeathyViper1959#1
Hello

I am running Muddy's bot 3.1 and am having a problem with my wind druid, when he gets to Lister's pack he stands right in the middle attacking until he chickens, I tried adding a line from both my sorcy and my necro to get him to move away, but its not working.

//------------------------------------------------------------------------------
// Attack Configuration
//------------------------------------------------------------------------------

// Specify your attack skills below. NOTE: Constants for all skill ids can be found in

"scripts\libs\common\MWSkills.ntl".
NTConfig_AttackSkill[0] = MWS_TWISTER; // This skill is used once whenever attacking a new target. Set to 0 to

deactivate.
NTConfig_AttackSkill[1] = MWS_TORNADO; // Primary skill to bosses.
NTConfig_AttackSkill[2] = -1; // Primary untimed skill to boss. Set to 0 to deactivate.
NTConfig_AttackSkill[3] = MWS_TORNADO; // Primary skill to others.
NTConfig_AttackSkill[4] = -1; // Primary untimed skill to others. Set to 0 to deactivate.
NTConfig_AttackSkill[5] = -1; // Secondary skill in case monster is immune to primary skill. Set to

0 to deactivate.
NTConfig_AttackSkill[6] = -1; // Secondary untimed skill. Set to 0 to deactivate.
NTConfig_AttackSkill[7] = -1; // Reserved.

*** Sorcy line *** // Always check if monsters are closing in and back off, in case they get too close. NOTE: You should at least have

105FCR in order to make this work smoothly.
MWConfig_KeepDistanceToMonsters = true;

*** Necro line *** // Whether or not to get close to the target and let the minions do their job.
MWConfig_ApproachTarget = false;

// Specify the range of your Tornados.
MWConfig_TornadoRange = 4;

// Specify the range of your Twisters.
MWConfig_TwisterRange = 4;

// Set to true if you want to clear area after killing boss. NOTE: This only affects a few botscripts.
NTConfig_ClearPosition = true;

I just want my druid to stay out of the middle of Lister's pack lol

thanks
07/08/2014 13:12 NerDxx™#2
Write it next time here

[Only registered and activated users can see links. Click Here To Register...]

Code:
//------------------------------------------------------------------------------
	// Attack Configuration
	//------------------------------------------------------------------------------
	
	// Specify your attack skills below. NOTE: Constants for all skill ids can be found in "scripts\libs\common\MWSkills.ntl".
	NTConfig_AttackSkill[0] = MWS_TWISTER;	// This skill is used once whenever attacking a new target. Set to 0 to deactivate.
	NTConfig_AttackSkill[1] = MWS_TORNADO;	// Primary skill to bosses.
	NTConfig_AttackSkill[2] = -1;			// Primary untimed skill to boss. Set to 0 to deactivate.
	NTConfig_AttackSkill[3] = MWS_TORNADO;	// Primary skill to others.
	NTConfig_AttackSkill[4] = -1;			// Primary untimed skill to others. Set to 0 to deactivate.
	NTConfig_AttackSkill[5] = -1;			// Secondary skill in case monster is immune to primary skill. Set to 0 to deactivate.
	NTConfig_AttackSkill[6] = -1;			// Secondary untimed skill. Set to 0 to deactivate.
	NTConfig_AttackSkill[7] = -1;			// Reserved.

	// Specify the range of your Tornados.
	MWConfig_TornadoRange = 4;
	
	// Specify the range of your Twisters.
	MWConfig_TwisterRange = 4;
	
	// Set to true if you want to clear area after killing boss. NOTE: This only affects a few botscripts.
	NTConfig_ClearPosition = true;
	
	// Set to true to clear area when killing a boss and the position is crowded by monsters. NOTE: Setting this to true may cause NTA_KillMonster() to fail way more often.
	MWConfig_ClearBossPosition = true;
	
// This is the number of attacks to be performed before the the character tries to move to another position. Set to 0 not to reposition.
   MWConfig_AttacksBeforeRepositioning = 5;

// Define when a monster is considered immune by entering the index of one or more of your attack skills. As an example: [1, 3] means that a monster is considered immune if it is immune to both NTConfig_AttackSkill[1] and NTConfig_AttackSkill[3], whatever those may be.
	MWConfig_CheckImmunitySkills = [];
	
	// Select the behaviour of your character when encountering a monsters that is considered immune referring to the definition above.
	// 0: Don't do anything. (D2NT default)
	// 1: Get close to the monster.
	// 2: Skip the monster.
	// 3: Attack the monster using NTConfig_AttackSkill[8] and NTConfig_AttackSkill[9]
	NTConfig_BehaviourOnImmuneMonster = 0;
	
	NTConfig_AttackSkill[8] = -1;	// Skill to be used against user defined immunes.
	NTConfig_AttackSkill[9] = -1;	// Untimed Skill to be used against user defined immunes.
Edit this
Code:
	// Specify the range of your Tornados.
	MWConfig_TornadoRange = 50;
	
	// Specify the range of your Twisters.
	MWConfig_TwisterRange = 50;

// This is the number of attacks to be performed before the the character tries to move to another position. Set to 0 not to reposition.
   MWConfig_AttacksBeforeRepositioning = 5;
Or Test This
Code:
case 245: // TORNADO
_NTA_SkillRange[i] = 100;
break;

case 240: // TWISTER
_NTA_SkillRange[i] = 100;
break;

case 250: // HURRICANE
_NTA_SkillRange[i] = 100;
break;