Ir para conteúdo
  • Anúncios

    • AiroN

      Anuncie no L2JBrasil

      Deseja anunciar aqui no fórum, no Top L2JBrasil ou em nossa página no Facebook? Confira: www.l2jbrasil.com/anunciar
    • Grundor

      Método de login alterado   08-10-2017

      Com a atualização do fórum para versão  IPB 4.2 não é mais possível fazer login usando username, ao invés disso você deve usar e-mail ou seu Display Name (nome como é exibido no forum).      
    • AiroN

      Tenha seu clube formalmente no L2JBrasil!   18-10-2017

      Você tem amigos que estão sempre juntos contigo na alegria e na tristeza, na saúde e na doença, em todos os desenvolvimentos de suas vida, no pvp, nas quests? rsrs   Monte seu clube formalmente na L2J Brasil!
      Criar um clube é muito fácil, basta você entrar nesse tópico e se interar do assunto:    Dominem o mundo!


      Atenciosamente, Natã Felipe
      Administração L2jBrasil.
marcos-sayan

Donation Npc

Recommended Posts

É uns NPC´S que pode ser utilizado para doação, ou mesmo para jogadores normais ...

- Deslocar-se, encantamentos de uma armadura, weapons e joias para outra ..
- Movimentar, augument de uma arma para outra
- Nome, mudança de cor
- Adicionar, nobless
- Melhorar, clã
- Alterar seu nome
- Comprar de armadura,weapons e joias ja encantadas,e você pode gerenciar a vender de conjuntos completos


NPC´S: eu achei em um site russo

ia traduzi-los
mais nao to afim

ta adaptados pra frozen

 

Video

https://www.youtube.com/watch?v=ywXfaK7biAs&feature=youtu.be

 

http://www.4shared.com/rar/MnRnwGjWba/donateshop.html

 

creditos pelo poste : claww

Editado por marcos-sayan
  • Like 4

Compartilhar este post


Link para o post
Compartilhar em outros sites

 

 

 

Um NPC que pode ser utilizado para a doação ou mesmo para jogadores normais ...

- Deslocar-se encanta de uma arma para outro, de armadura para blindar .. etc
- Movimento augument de uma arma para outro
- Nome da cor mudança
- Adicionar nobless
- Melhorar clã
- Alterar o seu nome
- Comprar armas encantadas, você pode gerenciar a vender conjunto completo


NPC não é criado por mim, eu achei em um site russo

i adaptá-lo e traduzi-lo
mais no to afim ta adaptados para frozen

 

 

http://www.4shared.com/rar/MnRnwGjWba/donateshop.html

 

creditos pelo poste : claww

 

 

 

 

Cara isso foi traduzido né ? por que a gramática esta muito complicado de entender , escreva no tópico e uma forma mais clara e objetiva a função dele para que todos entendam melhor.

  • Like 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

Eu acho que antes de você postar qualquer NPC, armadura weapons etc. deve postar prints.

obrigado por compartilhar

Compartilhar este post


Link para o post
Compartilhar em outros sites

Eu acho que antes de você postar qualquer NPC, armadura weapons etc. deve postar prints.

obrigado por compartilhar

Concordo com vc,mais eu abaixei eles e no poste original eu nao pedi foto e sim testei e vi do que se trata ,as vezes por falta de interesse, faz agente perde as coisas. e falta curiosidade ....

Logo mais posto umas fotos pois os npc´s sao bem da hora

 

Amigo, favor postar umas prints do conteúdo para facilitar e melhorar seu tópico.

Abraços!

Vou postar assim que tiver tempo

  • Like 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

É uns NPC´S que pode ser utilizado para doação, ou mesmo para jogadores normais ...

 

- Deslocar-se, encantamentos de uma armadura, weapons e joias para outra ..

- Movimentar, augument de uma arma para outra

- Nome, mudança de cor

- Adicionar, nobless

- Melhorar, clã

- Alterar seu nome

- Comprar de armadura,weapons e joias ja encantadas,e você pode gerenciar a vender de conjuntos completos

 

NPC´S: eu achei em um site russo

 

ia traduzi-los mais nao to afim

ta adaptados pra frozen

 

Video

https://www.youtube.com/watch?v=ywXfaK7biAs&feature=youtu.be

 

