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

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


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