Secret Experience

Secret Experience (https://secretexperience.net/)
-   [Lineage] NPCs (https://secretexperience.net/lineage-npcs/)
-   -   [Interlude] Npc Buffer Adaptado para L2J2010 (https://secretexperience.net/lineage-npcs/28285-npc-buffer-adaptado-para-l2j2010.html)

llJuniorll 12-12-2010 12:15 PM

Npc Buffer Adaptado para L2J2010
 
۩ Npc Buffer Adaptado Para L2J2010 ۩

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

Link:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]


Sql do Npc
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]


Créditos:
CavaleiroNegro -> pelo "script"
llJuniorll -> pelo html remodelado e alguns buffs modificados e adicionados no "script"





Para Adicionar em L2JTeon delete a parte em vermelho no arquivo "__init__.py" na pasta "9999_NPCBuffer":

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)


Umbrela 15-12-2010 01:04 PM

npc
 
cara o npc parece ser muito bom ... so que quando au adicione ele eu clico pra falar aparece isso ó : you are either not carryng out your quest or dont meet the criteria .. pode me ajudar ..

llJuniorll 15-12-2010 08:14 PM

Cara aqui ta funfando de boa mas...
Da uma olhada no __init__.py da pasta gameserver\data\jscript\custom..

-->
'6051_VarkaSilenosSupport',
'9999_NPCBuffer', <-------
<--

Nessa Seta Azul, se tiver algo depois do buffer coloque a virgula se nao tiver.


Horários baseados na GMT -3. Agora são 03:21 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0