Jump to content
  • 0

[HELP]Buffer(Script Error)


Question

Posted

Geia Sas Kanetebasa Auth Thn Buffer:

http://rapidshare.com/files/60364385/fabrrps_npcbuffer_v3.rar.html

Thn Ebala Kanonika Kai Den Mou Ebgale Error Sto Console...

Alla Otan Dialegw Buff Mou Bgazi Ena Parathuro POu Leei Script Error.

Opws Edw Ekana Upload To Pic:

mufrr8.png

Recommended Posts

  • 0
Posted

1000 fores exo pei pos linete auto to problima -.-'

 

Anikse to init_py tis buffer sou kai kane delete oses grammes periexoun auta :

 

RestoreHP , RestoreCP , RestoreMP.

 

Prosoxi : OLES tis grammes.

 

Save to init_py kai eise etimos.

  • 0
Posted

Pali Mou To Bgazi To Idio.... :S  Na to __py__:

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

qn = "9999_NPCBuffer"

NPC=[40000]
ADENA_ID=57
QuestId     = 9999
QuestName   = "NPCBuffer"
QuestDesc   = "quests"
InitialHtml = "1.htm"

print "importing custom: fabrrp's NPCBuffer"

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 < 5000  or st.getPlayer().getLevel() < 0 :
		htmltext = "<html><head><body>You dont have enought Adena.</body></html>"
	else:
		st.takeItems(ADENA_ID,0)
		st.getPlayer().setTarget(st.getPlayer())

		#Acumen
		if event == "2":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9900,1),False,False)				
			return "1.htm"
			st.setState(COMPLETED)

		#Agility
		if event == "3": 
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9901,1),False,False)				
			return "1.htm"
			st.setState(COMPLETED)

		#Berserker Spirit
		if event == "4":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9902,1),False,False)				
			return "1.htm"
			st.setState(COMPLETED)

                       #Bless Shield
		if event == "5":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9903,1),False,False)	
			return "1.htm"			
			st.setState(COMPLETED)

		#Blessed Body
		if event == "6":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9904,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Blessed Soul
		if event == "7":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9905,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Concentration
		if event == "8":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9906,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Death Whisper
		if event == "9":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9907,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Empower
		if event == "10":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9908,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Focus
		if event == "11":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9909,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Guidance
		if event == "12":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9910,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Haste
		if event == "13":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9911,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Magic Barrier
		if event == "14":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9912,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Mental Shield
		if event == "15":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9913,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Might
		if event == "16":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9914,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Resist Shock
		if event == "17":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9915,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Shield
		if event == "18":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9916,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Vampiric Rage
		if event == "19":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9917,1),False,False)
			return "1.htm"		
			st.setState(COMPLETED)

		#Dance of Aqua Guard
		if event == "30":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9918,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Concentration
		if event == "31":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9919,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Earth Guard
		if event == "32":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9920,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Fire
		if event == "33":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9921,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Fury
		if event == "34":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9922,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Inspiration
		if event == "35":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9923,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Light
		if event == "36":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9924,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of the Mystic
		if event == "37":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9925,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of Protection
		if event == "38":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9926,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Siren's Dance
		if event == "39":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9927,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of the Vampire
		if event == "40":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9928,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Dance of the Warrior
		if event == "41":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9929,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Champion
		if event == "50":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9930,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Earth
		if event == "51":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9931,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Flame Guard
		if event == "52":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9932,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Hunter
		if event == "53":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9933,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Invocation
		if event == "54":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9934,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Life
		if event == "55":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9935,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Meditation
		if event == "56":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9936,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Renewal
		if event == "57":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9937,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Storm Guard
		if event == "58":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9938,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Vengeance
		if event == "59":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9939,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Vitality
		if event == "60":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9940,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Warding
		if event == "61":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9941,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Water
		if event == "62":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9942,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Song of Wind
		if event == "63":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9943,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Greater Might
		if event == "64":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9944,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Greater Shield
		if event == "65":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9945,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Chant of Victory
		if event == "66":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9946,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Prophecy of Fire
		if event == "67":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9947,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Prophecy of Water
		if event == "68":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9948,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Prophecy of Wind
		if event == "69":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9949,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Cancellation
		if event == "70":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9950,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		#Wind Walk
		if event == "71":
			st.takeItems(ADENA_ID,5000)
			st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9951,1),False,False)
			return "1.htm"
			st.setState(COMPLETED)

		if htmltext != event:
			st.setState(COMPLETED)
			st.exitQuest(1)
	return htmltext


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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello, I'm looking for classic client for l2 gold or l2 gold weapons for classic 166 version
    • Good afternoon   ⚡CAN'T GO TO THE ONLINE STORE? OPEN THE SITE VIA VPN OR TOR BROWSER⚡ ⚡PREMIUM QUALITY ACCOUNTS, INSTANT DELIVERY, FREE CONSULTATIONS, RELIABLE WORK⚡   ✔ Ready accounts ✔   BUSINESS ACCOUNTS ☟ Blackcatcard Business LV, Volet com (AdvCash) Business EU, Xapo Bank Business EU, Finom Business, PayPal Business, Payset Business, Stripe Business, Payoneer Business EU, Wise Business UK/EU, Revolut Business EU/UK, N26 Business DE, Wallester Business EU, Mistertango Business LV   BANKS, NATIONAL BANKS ☟ Ceska Sporitelna, KASIKORNBANK, BBVA, CommerzBank, Santander, Kaspi Bank, AlfaBank, Raiffeisen, mBank, Paribas, Bereke Bank, Freedom Bank   PAYMENT SYSTEMS ☟ Bunq on emulator (DE, NL, FR, ES, IE ibans), Revolut on emulator (UK/EU), ICard, BlackCatCard, Vivid DE, Bankera, Bitsa, Wise EU/UK, N26 DE on emulator, Skrill, Neteller, Trasta, Wirex, Lama, Paysera, 4x4 io, Weststein, Paysafecard, Paysend, Genome, Conotoxia, Mybrocard, Payz Silver, Pockit UK, NagaPay, Volet com, SpectroCoin, SwissMoney, Yuh, Lydia / Sumeria, Ka.App, Wittix, Western Union, MyGuava   CRYPTOEXCHANGE ☟ Poloniex, Bitmart, Kraken, WhiteBit, Quppy, Nexo, Gate, OKX, Paybis, Paxful, Huobi (HTX), xcoins com, Bit2Me, Bybit LVL 2, KuCoin, Binance LVL 2, Mexc, Latoken   Contact via telegram - in the first post of the topic!
    • Sell "Amoral" Classic Armor and Weapon.   Custom "Amoral" Draconic Set YouTube Custom "Amoral" Imperial Set YouTube Custom "Amoral" Dark Crystal Robe YouTube Custom "Amoral" Classic S-Grade Weapon YouTube My Contacts Telegram  
    • Greetings to all! I offer a scope for client modification. What services do I provide: 1) Transfer of any Weapon, Armor, Accessories, from any chronicles to yours. 2) Creating exclusive add-ons. 3) Repainting of Armor, Weapons аnd Accessories. 4) Packing the icons you need and other things. 5) Creating NPCs with and without effects. 6) Create Monsters and Raid bosses, with effects and sounds. 7) HTLM NPC design. Creating Buttons and other things for your project. And much more If you have any questions, write in  Telegram. You can find some of the works here  YouTube
  • Topics

×
×
  • Create New...