http://www.4shared.com/rar/MnRnwGjWba/donateshop.html

 

creditos pelo poste : claww

Traduzi a parte do clan (917_clan)

 

Como era:

 

 

import sys
from com.l2jfrozen.gameserver.model import L2Skill
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from com.l2jfrozen.gameserver.datatables import SkillTable
from com.l2jfrozen.gameserver.network.serverpackets import PledgeSkillList
from com.l2jfrozen.gameserver.network.serverpackets import PledgeShowInfoUpdate
from com.l2jfrozen.gameserver.network.serverpackets import SystemMessage
from java.lang import Integer

#################
qn = "917_Clan"	#
NPC = 300300	#
#################

#########################################
#       ”правление лвл-ом клана		#
#########################################
Item1 = 4037	# ID »тема		#
Name1 = "FC Coins"	# »м¤ »тема		#
Count1 = 500	# ÷ена	за 6 лвл клана	#
Count2 = 500	# ÷ена	за 7 лвл клана	#
Count3 = 500	# ÷ена	за 8 лвл клана	#
#########################################

#########################################
#     ”правление репутацией клана	#
#########################################
Item2 = 4037	# ID »тема		#
Name2 = "FC Coins"	# »м¤ »тема		#
Count4 = 1000	# ÷ена	50к репутации	#
Count5 = 10	# ÷ена	100к репутации	#
#########################################

#########################################
#      ”правление скиллами клана	#
#########################################
Item3 = 4037	# ID »тема		#
Name3 = "FC Coins"	# »м¤ »тема		#
Count6 = 2000	# ÷ена	за клан скиллы	#
#########################################

print "Donate Manager: Loaded 20%"

