Skip to content

[Help]Aio Buffer import quest failed.

Featured Replies

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)

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

  • Author

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.