Jump to content
  • 0

Pailaka 73 Injured Dragon --Freya Ct2.5


Question

Posted

I got the pack in a previous thread: http://www.maxcheaters.com/topic/170431-pailaka-73-injured-dragon-freya-ct25/

 

There is at least one issue: the file 32499-over.htm contains:

<html><body>肯特拉獸人巫師:<br>
你在這個世界也已經是個馳名的勇士!這種事情不值得告訴你這麼傑出的人!<br>
(只有等級77以下的角色,才可以執行的任務。)<br>
<center><font color="FF0000">(任務尚未實裝!)</font></center>
</body></html>
This translates to (per Google):
 
<html><body>Kente La orc shaman.<br>
You also have in this world is a famous warrior! This kind of thing is not worth telling you such a distinguished man!<br>
(Only Level 77 the following roles can perform tasks.)<br>
<center><font color="FF0000">(Task is not real equipment!)</font></center>
</body></html>

Then also in 32499-no.htm:

<html><body>肯特拉獸人巫師:<br>
你還沒有資格去了解那偉大的肯特拉,以及其守護靈-赤龍一族的事情!<br>
(只有等級73以上的角色,才可以執行的任務。)<br>
<center><font color="FF0000">(功能尚未實裝!)</font></center>
</body></html>
Which is something about the feature not being implemented. I wanted to know if anyone has the English translations on these?
 
Also in the python init script:
 
def onTalk (self,npc,player) :
   npcId = npc.getNpcId()
   htmltext = "<html><body>¥Ø«e¨S¦³°õ¦æ¥ô°È¡A©Î±ø¥ó¤£²Å¡C</body></html>"
   st = player.getQuestState(qn)
   if not st: return htmltext
   id = st.getState()
   if id == State.CREATED :
     st.set("cond","0")
   if npcId == 32499 and st.getInt("cond") == 0  :
     if st.getPlayer().getLevel() >= 77 :
       htmltext = "32499-00.htm"
       st.exitQuest(1)
     else :
       htmltext = "32499-01.htm"
       st.exitQuest(1)
   return htmltext

QUEST       = Quest(144,qn,"µá©Ô¥d-¨ü¶ËªºÀs")
There is also a bit of this in the java file which isn't working out well. I checked the HI5 SVN and this quest is not implemented there. 
 
Any help is greatly appreciated.

11 answers to this question

Recommended Posts

  • 0
Posted

Ok, so when I make a new character, accept the quest, and choose to enter, I get a message in the system message window that says "Enter" and nothing happens. 

 

When I talk to him again, it says "No Quests for you".

 

I added the following to scripts.cfg:

instances/Pailaka/PailakaInjuredDragon.java
quests/144_PailakaInjuredDragon/__init__.py
 
 
The quest text is now correct leading up to the entry point, but thats it. 
 
Anybody have a clue or can point me in the right direction?
  • 0
Posted

Any error in console?

 

Debug the onAdvEvent method and check console

 

public final String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
	{
+System.out.println("event");
		final QuestState st = player.getQuestState(qn);
		if (st == null)
			return EMPTY;

		final int cond = st.getInt("cond");
+System.out.println("nullpass");
		if (event.equalsIgnoreCase("enter"))
		{
+System.out.println("entering");
			enterInstance(player);
			return null;
		}
  • 0
Posted

No messages printed to the logs, just the last line `telnet server is currently disabled` that is present from server start. 

 

Here is the relevant bits from the PailakaInjuredDragon.java file:

# grep -13 onAdvEvent game/data/scripts/instances/Pailaka/PailakaInjuredDragon.java
                {
                        final int instanceId = InstanceManager.getInstance().createDynamicInstance("PailakaInjuredDragon.xml");

                        world = new InstanceWorld();
                        world.instanceId = instanceId;
                        world.templateId = INSTANCE_ID;
                        InstanceManager.getInstance().addWorld(world);

                        world.allowed.add(player.getObjectId());
                        teleportPlayer(player, TELEPORT, instanceId);
                }
        }

        public final String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
        {
        System.out.println("event");
                final QuestState st = player.getQuestState(qn);
                if (st == null)
                        return EMPTY;

                final int cond = st.getInt("cond");
        System.out.println("nullpass");
                if (event.equalsIgnoreCase("enter"))
                {
        System.out.println("entering");
                        enterInstance(player);
                        return null;

  • 0
Posted

To add: when I try to enter it just sends the text "Enter" similar to this image:

 

http://puu.sh/24TgG

 

If I talk to the NPC again or choose "go later" and talk to him again his text is "No quest for you". 

 

It used to look like the image above, but I've been messing with this so much now that I can't remember what resolved that. Probably due to having Windows line endings in the file. 

  • 0
Posted

I think there is a mess in these files hmm... the quest/ file seems useless since the one inside instances/ it's already the quest.

Try removing it.

  • 0
Posted

That worked! Do you happen to know what I need to do to make the Silenos aggro, spawn the caster when killed, and teleport the player back when they try to run through? 

 

I am guessing that is all added to the npc table for the gameserver database?

  • 0
Posted

aggro -> npcaidata, spawn mob when killed u must addKillId() in the quest and code the spawn when your npc is killed...

  • 0
Posted

I have the following code in the java file for the instance:

public PailakaInjuredDragon(int questId, String name, String descr) {
super(questId, name, descr);
addStartNpc(KETRA_ORC_SHAMAN);
for (int npcId : NPCS)
addTalkId(npcId);

addKillId(LATANA);
for (int mobId : MONSTERS)
addKillId(mobId);

Nothing spawns when anything is killed. Any clue as to what needs to be done to correct this>?

  • 0
Posted

I found the following, but not sure if this is as simple as the function should be:

567	        public PailakaInjuredDragon(int questId, String name, String descr) 
568	        {
569	                super(questId, name, descr);
570	                addStartNpc(KETRA_ORC_SHAMAN);
571	                for (int npcId : NPCS)
572	                {
573	                        addFirstTalkId(npcId);
574	                        addTalkId(npcId);
575	                }
576	                addKillId(LATANA);
577	                for (int mobId : OTHER_MONSTERS)
578	                        addKillId(mobId);               
579	                addAggroRangeEnterId(LATANA);
580	                // Add aggro acting on main mobs
581	                for (int mobId : WALL_MONSTERS)
582	                {
583	                        addAggroRangeEnterId(mobId);   
584	                        addSpawnId(mobId);
585	                        addKillId(mobId);
586	                }
587	               
588	                addExitZoneId(ZONE);
589	                questItemIds = ITEMS;
590	        }
  • 0
Posted

I got the skills for the mobs in there:

UPDATE npc SET aggro=900 WHERE id IN (18635, 18636, 18642, 18646, 18654, 18653, 18649, 18650, 18655, 18657, 18659, 18644, 18641, 18640, 18648, 18645, 18658, 18656, 18652);
UPDATE npcaidata SET clan='pailaka_clan' WHERE npc_id IN (18635, 18636, 18642, 18646, 18654, 18653, 18649, 18650, 18655, 18657, 18659, 18644, 18641, 18640, 18648, 18645, 18658, 18656, 18652);

I am still looking for what causes the player to be teleported back if he tries to run through, and what causes the mobs to spawn when one is killed.

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


  • Posts

    • Wtb full account or items on l2 warland 
    • https://discord.gg/k53SZ4DM5z   Interlude Client L2Old Pride is a L2 Pride Interlude Based All functional skills (Not archer/mage server)   L2Old Pride Helper (Works like Woundrous Cubic) https://imgur.com/iYqmHQY Farm Zones: Cave of Trials and Elven Ruins (Chaotic) Olympiads: Every 15 days Various Cosmetic Items https://imgur.com/uoeU6Jw https://imgur.com/oCS2Zed PvP Zone: Gludin Village (No-Parties, Disguised) More than 100 new Skills https://imgur.com/6RaPsQV Max Level: 90 https://imgur.com/z4QVJKZ Gaining Xp by PVP https://imgur.com/LRqI31T Purchasable S-grade items +10 or +20 with random chance to enchant +5 Purchasable Custom Items Depends on Tier Mysterious Merchants https://imgur.com/2ZwWyPH Auto Enchant Via PvPing (with low chance) Custom Raid Bosses Siege Every Weekend (Aden, Rune, Giran) Autofarm / Drop Tracker https://imgur.com/Vz3rha6   RATES: • Start Level 80 • Max level 90  • EXP: 5000x • SP: 5000x • ADENA 6000x   ENCHANT: • Maximum enchant S Grade Items: +35. • Maximum enchant Unique/Epic Items: +25. • Maximum enchant Legendary Items: +18. • Maximum enchant Relic Items: +14. •Descriptions for rate at scrolls!   EVENTS: • TEAMS vs TEAMS • CAPTURE THE FLAG • DOMINATION • DEATH MATCH • DICE OF DEATH • CHAOTIC ZONE   OTHERS: Assistance system in pvps. Where support classes are enabled to receive pvp with a low chance, for supporting a party member during pvp. •  /sit to regen HP/MP/CP • Custom Shots Glows https://imgur.com/FLK0DmR • Achievements System • Daily Tasks System • Monthly Tasks System   CUSTOM ARMORS SETS Dread Armor/Titanium Armor Pride Armor Rykros Armor https://imgur.com/SPxoQp1   CUSTOM WEAPONS SETS Unique Weapons Pride Weapons Legendary Weapons Relic Weapons https://imgur.com/kOHNXhS   CUSTOM ACCESSORIES Standard Superior Legendary https://imgur.com/zPqNiiX   CUSTOM JEWELS/TATTOO Legendary Nightmarish https://imgur.com/gcqS28P There are many more features that you will only understand by playing and following. Beta testing server is currently open. Follow us on our discord and join our server to test it.
    • You shouldn't use rev 382, not sure why everyone keep using that.   I don't make changesets for fun, I don't make new revisions for nothing.   Follow the revisions.
    • Your issue isn't related to geoengine at all (as always), rev 410 got improved water movement management.
  • Topics

×
×
  • 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