class Quest (JQuest) :

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

	def onAdvEvent(self, event, npc, player) :
		st = player.getQuestState(qn)
		htmltext = event
		xCLANx = 0
		eventSplit = event.split(" ")
		event = eventSplit[0]
		try :
			xCLANx = Integer.parseInt(eventSplit[1])
		except :
			htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
			htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
			htmltext += u"<font color=\"LEVEL\">В\u044b \u043dе чег\u043e \u043dе вве\u043bи в \u043f\u043e\u043bе !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
			htmltext += u"<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
			htmltext += "</center></body></html>"
			return htmltext

		if event == "level":
			if xCLANx == 6 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">6 LvL \u043a\u043bа\u043dа ст\u043eит:</font> <font color=\"FF0000\">"+str(Count1)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c LvL\" action=\"bypass -h Quest 917_Clan lvl 6\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 7 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">7 LvL \u043a\u043bа\u043dа ст\u043eит:</font> <font color=\"FF0000\">"+str(Count2)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c LvL\" action=\"bypass -h Quest 917_Clan lvl 7\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 8 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">8 LvL \u043a\u043bа\u043dа ст\u043eит:</font> <font color=\"FF0000\">"+str(Count3)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c LvL\" action=\"bypass -h Quest 917_Clan lvl 8\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">\u041c\u043eж\u043d\u043e \u043f\u043e\u043bучит\u044c т\u043e\u043b\u044c\u043a\u043e 6,7,8 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "lvl":
			if not st.getPlayer().isClanLeader() :
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">\u041f\u043eв\u044bсит\u044c LvL \u043c\u043eжет т\u043e\u043b\u044c\u043a\u043e \u043bидер !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
			elif st.getPlayer().getClan().getLevel() >= 8 :
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043cа\u043aси\u043cа\u043b\u044c\u043d\u044bй LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
			elif xCLANx == 6 :
				if st.getQuestItemsCount(Item1) < Count1 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 7 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043dе \u043c\u043eжете \u043f\u043e\u043dизит\u044c LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 6 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас уже и\u043cеетс\u044f 6 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count1)
				st.getPlayer().getClan().changeLevel(6)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи 6 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 7 :
				if st.getQuestItemsCount(Item1) < Count2 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 7 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас уже и\u043cеетс\u044f 7 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count2)
				st.getPlayer().getClan().changeLevel(7)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи 7 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 8 :
				if st.getQuestItemsCount(Item1) < Count3 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count3)
				st.getPlayer().getClan().changeLevel(8)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи 8 LvL \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

		if event == "reput":
			if xCLANx == 50000 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">50k ре\u043fутации ст\u043eит:</font> <font color=\"FF0000\">"+str(Count4)+"</font> <font color=\"LEVEL\">"+Name2+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c ре\u043fутаци\u044e\" action=\"bypass -h Quest 917_Clan rep 50000\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 100000 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">100k ре\u043fутации ст\u043eит:</font> <font color=\"FF0000\">"+str(Count5)+"</font> <font color=\"LEVEL\">"+Name2+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c ре\u043fутаци\u044e\" action=\"bypass -h Quest 917_Clan rep 100000\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">\u041c\u043eж\u043d\u043e \u043f\u043e\u043bучит\u044c т\u043e\u043b\u044c\u043a\u043e 50k и\u043bи 100k ре\u043fутации !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "rep":
			if xCLANx == 50000 :
				if st.getQuestItemsCount(Item1) < Count4 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count4)
				st.getPlayer().getClan().setReputationScore(st.getPlayer().getClan().getReputationScore()+50000,True)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи 50k ре\u043fутации !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 100000 :
				if st.getQuestItemsCount(Item1) < Count5 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count5)
				st.getPlayer().getClan().setReputationScore(st.getPlayer().getClan().getReputationScore()+100000,True)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи 100k ре\u043fутации !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

		if event == "skill":
			if xCLANx == 9999 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">Все \u043a\u043bа\u043d с\u043aи\u043b\u043b\u044b ст\u043e\u044fт:</font> <font color=\"FF0000\">"+str(Count6)+"</font> <font color=\"LEVEL\">"+Name3+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043e\u043bучит\u044c с\u043aи\u043b\u043b\u044b\" action=\"bypass -h Quest 917_Clan skills 8888\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += u"<tr><td></td></tr><tr><td align=center><button value=\"\u041eт\u043cе\u043dа\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<font color=\"LEVEL\">Чт\u043eб\u044b \u043f\u043e\u043bучит\u044c с\u043aи\u043b\u043b\u044b,<br>В \u043f\u043e\u043bе вв\u043eдит\u044c \u043dе чег\u043e \u043dе \u043dуж\u043d\u043e !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += u"<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "skills":
			if xCLANx == 8888 :
				if st.getQuestItemsCount(Item3) < Count6 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dе д\u043eстат\u043eч\u043d\u043e средств !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif not st.getPlayer().isClanLeader() :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">Т\u043e\u043b\u044c\u043a\u043e \u043bидер \u043a\u043bа\u043dа \u043c\u043eжет \u043f\u043e\u043bучит\u044c с\u043aи\u043b\u043b\u044b !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item3,Count6)
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(370,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(371,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(372,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(373,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(374,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(375,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(376,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(377,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(378,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(379,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(380,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(381,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(382,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(383,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(384,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(385,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(386,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(387,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(388,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(389,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(390,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(391,1))
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeSkillList(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">В\u044b \u043f\u043e\u043bучи\u043bи все \u043a\u043bа\u043d с\u043aи\u043b\u043b\u044b !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

	def onTalk(self, npc, player) :
		htmltext = u"<html><title>Exclusive Shop</title><body><br><br><center><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">\u041c\u043dе \u043dе чег\u043e ва\u043c с\u043aазат\u044c !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32 align=center><br><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></center></body></html>"
		st = player.getQuestState(qn)
		if not st :
			st = self.newQuestState(player)
		elif not player.getClan():
			return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">У вас \u043dету \u043a\u043bа\u043dа !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"В\u044bх\u043eд\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
		clanlvl = str(st.getPlayer().getClan().getLevel())
		reputation = str(st.getPlayer().getClan().getReputationScore())
		htmltext = "<html><title>Exclusive Shop</title><body><center><br>"
		htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32>"
		htmltext += u"<table width=150><tr><td align=center><font color=\"FF0000\">..:: И\u043dф\u043eр\u043cаци\u044f \u043e \u043a\u043bа\u043dе ::..</font></td></tr>"
		htmltext += u"<tr><td align=center>LvL \u043a\u043bа\u043dа: <font color=\"LEVEL\">"+clanlvl+"</font></td></tr>"
		htmltext += u"<tr><td align=center>\u041eч\u043a\u043eв ре\u043fутации: <font color=\"LEVEL\">"+reputation+"</font></td></tr></table>"
		htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
		htmltext += u"<table width=140><tr><td align=center>Введите чис\u043b\u043e:</td><td align=center><edit var=\"name\" width=45 length=6></td></tr></table><br>"
		htmltext += u"<table><tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c LvL \u043a\u043bа\u043dа\" action=\"bypass -h Quest 917_Clan level $name no_name\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
		htmltext += u"<tr><td align=center><button value=\"\u041f\u043eв\u044bсит\u044c ре\u043fутаци\u044e\" action=\"bypass -h Quest 917_Clan reput $name no_name\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
		htmltext += u"<tr><td align=center><button value=\"\u041f\u043e\u043bучит\u044c с\u043aи\u043b\u043b\u044b\" action=\"bypass -h Quest 917_Clan skill 9999\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr></table>"
		htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
		htmltext += "</center></body></html>"
		return htmltext

QUEST    = Quest(917,qn,"custom")
CREATED   = State('Start',     QUEST) 
STARTING  = State('Starting',  QUEST) 
STARTED   = State('Started',   QUEST) 
COMPLETED = State('Completed', QUEST) 

QUEST.setInitialState(CREATED)

QUEST.addStartNpc(NPC)
QUEST.addTalkId(NPC) 

 

 

 

Como ficou:

 

 

 

import sys
from com.l2jfrozen.gameserver.model import L2Skill
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from com.l2jfrozen.gameserver.datatables import SkillTable
from com.l2jfrozen.gameserver.network.serverpackets import PledgeSkillList
from com.l2jfrozen.gameserver.network.serverpackets import PledgeShowInfoUpdate
from com.l2jfrozen.gameserver.network.serverpackets import SystemMessage
from java.lang import Integer

#################
qn = "917_Clan"	#
NPC = 300300	#
#################

#########################################
#         "Clan level board"		    #
#########################################
Item1 = 57	# ID Donate Coin   	        #
Name1 = "FC Coins"	# Donate Coin Name 	#
Count1 = 500	# Price level 6 clan	#
Count2 = 500	# Price level 7 clan	#
Count3 = 500	# Price level 8 clan	#
#########################################

#########################################
#       "Clan reputation board"	        #
#########################################
Item2 = 57	# ID Donate Coin		    #
Name2 = "FC Coins"	# Donate Coin Name  #
Count4 = 500	# Price 50k reputation	#
Count5 = 1000	# Price 100k reputation	#
#########################################

#########################################
#          "Clan Skills Board"          #
#########################################
Item3 = 57	# ID Donate Coin		    #
Name3 = "FC Coins"	# Donate Coin Name  #
Count6 = 2000	# Price all clan skills #
#########################################

print "Donate Manager: Loaded 20%"

class Quest (JQuest) :

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

	def onAdvEvent(self, event, npc, player) :
		st = player.getQuestState(qn)
		htmltext = event
		xCLANx = 0
		eventSplit = event.split(" ")
		event = eventSplit[0]
		try :
			xCLANx = Integer.parseInt(eventSplit[1])
		except :
			htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
			htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
			htmltext += "<font color=\"LEVEL\">You need to inform the level of the clan <br> or the amount of reputation want to receive !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
			htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
			htmltext += "</center></body></html>"
			return htmltext

		if event == "level":
			if xCLANx == 6 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To put level 6 clan you need:</font> <font color=\"FF0000\">"+str(Count1)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Increase Level\" action=\"bypass -h Quest 917_Clan lvl 6\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 7 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To put level 7 clan you need:</font> <font color=\"FF0000\">"+str(Count2)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Increase Level\" action=\"bypass -h Quest 917_Clan lvl 7\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 8 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To put level 8 clan you need:</font> <font color=\"FF0000\">"+str(Count3)+"</font> <font color=\"LEVEL\">"+Name1+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Increase Level\" action=\"bypass -h Quest 917_Clan lvl 8\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">You can only get 6,7,8 Level Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "lvl":
			if not st.getPlayer().isClanLeader() :
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">Only clan's leader can increase level !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
			elif st.getPlayer().getClan().getLevel() >= 8 :
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You have a maximum of Clan Level !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
			elif xCLANx == 6 :
				if st.getQuestItemsCount(Item1) < Count1 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 7 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You can not lower level Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 6 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You already have a level 6 Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count1)
				st.getPlayer().getClan().changeLevel(6)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got a level 6 Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 7 :
				if st.getQuestItemsCount(Item1) < Count2 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif st.getPlayer().getClan().getLevel() >= 7 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You already have a level 7 Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count2)
				st.getPlayer().getClan().changeLevel(7)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got a level 7 Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 8 :
				if st.getQuestItemsCount(Item1) < Count3 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count3)
				st.getPlayer().getClan().changeLevel(8)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got a level 8 Clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

		if event == "reput":
			if xCLANx == 50000 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To put 50k reputation you need:</font> <font color=\"FF0000\">"+str(Count4)+"</font> <font color=\"LEVEL\">"+Name2+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Increase Reputation\" action=\"bypass -h Quest 917_Clan rep 50000\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			elif xCLANx == 100000 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To put 100k reputation you need:</font> <font color=\"FF0000\">"+str(Count5)+"</font> <font color=\"LEVEL\">"+Name2+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Increase Reputation\" action=\"bypass -h Quest 917_Clan rep 100000\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">You can only get 50k or 100k reputation !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "rep":
			if xCLANx == 50000 :
				if st.getQuestItemsCount(Item1) < Count4 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count4)
				st.getPlayer().getClan().setReputationScore(st.getPlayer().getClan().getReputationScore()+50000,True)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got 50k reputation !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)
			elif xCLANx == 100000 :
				if st.getQuestItemsCount(Item1) < Count5 :
					return u"<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item1,Count5)
				st.getPlayer().getClan().setReputationScore(st.getPlayer().getClan().getReputationScore()+100000,True)
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeShowInfoUpdate(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got 100k reputation !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

		if event == "skill":
			if xCLANx == 9999 :
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">All clan skills are:</font> <font color=\"FF0000\">"+str(Count6)+"</font> <font color=\"LEVEL\">"+Name3+" !</font>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<table><tr><td align=center><button value=\"Get skills\" action=\"bypass -h Quest 917_Clan skills 8888\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
				htmltext += "<tr><td></td></tr><tr><td align=center><button value=\"cancel\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
				htmltext += "</center></body></html>"
				st.playSound("ItemSound.quest_accept")
			else:
				htmltext = "<html><title>Exclusive Shop</title><body><center><br><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<font color=\"LEVEL\">To get skills,<br>In the input box, not what it is not necessary !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
				htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table>"
				htmltext += "</center></body></html>"
				st.exitQuest(1)
			return htmltext

		if event == "skills":
			if xCLANx == 8888 :
				if st.getQuestItemsCount(Item3) < Count6 :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You do not have sufficient funds !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				elif not st.getPlayer().isClanLeader() :
					return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">Only the clan leader can gain skills !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.takeItems(Item3,Count6)
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(370,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(371,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(372,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(373,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(374,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(375,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(376,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(377,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(378,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(379,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(380,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(381,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(382,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(383,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(384,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(385,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(386,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(387,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(388,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(389,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(390,3))
				st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(391,1))
				st.getPlayer().getClan().broadcastToOnlineMembers(PledgeSkillList(st.getPlayer().getClan()))
				st.playSound("ItemSound.quest_finish")
				return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You got all the clan skills !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
				st.exitQuest(1)

	def onTalk(self, npc, player) :
		htmltext = "<html><title>Exclusive Shop</title><body><br><br><center><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">I do not what you say !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32 align=center><br><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></center></body></html>"
		st = player.getQuestState(qn)
		if not st :
			st = self.newQuestState(player)
		elif not player.getClan():
			return "<html><title>Exclusive Shop</title><body><center><br><br><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><font color=\"LEVEL\">You don't have a clan !</font><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32><table><tr><td align=center><button value=\"close\" action=\"bypass -h npc_%objectId%_Close\" width=75 height=22 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\"></td></tr></table></center></body></html>"
		clanlvl = str(st.getPlayer().getClan().getLevel())
		reputation = str(st.getPlayer().getClan().getReputationScore())
		htmltext = "<html><title>Exclusive Shop</title><body><center><br>"
		htmltext += "<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=300 height=32><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32>"
		htmltext += "<table width=150><tr><td align=center><font color=\"FF0000\">..:: Information ::..</font></td></tr>"
		htmltext += "<tr><td align=center>Level Clan: <font color=\"LEVEL\">"+clanlvl+"</font></td></tr>"
		htmltext += "<tr><td align=center>Reputation Points: <font color=\"LEVEL\">"+reputation+"</font></td></tr></table>"
		htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"
		htmltext += "<table width=140><tr><td align=right>Set:</td><td align=center><edit var=\"name\" width=45 length=6></td></tr></table><br>"
		htmltext += "<table><tr><td align=center><button value=\"Increase Clan Level\" action=\"bypass -h Quest 917_Clan level $name no_name\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
		htmltext += "<tr><td align=center><button value=\"Increase Reputation\" action=\"bypass -h Quest 917_Clan reput $name no_name\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr>"
		htmltext += "<tr><td align=center><button value=\"Get skills\" action=\"bypass -h Quest 917_Clan skill 9999\" width=135 height=24 back=\"L2UI_CH3.bigbutton3_down\" fore=\"L2UI_CH3.bigbutton3\"></td></tr></table>"
		htmltext += "<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=300 height=32>"
		htmltext += "</center></body></html>"
		return htmltext

QUEST    = Quest(917,qn,"custom")
CREATED   = State('Start',     QUEST) 
STARTING  = State('Starting',  QUEST) 
STARTED   = State('Started',   QUEST) 
COMPLETED = State('Completed', QUEST) 

QUEST.setInitialState(CREATED)

QUEST.addStartNpc(NPC)
QUEST.addTalkId(NPC) 

 

 

  • Like 2

Compartilhar este post


Link para o post
Compartilhar em outros sites

Donate NPC do Claw, já tinha visto em outro forum, porem está todo em russo, tem que achar uma alma, caridosa, e com tempo para traduzir pra gente.

 

Pessoal aqui tem que ser mais pacifico, ele citou que não está traduzido, vamos parar de esperar tudo mastigado e fazer algo também.

Começando a agradecer o amigo, que, postou, ajudou ou teve boa intenção de compartilhar conosco.

 

NPC´S: eu achei em um site russo

ia traduzi-los
mais nao to afim

ta adaptados pra frozen

 

 

creditos pelo poste : claww

  • Like 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

Otimo npc donate cara, vou estar tentando traduzi-lo e deixar melhorzin um pouco, vlw

  • Like 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

Valeu por compartilhar!

Saberia o nome da música?

O nome da musica heaven ...

CD. NA BALADA JOVEN PAN 6

Compartilhar este post


Link para o post
Compartilhar em outros sites

Como dentro de praticamente todos os arquivos em python estão com coisas como:

htmltext = u"<html><title>Donate Shop</title><body><br><br><br><center>\u041c\u043dе \u043dе чег\u043e с\u043aазат\u044c ва\u043c !</center></body></html>"

Procurei por um conversor e acabei encontrando esse: http://unicode.online-toolz.com/tools/text-unicode-entities-convertor.php

Coloque o código que você quer converter na 3 janela da página e após clique em Convert.

 

J51vKgJ.jpg

Feito isso, basta traduzir para seu idioma de preferência.

  • Like 1

Compartilhar este post


Link para o post
Compartilhar em outros sites

Nice share my friend. I'm adapting these to L2j Hi5 and so far I got the Clan DonateList, Noblesse and Name working. The other ones, Enchanter, Lifestone and EncheX is not working got some errors, the quests start ok when the server starts but I get script errors when I click on the buttoms and I'm still working on then.

One question, On the 917_Clan quest, when you add skills there is no check if you already have the skills or not so if you got all the skills and click on the buttom again you will get then again, can someone help addind a check for the skills?

Thank you.

Compartilhar este post


Link para o post
Compartilhar em outros sites






Anuncie em nossa página no Facebook!
Confira o regulamento.
Contate-nos através do e-mail: [email protected] para mais informações.


  • Quem Está Navegando

    Nenhum usuário registrado visualizando esta página.

×