Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2
You last visited: Today at 15:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



scripting help pls

Discussion on scripting help pls within the Diablo 2 forum part of the Other Online Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1
Received Thanks: 0
scripting help pls

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
DeathyViper1959 is offline  
Old 07/08/2014, 13:12   #2
 
NerDxx™'s Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 559
Received Thanks: 71
Write it next time here



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;
NerDxx™ is offline  
Reply


Similar Threads Similar Threads
SCRIPTING HELP
06/08/2009 - Lineage 2 - 0 Replies
this is my 1st time at scripting so please help me out. Simple OOG Walker Chant of Life DOT heal for warcrier for group member with delay and loops LABEL(DOT) DELAY(15000) MemberStatus(MyBD,HP,<=,65) UseSkill(Chant of Life) CALL(DOT) any of my syntax is wrong? the probleem is it does not check the member hp condition.
L2 scripting
07/19/2007 - Lineage 2 - 1 Replies
hey ya guys, i would like to ask you, if there is any possibility how to make a script, that would report about your char, for eg. i will pm on my spoil from another char with any security asnwer, like howmanyitems? - and my spoil should asnwer, how many items does it have....idk -> im away from home and left my spoiler spoiling some materials or enchants, log anywhere on another char, then PM my spoil, how many items or enchants does it have....i tried something about AI answer, but i...
HELP! I need help scripting
02/06/2007 - Conquer Online 2 - 1 Replies
OK, I want to know how u ppl do it! I what program do u use to make them? cause i wanna help but i dun know how... somone plz reply!
LUA Scripting
06/23/2006 - World of Warcraft - 2 Replies
Moin, Suche einen LUA Scripter der mir folgendes AddOn machen könnte: Mein Bankchar steht z.B. in Ironforge rum. Wenn mich nun z.B. ein Gildenspieler mit dem Text "Bankinhalt" anwhispert, soll das AddOn automatisch checken was in der Bank ist und ihm anschliessend sofort zurücksenden was in der Bank vorhanden ist und in welcher Menge. Wenn sowas möglich ist, wäre es echt cool wenn mir jemand helfen könnte. Bin gerne für ander Vorschläge offen, wenn meiner nicht geht! Schonmal Danke...



All times are GMT +2. The time now is 15:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.