Jump to content
  • 0

[help plz]anagi


phantoml2

Question

10 answers to this question

Recommended Posts

  • 0

Orea epd dn einai diskolo apla kane auta p 8a sou pw.

1) Perase ta arxeia pou kateuases ston server.

2) kane exequte to sql.An den ginete ftiaxe ena npc me to idio id kai sto column pou bazeis ti einai to npc bale L2Buffer i L2Npc

3)Anoixe to __init__.py arxeio tou buffer.

4)tha deis ta exeis:

Code:

 

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

 

5)anoixe ena __init__.py apo ta kanonika quest tou server.tha deis ta idia apla stin 8esi tou net.sf.l2j 8a sou leei kati allo.antigrapse auto to allo kai antikatestise to sti 8esh tou net.sf.l2j.

6)apo8ikeuse to __init__.py

7)O buffer prepei na douleuei Tongue testare ton Roll Eyes

Link to comment
Share on other sites

  • 0

Imports

 

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

 

Alla3e kai to init.py sto fakelo custom kai pros8ese to 9999_NPCBuffer opos edo.

 

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'7000_HeroItems',
'8000_RaidbossInfo',
'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 ""

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


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