Ir para conteúdo
  • Cadastre-se

Script de VIP Ajuda 10 Reps para quem Ajudar !


Posts Recomendados

Eu quero ums Sitema mais quem me der esse sistema do meu jeito eu dou 20reps+ JURO...

é assim.

Tem esse ID que é um Papel = 1948

que eu quero usar como vip ! quando a pessoa clica no Papel aparece

" Parabéns você tem 10 Days Vips !, se você tiver outro papel desse Use quando Acabar o seus 10 Dias. Caso não tenha Compre Outro "

E Quando a Pessoa Usar esse Papel ele Ganhe !

25% de EXP , loot, Magic level , Skills e o Comando !coins que ganha 100k e pode Usar o Comando a cada 10 Minutos !!!

quem me der esse Script EU DOU 20 REP

Link para o post
Compartilhar em outros sites

Para que eu possa te ajudar, primeiramente gostaria de saber... Você algum sistema de VIP, ou você classifica premium account como VIP ?

Se tiver, poste o link do sistema VIP que você colocou, ou até o script inteiro para que eu possa construir para você.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Não eu só quero mesmo que quando a Pessoa clicar no Papel ela ganhe o que eu falei e aparece a mensagem e ela não podera usar outro papel até acabar o Dela os 10 Dias

Link para o post
Compartilhar em outros sites

Entendi, porém eu preciso de uma informação...

Qual é o sistema VIP que você está usando ?

 

'Por que eu preciso saber o sistema VIP que você está usando ?' Simples... preciso saber qual é o função que eu vou usar para adicionar os dias VIPs.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Não não é VIP Assim

eu Só quero Mesmo que Quando a Pessoa clique no Item ela ganhe o que eu falei Não é VIP totalemnte entende

Link para o post
Compartilhar em outros sites

Entendi, já já eu edito e posto o seu pedido aqui.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Bem, não testei... mas tente isso :

 

Primeiramente, abra o arquivo creaturescript/login.lua

Depois de function onLogin(cid) adicione isso :

if getPlayerStorageValue(cid, 13340) > 0 then
doPlayerSetExperienceRate(cid, 1.25)
doPlayerSetSkills(cid, 1.25)
doPlayerSetMagicRate(cid, 1.25)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você é um player VIP, aproveite seus bônus de 25% em experiencia, skills e magic level !")
end

Crie um arquivo na pasta action/script/papelvip.lua e adicione isso :

function onUse(cid, item, frompos, item2, topos)
	local daysvalue = 10 * 24 * 60 * 60	
	if getPlayerStorageValue(cid, 13340) - os.time() >= 0 then
			doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você precisa esperar 10 dias para usar esse papel de novo. Próxima disponibilização é : " .. os.date("%c", getPlayerStorageValue(cid, 13340)) .. " (Mes;Dia;Ano e horario).")
		return false
			elseif getPlayerStorageValue(cid, 13340) <= 0 then
				doRemoveItem(item.uid, 1)
				time = os.time() + daysvalue
				setPlayerStorageValue(cid, 13340, time)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você ganhou 10 dias VIPs. Re-login para que você ganhe seus benefícios ")
			end
	return true
end

Em Actions XML adicione isso : 

<action itemid="1948" event="script" value="papelvip.lua"/> 

Já já, estou entregando o Talkaction para o comando !coins.

Editado por Jamison Collins (veja o histórico de edições)

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

e o Comando !coins ?

nem o ID do Item você uso '-' 1948

---

Agora voce edito vou testar

Não funciono eu clico no Item não acontece nada

