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

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
    • sell adena, items, account l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO THE BEST PRICES IN THE WORLD OF LINEAGE 2
    • Can you reupload system patch?
    • he was my customer many years ago, i setup his acp and some statistics on his website, plus some security it is big difference than "friend"   its more dissapointment than hate, take example acis, how many years still development. PS: you know i was selling websites and i still sell donate panels for l2 servers right?
  • 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