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.


  • Posts

    • Hi players ! Meet our project Lineage 2 Hiro Classic ! A low rate classic pvp oriented with many features. No pay to win, RB/AoE, group clan pvp castle etc ...  Dynamic rates, RB Xp 4x and soon massive update with auto farm ! Join now !  https://www.lineage2hiro.com/ Can't wait to see you online !
    • To all first time buyers we give a bonus + 10% of the order. 
    • 🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server? This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!   💼 What is it? A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.   Photo Library: https://imgur.com/a/zLlUQbW   ✅ Main Features: 🔹 Fixed-Price Listings Only: Players list items at a set price. No bidding, no delays—just fast, clean trades. 🔹 Multi-Currency Support: Works with Adena, event coins, custom currencies—fully configurable. 🔹 Dynamic Interface: Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination. 🔹 Sell While Offline: Post items and receive payments even if you're not online—true passive trading. 🔹 Safety First: Full validation: no equipped/augmented/restricted items unless allowed. Prevents scams, mispricing, and listing errors. 🔹 Expiration Timer (Optional): Set listing time limits. Expired items go to warehouse/mail automatically. 🔹 Spam & Duplication Protection: Prevents multiple listings of identical items and unnecessary database load. 🔹 Performance Optimized: Clean, indexed SQL structure. No lag or bloating even with thousands of listings.   ⚙️ Plug & Play Clean Java code (compatible with aCis & derivatives). Easy setup with full instructions and sample configurations. Includes SQL, HTML files, and all Java classes – fully working out of the box.   💰 Pricing & Contact 📦 50 euro - One-time purchase with full support for setup & basic customization. 💬 Contact me here via PM or on Discord: @Luminous 🔐 Serious buyers only – source is clean, secure, and tested on live servers.     Give your server the next-level economy it deserves. No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...