Please fix Juju

Use this forum for general discussions

Please fix Juju

Postby Dragoth » Thu Feb 28, 2013 6:11 am

summon juju is playing up sometimes, been happening for awhile, not sure why..


<873hp 864ma 284mv>summon juju
You gaze deeply into the obsidian charm, attempting to draw out the juju's essence from within.
As the glow within the charm begins to fade the floor splits and two large arms appear from the crack.

<873hp 792ma 285mv>summon juju
A vicious Ju-Ju Zombie crumbles to dust!
You gaze deeply into the obsidian charm, attempting to draw out the juju's essence from within.
As the glow within the charm begins to fade the floor splits and two large arms appear from the crack.

<873hp 737ma 296mv>A vicious Ju-Ju Zombie crumbles to dust!

<873hp 751ma 303mv>save
summon juju
Saving Anrok.
Saving items.

<873hp 764ma 310mv><[-87]md>
You gaze deeply into the obsidian charm, attempting to draw out the juju's essence from within.
As the glow within the charm begins to fade the floor splits and two large arms appear from the crack.
A vicious Ju-Ju Zombie starts following you.
User avatar
Dragoth
Triple 40 Poster
 
Posts: 401
Joined: Tue May 25, 2004 3:37 pm
Status: Offline

Re: Please fix Juju

Postby *juggleblood* » Thu Feb 28, 2013 9:39 am

I looked into it.

Issue is that part of the proc is on the charm, and part is on the mob. They don't jive perfectly, so sometimes the mob believes it is masterless and crumbles to dust. It should be a random thing depending on the exact timing of the casting.

It's an old / complicated proc. I will have to tear it apart when I have some time.
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Re: Please fix Juju

Postby Magi » Thu Feb 28, 2013 7:00 pm

The Juju should only melt when you are Dark cloaked or Urban Stealth'd.

I bet it will never happen while you're using wall of flesh or flesh golem.

An easy fix might be to make pets immune to the stealth affect of dark cloak, which would also allow them to assist dark cloaked players.
Magi
40 Prime Poster
 
Posts: 92
Joined: Fri Apr 17, 2009 2:31 pm
Status: Offline

Re: Please fix Juju

Postby *juggleblood* » Thu Feb 28, 2013 8:42 pm

Huh?

You are saying you know this is how it is? Or you r speculating?

Because that would truly baffle me if it were true. The code doesn't care if the Juju can see it's master or not. Am I not understanding?
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Re: Please fix Juju

Postby Magi » Fri Mar 01, 2013 11:18 am

I can only speak from experience playing a necro. I've not looked at the juju zombie code.

I believe dark cloak to be the cause of the problem. It would be pretty easy to prove me wrong, if I am :)
Magi
40 Prime Poster
 
Posts: 92
Joined: Fri Apr 17, 2009 2:31 pm
Status: Offline

Re: Please fix Juju

Postby *juggleblood* » Fri Mar 01, 2013 9:53 pm

I take your word for it. I'm just surprised.

I had my newbie on last night and it godrained. I went to rent and Shelda was giving me the don't see you message because of the dark cloak. It was an interesting coincidence that u had just mentioned the issue. I went outside the inn and killed a mob and stepped back in and I was fine.

Now I just tried testing Juju with dark cloak and renting with dark cloak. Neither was any problem. If I could replicate it, I'd have something better to bug a coder about. R u able to replicate it?
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Re: Please fix Juju

Postby Magi » Mon Mar 04, 2013 12:16 am

Dark cloak stealth effect is a % chance the mob won't see you correctly. Stand at an innkeeper and type 'offer' twenty times. 5 or 10% of the time (never tested the exact number) he'll give you the 'I can't see you' message.

If dark cloak is the cause of the juju problem, it would be failing the same 5-10% of the time. It should be easy to replicate as long as you repeat the summoning it enough times.
Magi
40 Prime Poster
 
Posts: 92
Joined: Fri Apr 17, 2009 2:31 pm
Status: Offline

Re: Please fix Juju

Postby *juggleblood* » Mon Mar 04, 2013 3:09 am

Thanks for that. Using the offer command helped me figure it out. Strangely enough, the key to the fix is detect magic. I noticed Shayne the innkeeper never does the can't see you because you are dark cloaked thing. The only diff between him and Shelda was detect magic and voila, that was the issue.

So I'm applying detect magic to the Juju's and I think that should resolve it.

I'm also applying it to the innkeepers (that I remember).
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Re: Please fix Juju

Postby Magi » Mon Mar 04, 2013 11:13 am

That's amazing! Nice work.

I may start carrying potions of detect magic for my pets so they can assist me properly :)
Magi
40 Prime Poster
 
Posts: 92
Joined: Fri Apr 17, 2009 2:31 pm
Status: Offline

Re: Please fix Juju

Postby *juggleblood* » Mon Mar 04, 2013 7:21 pm

Gimme a list of your most oft used pets and I'll make sure they have it innately.
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Re: Please fix Juju

Postby *Splork* » Mon Mar 04, 2013 9:48 pm

All animates and summons will be born with detect magic now.

In on reboot,
Splork
User avatar
*Splork*
Site Admin
 
Posts: 1135
Joined: Tue Apr 29, 2003 8:50 pm
Status: Offline


Return to General Chat (Registered)

Who is online

Users browsing this forum: No registered users and 13 guests