Jump to content
  • 0

Please help > crying


MTJ

Question

Hi guys,

 

We are facing a problem since the beginning of the server

 

which is when frintezza reaches his 3rd stage i see him transforming but then he goes under the ground and we get stucked on camera roll

 

please save me i'm dying because of this problem :(

 

skip to >> 3:30 

 

 

 

 

 

Edited by NaughtyGlad
Link to comment
Share on other sites

Recommended Posts

  • 0
17 hours ago, SweeTs said:

It uses social action to show animation and skill 5017 to grow up.

true, for 'morphing' to winged state, not true for third stage which i referred to

private class SecondMorph extends RunnableImpl
	{
(...)
			weakScarlet.broadcastPacket(new SocialAction(weakScarlet.getObjectId(), 1));
(...)
	}
20 hours ago, SweeTs said:

No, it's not another npc. At least on interlude. It's using a skill to grow up. If there is 3rd form npc, tell me the ID. 

don't know if you looked up this particular code, but first of all, its h5, not interlude, also:

	private static final int _weakScarletId = 29046;
	private static final int _strongScarletId = 29047;

	private class ThirdMorph extends RunnableImpl
	{
(...)
						weakScarlet.doDie(weakScarlet);
(...)
						NpcLocation loc = new NpcLocation();
						loc.set(weakScarlet.getLoc());
						loc.npcId = _strongScarletId;
						weakScarlet.deleteMe();
						weakScarlet = null;
						strongScarlet = spawn(loc);
						NpcLocation loc = new NpcLocation();
						loc.set(weakScarlet.getLoc());
(...)
						Skill skill = SkillTable.getInstance().getInfo(5017, 1);
						skill.getEffects(strongScarlet, strongScarlet, false, false);
	}

i hope you clearly see now that deletion of old npc and spawning new one in it's place is what is going on here, true, after that it's forced the grow skill, but i don't have much time to dig into all that messed up code to find the fix, as many things seem off in this pack

Link to comment
Share on other sites

  • 0

I know how it works and I was telling it since beginning. The problem is the grow, which is not increasing npc's height - I suppose, it's just an effect. So, even decay and spawn with higher Z won't solve the issue. At least it's what I remember from my old tests. :p

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...