Jump to content
  • 0

{help} exw problhma me mia buffer !


Question

Posted

kalhspera sta meloi toi maxcheater!!!!exw ena problhma me thn buffer m!!!exw balei thn entolh na kanei restore kai cancel.....otan pataw omws na to kanei mou bgazei ena para7iraki kai m leei difora!!exw balei to script kanonika olla alla den m kanei tipota mhpws kserete ti sumbainei?

11 answers to this question

Recommended Posts

  • 0
Posted

kalhspera sta meloi toi maxcheater!!!!exw ena problhma me thn buffer m!!!exw balei thn entolh na kanei restore kai cancel.....otan pataw omws na to kanei mou bgazei ena para7iraki kai m leei difora!!exw balei to script kanonika olla alla den m kanei tipota mhpws kserete ti sumbainei?

 

sou vgazei kanena error sto console?

kane mas paste to script tis buffer.

  • 0
Posted

auto pou m bgazei einai auto!sthn consola ola einai gg!

""You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements""

script:

import sys

from com.l2jserver.gameserver.model.actor.instance import L2PcInstance

from java.util import Iterator

from com.l2jserver.gameserver.datatables import SkillTable

from com.l2jserver       import L2DatabaseFactory

from com.l2jserver.gameserver.model.quest import State

from com.l2jserver.gameserver.model.quest import QuestState

from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

 

qn = "99999_NPCBuffer"

NPCS=[9999,99999]

ADENA_ID=57

QuestId    = 99999

QuestName  = "NPCBuffer"

QuestDesc  = "custom"

 

print "######################"

print "#  buffer just loaded  #"

print "######################"

 

class Quest (JQuest) :

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

 

def onEvent(self,event,st):

htmltext = event

count=st.getQuestItemsCount(ADENA_ID)

if count < 0 or st.getPlayer().getLevel() < 1 :

htmltext = "<html><head><body>You not a donator!!! Come back later.<br></body></html>"

else:

st.takeItems(ADENA_ID,0)

st.getPlayer().setTarget(st.getPlayer())

 

#Cancellation

if event == "1":

st.takeItems(ADENA_ID,0)

SkillTable.getInstance().getInfo(4094,12).getEffects(st.getPlayer(),st.getPlayer())

st.getPlayer().stopAllEffects()

return "1.htm"

st.setState(State.COMPLETED)

 

#Restore

if event == "2":

st.takeItems(ADENA_ID,0)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())

return "1.htm"

st.setState(COMPLETED)

 

#Dagger buffs

if event == "3":

st.takeItems(ADENA_ID,0)

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4342,2),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4344,3),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4345,3),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4346,4),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4347,6),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4348,6),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4349,2),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4350,4),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4352,2),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4357,2),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4359,3),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(4360,3),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

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

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1389,3),False,False)

st.getPlayer().setCurrentHpMp(st.getPlayer().getMaxHp(),st.getPlayer().getMaxMp())

return "2.htm"

st.setState(COMPLETED)

 

if htmltext != event:

st.setState(State.COMPLETED)

st.exitQuest(1)

return htmltext

     

def onTalk (self,npc,player):

return "1.htm"

 

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

 

for npcId in NPCS:

QUEST.addStartNpc(npcId)

QUEST.addTalkId(npcId)

  • 0
Posted

kalhspera sta meloi toi maxcheater!!!!exw ena problhma me thn buffer m!!!exw balei thn entolh na kanei restore kai cancel.....otan pataw omws na to kanei mou bgazei ena para7iraki kai m leei difora!!exw balei to script kanonika olla alla den m kanei tipota mhpws kserete ti sumbainei?

client?
  • 0
Posted

l2jserver

 

antikatestise auto :

 

	def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   htmltext = "<html><head><body>I have nothing to say to you</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)

  • 0
Posted

file freya l2j exw thelis na sou doso tin buffer pouxa exi ta panta ine gia freya l2j sto sql mpori na kolisis pernato xirokinita exo screem buffer tora gia afto tin ebgala

  • 0
Posted

sorry pou rwtaw alla sceem buffer ti einai?

eine kanonikia kai poli gamati dini kai se mage i fighters xorista bufs exi kai kamael bufs edo tin brika maxcheaters alla den thimame link ebgala aftina kai ebala sceem stin kano doro ama thelis
Guest
This topic is now closed to further replies.


×
×
  • Create New...