Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2 > Diablo 2 Programming
You last visited: Today at 13:18

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

Advertisement



Character won't do BO / BS

Discussion on Character won't do BO / BS within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 5
Received Thanks: 0
Character won't do BO / BS

ever since i got the new muddy version my char doesn't do bo / ba anymore, i have a cta and spirit as offhand but he just wont use them, what to do?

thanks in advance
waveoflight88 is offline  
Old 12/08/2011, 11:40   #2
 
elite*gold: 0
Join Date: Jan 2007
Posts: 35
Received Thanks: 17
did you made a config file with the name of your character?
Code:
NTConfig_Paladin_yourCharnameHere.ntl
check also this (around line 310, just search for switchslots)

Code:
// Set this to true if you would like to switch slots right after casting BC, BO and Shout. If set to false, your char will remain with the BO Slot until the whole precast procedure is done.
	MWConfig_SwitchSlotsAfterBoPrecast = true;
it has to be "true"

if it's not working then try to add this

Code:
// Set this to true to force your bot to swap slots before precast. In case you are using CTA, set this to false.
	MWConfig_SwitchSlotsForPrecast = false;
patue is offline  
Old 12/08/2011, 13:22   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 131
Received Thanks: 3
i got the same problem....and this didnt help

Edit: other precast, ES and frozen armor, he does..

Quote:
Originally Posted by patue View Post
did you made a config file with the name of your character?
Code:
NTConfig_Paladin_yourCharnameHere.ntl
check also this (around line 310, just search for switchslots)

Code:
// Set this to true if you would like to switch slots right after casting BC, BO and Shout. If set to false, your char will remain with the BO Slot until the whole precast procedure is done.
	MWConfig_SwitchSlotsAfterBoPrecast = true;
it has to be "true"

if it's not working then try to add this

Code:
// Set this to true to force your bot to swap slots before precast. In case you are using CTA, set this to false.
	MWConfig_SwitchSlotsForPrecast = false;
stinki is offline  
Old 12/08/2011, 13:26   #4
 
elite*gold: 0
Join Date: Oct 2011
Posts: 5
Received Thanks: 0
thanks, indeed it seems to be working now. i tried everything you said, it still didn't work at that moment, but then i threw my items on the ground and had my char auto-pick up them, and he started shouting ever since. thanks for the feedback, i really appreciate your help.
waveoflight88 is offline  
Old 12/08/2011, 13:49   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 131
Received Thanks: 3
so u just dropped it ingame, while botting?
stinki is offline  
Old 12/08/2011, 14:30   #6
 
elite*gold: 0
Join Date: Oct 2011
Posts: 5
Received Thanks: 0
yeah, and it worked, sort of.. now it just keeps spirit + cta and goes kill stuff.. normally i have a hoto and a hoz :-s
waveoflight88 is offline  
Old 12/08/2011, 15:59   #7
 
elite*gold: 0
Join Date: Apr 2007
Posts: 95
Received Thanks: 15
Quote:
Originally Posted by waveoflight88 View Post
yeah, and it worked, sort of.. now it just keeps spirit + cta and goes kill stuff.. normally i have a hoto and a hoz :-s
I have the same problem right here, it wont switch back to hoto and no1 here seems to have a clue(or they dont wanna help because we are not german)
Royh91 is offline  
Old 12/08/2011, 16:05   #8
 
sataan1337's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 628
Received Thanks: 108
hi

just to mention that, questions about muddys bot belong into his release thread


ok to your problem, have you changed anything in the NTCommon.ntl ?

if not, try the following:

the file is located under scripts\libs\Common\NTCommon.ntl

open it and search for "// Array"

then change that part to look like that:

Code:
	// Array format: index 0: Value; index 1: Non-Class BO; index 2: CTA Slot
	_slotVal = new Array();
	_slotVal[0] = new Array();
	_slotVal[0].IsCTASlot = false;
	_slotVal[0].BoLevel = 0;
	_slotVal[0].BonusSkills = 0;
	_slotVal[0].Primary = 1;
	
	_slotVal[1] = new Array();
	_slotVal[1].IsCTASlot = true;
	_slotVal[1].BoLevel = 0;
	_slotVal[1].Primary = 0;

	_items = me.GetItems();
just undo what you changed in the other files, that worked for me

