Jump to content
  • 0

Problem with Ice queen Castle


Question

Posted

Hi I have a mistake with the instance after talk with  Jinia.

 

-Meeting sirra-

To the hideout of jinia guild (done)

Meeting with Kegor (done)

Conversation with Jinia (done)

Unexpected visit (done)

The Unforgiven(done)

To Freya's Garden (done)

To Ice Queen (done)

End the Winter! (in progress):

 

error:

 

C:\Users\nvd\Desktop\FreyaLocal\game\data\scripts\instances\IceQueenCastle1\IceQ

ueenCastle1.java

java.lang.ClassCastException: com.l2jserver.gameserver.model.actor.instance.L2Np

cInstance cannot be cast to com.l2jserver.gameserver.model.actor.L2Attackable

        at instances.IceQueenCastle1.IceQueenCastle1.spawnFirst(IceQueenCastle1.

java:537)

        at instances.IceQueenCastle1.IceQueenCastle1.enterInstance(IceQueenCastl

e1.java:484)

        at instances.IceQueenCastle1.IceQueenCastle1.onTalk(IceQueenCastle1.java

:107)

        at com.l2jserver.gameserver.model.quest.Quest.notifyTalk(Quest.java:490)

 

        at handlers.bypasshandlers.QuestLink.showQuestWindow(QuestLink.java:168)

 

        at handlers.bypasshandlers.QuestLink.useBypass(QuestLink.java:59)

        at com.l2jserver.gameserver.model.actor.L2Npc.onBypassFeedback(L2Npc.jav

a:996)

        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.

runImpl(RequestBypassToServer.java:158)

        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run

(L2GameClientPacket.java:62)

        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1

002)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

 

 

Anyone can give a little help? thanks!

 

5 answers to this question

Recommended Posts

  • 0
Posted

There is problem with cast L2NpcInstance to L2Attackable

Check IceQueenCastle1.java - line 537, maybe u have got something like ((L2Attackable)npc).something

  • 0
Posted
Freya started IceQueenCastle1.xml Instance: 300000 created by player: skunk

 

C:\Users\nvd\Desktop\FreyaLocal\game\data\scripts\instances\IceQueenCastle1\IceQ

ueenCastle1.java

java.lang.ClassCastException: com.l2jserver.gameserver.model.actor.instance.L2Np

cInstance cannot be cast to com.l2jserver.gameserver.model.actor.L2Attackable

        at instances.IceQueenCastle1.IceQueenCastle1.spawnFirst(IceQueenCastle1.

java:487)

        at instances.IceQueenCastle1.IceQueenCastle1.enterInstance(IceQueenCastl

e1.java:435)

        at instances.IceQueenCastle1.IceQueenCastle1.onTalk(IceQueenCastle1.java

:107)

        at com.l2jserver.gameserver.model.quest.Quest.notifyTalk(Quest.java:490)

 

        at handlers.bypasshandlers.QuestLink.showQuestWindow(QuestLink.java:168)

 

        at handlers.bypasshandlers.QuestLink.useBypass(QuestLink.java:59)

        at com.l2jserver.gameserver.model.actor.L2Npc.onBypassFeedback(L2Npc.jav

a:996)

        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.

runImpl(RequestBypassToServer.java:158)

        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run

(L2GameClientPacket.java:62)

        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1

002)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Here the code

http://pastebin.com/k2CSX15B

  • 0
Posted

You have - more probably - some missing core support with addSpawn.

 

I agree deleting (L2Attackable) will fix it (and btw you must delete everytime you find it, I see there is at least 10 uses), but better see if they (L2J ? I guess) didn't add a L2Attackable addSpawn instead of regular L2Npc, because both methods can have different content.

 

Simple :

- that script is part of current L2J DP => you miss core support, add it on Quest.java.

- that script is coming from an obscure russian fork than no one heard about => adapt as vampir said.

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.



×
×
  • Create New...