Quote:
Originally Posted by Insaneety
Kann es sein das das Diablo Script irgendwie verbuggt ist ?
Von 10 Games nur 8 erfolgreich,,, der macht immer nen Fehler bei den Linken 2 Siegeln, öfnet sie und dann will er Mobs attacken die nicht da sind oder nicht dran kommt ka...
ab und zu gibts auch ne 2 fehlermeldung:
1. [01:36:17 D1] NTDiablo.ntj : NTM_MoveTo() failed (The Chaos Sanctuary)
2. [01:41:25 D1] NTDiablo.ntj : NT_OpenSealsInt() failed (The Chaos Sanctuary)
diese kommen aber nicht immer nur ab und zu,,, wie gesagt er versucht zu attacken steht aber auf der stelle und spammt Hämmer obwohl nix da ist.
Vielleicht hat ja jemand nen Rat.
|
Irgendjemand hatte dzau schonmal was moniert, ich konnte die Sache damals aber nicht bei mir reproduzieren.
Insofern kann ich dir dabei so pauschal auch nicht helfen, tut mir Leid. :(
Quote:
Originally Posted by David Dean
Hey Muddy thanks for the help before. It has been invaluable. I have a quick question about using a Sorc. Is there a way to enable "melee" attacks? My new sorc continues to try and melee at "casting" range.
|
You're welcome. :)
Let me get this straight: You want your sorc to actually use "Attack"?
Sounds a little odd, unless she's a melee bear build.
Anyway, you will have to perform some slight changes in the
NTA_Initialize() function (line 31 ff., NTAttack library) which is where the ranges for your attacks are set.
Have a closer look at the switch statement.
All you need to do, is adding a case for the skill that you would like to use and then specify the desired range (2-3 for melee skills). For melee skills, it is also a good idea to set the skill hand in order to prevent the skill from being used with the shift key held. The latter might prevent your char from actually hitting its target in some situations.
The case to be added should look like this:
Code:
case MWS_ATTACK:
_NTA_SkillHand[i] = NTC_HAND_LEFT;
_NTA_SkillRange[i] = 3;
break;
Another problem is the skill id itself - basically because MWS_ATTACK equals 0 which of course is also the value indicating that an attack skill is not set.
So in order to make this work properly, you might also have to do some tweaking in the attack algorithm. ;)
Kind Regards
Muddy