Jump to content
  • 0

Help L2j Brasil Buffer fast please


Question

9 answers to this question

Recommended Posts

  • 0
Posted

i will teach you fix it fast and easy go to folder your npc buffer and open data\jscript\custom\9999_NPCBuffer and open __init__.py and u see imports u must change it for imports l2jbrasil and done i think u understand what i mean.

  • 0
Posted

u must only change for example this imports for imports l2jbrasil.

 

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

  • 0
Posted

again, go to folder your npc buffer data/jscript/custom/9999_NPCBuffer and open __init__.py

 

and show me your imports what u have and i tell u what next must change.

  • 0
Posted

custom folder jscript

__all__ = [

'3995_echo',

'4000_ShadowWeapons',

'5000_MissQueen',

'7000_HeroItems',

'8000_RaidbossInfo',

'6050_KetraOrcSupport',

'6051_VarkaSilenosSupport',

'9999_NPCBuffer',

]

print ""

print "importing custom data ..."

for name in __all__ :

    try :

        __import__('data.jscript.custom.'+name,globals(), locals(), ['__init__'], -1)

    except:

        print "failed to import quest : ",name

print "... done"

print ""

 

 

 

 

 

 

 

 

 

jscript

__all__ = [

'quests',

'custom',

'teleports',

'village_master',

'ai'

]

import quests

import custom

import teleports

import village_master

import ai

 

  • 0
Posted

wrong ... mayby this help u find right file .py your buffer

 

GameServer\data\jscript\custom\9999_NPCBuffer and open this __init__.py

 

have it ?

  • 0
Posted

yes i have it

 

 

import sys

from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from net.sf.l2j.gameserver.datatables import SkillTable

from net.sf.l2j       import L2DatabaseFactory

from net.sf.l2j.gameserver.model.quest import State

from net.sf.l2j.gameserver.model.quest import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

 

qn = "9999_NPCBuffer"

 

NPC=[40006]

ADENA_ID=57

QuestId    = 9999

QuestName  = "NPCBuffer"

QuestDesc  = "custom"

InitialHtml = "1.htm"

 

print "importing custom: 9999: NPCBuffer"

 

class Quest (JQuest) :

 

  • 0
Posted

import sys

from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from net.sf.l2j.gameserver.datatables import SkillTable

from net.sf.l2j       import L2DatabaseFactory

from net.sf.l2j.gameserver.model.quest import State

from net.sf.l2j.gameserver.model.quest import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

 

change imports for this

 

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

 

and should now working ;)

 

 

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