Hello Guys ;) .. I'm searching 2 days all ready and i could not found the answer to my question.
i Have big problem with my npc buffer..
When i'm trying to talk with npc buffer it's shows me this:
When i try to talk one more time it's showing me this:
So Here is my __init__ starting:
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 = "8505_Buffer"
NPC=[85050]
ADENA_ID=57
QuestId = 8505
QuestName = "Buffer"
QuestDesc = "custom"
InitialHtml = "1.htm"
print "importing custom: 8505: Buffer"
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>Minimum Level for Buff is 1.</body></html>"
else:
st.takeItems(ADENA_ID,0)
st.getPlayer().setTarget(st.getPlayer())
And here is end of it :
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)
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.
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!
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
Question
millers
Hello Guys ;) .. I'm searching 2 days all ready and i could not found the answer to my question.
i Have big problem with my npc buffer..
When i'm trying to talk with npc buffer it's shows me this:
When i try to talk one more time it's showing me this:
So Here is my __init__ starting:
And here is end of it :
And i'm using l2jserver IL
i hope someone can help me ! ;(
1 answer to this question
Recommended Posts
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.