lpn file kita ti tha kaneis ,logika i buffer sou vriske gameserver/data/jscript/custom
ekei mesa iparxei ena arxeio __init__.py anoikse to me notepack
__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport'
]
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 ""
sou vgazei auta logika ama exeis allo pack tha einai diaforetika
lipon katw apo auto '6051_VarkaSilenosSupport' tha valeis tn onom tou fakelou tis buffer s dld '9999_NPCBuffer' i 9998 oti einai prosoxi twra epidi auto itan teleutaio '6051_VarkaSilenosSupport' dn exei koma etci vazeis sto proteleutaio koma kai apo katw tn buffer tha ginei kapws etci:
__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'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 ""