Skip to content

Please help > crying

Featured Replies

Use pastebin for codes. 

  • Author
4 hours ago, SweeTs said:

Use pastebin for codes. 

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

You don't edit class files as well. You need sources, .java files. 

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.