Editado por TonyHalk (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Aparece algum erro no Console ?

Se aparecer poste aqui... verifique com atenção a tag XML.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Não da erro algum..

Simplismente não funciona você testo ?

Editado por TonyHalk (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Eu no momento estou em outro computador (não estou em casa), assim que eu chegar em casa (amanhã), eu irei testar em meu servidor, acrescetando o talkaction.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Me passa seu arquivo login.lua; papelvip.lua e action.xml.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

login.lua

local config = {
	loginMessage = getConfigValue('loginMessage')
}

function onLogin(cid)
  if getPlayerStorageValue(cid, 13340) > 0 thendoPlayerSetExperienceRate(cid, 1.25)
doPlayerSetSkills(cid, 1.25)
doPlayerSetMagicRate(cid, 1.25)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você é um player VIP, aproveite seus bônus de 25% em experiencia, skills e magic level !")
end	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end

	local accountManager = getPlayerAccountManager(cid)
	if(accountManager == MANAGER_NONE) then
		local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
		if(lastLogin > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
			str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
		else
			str = str .. " Please choose your outfit."
			doPlayerSendOutfitWindow(cid)
		end

		doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
	elseif(accountManager == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(accountManager == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
	end

	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	
registerCreatureEvent(cid, "killer")
registerCreatureEvent(cid, "Idle")

registerCreatureEvent(cid, "attackguild")	
registerCreatureEvent(cid, "advance")
registerCreatureEvent(cid, "FimVip")
registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "ReportBug")

registerCreatureEvent(cid, VipReceive)
registerCreatureEvent(cid, "PlayerKill")
    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  
return true
end

papelvip.lua

function onUse(cid, item, frompos, item2, topos)
	local daysvalue = 10 * 24 * 60 * 60	
	if getPlayerStorageValue(cid, 13340) - os.time() >= 0 then
			doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você precisa esperar 10 dias para usar esse papel de novo. Próxima disponibilização é : " .. os.date("%c", getPlayerStorageValue(cid, 13340)) .. " (Mes;Dia;Ano e horario).")
		return false
			elseif getPlayerStorageValue(cid, 13340) <= 0 then
				doRemoveItem(item.uid, 1)
				time = os.time() + daysvalue
				setPlayerStorageValue(cid, 13340, time)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você ganhou 10 dias VIPs. Re-login para que você ganhe seus benefícios ")
			end
	return true
end

action.xml.

<?xml version="1.0" encoding="UTF-8"?>
<actions>
	<!-- Quests -->
        <action itemid="2345" event="script" value="papelvip.lua"/> 
	<action actionid="2000" script="quests/system.lua"/>
	<action actionid="2001" script="quests/system.lua"/>
	<action uniqueid="30015" script="quests/annihilator.lua"/>

	<!-- Tools -->
	<action itemid="2420" script="tools/machete.lua"/>
	<action itemid="2550" script="tools/scythe.lua"/>
	<action itemid="2580" script="tools/fishing.lua" allowfaruse="1"/>
	<action itemid="2554" script="tools/shovel.lua"/>
	<action itemid="5710" script="tools/shovel.lua"/>
	<action itemid="2120" script="tools/rope.lua"/>
	<action itemid="2553" script="tools/pick.lua"/>
	<action itemid="5942" script="tools/blessed_wooden_stake.lua"/>
	<action itemid="5908" script="tools/obsidian_knife.lua"/>

	<!-- Liquids -->
	<action itemid="1775" script="liquids/containers.lua"/>
	<action itemid="2005" script="liquids/containers.lua"/>
	<action itemid="2006" script="liquids/containers.lua"/>
	<action itemid="2007" script="liquids/containers.lua"/>
	<action itemid="2008" script="liquids/containers.lua"/>
	<action itemid="2009" script="liquids/containers.lua"/>
	<action itemid="2011" script="liquids/containers.lua"/>
	<action itemid="2012" script="liquids/containers.lua"/>
	<action itemid="2013" script="liquids/containers.lua"/>
	<action itemid="2014" script="liquids/containers.lua"/>
	<action itemid="2015" script="liquids/containers.lua"/>
	<action itemid="2023" script="liquids/containers.lua"/>
	<action itemid="2031" script="liquids/containers.lua"/>
	<action itemid="2032" script="liquids/containers.lua"/>
	<action itemid="2033" script="liquids/containers.lua"/>
	<action itemid="2034" script="liquids/containers.lua"/>
	<action itemid="2562" script="liquids/containers.lua"/>
	<action itemid="2574" script="liquids/containers.lua"/>
	<action itemid="2575" script="liquids/containers.lua"/>
	<action itemid="2576" script="liquids/containers.lua"/>
	<action itemid="2577" script="liquids/containers.lua"/>
	<action itemid="3941" script="liquids/containers.lua"/>
	<action itemid="3942" script="liquids/containers.lua"/>
	<action itemid="5553" script="liquids/containers.lua"/>
	<action itemid="6558" script="liquids/demonic_blood.lua"/>
         <action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>


	<!-- Food -->
	<action fromid="2362" toid="2363" script="other/food.lua"/>
	<action fromid="2666" toid="2691" script="other/food.lua"/>
	<action fromid="2695" toid="2696" script="other/food.lua"/>
	<action fromid="2787" toid="2796" script="other/food.lua"/>
	<action itemid="5097" script="other/food.lua"/>
	<action itemid="6125" script="other/food.lua"/>
	<action itemid="6278" script="other/food.lua"/>
	<action itemid="6279" script="other/food.lua"/>
	<action itemid="6394" script="other/food.lua"/>
	<action itemid="6501" script="other/food.lua"/>
	<action fromid="6541" toid="6545" script="other/food.lua"/>
	<action itemid="6569" script="other/food.lua"/>
	<action itemid="6574" script="other/food.lua"/>
	<action itemid="7158" script="other/food.lua"/>
	<action itemid="7159" script="other/food.lua"/>
	<action itemid="8840" script="other/food.lua"/>
	<action fromid="7372" toid="7377" script="other/food.lua"/>


	<!-- Increase/Decrease ItemId -->
	<action itemid="1873" function="increaseItemId"/>
	<action itemid="1874" function="decreaseItemId"/>
	<action itemid="1875" function="increaseItemId"/>
	<action itemid="1876" function="decreaseItemId"/>
	<action itemid="2162" function="increaseItemId"/>
	<action itemid="2163" function="decreaseItemId"/>
	<action itemid="3743" function="increaseItemId"/>
	<action itemid="3744" function="decreaseItemId"/>
	<action itemid="3947" function="increaseItemId"/>
	<action itemid="3948" function="decreaseItemId"/>
	<action itemid="1479" function="increaseItemId"/>
	<action itemid="1480" function="decreaseItemId"/>
	<action itemid="1945" function="increaseItemId"/>
	<action itemid="1946" function="decreaseItemId"/>
	<action itemid="2037" function="increaseItemId"/>
	<action itemid="2038" function="decreaseItemId"/>
	<action itemid="2039" function="increaseItemId"/>
	<action itemid="2040" function="decreaseItemId"/>
	<action itemid="2058" function="increaseItemId"/>
	<action itemid="2059" function="decreaseItemId"/>
	<action itemid="2060" function="increaseItemId"/>
	<action itemid="2061" function="decreaseItemId"/>
	<action itemid="2066" function="increaseItemId"/>
	<action itemid="2067" function="decreaseItemId"/>
	<action itemid="2068" function="increaseItemId"/>
	<action itemid="2069" function="decreaseItemId"/>
	<action itemid="2064" function="increaseItemId"/>
	<action itemid="2065" function="decreaseItemId"/>
	<action itemid="2578" function="increaseItemId"/>
	<action itemid="2096" function="increaseItemId"/>
	<action itemid="2097" function="decreaseItemId"/>
	<action itemid="1786" function="increaseItemId"/>
	<action itemid="1787" function="decreaseItemId"/>
	<action itemid="1788" function="increaseItemId"/>
	<action itemid="1789" function="decreaseItemId"/>
	<action itemid="1790" function="increaseItemId"/>
	<action itemid="1791" function="decreaseItemId"/>
	<action itemid="1792" function="increaseItemId"/>
	<action itemid="1793" function="decreaseItemId"/>
	<action itemid="1634" function="increaseItemId"/>
	<action itemid="1635" function="decreaseItemId"/>
	<action itemid="1636" function="increaseItemId"/>
	<action itemid="1637" function="decreaseItemId"/>
	<action itemid="1638" function="increaseItemId"/>
	<action itemid="1639" function="decreaseItemId"/>
	<action itemid="1640" function="increaseItemId"/>
	<action itemid="1641" function="decreaseItemId"/>
	<action itemid="7058" function="increaseItemId"/>
	<action itemid="7059" function="decreaseItemId"/>

	<!-- Spellbooks -->
	<action itemid="2175" script="other/spellbook.lua"/>
	<action itemid="6120" script="other/spellbook.lua"/>
	<action fromid="8900" toid="8904" script="other/spellbook.lua"/>
	<action itemid="8918" script="other/spellbook.lua"/>

	<!-- Other -->
	<action itemid="6578" script="other/partyhat.lua"/>
	<action itemid="2114" script="other/piggybank.lua"/>
	<action fromid="6570" toid="6571" script="other/surprisebag.lua"/>
	<action itemid="6576" script="other/fireworksrocket.lua"/>
	<action itemid="2036" script="other/watch.lua"/>
	<action fromid="1728" toid="1731" script="other/watch.lua"/>
	<action itemid="6572" script="other/partytrumpet.lua"/>
	<action itemid="2785" script="other/blueberrybush.lua"/>
	<action itemid="2579" script="other/trap.lua"/>
	<action itemid="2148" script="other/changegold.lua"/>
	<action itemid="2152" script="other/changegold.lua"/>
	<action itemid="2160" script="other/changegold.lua"/>
	<action fromid="3901" toid="3938" script="other/constructionkits.lua"/>
	<action fromid="2070" toid="2078" script="other/music.lua"/>
	<action fromid="2080" toid="2085" script="other/music.lua"/>
	<action itemid="2332" script="other/music.lua"/>
	<action itemid="2364" script="other/music.lua"/>
	<action fromid="2367" toid="2368" script="other/music.lua"/>
	<action fromid="2370" toid="2373" script="other/music.lua"/>
	<action fromid="2041" toid="2042" script="other/decayto.lua"/>
	<action fromid="2044" toid="2045" script="other/decayto.lua"/>
	<action fromid="2047" toid="2048" script="other/decayto.lua"/>
	<action fromid="2050" toid="2055" script="other/decayto.lua"/>
	<action itemid="430" script="other/teleport.lua"/>
	<action itemid="1369" script="other/teleport.lua"/>
	<action itemid="1386" script="other/teleport.lua"/>
	<action itemid="3678" script="other/teleport.lua"/>
	<action itemid="5543" script="other/teleport.lua"/>
	<action fromid="2376" toid="2404" script="other/destroy.lua"/>
	<action fromid="2406" toid="2419" script="other/destroy.lua"/>
	<action fromid="2421" toid="2453" script="other/destroy.lua"/>
	<action fromid="5792" toid="5797" script="other/dice.lua"/>
	<action itemid="2692" script="other/createbread.lua"/>
	<action itemid="2694" script="other/createbread.lua"/>
	<action fromid="6436" toid="6447" script="other/windows.lua"/>
	<action fromid="6450" toid="6473" script="other/windows.lua"/>
	<action fromid="6788" toid="6791" script="other/windows.lua"/>
	<action fromid="7025" toid="7032" script="other/windows.lua"/>	
<action fromid="1219" toid="1262" script="other/doors.lua"/>
<action fromid="1539" toid="1542" script="other/doors.lua"/>
<action fromid="2086" toid="2092" script="other/doors.lua"/>
<action fromid="3535" toid="3552" script="other/doors.lua"/>
<action fromid="4913" toid="4918" script="other/doors.lua"/>
<action fromid="5082" toid="5085" script="other/doors.lua"/>
<action fromid="5098" toid="5145" script="other/doors.lua"/>
<action fromid="5278" toid="5295" script="other/doors.lua"/>
<action fromid="5515" toid="5518" script="other/doors.lua"/>
<action fromid="5732" toid="5737" script="other/doors.lua"/>
<action fromid="5745" toid="5749" script="other/doors.lua"/>
<action fromid="6192" toid="6209" script="other/doors.lua"/>
<action fromid="6249" toid="6266" script="other/doors.lua"/>
<action fromid="6795" toid="6802" script="other/doors.lua"/>
<action fromid="6891" toid="6908" script="other/doors.lua"/>
<action fromid="7033" toid="7050" script="other/doors.lua"/>
<action fromid="7054" toid="7057" script="other/doors.lua"/>
<action fromid="8541" toid="8558" script="other/doors.lua"/>
<action fromid="9165" toid="9184" script="other/doors.lua"/>
<action fromid="9267" toid="9186" script="other/doors.lua"/>

	<action itemid="5791" script="other/stuffeddragon.lua"/>
	<action itemid="6566" script="other/stuffeddragon.lua"/>
	<action itemid="1877" script="other/watch.lua"/>
	<action uniqueid="1945" script="arenalever.lua" />


<action itemid="1857" script="tapestries.lua"  />
<action itemid="1860" script="tapestries.lua"  />
<action itemid="1863" script="tapestries.lua"  />
<action itemid="1866" script="tapestries.lua"  />
<action itemid="1869" script="tapestries.lua"  />
<action itemid="1872" script="tapestries.lua"  />
<action itemid="1880" script="tapestries.lua"  />
<action itemid="5616" script="tapestries.lua"  />

<action itemid="1855" script="tapestries.lua"  />
<action itemid="1858" script="tapestries.lua"  />
<action itemid="1861" script="tapestries.lua"  />
<action itemid="1864" script="tapestries.lua"  />
<action itemid="1867" script="tapestries.lua"  />
<action itemid="1870" script="tapestries.lua"  />
<action itemid="1878" script="tapestries.lua"  />
<action itemid="5614" script="tapestries.lua"  />

<action itemid="1856" script="tapestries.lua"  />
<action itemid="1859" script="tapestries.lua"  />
<action itemid="1862" script="tapestries.lua"  />
<action itemid="1865" script="tapestries.lua"  />
<action itemid="1868" script="tapestries.lua"  />
<action itemid="1871" script="tapestries.lua"  />
<action itemid="1879" script="tapestries.lua"  />
<action itemid="5615" script="tapestries.lua"  />

<action uniqueid="9090" script="Axe.lua" />
<action uniqueid="9010" script="fogo.lua" />
<action uniqueid="9011" script="gelo.lua" />
<action uniqueid="9012" script="terra.lua" />
<action uniqueid="9013" script="energia.lua" />

<action itemid="427" script="teleport.lua" />
<action itemid="408" script="teleport.lua" />
<action itemid="409" script="teleport.lua" />
<action itemid="410" script="teleport.lua" />
<action itemid="411" script="teleport.lua" />
<action itemid="423" script="teleport.lua" />
<action itemid="428" script="teleport.lua" />
<action itemid="429" script="teleport.lua" />
<action itemid="432" script="teleport.lua" />
<action itemid="479" script="teleport.lua" />
<action itemid="480" script="teleport.lua" />
<action itemid="482" script="teleport.lua" />
<action itemid="484" script="teleport.lua" />
<action itemid="485" script="teleport.lua" />
<action itemid="489" script="teleport.lua" />
<action itemid="493" script="teleport.lua" />
<action itemid="294" script="teleport.lua" />
<action itemid="469" script="teleport.lua" />
<action itemid="470" script="teleport.lua" />
<action itemid="385" script="teleport.lua" />
<action itemid="383" script="teleport.lua" />
<action itemid="392" script="teleport.lua" />

<action itemid="2261" script="destroyfield.lua" allowfaruse="1" />

<!-- simple quests -->
<action itemid="1747" script="quest.lua" />
<action itemid="1748" script="quest.lua" />
<action itemid="1770" script="quest.lua" />

<!-- other quests -->
<action uniqueid="5006" script="quests/anihi.lua" />
<action uniqueid="5007" script="quests/anihi.lua" />
<action uniqueid="5008" script="quests/anihi.lua" />
<action uniqueid="5009" script="quests/anihi.lua" />
<action uniqueid="1001" script="demonhelmet.lua" />
<action uniqueid="1002" script="demonhelmet.lua" />
<action uniqueid="1003" script="demonhelmet.lua" />
<action uniqueid="1604" script="bonus.lua" />
<action uniqueid="7502" script="necrochest.lua" />
<action uniqueid="7503" script="necrochest.lua" />
<action uniqueid="7510" script="dwarfschest.lua" />
<action uniqueid="7511" script="dwarfschest.lua" />
<action uniqueid="7512" script="dwarfschest.lua" />
<action uniqueid="7513" script="dwarfschest.lua" />

<action uniqueid="7944" script="quests/firewalker.lua" />
<action uniqueid="4787" script="quests/boots.lua" />

<action uniqueid="2000" script="switchdemon.lua" />
<action uniqueid="7771" script="putz.lua" />
<action uniqueid="2009" script="questa.lua" />
<action uniqueid="2008" script="questo.lua" />
<action uniqueid="5003" script="pharaochest.lua" />
<action uniqueid="5004" script="pharaochest.lua" />
<action uniqueid="5017" script="pharaochest.lua" />
<action uniqueid="5000" script="behechest.lua" />

<action uniqueid="7002" script="steerwheel.lua" />
<action uniqueid="7003" script="steerwheel.lua" />
<action uniqueid="9001" script="orcinvasion.lua" />
<action uniqueid="9002" script="demoninvasion.lua" />
<action uniqueid="9003" script="dragoninvasion.lua" />
<action uniqueid="9004" script="undeadinvasion.lua" />

-----begin bryan scripts-----
<action uniqueid="3021" script="hellhounds.lua" />
<action itemid="2307" script="firerune.lua" allowfaruse="1" />

<action uniqueid="7964" script="posso.lua" />
<action uniqueid="7966" script="inferno_back.lua" />
<action uniqueid="7965" script="inferno.lua" />

<action actionid="4211" script="trainroom.lua" />
<action actionid="4212" script="trainroom.lua" />
<action actionid="4213" script="trainroom.lua" />
<action actionid="4214" script="trainroom.lua" /> 

<action itemid="4846" script="craftleather.lua" />
<action itemid="2557" script="craftdwarven.lua" />
<action itemid="2556" script="craftknight.lua" />

<action uniqueid="3002" script="fullset.lua" />
<action uniqueid="3003" script="fullset2.lua" />
<action itemid="2281" script="mfrune.lua" allowfaruse="1" blockwalls="0" />

<action uniqueid="5058" script="pitschest.lua" />
<action uniqueid="5059" script="pitschest.lua" />
<action uniqueid="5060" script="pitschest.lua" />

<action actionid="1515" script="tools/greatmp.lua"/>
<action actionid="1516" script="tools/greathp.lua"/>
<action actionid="1517" script="tools/healthpotion.lua"/>
<action actionid="1518" script="tools/manapotion.lua"/>
<action actionid="1519" script="tools/stronghp.lua"/>
<action actionid="1520" script="tools/strongmp.lua"/>
<action actionid="1521" script="tools/spiritpotion.lua"/>
<action actionid="1522" script="tools/ultimatehp.lua"/>
<action actionid="1523" script="mmp.lua"/>
<action actionid="1524" script="bsp.lua"/>
<action actionid="1525" script="bup.lua"/>

<action actionid="1001" script="quests/test.lua" />
<action actionid="1002" script="quests/testq.lua" />

<action uniqueid="5957" script="quests/poichest.lua"/>
<action uniqueid="5956" script="quests/poichest.lua"/>
<action uniqueid="5955" script="quests/poichest.lua"/>
<action uniqueid="5954" script="quests/poichest.lua"/>
<action uniqueid="5953" script="quests/poichest.lua"/>
<action uniqueid="10000" script="quests/Avenger.lua"/>
<action uniqueid="10001" script="quests/Arcane Staff.lua"/>
<action uniqueid="10002" script="quests/Arbalest.lua"/>
<action uniqueid="10003" script="quests/Backpack of Holding.lua"/>
<action uniqueid="10004" script="quests/Money.lua"/>
<action uniqueid="10005" script="quests/Soft Boots.lua"/>
<action uniqueid="10006" script="quests/Stuffed Dragon.lua"/>
<action uniqueid="10007" script="quests/Teddy Bear.lua"/>
<action uniqueid="10008" script="quests/golden helmet.lua"/>
<action uniqueid="10009" script="quests/emerald sword.lua"/>
<action uniqueid="10010" script="quests/spellbook of dark mysteries.lua"/>
<action uniqueid="10011" script="quests/master archer's armor.lua"/>
<action uniqueid="10012" script="quests/robe of the underworld.lua"/>
<action uniqueid="10013" script="quests/fireborn giant armor.lua"/>
<action uniqueid="10014" script="quests/obsidian truncher.lua"/>
<action uniqueid="10015" script="quests/royal crossbow.lua"/>
<action uniqueid="10016" script="quests/warsinger bow.lua"/>
<action uniqueid="10017" script="quests/hellforged axe.lua"/>
<action uniqueid="10018" script="quests/Baiak Helmet.lua"/>
<action uniqueid="10019" script="quests/Baiak of Boots.lua"/>
<action uniqueid="10020" script="quests/Baiak Armor.lua"/>

<action uniqueid="7000" script="quests/anihi.lua" />
<action uniqueid="5952" script="quests/begin_chest.lua"/>
<action uniqueid="5951" script="quests/begin_chest.lua"/>
<action uniqueid="5950" script="quests/begin_chest.lua"/>
<action uniqueid="5949" script="quests/begin_chest.lua"/>
<action uniqueid="5948" script="quests/begin_chest.lua"/>
<action uniqueid="5947" script="quests/begin_chest.lua"/>
<action uniqueid="5946" script="quests/begin_chest.lua"/>
<action uniqueid="5990" script="quests/grin armor.lua"/>
<action uniqueid="5901" script="quests/robe.lua"/>
<action uniqueid="5910" script="quests/ele.lua"/>
<action uniqueid="5991" script="quests/grim quest.lua"/>
<action uniqueid="5992" script="quests/frost quest.lua"/>
<action uniqueid="5433" script="quests/frost cap.lua"/>
<action uniqueid="15873" script="quests/blessed.lua"/>
<action uniqueid="5970" script="quests/dez.lua"/>
<action itemid="10022" script="other/firewalker.lua"/>

<action uniqueid="5500" script="quests/questsss.lua"/>
<action uniqueid="5200" script="quests/questsss.lua"/>
<action uniqueid="5300" script="quests/questsss.lua"/>
<action uniqueid="5400" script="quests/questsss.lua"/>
<action uniqueid="5889" script="quests/terra.lua"/>
<action uniqueid="5877" script="quests/winged.lua"/>
<action uniqueid="5882" script="quests/terrab.lua"/>

<action fromid="9268" toid="9269" script="other/doors.lua"/>

<action itemid="2146" script="other/enchant.lua" />
<action itemid="2147" script="other/enchant.lua" />
<action itemid="2150" script="other/enchant.lua" />
<action itemid="2149" script="other/enchant.lua" />

<action itemid="7759" script="other/enchant.lua" />
<action itemid="7760" script="other/enchant.lua" />
<action itemid="7761" script="other/enchant.lua" />
<action itemid="7762" script="other/enchant.lua" />

<action uniqueid="8001" script="quests/arena.lua" />
<action uniqueid="8888" script="quests/goarena.lua" />

<action uniqueid="6013" script="quests/warlord.lua" />
<action uniqueid="6009" script="quests/warlord.lua" />
<action uniqueid="6010" script="quests/warlord.lua" />
<action uniqueid="6011" script="quests/warlord.lua" />
<action uniqueid="6012" script="quests/warlord.lua" />

<action uniqueid="9966" script="quests/quest level.lua" />

<!-- demon oak -->
<action itemid="8293" script="tools/Hallowed Axe.lua"/>
<action uniqueid="12901" script="quests/DOQChests.lua" />
<action uniqueid="12902" script="quests/DOQChests.lua" />
<action uniqueid="12903" script="quests/DOQChests.lua" />
<action uniqueid="12904" script="quests/DOQChests.lua" />
<action uniqueid="5908" script="quests/DOQgravestone.lua"/>
<action uniqueid="3561" script="quests/estatua.lua" />

<!-- POI -->
<action uniqueid="4058" script="quests/poix.lua" />
<action uniqueid="4060" script="quests/poix.lua" />
<action uniqueid="4066" script="quests/poix.lua" />
<action uniqueid="4062" script="quests/poix.lua" />
<action uniqueid="4064" script="quests/poix.lua" />

<action uniqueid="9192" script="other/poi1.lua" />
<action uniqueid="9193" script="other/poi2.lua" />
<action uniqueid="9194" script="other/poi3.lua" />
<action uniqueid="9195" script="other/poi4.lua" />

<action uniqueid="9978" script="quests/infernal.lua" />
<action uniqueid="9980" script="quests/hota.lua" />
<action uniqueid="8883" script="quests/obsidian.lua"/>
<action uniqueid="4546" script="quests/guardian.lua"/>
<action uniqueid="4549" script="quests/hallowed.lua"/>

<action itemid="10223" event="script" value="tools/mechanical_fishing.lua" allowfaruse="1"/>
action fromid="10511" toid="10516" event="script" value="tools/all.lua"/>
<action itemid="9930" event="script" value="tools/rust_remover.lua"/>

<!-- SvargrondArena -->
    <action actionid="42366" script="quests/arenadoors.lua"/>
    <action actionid="42376" script="quests/arenadoors.lua"/>
    <action actionid="42386" script="quests/arenadoors.lua"/>
    <action actionid="42357" script="quests/arenadoors.lua"/>
    <action actionid="42361" script="quests/arenareward.lua"/>
    <action actionid="42362" script="quests/arenareward.lua"/>
    <action actionid="42363" script="quests/arenareward.lua"/>
    <action actionid="42364" script="quests/arenareward.lua"/>
    <action actionid="42365" script="quests/arenareward.lua"/>
    <action actionid="42371" script="quests/arenareward.lua"/>
    <action actionid="42372" script="quests/arenareward.lua"/>
    <action actionid="42373" script="quests/arenareward.lua"/>
    <action actionid="42374" script="quests/arenareward.lua"/>
    <action actionid="42375" script="quests/arenareward.lua"/>
    <action actionid="42381" script="quests/arenareward.lua"/>
    <action actionid="42382" script="quests/arenareward.lua"/>
    <action actionid="42383" script="quests/arenareward.lua"/>
    <action actionid="42384" script="quests/arenareward.lua"/>
    <action actionid="42385" script="quests/arenareward.lua"/>

<action itemid="10269" script="other/doors.lua"/>
<action itemid="10270" script="other/doors.lua"/>
<action itemid="10272" script="other/doors.lua"/>
<action itemid="10273" script="other/doors.lua"/>
<action itemid="10274" script="other/doors.lua"/>
<action itemid="10275" script="other/doors.lua"/>
<action itemid="10276" script="other/doors.lua"/>
<action itemid="10277" script="other/doors.lua"/>
<action itemid="10278" script="other/doors.lua"/>
<action itemid="10279" script="other/doors.lua"/>
<action itemid="10280" script="other/doors.lua"/>
<action itemid="10281" script="other/doors.lua"/>
<action itemid="10282" script="other/doors.lua"/>
<action itemid="10283" script="other/doors.lua"/>
<action itemid="10284" script="other/doors.lua"/>
<action itemid="10285" script="other/doors.lua"/>

<action itemid="10469" script="other/doors.lua"/>
<action itemid="10470" script="other/doors.lua"/>
<action itemid="10471" script="other/doors.lua"/>
<action itemid="10472" script="other/doors.lua"/>
<action itemid="10473" script="other/doors.lua"/>
<action itemid="10474" script="other/doors.lua"/>
<action itemid="10475" script="other/doors.lua"/>
<action itemid="10476" script="other/doors.lua"/>
<action itemid="10478" script="other/doors.lua"/>
<action itemid="10479" script="other/doors.lua"/>
<action itemid="10480" script="other/doors.lua"/>
<action itemid="10481" script="other/doors.lua"/>
<action itemid="10482" script="other/doors.lua"/>
<action itemid="10483" script="other/doors.lua"/>
<action itemid="10484" script="other/doors.lua"/>
<action itemid="10485" script="other/doors.lua"/>

<action uniqueid="8735" script="quests/piratedoor.lua"/>
<action uniqueid="8215" script="quests/questim.lua"/>

<action uniqueid="6564" script="quests/dominio-de-castelo.lua"/> --- Primeiro Castelo
<action uniqueid="6565" script="quests/dominio-de-castelo.lua"/> --- Segundo Castelo
<action uniqueid="6460" script="quests/dominio-de-castelo.lua"/> --- Terceiro Castelo
<action uniqueid="6461" script="quests/dominio-de-castelo.lua"/> --- Quarto Castelo
<action uniqueid="6462" script="quests/dominio-de-castelo.lua"/> --- Quinto Castelo
<action uniqueid="6560" script="quests/dominio-de-castelo.lua"/> --- Alavanca Resetadora

<action uniqueid="55100" event="script" value="demonOakGravestone.lua" />
<action itemid="2719" script="escondido.lua" />
<action itemid="8306" script="other/upgrade.lua"/>
<action itemid="1967" script="scroll.lua"/>

</actions>

Editado por TonyHalk (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Login.lua :

local config = {
	loginMessage = getConfigValue('loginMessage')
}

function onLogin(cid)
  if getPlayerStorageValue(cid, 13340) > 0 then
doPlayerSetExperienceRate(cid, 1.25)
doPlayerSetSkills(cid, 1.25)
doPlayerSetMagicRate(cid, 1.25)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você é um player VIP, aproveite seus bônus de 25% em experiencia, skills e magic level !")
end	
local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end

	local accountManager = getPlayerAccountManager(cid)
	if(accountManager == MANAGER_NONE) then
		local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
		if(lastLogin > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
			str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
		else
			str = str .. " Please choose your outfit."
			doPlayerSendOutfitWindow(cid)
		end

		doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
	elseif(accountManager == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(accountManager == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
	end

	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	
registerCreatureEvent(cid, "killer")
registerCreatureEvent(cid, "Idle")

registerCreatureEvent(cid, "attackguild")	
registerCreatureEvent(cid, "advance")
registerCreatureEvent(cid, "FimVip")
registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "ReportBug")

registerCreatureEvent(cid, VipReceive)
registerCreatureEvent(cid, "PlayerKill")
    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  
return true
end

Action.xml

<?xml version="1.0" encoding="UTF-8"?>
<actions>
	<!-- Quests -->
        <action itemid="1948" script="papelvip.lua"/> 
	<action actionid="2000" script="quests/system.lua"/>
	<action actionid="2001" script="quests/system.lua"/>
	<action uniqueid="30015" script="quests/annihilator.lua"/>

	<!-- Tools -->
	<action itemid="2420" script="tools/machete.lua"/>
	<action itemid="2550" script="tools/scythe.lua"/>
	<action itemid="2580" script="tools/fishing.lua" allowfaruse="1"/>
	<action itemid="2554" script="tools/shovel.lua"/>
	<action itemid="5710" script="tools/shovel.lua"/>
	<action itemid="2120" script="tools/rope.lua"/>
	<action itemid="2553" script="tools/pick.lua"/>
	<action itemid="5942" script="tools/blessed_wooden_stake.lua"/>
	<action itemid="5908" script="tools/obsidian_knife.lua"/>

	<!-- Liquids -->
	<action itemid="1775" script="liquids/containers.lua"/>
	<action itemid="2005" script="liquids/containers.lua"/>
	<action itemid="2006" script="liquids/containers.lua"/>
	<action itemid="2007" script="liquids/containers.lua"/>
	<action itemid="2008" script="liquids/containers.lua"/>
	<action itemid="2009" script="liquids/containers.lua"/>
	<action itemid="2011" script="liquids/containers.lua"/>
	<action itemid="2012" script="liquids/containers.lua"/>
	<action itemid="2013" script="liquids/containers.lua"/>
	<action itemid="2014" script="liquids/containers.lua"/>
	<action itemid="2015" script="liquids/containers.lua"/>
	<action itemid="2023" script="liquids/containers.lua"/>
	<action itemid="2031" script="liquids/containers.lua"/>
	<action itemid="2032" script="liquids/containers.lua"/>
	<action itemid="2033" script="liquids/containers.lua"/>
	<action itemid="2034" script="liquids/containers.lua"/>
	<action itemid="2562" script="liquids/containers.lua"/>
	<action itemid="2574" script="liquids/containers.lua"/>
	<action itemid="2575" script="liquids/containers.lua"/>
	<action itemid="2576" script="liquids/containers.lua"/>
	<action itemid="2577" script="liquids/containers.lua"/>
	<action itemid="3941" script="liquids/containers.lua"/>
	<action itemid="3942" script="liquids/containers.lua"/>
	<action itemid="5553" script="liquids/containers.lua"/>
	<action itemid="6558" script="liquids/demonic_blood.lua"/>
         <action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>


	<!-- Food -->
	<action fromid="2362" toid="2363" script="other/food.lua"/>
	<action fromid="2666" toid="2691" script="other/food.lua"/>
	<action fromid="2695" toid="2696" script="other/food.lua"/>
	<action fromid="2787" toid="2796" script="other/food.lua"/>
	<action itemid="5097" script="other/food.lua"/>
	<action itemid="6125" script="other/food.lua"/>
	<action itemid="6278" script="other/food.lua"/>
	<action itemid="6279" script="other/food.lua"/>
	<action itemid="6394" script="other/food.lua"/>
	<action itemid="6501" script="other/food.lua"/>
	<action fromid="6541" toid="6545" script="other/food.lua"/>
	<action itemid="6569" script="other/food.lua"/>
	<action itemid="6574" script="other/food.lua"/>
	<action itemid="7158" script="other/food.lua"/>
	<action itemid="7159" script="other/food.lua"/>
	<action itemid="8840" script="other/food.lua"/>
	<action fromid="7372" toid="7377" script="other/food.lua"/>


	<!-- Increase/Decrease ItemId -->
	<action itemid="1873" function="increaseItemId"/>
	<action itemid="1874" function="decreaseItemId"/>
	<action itemid="1875" function="increaseItemId"/>
	<action itemid="1876" function="decreaseItemId"/>
	<action itemid="2162" function="increaseItemId"/>
	<action itemid="2163" function="decreaseItemId"/>
	<action itemid="3743" function="increaseItemId"/>
	<action itemid="3744" function="decreaseItemId"/>
	<action itemid="3947" function="increaseItemId"/>
	<action itemid="3948" function="decreaseItemId"/>
	<action itemid="1479" function="increaseItemId"/>
	<action itemid="1480" function="decreaseItemId"/>
	<action itemid="1945" function="increaseItemId"/>
	<action itemid="1946" function="decreaseItemId"/>
	<action itemid="2037" function="increaseItemId"/>
	<action itemid="2038" function="decreaseItemId"/>
	<action itemid="2039" function="increaseItemId"/>
	<action itemid="2040" function="decreaseItemId"/>
	<action itemid="2058" function="increaseItemId"/>
	<action itemid="2059" function="decreaseItemId"/>
	<action itemid="2060" function="increaseItemId"/>
	<action itemid="2061" function="decreaseItemId"/>
	<action itemid="2066" function="increaseItemId"/>
	<action itemid="2067" function="decreaseItemId"/>
	<action itemid="2068" function="increaseItemId"/>
	<action itemid="2069" function="decreaseItemId"/>
	<action itemid="2064" function="increaseItemId"/>
	<action itemid="2065" function="decreaseItemId"/>
	<action itemid="2578" function="increaseItemId"/>
	<action itemid="2096" function="increaseItemId"/>
	<action itemid="2097" function="decreaseItemId"/>
	<action itemid="1786" function="increaseItemId"/>
	<action itemid="1787" function="decreaseItemId"/>
	<action itemid="1788" function="increaseItemId"/>
	<action itemid="1789" function="decreaseItemId"/>
	<action itemid="1790" function="increaseItemId"/>
	<action itemid="1791" function="decreaseItemId"/>
	<action itemid="1792" function="increaseItemId"/>
	<action itemid="1793" function="decreaseItemId"/>
	<action itemid="1634" function="increaseItemId"/>
	<action itemid="1635" function="decreaseItemId"/>
	<action itemid="1636" function="increaseItemId"/>
	<action itemid="1637" function="decreaseItemId"/>
	<action itemid="1638" function="increaseItemId"/>
	<action itemid="1639" function="decreaseItemId"/>
	<action itemid="1640" function="increaseItemId"/>
	<action itemid="1641" function="decreaseItemId"/>
	<action itemid="7058" function="increaseItemId"/>
	<action itemid="7059" function="decreaseItemId"/>

	<!-- Spellbooks -->
	<action itemid="2175" script="other/spellbook.lua"/>
	<action itemid="6120" script="other/spellbook.lua"/>
	<action fromid="8900" toid="8904" script="other/spellbook.lua"/>
	<action itemid="8918" script="other/spellbook.lua"/>

	<!-- Other -->
	<action itemid="6578" script="other/partyhat.lua"/>
	<action itemid="2114" script="other/piggybank.lua"/>
	<action fromid="6570" toid="6571" script="other/surprisebag.lua"/>
	<action itemid="6576" script="other/fireworksrocket.lua"/>
	<action itemid="2036" script="other/watch.lua"/>
	<action fromid="1728" toid="1731" script="other/watch.lua"/>
	<action itemid="6572" script="other/partytrumpet.lua"/>
	<action itemid="2785" script="other/blueberrybush.lua"/>
	<action itemid="2579" script="other/trap.lua"/>
	<action itemid="2148" script="other/changegold.lua"/>
	<action itemid="2152" script="other/changegold.lua"/>
	<action itemid="2160" script="other/changegold.lua"/>
	<action fromid="3901" toid="3938" script="other/constructionkits.lua"/>
	<action fromid="2070" toid="2078" script="other/music.lua"/>
	<action fromid="2080" toid="2085" script="other/music.lua"/>
	<action itemid="2332" script="other/music.lua"/>
	<action itemid="2364" script="other/music.lua"/>
	<action fromid="2367" toid="2368" script="other/music.lua"/>
	<action fromid="2370" toid="2373" script="other/music.lua"/>
	<action fromid="2041" toid="2042" script="other/decayto.lua"/>
	<action fromid="2044" toid="2045" script="other/decayto.lua"/>
	<action fromid="2047" toid="2048" script="other/decayto.lua"/>
	<action fromid="2050" toid="2055" script="other/decayto.lua"/>
	<action itemid="430" script="other/teleport.lua"/>
	<action itemid="1369" script="other/teleport.lua"/>
	<action itemid="1386" script="other/teleport.lua"/>
	<action itemid="3678" script="other/teleport.lua"/>
	<action itemid="5543" script="other/teleport.lua"/>
	<action fromid="2376" toid="2404" script="other/destroy.lua"/>
	<action fromid="2406" toid="2419" script="other/destroy.lua"/>
	<action fromid="2421" toid="2453" script="other/destroy.lua"/>
	<action fromid="5792" toid="5797" script="other/dice.lua"/>
	<action itemid="2692" script="other/createbread.lua"/>
	<action itemid="2694" script="other/createbread.lua"/>
	<action fromid="6436" toid="6447" script="other/windows.lua"/>
	<action fromid="6450" toid="6473" script="other/windows.lua"/>
	<action fromid="6788" toid="6791" script="other/windows.lua"/>
	<action fromid="7025" toid="7032" script="other/windows.lua"/>	
<action fromid="1219" toid="1262" script="other/doors.lua"/>
<action fromid="1539" toid="1542" script="other/doors.lua"/>
<action fromid="2086" toid="2092" script="other/doors.lua"/>
<action fromid="3535" toid="3552" script="other/doors.lua"/>
<action fromid="4913" toid="4918" script="other/doors.lua"/>
<action fromid="5082" toid="5085" script="other/doors.lua"/>
<action fromid="5098" toid="5145" script="other/doors.lua"/>
<action fromid="5278" toid="5295" script="other/doors.lua"/>
<action fromid="5515" toid="5518" script="other/doors.lua"/>
<action fromid="5732" toid="5737" script="other/doors.lua"/>
<action fromid="5745" toid="5749" script="other/doors.lua"/>
<action fromid="6192" toid="6209" script="other/doors.lua"/>
<action fromid="6249" toid="6266" script="other/doors.lua"/>
<action fromid="6795" toid="6802" script="other/doors.lua"/>
<action fromid="6891" toid="6908" script="other/doors.lua"/>
<action fromid="7033" toid="7050" script="other/doors.lua"/>
<action fromid="7054" toid="7057" script="other/doors.lua"/>
<action fromid="8541" toid="8558" script="other/doors.lua"/>
<action fromid="9165" toid="9184" script="other/doors.lua"/>
<action fromid="9267" toid="9186" script="other/doors.lua"/>

	<action itemid="5791" script="other/stuffeddragon.lua"/>
	<action itemid="6566" script="other/stuffeddragon.lua"/>
	<action itemid="1877" script="other/watch.lua"/>
	<action uniqueid="1945" script="arenalever.lua" />


<action itemid="1857" script="tapestries.lua"  />
<action itemid="1860" script="tapestries.lua"  />
<action itemid="1863" script="tapestries.lua"  />
<action itemid="1866" script="tapestries.lua"  />
<action itemid="1869" script="tapestries.lua"  />
<action itemid="1872" script="tapestries.lua"  />
<action itemid="1880" script="tapestries.lua"  />
<action itemid="5616" script="tapestries.lua"  />

<action itemid="1855" script="tapestries.lua"  />
<action itemid="1858" script="tapestries.lua"  />
<action itemid="1861" script="tapestries.lua"  />
<action itemid="1864" script="tapestries.lua"  />
<action itemid="1867" script="tapestries.lua"  />
<action itemid="1870" script="tapestries.lua"  />
<action itemid="1878" script="tapestries.lua"  />
<action itemid="5614" script="tapestries.lua"  />

<action itemid="1856" script="tapestries.lua"  />
<action itemid="1859" script="tapestries.lua"  />
<action itemid="1862" script="tapestries.lua"  />
<action itemid="1865" script="tapestries.lua"  />
<action itemid="1868" script="tapestries.lua"  />
<action itemid="1871" script="tapestries.lua"  />
<action itemid="1879" script="tapestries.lua"  />
<action itemid="5615" script="tapestries.lua"  />

<action uniqueid="9090" script="Axe.lua" />
<action uniqueid="9010" script="fogo.lua" />
<action uniqueid="9011" script="gelo.lua" />
<action uniqueid="9012" script="terra.lua" />
<action uniqueid="9013" script="energia.lua" />

<action itemid="427" script="teleport.lua" />
<action itemid="408" script="teleport.lua" />
<action itemid="409" script="teleport.lua" />
<action itemid="410" script="teleport.lua" />
<action itemid="411" script="teleport.lua" />
<action itemid="423" script="teleport.lua" />
<action itemid="428" script="teleport.lua" />
<action itemid="429" script="teleport.lua" />
<action itemid="432" script="teleport.lua" />
<action itemid="479" script="teleport.lua" />
<action itemid="480" script="teleport.lua" />
<action itemid="482" script="teleport.lua" />
<action itemid="484" script="teleport.lua" />
<action itemid="485" script="teleport.lua" />
<action itemid="489" script="teleport.lua" />
<action itemid="493" script="teleport.lua" />
<action itemid="294" script="teleport.lua" />
<action itemid="469" script="teleport.lua" />
<action itemid="470" script="teleport.lua" />
<action itemid="385" script="teleport.lua" />
<action itemid="383" script="teleport.lua" />
<action itemid="392" script="teleport.lua" />

<action itemid="2261" script="destroyfield.lua" allowfaruse="1" />

<!-- simple quests -->
<action itemid="1747" script="quest.lua" />
<action itemid="1748" script="quest.lua" />
<action itemid="1770" script="quest.lua" />

<!-- other quests -->
<action uniqueid="5006" script="quests/anihi.lua" />
<action uniqueid="5007" script="quests/anihi.lua" />
<action uniqueid="5008" script="quests/anihi.lua" />
<action uniqueid="5009" script="quests/anihi.lua" />
<action uniqueid="1001" script="demonhelmet.lua" />
<action uniqueid="1002" script="demonhelmet.lua" />
<action uniqueid="1003" script="demonhelmet.lua" />
<action uniqueid="1604" script="bonus.lua" />
<action uniqueid="7502" script="necrochest.lua" />
<action uniqueid="7503" script="necrochest.lua" />
<action uniqueid="7510" script="dwarfschest.lua" />
<action uniqueid="7511" script="dwarfschest.lua" />
<action uniqueid="7512" script="dwarfschest.lua" />
<action uniqueid="7513" script="dwarfschest.lua" />

<action uniqueid="7944" script="quests/firewalker.lua" />
<action uniqueid="4787" script="quests/boots.lua" />

<action uniqueid="2000" script="switchdemon.lua" />
<action uniqueid="7771" script="putz.lua" />
<action uniqueid="2009" script="questa.lua" />
<action uniqueid="2008" script="questo.lua" />
<action uniqueid="5003" script="pharaochest.lua" />
<action uniqueid="5004" script="pharaochest.lua" />
<action uniqueid="5017" script="pharaochest.lua" />
<action uniqueid="5000" script="behechest.lua" />

<action uniqueid="7002" script="steerwheel.lua" />
<action uniqueid="7003" script="steerwheel.lua" />
<action uniqueid="9001" script="orcinvasion.lua" />
<action uniqueid="9002" script="demoninvasion.lua" />
<action uniqueid="9003" script="dragoninvasion.lua" />
<action uniqueid="9004" script="undeadinvasion.lua" />

-----begin bryan scripts-----
<action uniqueid="3021" script="hellhounds.lua" />
<action itemid="2307" script="firerune.lua" allowfaruse="1" />

<action uniqueid="7964" script="posso.lua" />
<action uniqueid="7966" script="inferno_back.lua" />
<action uniqueid="7965" script="inferno.lua" />

<action actionid="4211" script="trainroom.lua" />
<action actionid="4212" script="trainroom.lua" />
<action actionid="4213" script="trainroom.lua" />
<action actionid="4214" script="trainroom.lua" /> 

<action itemid="4846" script="craftleather.lua" />
<action itemid="2557" script="craftdwarven.lua" />
<action itemid="2556" script="craftknight.lua" />

<action uniqueid="3002" script="fullset.lua" />
<action uniqueid="3003" script="fullset2.lua" />
<action itemid="2281" script="mfrune.lua" allowfaruse="1" blockwalls="0" />

<action uniqueid="5058" script="pitschest.lua" />
<action uniqueid="5059" script="pitschest.lua" />
<action uniqueid="5060" script="pitschest.lua" />

<action actionid="1515" script="tools/greatmp.lua"/>
<action actionid="1516" script="tools/greathp.lua"/>
<action actionid="1517" script="tools/healthpotion.lua"/>
<action actionid="1518" script="tools/manapotion.lua"/>
<action actionid="1519" script="tools/stronghp.lua"/>
<action actionid="1520" script="tools/strongmp.lua"/>
<action actionid="1521" script="tools/spiritpotion.lua"/>
<action actionid="1522" script="tools/ultimatehp.lua"/>
<action actionid="1523" script="mmp.lua"/>
<action actionid="1524" script="bsp.lua"/>
<action actionid="1525" script="bup.lua"/>

<action actionid="1001" script="quests/test.lua" />
<action actionid="1002" script="quests/testq.lua" />

<action uniqueid="5957" script="quests/poichest.lua"/>
<action uniqueid="5956" script="quests/poichest.lua"/>
<action uniqueid="5955" script="quests/poichest.lua"/>
<action uniqueid="5954" script="quests/poichest.lua"/>
<action uniqueid="5953" script="quests/poichest.lua"/>
<action uniqueid="10000" script="quests/Avenger.lua"/>
<action uniqueid="10001" script="quests/Arcane Staff.lua"/>
<action uniqueid="10002" script="quests/Arbalest.lua"/>
<action uniqueid="10003" script="quests/Backpack of Holding.lua"/>
<action uniqueid="10004" script="quests/Money.lua"/>
<action uniqueid="10005" script="quests/Soft Boots.lua"/>
<action uniqueid="10006" script="quests/Stuffed Dragon.lua"/>
<action uniqueid="10007" script="quests/Teddy Bear.lua"/>
<action uniqueid="10008" script="quests/golden helmet.lua"/>
<action uniqueid="10009" script="quests/emerald sword.lua"/>
<action uniqueid="10010" script="quests/spellbook of dark mysteries.lua"/>
<action uniqueid="10011" script="quests/master archer's armor.lua"/>
<action uniqueid="10012" script="quests/robe of the underworld.lua"/>
<action uniqueid="10013" script="quests/fireborn giant armor.lua"/>
<action uniqueid="10014" script="quests/obsidian truncher.lua"/>
<action uniqueid="10015" script="quests/royal crossbow.lua"/>
<action uniqueid="10016" script="quests/warsinger bow.lua"/>
<action uniqueid="10017" script="quests/hellforged axe.lua"/>
<action uniqueid="10018" script="quests/Baiak Helmet.lua"/>
<action uniqueid="10019" script="quests/Baiak of Boots.lua"/>
<action uniqueid="10020" script="quests/Baiak Armor.lua"/>

<action uniqueid="7000" script="quests/anihi.lua" />
<action uniqueid="5952" script="quests/begin_chest.lua"/>
<action uniqueid="5951" script="quests/begin_chest.lua"/>
<action uniqueid="5950" script="quests/begin_chest.lua"/>
<action uniqueid="5949" script="quests/begin_chest.lua"/>
<action uniqueid="5948" script="quests/begin_chest.lua"/>
<action uniqueid="5947" script="quests/begin_chest.lua"/>
<action uniqueid="5946" script="quests/begin_chest.lua"/>
<action uniqueid="5990" script="quests/grin armor.lua"/>
<action uniqueid="5901" script="quests/robe.lua"/>
<action uniqueid="5910" script="quests/ele.lua"/>
<action uniqueid="5991" script="quests/grim quest.lua"/>
<action uniqueid="5992" script="quests/frost quest.lua"/>
<action uniqueid="5433" script="quests/frost cap.lua"/>
<action uniqueid="15873" script="quests/blessed.lua"/>
<action uniqueid="5970" script="quests/dez.lua"/>
<action itemid="10022" script="other/firewalker.lua"/>

<action uniqueid="5500" script="quests/questsss.lua"/>
<action uniqueid="5200" script="quests/questsss.lua"/>
<action uniqueid="5300" script="quests/questsss.lua"/>
<action uniqueid="5400" script="quests/questsss.lua"/>
<action uniqueid="5889" script="quests/terra.lua"/>
<action uniqueid="5877" script="quests/winged.lua"/>
<action uniqueid="5882" script="quests/terrab.lua"/>

<action fromid="9268" toid="9269" script="other/doors.lua"/>

<action itemid="2146" script="other/enchant.lua" />
<action itemid="2147" script="other/enchant.lua" />
<action itemid="2150" script="other/enchant.lua" />
<action itemid="2149" script="other/enchant.lua" />

<action itemid="7759" script="other/enchant.lua" />
<action itemid="7760" script="other/enchant.lua" />
<action itemid="7761" script="other/enchant.lua" />
<action itemid="7762" script="other/enchant.lua" />

<action uniqueid="8001" script="quests/arena.lua" />
<action uniqueid="8888" script="quests/goarena.lua" />

<action uniqueid="6013" script="quests/warlord.lua" />
<action uniqueid="6009" script="quests/warlord.lua" />
<action uniqueid="6010" script="quests/warlord.lua" />
<action uniqueid="6011" script="quests/warlord.lua" />
<action uniqueid="6012" script="quests/warlord.lua" />

<action uniqueid="9966" script="quests/quest level.lua" />

<!-- demon oak -->
<action itemid="8293" script="tools/Hallowed Axe.lua"/>
<action uniqueid="12901" script="quests/DOQChests.lua" />
<action uniqueid="12902" script="quests/DOQChests.lua" />
<action uniqueid="12903" script="quests/DOQChests.lua" />
<action uniqueid="12904" script="quests/DOQChests.lua" />
<action uniqueid="5908" script="quests/DOQgravestone.lua"/>
<action uniqueid="3561" script="quests/estatua.lua" />

<!-- POI -->
<action uniqueid="4058" script="quests/poix.lua" />
<action uniqueid="4060" script="quests/poix.lua" />
<action uniqueid="4066" script="quests/poix.lua" />
<action uniqueid="4062" script="quests/poix.lua" />
<action uniqueid="4064" script="quests/poix.lua" />

<action uniqueid="9192" script="other/poi1.lua" />
<action uniqueid="9193" script="other/poi2.lua" />
<action uniqueid="9194" script="other/poi3.lua" />
<action uniqueid="9195" script="other/poi4.lua" />

<action uniqueid="9978" script="quests/infernal.lua" />
<action uniqueid="9980" script="quests/hota.lua" />
<action uniqueid="8883" script="quests/obsidian.lua"/>
<action uniqueid="4546" script="quests/guardian.lua"/>
<action uniqueid="4549" script="quests/hallowed.lua"/>

<action itemid="10223" event="script" value="tools/mechanical_fishing.lua" allowfaruse="1"/>
<action fromid="10511" toid="10516" event="script" value="tools/all.lua"/>
<action itemid="9930" event="script" value="tools/rust_remover.lua"/>

<!-- SvargrondArena -->
    <action actionid="42366" script="quests/arenadoors.lua"/>
    <action actionid="42376" script="quests/arenadoors.lua"/>
    <action actionid="42386" script="quests/arenadoors.lua"/>
    <action actionid="42357" script="quests/arenadoors.lua"/>
    <action actionid="42361" script="quests/arenareward.lua"/>
    <action actionid="42362" script="quests/arenareward.lua"/>
    <action actionid="42363" script="quests/arenareward.lua"/>
    <action actionid="42364" script="quests/arenareward.lua"/>
    <action actionid="42365" script="quests/arenareward.lua"/>
    <action actionid="42371" script="quests/arenareward.lua"/>
    <action actionid="42372" script="quests/arenareward.lua"/>
    <action actionid="42373" script="quests/arenareward.lua"/>
    <action actionid="42374" script="quests/arenareward.lua"/>
    <action actionid="42375" script="quests/arenareward.lua"/>
    <action actionid="42381" script="quests/arenareward.lua"/>
    <action actionid="42382" script="quests/arenareward.lua"/>
    <action actionid="42383" script="quests/arenareward.lua"/>
    <action actionid="42384" script="quests/arenareward.lua"/>
    <action actionid="42385" script="quests/arenareward.lua"/>

<action itemid="10269" script="other/doors.lua"/>
<action itemid="10270" script="other/doors.lua"/>
<action itemid="10272" script="other/doors.lua"/>
<action itemid="10273" script="other/doors.lua"/>
<action itemid="10274" script="other/doors.lua"/>
<action itemid="10275" script="other/doors.lua"/>
<action itemid="10276" script="other/doors.lua"/>
<action itemid="10277" script="other/doors.lua"/>
<action itemid="10278" script="other/doors.lua"/>
<action itemid="10279" script="other/doors.lua"/>
<action itemid="10280" script="other/doors.lua"/>
<action itemid="10281" script="other/doors.lua"/>
<action itemid="10282" script="other/doors.lua"/>
<action itemid="10283" script="other/doors.lua"/>
<action itemid="10284" script="other/doors.lua"/>
<action itemid="10285" script="other/doors.lua"/>

<action itemid="10469" script="other/doors.lua"/>
<action itemid="10470" script="other/doors.lua"/>
<action itemid="10471" script="other/doors.lua"/>
<action itemid="10472" script="other/doors.lua"/>
<action itemid="10473" script="other/doors.lua"/>
<action itemid="10474" script="other/doors.lua"/>
<action itemid="10475" script="other/doors.lua"/>
<action itemid="10476" script="other/doors.lua"/>
<action itemid="10478" script="other/doors.lua"/>
<action itemid="10479" script="other/doors.lua"/>
<action itemid="10480" script="other/doors.lua"/>
<action itemid="10481" script="other/doors.lua"/>
<action itemid="10482" script="other/doors.lua"/>
<action itemid="10483" script="other/doors.lua"/>
<action itemid="10484" script="other/doors.lua"/>
<action itemid="10485" script="other/doors.lua"/>

<action uniqueid="8735" script="quests/piratedoor.lua"/>
<action uniqueid="8215" script="quests/questim.lua"/>

<action uniqueid="6564" script="quests/dominio-de-castelo.lua"/> --- Primeiro Castelo
<action uniqueid="6565" script="quests/dominio-de-castelo.lua"/> --- Segundo Castelo
<action uniqueid="6460" script="quests/dominio-de-castelo.lua"/> --- Terceiro Castelo
<action uniqueid="6461" script="quests/dominio-de-castelo.lua"/> --- Quarto Castelo
<action uniqueid="6462" script="quests/dominio-de-castelo.lua"/> --- Quinto Castelo
<action uniqueid="6560" script="quests/dominio-de-castelo.lua"/> --- Alavanca Resetadora

<action uniqueid="55100" event="script" value="demonOakGravestone.lua" />
<action itemid="2719" script="escondido.lua" />
<action itemid="8306" script="other/upgrade.lua"/>
<action itemid="1967" script="scroll.lua"/>

</actions>

Mais atenção nas instruções que eu botei para você, o item estava quebrado por que você não botou como eu pedi.

Você botou :

<action itemid="2345" event="script" value="papelvip.lua"/>

O que eu pedi para botar :

<action itemid="1948" event="script" value="papelvip.lua"/>

ou

<action itemid="1948" script="papelvip.lua"/>

 

Bem, já fiz as alterações nos códigos, teste-os como eu postei ai.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Sim mais o Item é um Arquivo que é Livro e da para ler quando eu clico ele Abre o Livro o que eu faço..

Link para o post
Compartilhar em outros sites

Não entendi nada, pelo amor de deus, tente usar virgula para melhor a compreensão.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

O Item que vai ser usado, é um Livro, E QUANDO USA, ele abre o Livre como tira isso para ele não abrir ?

Link para o post
Compartilhar em outros sites

Ahh sim, agora entendi...

Simples... abra o item.xml e vá até o item.xml e procure pelo item 1948...

 

Você vai encontar algo parecido como :

	<item id="1948" article="a" name="parchment">
		<attribute key="weight" value="200" />
		<attribute key="writeable" value="1" />
		<attribute key="maxTextLen" value="1023" />
		<attribute key="writeOnceItemId" value="1967" />
	</item>

Subistitua tudo por :

	<item id="1948" article="a" name="parchment">
		<attribute key="weight" value="200" />
	</item>

E tente novamente.

"A alma permanece em suas criações" V89E5aN.png


142c9d3439.jpg
(Não dou suporte por mensagem privada.)

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo