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

    • L2Virus the one who buyed those files from me.
    • Hi ️ Are you a supplier or do you have your own modem and are looking for a place to sell numbers?  SMS.PRO - The best option for selling your numbers  You choose the selling price yourself  Sale option: public (to everyone) or private (you choose who you want to sell to)  Everything works automatically  The simplest possible connection  Visit the website SMS.PRO and start selling your numbers.  Support @alismsorg_bot
    • Good luck to anyone playing on this server . Kamael items are bugged ( stats are insane ) Commands not working properly ( .getreward for example  ... gives u free reward without voting ). When i had those files , i fixed most of the stuff .   Every 2-3 years , he closes the server because players report bugs to him about items , he dont know how to fix then he repeating the process again https://ibb.co/Fkv7y9hJ https://ibb.co/fdYP2bVQ https://ibb.co/sp1f8C61 https://ibb.co/CKZnCgL7 https://ibb.co/Z6GktJgP  
    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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