Jump to content
  • 0

[Help]Aio Buffer import quest failed.


Question

Posted

hello guys. I have problem with my buffer i add my buffer in costume folder add line in __init__ add html fail but on load it says failed to import quest... and in game it says i dont have criteria ...so i'm using l2jfree and here is my starting for my npc .. :

import sys
from com.l2jfree.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jfree.gameserver.datatables import SkillTable
from com.l2jfree			       import L2DatabaseFactory
from com.l2jfree.gameserver.model.quest import State
from com.l2jfree.rver.model.quest import QuestState
from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

qn = "8505_Buffer"

NPC=[85050]
ADENA_ID=57
QuestId     = 8505
QuestName   = "Buffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

print "importing custom: 8505: Buffer"

class Quest (JQuest) :

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

2 answers to this question

Recommended Posts

  • 0
Posted

hello guys. I have problem with my buffer i add my buffer in costume folder add line in __init__ add html fail but on load it says failed to import quest... and in game it says i dont have criteria ...so i'm using l2jfree and here is my starting for my npc .. :

import sys

from com.l2jfree.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from com.l2jfree.gameserver.datatables import SkillTable

from com.l2jfree       import L2DatabaseFactory

from com.l2jfree.gameserver.model.quest import State

from com.l2jfree.rver.model.quest import QuestState <--------------------

from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

 

qn = "8505_Buffer"

 

NPC=[85050]

ADENA_ID=57

QuestId     = 8505

QuestName   = "Buffer"

QuestDesc   = "custom"

InitialHtml = "1.htm"

 

print "importing custom: 8505: Buffer"

 

class Quest (JQuest) :

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

::)

Thats why doesnt work.

The correct imports:

import sys
from com.l2jfree.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jfree.gameserver.datatables import SkillTable
from com.l2jfree			       import L2DatabaseFactory
from com.l2jfree.gameserver.model.quest import State
from com.l2jfree.gameserver.model.quest import QuestState
from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

  • 0
Posted

i still get the error... ;( the buffers are one big problem ;(

Edit:the same maybe there is core problem ? because  a lot of the guys have this problem and it's still not resolved ;(

maybe here is some guy ho fix'd this problem ? a can help me !?

edit2: one more question where he gets the info about that quest ? in the import it says

from com.l2jfree.gameserver.model.quest import State

that means from com/l2jfree/gameserver/model/quest but i don't have that kind of folders !!

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...