pS.: your char has to wear a spirit shield in the cta slot

(credits goes to who ever posted that solution in the other thread ^^)

*edit:

when it auto-picked the items, did it place the cta in slot #1 ? - if yes change that back too (i could imagine that caused by the original NTCommon.ntl it thinks cta goes to slot #1, and cause of the other configs it thinks it should fight with slot #1 - that might explain it wasnt bo'ing before and now its not switching to hoto)
sataan1337 is offline  
Old 12/08/2011, 18:55   #9
 
elite*gold: 0
Join Date: Oct 2011
Posts: 5
Received Thanks: 0
_slotVal[0].Primary = 1; I didn't have that line, and that was the issue. Thanks, works fine now
waveoflight88 is offline  
Old 12/08/2011, 19:06   #10
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41364
Join Date: Jan 2010
Posts: 22,729
Received Thanks: 12,624
I'm pretty sure the dude who wrote the function at hand intended that line to be:
Code:
_slotVal[0].Primary = 0;
It basically just evaluates all contributions to your BO level depending on your current equipment and character class. Considering this, there just isn't any point in adding an offset of 1 for no reason, as it would basically prevent the function from doing what it is originally supposed to do.
Muddy Waters is offline  
Old 12/08/2011, 20:53   #11
 
elite*gold: 0
Join Date: Apr 2007
Posts: 95
Received Thanks: 15
It still isnt working for me arggggg getting so frustrated that this bot doesnt work properly

Can someone please help me, please please or post your nt common or ill post mine, I really dont know what to do
Royh91 is offline  
Old 12/08/2011, 22:46   #12
 
sataan1337's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 628
Received Thanks: 108
Quote:
Originally Posted by Muddy_Waters View Post
I'm pretty sure the dude who wrote the function at hand intended that line to be:
Code:
_slotVal[0].Primary = 0;
It basically just evaluates all contributions to your BO level depending on your current equipment and character class. Considering this, there just isn't any point in adding an offset of 1 for no reason, as it would basically prevent the function from doing what it is originally supposed to do.
for me and many others this solved the problems, and in my case without any side effects ^^

to be honest most of the functions are what i would call "horrible bad code" ^^ so it wouldnt be that surprising if there are one or two bugs


pS.: if i understand that function correct all these calculations are only relevant for barbs, no?

ppS.: did maybe these item prefixes change in any patch? - an error in that line:
Code:
if((_items[i].itemflag & 0x4000000) && _items[i].itemprefix == 0x5027) // Check if the item is a CTA
might explain the malfunction too
sataan1337 is offline  
Old 12/08/2011, 22:48   #13
 
elite*gold: 0
Join Date: Apr 2007
Posts: 95
Received Thanks: 15
Quote:
Originally Posted by sataan1337 View Post
for me and many others this solved the problems, and in my case without any side effects ^^

to be honest most of the functions are what i would call "horrible bad code" ^^ so it wouldnt be that surprising if there are one or two bugs


pS.: if i understand that function correct all these calculations are only relevant for barbs, no?

ppS.: did maybe these item prefixes change in any patch? - an error in that line:
Code:
if((_items[i].itemflag & 0x4000000) && _items[i].itemprefix == 0x5027) // Check if the item is a CTA
might explain the malfunction too
I dont understand why it isnt working for me. Do you suggest dropping this bot and go for the older versions?
Royh91 is offline  
Reply


Similar Threads Similar Threads
[c#]Displays current character/character limit
03/11/2011 - CO2 Programming - 10 Replies
I have searched on google and youtube but still i can't understand how to show the current character on the label :S private void CharLimit() { if (textBox1.Text.Length >= 160) for (int i = 160; i < Text.Length; i--) { label1.Text = Text.Length.ToString();
WTT iSRO(RedSea)lvl 106 character for rSRO Artemis character!
09/07/2010 - Silkroad Online Trading - 10 Replies
Hey guys/girls, I want to trade my lvl 106 rogue/bard on RedSea server. Rev6.com - The 6th Revolution Character information: -name : SrO_Diabolik -build : rogue/bard full STR -skills : rogue/bard lvl 106 with skills up to date with about 250 k sp left -items:+2 +3 items with blue,101+5 dagger crit 18,shield 101+5 br 18 -never banned



All times are GMT +2. The time now is 13:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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