Jump to content
  • 0

[Help]Exw ena Problem se Buffer


Loukas

Question

Kalispera mxc...

Loipon oi buffer pou exw tn exw katebasei apo edw enw douleuei kanonika m bgazei ena error script afou kanw ta buff...

 

Photo :

 

shot00002su.jpg

 

Kanonika 8a eprepe na gyrizei sto sugkekrimeno simeio afou kanei to buff o player

 

Photo :

 

shot00003x.jpg

 

Pws mporw na to dior8wsw egw auto wste na mn m bgazei to sugkekrimeno error??

 

Ty ek ton proteron....  ;) ;) ;)

Link to comment
Share on other sites

Recommended Posts

  • 0

 

κάνε το αρχείο init.py στο φάκελο jscript έτσι

 

 

__all__ = [

'quests',

'custom',

'teleports',

'village_master',

'ai'

]

import quests

import custom

import teleports

import village_master

import ai

 

στο φάκελο quests

έτσι

 

__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 ""

 

στο φάκελο custom επίσης

 

και στο φάκελο 9999_NPCBuffer εμένα αρχίζει κάπως έτσι

 

 

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

 

εσένα θα αρχίζει διαφορετικά μάλλον αν δε χρησιμοποιείς l2j

Link to comment
Share on other sites

  • 0

Dld p.x edw pou exei  restoreHPMP na to sbisw??

 

#Agility

      if event == "3":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1087,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

Link to comment
Share on other sites

  • 0

Dld p.x edw pou exei  restoreHPMP na to sbisw??

 

Ναι δοκιμασε αλλα κρατα και ενα copy.

Αν δεν γινει τπτ κανε αυτο που σ ειπε ο FoGaReL Αν και δεν νομιζω γιατι δεν εχει σχεση με skill.

Link to comment
Share on other sites

  • 0

Μην σβήσεις τίποτα 1ον για να μην σου βγάζει τίποτα θα υπάρχει κάποιο error οπότε πήγαινε στο script της buffer και κοίτα το error log..

Link to comment
Share on other sites

  • 0

Exeis to Server folder st C:?

 

Sto C to exw re :P

 

[NoX*ShiNe link=topic=138827.msg984411#msg984411 date=1271097072]

Εσβησες ολη τιν γραμμη η μονο restoreHPMP?

 

mono to restoreHPMP

 

Μην σβήσεις τίποτα 1ον για να μην σου βγάζει τίποτα θα υπάρχει κάποιο error οπότε πήγαινε στο script της buffer και κοίτα το error log..

 

mesa sto init??gt pou8ena dn uparxei tetoio arxeio pou m les :S

Link to comment
Share on other sites

  • 0

Sto C to exw re :P

 

mono to restoreHPMP

 

mesa sto init??gt pou8ena dn uparxei tetoio arxeio pou m les :S

Λοιπον ακουσεμε λιγο η L2j-Infinity εχει αυτο το prob.

Σβησε ολοκληρη την γραμμη και θα σου την διαβαζει.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...