Severe problem with ShadowMaster-like summons

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

User avatar
Count.Dracula
Junior Member
Champion of the Light
Posts: 405
Joined: Sun Jan 13, 2008 10:14 pm
Location: Vernon,BC,Canada

Severe problem with ShadowMaster-like summons

Post by Count.Dracula » Mon Oct 06, 2008 6:00 am

I made a skill that allowed Barbarian to summon Talic with ShadowMaster AI. However the game didn't respond whenever I used the skill.
Further test showed that characters other than BB could use this skill properly.
I really have know idea. It seems that Blizzard prohibits BB from having a summon with ShadowMaster AI!
Thanks in advance.
Last edited by Count.Dracula on Mon Oct 06, 2008 6:05 am, edited 1 time in total.
Dracula walks the earth!

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
South Africa

Hand-picked

Post by Necrolis » Mon Oct 06, 2008 6:05 am

Did you give his skills the correct ai params? Was he dual wielding at the time? By 'not respond' do you mean it freezes, or its doesn't attempt to cast the skill
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Count.Dracula
Junior Member
Champion of the Light
Posts: 405
Joined: Sun Jan 13, 2008 10:14 pm
Location: Vernon,BC,Canada

Post by Count.Dracula » Mon Oct 06, 2008 6:08 am

Any characters other than BB can use this skill properly, and Talic works fine.
However, my BB can't do it.
Sorry that I mean the game freezes when BB uses the skill.
I appreciate for your help.
Dracula walks the earth!

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
South Africa

Hand-picked

Post by Necrolis » Mon Oct 06, 2008 12:20 pm

Well it means that its either entering an infinite loop(bad skill setup and ai params), or its doing something that loops the ai(like dual wielding) change the ai and see if it changes anything
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Count.Dracula
Junior Member
Champion of the Light
Posts: 405
Joined: Sun Jan 13, 2008 10:14 pm
Location: Vernon,BC,Canada

Post by Count.Dracula » Tue Oct 07, 2008 1:21 am

Ok, in some way I've figure it out.
In my mod, BB has three start passive skills, each of them gives 5 types of bonus, and I have made the original passive skills have more bonus stats.
As we know, the ShadowMaster will learn all of a character's passive skills automatically regardless you put 10 in aitype for these skills.
So I tried to eliminate some of the bonus stats randomly, then it works!
However, none of the bonus stats will cause infinite loops. Thus I still don't know why the ShadowMaster will freeze the game but my BB won't, as we have the same skills - -

Sorry for double replying, I will delete one later.
Dracula walks the earth!

User avatar
Nefarius
Retired Admin
Cherub
Posts: 11607
Joined: Sat Jun 15, 2002 8:13 pm
Location: Where the blood forever rains

Hand-picked

Re: Severe problem with ShadowMaster-like summons

Post by Nefarius » Tue Oct 07, 2008 8:00 am

Because there are a ton of hardcodes to the shadowmaster unit line# that make the shadowmaster work the way it does. Clones of it will not be complete copies.
Last edited by Nefarius on Tue Oct 07, 2008 8:01 am, edited 1 time in total.
''(...) The game can basically be considered unhackable. '' - Blizzard Entertainment (30th May 2000)
Black Omen Productions | MetalStorm: Progress Report | Screenshots

User avatar
Count.Dracula
Junior Member
Champion of the Light
Posts: 405
Joined: Sun Jan 13, 2008 10:14 pm
Location: Vernon,BC,Canada

Post by Count.Dracula » Tue Oct 07, 2008 8:22 am

Could you please give me an example of hardcoded stuff to the ShadowMaster? I'd appreciate.

Now I want to know why a ShadowMaster-AI creature has several passive skills will freeze the game when I summon it?
Dracula walks the earth!

User avatar
Borgin
Forum Regular
Angel
Posts: 902
Joined: Fri Dec 05, 2003 5:25 am
Location: Wisconsin

Post by Borgin » Tue Oct 07, 2008 4:49 pm

Perhaps it is reaching the state limit.

User avatar
Count.Dracula
Junior Member
Champion of the Light
Posts: 405
Joined: Sun Jan 13, 2008 10:14 pm
Location: Vernon,BC,Canada

Post by Count.Dracula » Thu Oct 09, 2008 8:00 am

Maybe you are right, but I think my BB is more likely to reach the state limit.

Ok, another problem.
I use srvdofunc=119, and the pet seems like only has 1 hitpoint: any damage will kill them instantly
Dracula walks the earth!

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
South Africa

Hand-picked

Post by Necrolis » Thu Oct 09, 2008 9:41 am

Your either using incorrect skill params, giving too much life, or mismatched functions, this is why one uses clones as a base(that includes related monsters and missiles) and slowely alters them, else one does up with a crapstorm if you dunno what your doing...
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

Return to “General Mod Making”