Jump to content
  • 0

Please help > crying


Question

Posted (edited)

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

Recommended Posts

  • 0
Posted
4 hours ago, SweeTs said:

Use pastebin for codes. 

this is .class file, i don't know how to edit the code xD

  • 0
Posted
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

  • 0
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock