Jump to content
  • 0

Buffer problem


Ta®oS™

Question

kalimera paidia

 

exw perasei mia apli buffer kai me bgazei auto to problima

 

axej5v.png

 

 

 

auti edw i buffer einai pou exei to pack tou frozen oti kai na pateisw me klunei to parathuro kai den me vgazei kanena problima stin console

 

width=1024 height=540http://i40.tinypic.com/2zhi4wg.png[/img]

 

kai prospathia na perasw autin edw tin buffer  http://maxcheaters.com/forum/index.php?topic=273542.0 kai me bgazei problima

 

width=1024 height=542http://i43.tinypic.com/2aqp9y.png[/img]

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

In order to make any buffer work on any pack you should :

 

1)Since you have l2jfrozen change imports to

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

 

2) On buffers script find this (scroll down the file)

l2pack\l2jfrozen\gameserver\data\scripts\custom\15012_NPCBuffer

def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   htmltext = "<html><head><body>I have nothing to say to you545545</body></html>"
   st.setState(STARTED)
   return InitialHtml

QUEST       = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
CREATED=State('Start',QUEST)
STARTED=State('Started',QUEST)
COMPLETED=State('Completed',QUEST)

QUEST.setInitialState(CREATED)

for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

 

and replace it with

def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   htmltext = "<html><head><body>I have nothing to say to you</body></html>"
   st.setState(State.STARTED)
   return InitialHtml

QUEST       = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)


for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

Link to comment
Share on other sites

  • 0

file auto pou les na brw den uparxei mesa sto .py

 

gia ta imports auta edw exei

 

import sys
from java.lang import System;
from java.util import Iterator;
import com.l2jfrozen.Config;
from com.l2jfrozen.gameserver.model.quest import State;
from com.l2jfrozen.gameserver.model.quest import QuestState;
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest;
from com.l2jfrozen.util.database import L2DatabaseFactory;
from com.l2jfrozen.gameserver.datatables import SkillTable;
import com.l2jfrozen.gameserver.datatables.sql.ItemTable;
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2PetInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2SummonInstance;
from com.l2jfrozen.gameserver.network.serverpackets import SetSummonRemainTime;
from com.l2jfrozen.gameserver.network.serverpackets import SetupGauge;

ta alaksa alla pali to idio provlima

Link to comment
Share on other sites

  • 0

sorry gia to double post alla sto init.py eixe sto

NPC_ID = 555 eno sto ID tou NPC einai 5555

to alaksa kai to NPC_ID kai to QUEST_ID kai molis pataw stin buffer na anoiksei trow critical error

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...