Ir para conteúdo
  • Cadastre-se

(Resolvido)[AJUDA] Duplicate no distro que não sai


Ir para solução Resolvido por Danihcv,

Posts Recomendados

Bom gente, eu tenho um sistema no meu ot de Multi Element Shield, eu postei aqui no TK alguns dias atras, porém, sempre aparece isso no distro:

 

[Warning - Actions::registerEvent] Duplicate registered item id: 8908

Eu já to ficando com raiva disso, o distro não aparece nenhum erro, mas essa droga fica me atrapalhando a visão kkkk

 

Se quiserem dar uma olhada nos scripts, ai vai:

Meu actions.xml

<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action itemid="11191" event="script" value="mount.lua"/>
<action fromid="7838" toid="7840" event="script" value="transformarrow.lua"/>
<action itemid="7850" event="script" value="transformarrow.lua"/>
<action fromid="8905" toid="8909" event="script" value="transformshield.lua"/>
<action itemid="8908" event="script" value="transformshield.lua"/>
<action itemid="9004; 8981" script="pscrolls.lua"/>
 
<!-- Weapons enchanting (Gems) -->
<action itemid="2146" event="script" value="other/enchanting.lua"/>
<action itemid="2147" event="script" value="other/enchanting.lua"/>
<action itemid="2150" event="script" value="other/enchanting.lua"/>
<action itemid="2149" event="script" value="other/enchanting.lua"/>
<action itemid="7759" event="script" value="other/enchanting.lua"/>
<action itemid="7760" event="script" value="other/enchanting.lua"/>
<action itemid="7761" event="script" value="other/enchanting.lua"/>
<action itemid="7762" event="script" value="other/enchanting.lua"/>
 
<!-- Tools -->
<action itemid="2420" event="script" value="tools/machete.lua"/>
<action itemid="2442" event="script" value="tools/machete.lua"/>
<action itemid="2550" event="script" value="tools/scythe.lua"/>
<action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="2554" event="script" value="tools/shovel.lua"/>
<action itemid="5710" event="script" value="tools/shovel.lua"/>
<action itemid="2120" event="script" value="tools/rope.lua"/>
<action itemid="7731" event="script" value="tools/rope.lua"/>
<action itemid="2553" event="script" value="tools/pick.lua"/>
 
<!-- Liquids -->
<action itemid="1775" event="script" value="liquids/containers.lua"/>
<action itemid="2005" event="script" value="liquids/containers.lua"/>
<action itemid="2006" event="script" value="liquids/containers.lua"/>
<action itemid="2007" event="script" value="liquids/containers.lua"/>
<action itemid="2008" event="script" value="liquids/containers.lua"/>
<action itemid="2009" event="script" value="liquids/containers.lua"/>
<action itemid="2011" event="script" value="liquids/containers.lua"/>
<action itemid="2012" event="script" value="liquids/containers.lua"/>
<action itemid="2013" event="script" value="liquids/containers.lua"/>
<action itemid="2014" event="script" value="liquids/containers.lua"/>
<action itemid="2015" event="script" value="liquids/containers.lua"/>
<action itemid="2023" event="script" value="liquids/containers.lua"/>
<action itemid="2031" event="script" value="liquids/containers.lua"/>
<action itemid="2032" event="script" value="liquids/containers.lua"/>
<action itemid="2033" event="script" value="liquids/containers.lua"/>
<action itemid="2034" event="script" value="liquids/containers.lua"/>
<action itemid="2562" event="script" value="liquids/containers.lua"/>
<action itemid="2574" event="script" value="liquids/containers.lua"/>
<action itemid="2575" event="script" value="liquids/containers.lua"/>
<action itemid="2576" event="script" value="liquids/containers.lua"/>
<action itemid="2577" event="script" value="liquids/containers.lua"/>
<action itemid="3941" event="script" value="liquids/containers.lua"/>
<action itemid="3942" event="script" value="liquids/containers.lua"/>
<action itemid="5553" event="script" value="liquids/containers.lua"/>
<action itemid="10150" event="script" value="liquids/containers.lua"/>
<action itemid="6558" event="script" value="liquids/demonic_blood.lua"/>
<action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>
<action itemid="7439" event="script" value="liquids/berserk_potion.lua"/>
<action itemid="7440" event="script" value="liquids/mastermind_potion.lua"/>
<action itemid="7443" event="script" value="liquids/bullseye_potion.lua"/>
<action itemid="8474" event="script" value="liquids/antidote_potion.lua"/>
 
<!-- Food -->
<action itemid="12598" event="script" value="foods/food.lua"/>
<action itemid="12600" event="script" value="foods/food.lua"/>
<action itemid="12599" event="script" value="foods/food.lua"/>
<action itemid="12377" event="script" value="foods/food.lua"/>
<action itemid="12378" event="script" value="foods/food.lua"/>
<action itemid="12376" event="script" value="foods/food.lua"/>
<action itemid="2328" event="script" value="foods/food.lua"/>
<action itemid="2362" event="script" value="foods/food.lua"/>
<action itemid="2666" event="script" value="foods/food.lua"/>
<action itemid="2667" event="script" value="foods/food.lua"/>
<action itemid="2668" event="script" value="foods/food.lua"/>
<action itemid="2669" event="script" value="foods/food.lua"/>
<action itemid="2670" event="script" value="foods/food.lua"/>
<action itemid="2671" event="script" value="foods/food.lua"/>
<action itemid="2672" event="script" value="foods/food.lua"/>
<action itemid="2673" event="script" value="foods/food.lua"/>
<action itemid="2674" event="script" value="foods/food.lua"/>
<action itemid="6574" event="script" value="foods/food.lua"/>
<action itemid="2675" event="script" value="foods/food.lua"/>
<action itemid="2676" event="script" value="foods/food.lua"/>
<action itemid="2677" event="script" value="foods/food.lua"/>
<action itemid="2678" event="script" value="foods/food.lua"/>
<action itemid="2679" event="script" value="foods/food.lua"/>
<action itemid="2680" event="script" value="foods/food.lua"/>
<action itemid="2681" event="script" value="foods/food.lua"/>
<action itemid="2682" event="script" value="foods/food.lua"/>
<action itemid="2683" event="script" value="foods/food.lua"/>
<action itemid="2684" event="script" value="foods/food.lua"/>
<action itemid="2685" event="script" value="foods/food.lua"/>
<action itemid="2686" event="script" value="foods/food.lua"/>
<action itemid="2687" event="script" value="foods/food.lua"/>
<action itemid="2688" event="script" value="foods/food.lua"/>
<action itemid="2689" event="script" value="foods/food.lua"/>
<action itemid="2690" event="script" value="foods/food.lua"/>
<action itemid="2691" event="script" value="foods/food.lua"/>
<action itemid="2695" event="script" value="foods/food.lua"/>
<action itemid="2696" event="script" value="foods/food.lua"/>
<action itemid="2787" event="script" value="foods/food.lua"/>
<action itemid="2788" event="script" value="foods/food.lua"/>
<action itemid="2789" event="script" value="foods/food.lua"/>
<action itemid="2790" event="script" value="foods/food.lua"/>
<action itemid="2791" event="script" value="foods/food.lua"/>
<action itemid="2792" event="script" value="foods/food.lua"/>
<action itemid="2793" event="script" value="foods/food.lua"/>
<action itemid="2794" event="script" value="foods/food.lua"/>
<action itemid="2795" event="script" value="foods/food.lua"/>
<action itemid="2796" event="script" value="foods/food.lua"/>
<action itemid="5097" event="script" value="foods/food.lua"/>
<action itemid="5678" event="script" value="foods/food.lua"/>
<action itemid="6125" event="script" value="foods/food.lua"/>
<action itemid="6278" event="script" value="foods/food.lua"/>
<action itemid="6279" event="script" value="foods/food.lua"/>
<action itemid="6280" event="script" value="foods/food.lua"/>
<action itemid="6393" event="script" value="foods/food.lua"/>
<action itemid="6394" event="script" value="foods/food.lua"/>
<action itemid="6501" event="script" value="foods/food.lua"/>
<action itemid="6541" event="script" value="foods/food.lua"/>
<action itemid="6542" event="script" value="foods/food.lua"/>
<action itemid="6543" event="script" value="foods/food.lua"/>
<action itemid="6544" event="script" value="foods/food.lua"/>
<action itemid="6545" event="script" value="foods/food.lua"/>
<action itemid="7158" event="script" value="foods/food.lua"/>
<action itemid="7159" event="script" value="foods/food.lua"/>
<action itemid="7372" event="script" value="foods/food.lua"/>
<action itemid="7373" event="script" value="foods/food.lua"/>
<action itemid="7374" event="script" value="foods/food.lua"/>
<action itemid="7375" event="script" value="foods/food.lua"/>
<action itemid="7376" event="script" value="foods/food.lua"/>
<action itemid="7377" event="script" value="foods/food.lua"/>
<action itemid="7963" event="script" value="foods/food.lua"/>
<action itemid="8838" event="script" value="foods/food.lua"/>
<action itemid="8839" event="script" value="foods/food.lua"/>
<action itemid="8840" event="script" value="foods/food.lua"/>
<action itemid="8841" event="script" value="foods/food.lua"/>
<action itemid="8842" event="script" value="foods/food.lua"/>
<action itemid="8843" event="script" value="foods/food.lua"/>
<action itemid="8844" event="script" value="foods/food.lua"/>
<action itemid="8845" event="script" value="foods/food.lua"/>
<action itemid="8847" event="script" value="foods/food.lua"/>
<action itemid="8868" event="script" value="foods/food.lua"/>
<action itemid="9005" event="script" value="foods/food.lua"/>
<action itemid="10454" event="script" value="foods/food.lua"/>
<action itemid="9992" event="script" value="foods/rotworm_stew.lua"/>
<action itemid="9993" event="script" value="foods/hydra_tongue_salad.lua"/>
<action itemid="9994" event="script" value="foods/roasted_dragon_wings.lua"/>
<action itemid="9995" event="script" value="foods/fried_tropical_terrorbird.lua"/>
<action itemid="9996" event="script" value="foods/food.lua"/>
<action itemid="9997" event="script" value="foods/veggie_casserole.lua"/>
<action itemid="9998" event="script" value="foods/filled_jalapeno_peppers.lua"/>
<action itemid="9999" event="script" value="foods/blessed_steak.lua"/>
<action itemid="10000" event="script" value="foods/carrot_cake.lua"/>
<action itemid="10001" event="script" value="foods/northern_fishburger.lua"/>
 
<!-- Increase/Decrease ItemId -->
<action itemid="461" event="function" value="increaseItemId"/>
<action itemid="462" event="function" value="decreaseItemId"/>
<action itemid="1873" event="function" value="increaseItemId"/>
<action itemid="1874" event="function" value="decreaseItemId"/>
<action itemid="1875" event="function" value="increaseItemId"/>
<action itemid="1876" event="function" value="decreaseItemId"/>
<action itemid="2162" event="function" value="increaseItemId"/>
<action itemid="2163" event="function" value="decreaseItemId"/>
<action itemid="3743" event="function" value="increaseItemId"/>
<action itemid="3744" event="function" value="decreaseItemId"/>
<action itemid="3947" event="function" value="increaseItemId"/>
<action itemid="3948" event="function" value="decreaseItemId"/>
<action itemid="1479" event="function" value="increaseItemId"/>
<action itemid="1480" event="function" value="decreaseItemId"/>
<action itemid="1945" event="function" value="increaseItemId"/>
<action itemid="1946" event="function" value="decreaseItemId"/>
<action itemid="2037" event="function" value="increaseItemId"/>
<action itemid="2038" event="function" value="decreaseItemId"/>
<action itemid="2039" event="function" value="increaseItemId"/>
<action itemid="2040" event="function" value="decreaseItemId"/>
<action itemid="2058" event="function" value="increaseItemId"/>
<action itemid="2059" event="function" value="decreaseItemId"/>
<action itemid="2060" event="function" value="increaseItemId"/>
<action itemid="2061" event="function" value="decreaseItemId"/>
<action itemid="2066" event="function" value="increaseItemId"/>
<action itemid="2067" event="function" value="decreaseItemId"/>
<action itemid="2068" event="function" value="increaseItemId"/>
<action itemid="2069" event="function" value="decreaseItemId"/>
<action itemid="2064" event="function" value="increaseItemId"/>
<action itemid="2065" event="function" value="decreaseItemId"/>
<action itemid="2578" event="function" value="increaseItemId"/>
<action itemid="1786" event="function" value="increaseItemId"/>
<action itemid="1787" event="function" value="decreaseItemId"/>
<action itemid="1788" event="function" value="increaseItemId"/>
<action itemid="1789" event="function" value="decreaseItemId"/>
<action itemid="1790" event="function" value="increaseItemId"/>
<action itemid="1791" event="function" value="decreaseItemId"/>
<action itemid="1792" event="function" value="increaseItemId"/>
<action itemid="1793" event="function" value="decreaseItemId"/>
<action itemid="1634" event="function" value="increaseItemId"/>
<action itemid="1635" event="function" value="decreaseItemId"/>
<action itemid="1636" event="function" value="increaseItemId"/>
<action itemid="1637" event="function" value="decreaseItemId"/>
<action itemid="1638" event="function" value="increaseItemId"/>
<action itemid="1639" event="function" value="decreaseItemId"/>
<action itemid="1640" event="function" value="increaseItemId"/>
<action itemid="1641" event="function" value="decreaseItemId"/>
<action itemid="7058" event="function" value="increaseItemId"/>
<action itemid="7059" event="function" value="decreaseItemId"/>
<action itemid="8684" event="function" value="increaseItemId"/>
<action itemid="8685" event="function" value="decreaseItemId"/>
<action itemid="8686" event="function" value="increaseItemId"/>
<action itemid="8687" event="function" value="decreaseItemId"/>
<action itemid="8688" event="function" value="increaseItemId"/>
<action itemid="8689" event="function" value="decreaseItemId"/>
<action itemid="8690" event="function" value="increaseItemId"/>
<action itemid="8691" event="function" value="decreaseItemId"/>
<action itemid="9575" event="function" value="increaseItemId"/>
<action itemid="9576" event="function" value="decreaseItemId"/>
<action itemid="9577" event="function" value="increaseItemId"/>
<action itemid="9578" event="function" value="decreaseItemId"/>
<action itemid="9579" event="function" value="increaseItemId"/>
<action itemid="9580" event="function" value="decreaseItemId"/>
<action itemid="9581" event="function" value="increaseItemId"/>
<action itemid="9582" event="function" value="decreaseItemId"/>
<action itemid="9624" event="function" value="increaseItemId"/>
<action itemid="9625" event="function" value="decreaseItemId"/>
<action itemid="9747" event="function" value="increaseItemId"/>
<action itemid="9748" event="function" value="decreaseItemId"/>
<action itemid="9749" event="function" value="increaseItemId"/>
<action itemid="9750" event="function" value="decreaseItemId"/>
<action itemid="9825" event="function" value="increaseItemId"/>
<action itemid="9826" event="function" value="decreaseItemId"/>
<action itemid="9827" event="function" value="increaseItemId"/>
<action itemid="9828" event="function" value="decreaseItemId"/>
<action itemid="9973" event="function" value="increaseItemId"/>
<action itemid="9974" event="function" value="decreaseItemId"/>
<action itemid="10044" event="function" value="increaseItemId"/>
<action itemid="10045" event="function" value="decreaseItemId"/>
<action itemid="10970" event="function" value="increaseItemId"/>
<action itemid="10971" event="function" value="decreaseItemId"/>
<action itemid="10972" event="function" value="increaseItemId"/>
<action itemid="10973" event="function" value="decreaseItemId"/>
<action itemid="10997" event="function" value="increaseItemId"/>
<action itemid="10998" event="function" value="decreaseItemId"/>
<action itemid="10999" event="function" value="increaseItemId"/>
<action itemid="11000" event="function" value="decreaseItemId"/>
 
<!-- Spellbooks -->
<action itemid="12608" event="script" value="other/spellbook.lua"/>
<action itemid="2175" event="script" value="other/spellbook.lua"/>
<action itemid="6120" event="script" value="other/spellbook.lua"/>
<action fromid="8900" toid="8904" event="script" value="other/spellbook.lua"/>
<action itemid="8918" event="script" value="other/spellbook.lua"/>
 
<!-- Change gold -->
<action itemid="2148" event="script" value="other/changegold.lua"/>
<action itemid="2152" event="script" value="other/changegold.lua"/>
<action itemid="2160" event="script" value="other/changegold.lua"/>
 
<!-- Teleport (stairs, ladders) -->
<action itemid="1369" event="script" value="other/draw_well.lua"/>
<action itemid="430" event="script" value="other/teleport.lua"/>
<action itemid="1386" event="script" value="other/teleport.lua"/>
<action itemid="3678" event="script" value="other/teleport.lua"/>
<action itemid="5543" event="script" value="other/teleport.lua"/>
<action itemid="8580" event="script" value="other/teleport.lua"/>
<action itemid="8599" event="script" value="other/teleport.lua"/>
<action itemid="10035" event="script" value="other/teleport.lua"/>
 
<!-- Bread Creating -->
<action itemid="2692" event="script" value="other/createbread.lua"/>
<action itemid="2694" event="script" value="other/createbread.lua"/>
 
<!-- Doors -->
<action fromid="1209" toid="1214" event="script" value="other/doors.lua"/>
<action fromid="1219" toid="1262" event="script" value="other/doors.lua"/>
<action fromid="1539" toid="1542" event="script" value="other/doors.lua"/>
<action fromid="2086" toid="2092" event="script" value="other/doors.lua"/>
<action fromid="3535" toid="3552" event="script" value="other/doors.lua"/>
<action fromid="4913" toid="4918" event="script" value="other/doors.lua"/>
<action fromid="5082" toid="5085" event="script" value="other/doors.lua"/>
<action fromid="5098" toid="5145" event="script" value="other/doors.lua"/>
<action fromid="5278" toid="5295" event="script" value="other/doors.lua"/>
<action fromid="5515" toid="5518" event="script" value="other/doors.lua"/>
<action fromid="5732" toid="5737" event="script" value="other/doors.lua"/>
<action fromid="5745" toid="5749" event="script" value="other/doors.lua"/>
<action fromid="6192" toid="6209" event="script" value="other/doors.lua"/>
<action fromid="6249" toid="6266" event="script" value="other/doors.lua"/>
<action fromid="6795" toid="6802" event="script" value="other/doors.lua"/>
<action fromid="6891" toid="6908" event="script" value="other/doors.lua"/>
<action fromid="7033" toid="7050" event="script" value="other/doors.lua"/>
<action fromid="7054" toid="7057" event="script" value="other/doors.lua"/>
<action fromid="8541" toid="8558" event="script" value="other/doors.lua"/>
<action fromid="9165" toid="9184" event="script" value="other/doors.lua"/>
<action fromid="9267" toid="9284" event="script" value="other/doors.lua"/>
<action itemid="10032" event="script" value="other/doors.lua"/>
<action itemid="10091" event="script" value="other/doors.lua"/>
<action fromid="10268" toid="10285" event="script" value="other/doors.lua"/>
<action fromid="10468" toid="10486" event="script" value="other/doors.lua"/>
<action fromid="10774" toid="10776" event="script" value="other/doors.lua"/>
<action fromid="10779" toid="10785" event="script" value="other/doors.lua"/>
<action fromid="10788" toid="10791" event="script" value="other/doors.lua"/>
 
<!-- Decay To -->
<action fromid="2041" toid="2042" event="script" value="other/decayto.lua"/>
<action fromid="2044" toid="2045" event="script" value="other/decayto.lua"/>
<action fromid="2047" toid="2048" event="script" value="other/decayto.lua"/>
<action fromid="2050" toid="2055" event="script" value="other/decayto.lua"/>
<action fromid="5812" toid="5813" event="script" value="other/decayto.lua"/>
<action itemid="7183" event="script" value="other/decayto.lua"/>
<action itemid="9006" event="script" value="other/decayto.lua"/>
<action fromid="9976" toid="9979" event="script" value="other/decayto.lua"/>
</actions>
 
VERMELHO - Unicas tags que envolvem o id 8908

 
Agora o script do arquivo transformshield.lua que está em data/actions/scripts

local ITEM_IDS = {
[8905] = 8906,
[8907] = 8906,
[8906] = 8909,
[8909] = 8907,
[8907] = 8908,
[8908] = 8905,
}
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(not ITEM_IDS[item.itemid]) then
return false
end
 
doTransformItem(item.uid, ITEM_IDS[item.itemid])
doDecayItem(item.uid)
return true
end

 
Espero que alguém possa me ajudar... Meu distro está livre de erros, mas sempre tem essa coisa ae pra atrapalhar a visão kkkkkk
 
 
Obrigado desde ja!

 

Link para o post
Compartilhar em outros sites

 

Bom gente, eu tenho um sistema no meu ot de Multi Element Shield, eu postei aqui no TK alguns dias atras, porém, sempre aparece isso no distro:

Eu já to ficando com raiva disso, o distro não aparece nenhum erro, mas essa droga fica me atrapalhando a visão kkkk

 

Se quiserem dar uma olhada nos scripts, ai vai:

Meu actions.xml

<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action itemid="11191" event="script" value="mount.lua"/>
<action fromid="7838" toid="7840" event="script" value="transformarrow.lua"/>
<action itemid="7850" event="script" value="transformarrow.lua"/>
<action fromid="8905" toid="8909" event="script" value="transformshield.lua"/>
<action itemid="8908" event="script" value="transformshield.lua"/>
<action itemid="9004; 8981" script="pscrolls.lua"/>
 
<!-- Weapons enchanting (Gems) -->
<action itemid="2146" event="script" value="other/enchanting.lua"/>
<action itemid="2147" event="script" value="other/enchanting.lua"/>
<action itemid="2150" event="script" value="other/enchanting.lua"/>
<action itemid="2149" event="script" value="other/enchanting.lua"/>
<action itemid="7759" event="script" value="other/enchanting.lua"/>
<action itemid="7760" event="script" value="other/enchanting.lua"/>
<action itemid="7761" event="script" value="other/enchanting.lua"/>
<action itemid="7762" event="script" value="other/enchanting.lua"/>
 
<!-- Tools -->
<action itemid="2420" event="script" value="tools/machete.lua"/>
<action itemid="2442" event="script" value="tools/machete.lua"/>
<action itemid="2550" event="script" value="tools/scythe.lua"/>
<action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/>
<action itemid="2554" event="script" value="tools/shovel.lua"/>
<action itemid="5710" event="script" value="tools/shovel.lua"/>
<action itemid="2120" event="script" value="tools/rope.lua"/>
<action itemid="7731" event="script" value="tools/rope.lua"/>
<action itemid="2553" event="script" value="tools/pick.lua"/>
 
<!-- Liquids -->
<action itemid="1775" event="script" value="liquids/containers.lua"/>
<action itemid="2005" event="script" value="liquids/containers.lua"/>
<action itemid="2006" event="script" value="liquids/containers.lua"/>
<action itemid="2007" event="script" value="liquids/containers.lua"/>
<action itemid="2008" event="script" value="liquids/containers.lua"/>
<action itemid="2009" event="script" value="liquids/containers.lua"/>
<action itemid="2011" event="script" value="liquids/containers.lua"/>
<action itemid="2012" event="script" value="liquids/containers.lua"/>
<action itemid="2013" event="script" value="liquids/containers.lua"/>
<action itemid="2014" event="script" value="liquids/containers.lua"/>
<action itemid="2015" event="script" value="liquids/containers.lua"/>
<action itemid="2023" event="script" value="liquids/containers.lua"/>
<action itemid="2031" event="script" value="liquids/containers.lua"/>
<action itemid="2032" event="script" value="liquids/containers.lua"/>
<action itemid="2033" event="script" value="liquids/containers.lua"/>
<action itemid="2034" event="script" value="liquids/containers.lua"/>
<action itemid="2562" event="script" value="liquids/containers.lua"/>
<action itemid="2574" event="script" value="liquids/containers.lua"/>
<action itemid="2575" event="script" value="liquids/containers.lua"/>
<action itemid="2576" event="script" value="liquids/containers.lua"/>
<action itemid="2577" event="script" value="liquids/containers.lua"/>
<action itemid="3941" event="script" value="liquids/containers.lua"/>
<action itemid="3942" event="script" value="liquids/containers.lua"/>
<action itemid="5553" event="script" value="liquids/containers.lua"/>
<action itemid="10150" event="script" value="liquids/containers.lua"/>
<action itemid="6558" event="script" value="liquids/demonic_blood.lua"/>
<action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>
<action itemid="7439" event="script" value="liquids/berserk_potion.lua"/>
<action itemid="7440" event="script" value="liquids/mastermind_potion.lua"/>
<action itemid="7443" event="script" value="liquids/bullseye_potion.lua"/>
<action itemid="8474" event="script" value="liquids/antidote_potion.lua"/>
 
<!-- Food -->
<action itemid="12598" event="script" value="foods/food.lua"/>
<action itemid="12600" event="script" value="foods/food.lua"/>
<action itemid="12599" event="script" value="foods/food.lua"/>
<action itemid="12377" event="script" value="foods/food.lua"/>
<action itemid="12378" event="script" value="foods/food.lua"/>
<action itemid="12376" event="script" value="foods/food.lua"/>
<action itemid="2328" event="script" value="foods/food.lua"/>
<action itemid="2362" event="script" value="foods/food.lua"/>
<action itemid="2666" event="script" value="foods/food.lua"/>
<action itemid="2667" event="script" value="foods/food.lua"/>
<action itemid="2668" event="script" value="foods/food.lua"/>
<action itemid="2669" event="script" value="foods/food.lua"/>
<action itemid="2670" event="script" value="foods/food.lua"/>
<action itemid="2671" event="script" value="foods/food.lua"/>
<action itemid="2672" event="script" value="foods/food.lua"/>
<action itemid="2673" event="script" value="foods/food.lua"/>
<action itemid="2674" event="script" value="foods/food.lua"/>
<action itemid="6574" event="script" value="foods/food.lua"/>
<action itemid="2675" event="script" value="foods/food.lua"/>
<action itemid="2676" event="script" value="foods/food.lua"/>
<action itemid="2677" event="script" value="foods/food.lua"/>
<action itemid="2678" event="script" value="foods/food.lua"/>
<action itemid="2679" event="script" value="foods/food.lua"/>
<action itemid="2680" event="script" value="foods/food.lua"/>
<action itemid="2681" event="script" value="foods/food.lua"/>
<action itemid="2682" event="script" value="foods/food.lua"/>
<action itemid="2683" event="script" value="foods/food.lua"/>
<action itemid="2684" event="script" value="foods/food.lua"/>
<action itemid="2685" event="script" value="foods/food.lua"/>
<action itemid="2686" event="script" value="foods/food.lua"/>
<action itemid="2687" event="script" value="foods/food.lua"/>
<action itemid="2688" event="script" value="foods/food.lua"/>
<action itemid="2689" event="script" value="foods/food.lua"/>
<action itemid="2690" event="script" value="foods/food.lua"/>
<action itemid="2691" event="script" value="foods/food.lua"/>
<action itemid="2695" event="script" value="foods/food.lua"/>
<action itemid="2696" event="script" value="foods/food.lua"/>
<action itemid="2787" event="script" value="foods/food.lua"/>
<action itemid="2788" event="script" value="foods/food.lua"/>
<action itemid="2789" event="script" value="foods/food.lua"/>
<action itemid="2790" event="script" value="foods/food.lua"/>
<action itemid="2791" event="script" value="foods/food.lua"/>
<action itemid="2792" event="script" value="foods/food.lua"/>
<action itemid="2793" event="script" value="foods/food.lua"/>
<action itemid="2794" event="script" value="foods/food.lua"/>
<action itemid="2795" event="script" value="foods/food.lua"/>
<action itemid="2796" event="script" value="foods/food.lua"/>
<action itemid="5097" event="script" value="foods/food.lua"/>
<action itemid="5678" event="script" value="foods/food.lua"/>
<action itemid="6125" event="script" value="foods/food.lua"/>
<action itemid="6278" event="script" value="foods/food.lua"/>
<action itemid="6279" event="script" value="foods/food.lua"/>
<action itemid="6280" event="script" value="foods/food.lua"/>
<action itemid="6393" event="script" value="foods/food.lua"/>
<action itemid="6394" event="script" value="foods/food.lua"/>
<action itemid="6501" event="script" value="foods/food.lua"/>
<action itemid="6541" event="script" value="foods/food.lua"/>
<action itemid="6542" event="script" value="foods/food.lua"/>
<action itemid="6543" event="script" value="foods/food.lua"/>
<action itemid="6544" event="script" value="foods/food.lua"/>
<action itemid="6545" event="script" value="foods/food.lua"/>
<action itemid="7158" event="script" value="foods/food.lua"/>
<action itemid="7159" event="script" value="foods/food.lua"/>
<action itemid="7372" event="script" value="foods/food.lua"/>
<action itemid="7373" event="script" value="foods/food.lua"/>
<action itemid="7374" event="script" value="foods/food.lua"/>
<action itemid="7375" event="script" value="foods/food.lua"/>
<action itemid="7376" event="script" value="foods/food.lua"/>
<action itemid="7377" event="script" value="foods/food.lua"/>
<action itemid="7963" event="script" value="foods/food.lua"/>
<action itemid="8838" event="script" value="foods/food.lua"/>
<action itemid="8839" event="script" value="foods/food.lua"/>
<action itemid="8840" event="script" value="foods/food.lua"/>
<action itemid="8841" event="script" value="foods/food.lua"/>
<action itemid="8842" event="script" value="foods/food.lua"/>
<action itemid="8843" event="script" value="foods/food.lua"/>
<action itemid="8844" event="script" value="foods/food.lua"/>
<action itemid="8845" event="script" value="foods/food.lua"/>
<action itemid="8847" event="script" value="foods/food.lua"/>
<action itemid="8868" event="script" value="foods/food.lua"/>
<action itemid="9005" event="script" value="foods/food.lua"/>
<action itemid="10454" event="script" value="foods/food.lua"/>
<action itemid="9992" event="script" value="foods/rotworm_stew.lua"/>
<action itemid="9993" event="script" value="foods/hydra_tongue_salad.lua"/>
<action itemid="9994" event="script" value="foods/roasted_dragon_wings.lua"/>
<action itemid="9995" event="script" value="foods/fried_tropical_terrorbird.lua"/>
<action itemid="9996" event="script" value="foods/food.lua"/>
<action itemid="9997" event="script" value="foods/veggie_casserole.lua"/>
<action itemid="9998" event="script" value="foods/filled_jalapeno_peppers.lua"/>
<action itemid="9999" event="script" value="foods/blessed_steak.lua"/>
<action itemid="10000" event="script" value="foods/carrot_cake.lua"/>
<action itemid="10001" event="script" value="foods/northern_fishburger.lua"/>
 
<!-- Increase/Decrease ItemId -->
<action itemid="461" event="function" value="increaseItemId"/>
<action itemid="462" event="function" value="decreaseItemId"/>
<action itemid="1873" event="function" value="increaseItemId"/>
<action itemid="1874" event="function" value="decreaseItemId"/>
<action itemid="1875" event="function" value="increaseItemId"/>
<action itemid="1876" event="function" value="decreaseItemId"/>
<action itemid="2162" event="function" value="increaseItemId"/>
<action itemid="2163" event="function" value="decreaseItemId"/>
<action itemid="3743" event="function" value="increaseItemId"/>
<action itemid="3744" event="function" value="decreaseItemId"/>
<action itemid="3947" event="function" value="increaseItemId"/>
<action itemid="3948" event="function" value="decreaseItemId"/>
<action itemid="1479" event="function" value="increaseItemId"/>
<action itemid="1480" event="function" value="decreaseItemId"/>
<action itemid="1945" event="function" value="increaseItemId"/>
<action itemid="1946" event="function" value="decreaseItemId"/>
<action itemid="2037" event="function" value="increaseItemId"/>
<action itemid="2038" event="function" value="decreaseItemId"/>
<action itemid="2039" event="function" value="increaseItemId"/>
<action itemid="2040" event="function" value="decreaseItemId"/>
<action itemid="2058" event="function" value="increaseItemId"/>
<action itemid="2059" event="function" value="decreaseItemId"/>
<action itemid="2060" event="function" value="increaseItemId"/>
<action itemid="2061" event="function" value="decreaseItemId"/>
<action itemid="2066" event="function" value="increaseItemId"/>
<action itemid="2067" event="function" value="decreaseItemId"/>
<action itemid="2068" event="function" value="increaseItemId"/>
<action itemid="2069" event="function" value="decreaseItemId"/>
<action itemid="2064" event="function" value="increaseItemId"/>
<action itemid="2065" event="function" value="decreaseItemId"/>
<action itemid="2578" event="function" value="increaseItemId"/>
<action itemid="1786" event="function" value="increaseItemId"/>
<action itemid="1787" event="function" value="decreaseItemId"/>
<action itemid="1788" event="function" value="increaseItemId"/>
<action itemid="1789" event="function" value="decreaseItemId"/>
<action itemid="1790" event="function" value="increaseItemId"/>
<action itemid="1791" event="function" value="decreaseItemId"/>
<action itemid="1792" event="function" value="increaseItemId"/>
<action itemid="1793" event="function" value="decreaseItemId"/>
<action itemid="1634" event="function" value="increaseItemId"/>
<action itemid="1635" event="function" value="decreaseItemId"/>
<action itemid="1636" event="function" value="increaseItemId"/>
<action itemid="1637" event="function" value="decreaseItemId"/>
<action itemid="1638" event="function" value="increaseItemId"/>
<action itemid="1639" event="function" value="decreaseItemId"/>
<action itemid="1640" event="function" value="increaseItemId"/>
<action itemid="1641" event="function" value="decreaseItemId"/>
<action itemid="7058" event="function" value="increaseItemId"/>
<action itemid="7059" event="function" value="decreaseItemId"/>
<action itemid="8684" event="function" value="increaseItemId"/>
<action itemid="8685" event="function" value="decreaseItemId"/>
<action itemid="8686" event="function" value="increaseItemId"/>
<action itemid="8687" event="function" value="decreaseItemId"/>
<action itemid="8688" event="function" value="increaseItemId"/>
<action itemid="8689" event="function" value="decreaseItemId"/>
<action itemid="8690" event="function" value="increaseItemId"/>
<action itemid="8691" event="function" value="decreaseItemId"/>
<action itemid="9575" event="function" value="increaseItemId"/>
<action itemid="9576" event="function" value="decreaseItemId"/>
<action itemid="9577" event="function" value="increaseItemId"/>
<action itemid="9578" event="function" value="decreaseItemId"/>
<action itemid="9579" event="function" value="increaseItemId"/>
<action itemid="9580" event="function" value="decreaseItemId"/>
<action itemid="9581" event="function" value="increaseItemId"/>
<action itemid="9582" event="function" value="decreaseItemId"/>
<action itemid="9624" event="function" value="increaseItemId"/>
<action itemid="9625" event="function" value="decreaseItemId"/>
<action itemid="9747" event="function" value="increaseItemId"/>
<action itemid="9748" event="function" value="decreaseItemId"/>
<action itemid="9749" event="function" value="increaseItemId"/>
<action itemid="9750" event="function" value="decreaseItemId"/>
<action itemid="9825" event="function" value="increaseItemId"/>
<action itemid="9826" event="function" value="decreaseItemId"/>
<action itemid="9827" event="function" value="increaseItemId"/>
<action itemid="9828" event="function" value="decreaseItemId"/>
<action itemid="9973" event="function" value="increaseItemId"/>
<action itemid="9974" event="function" value="decreaseItemId"/>
<action itemid="10044" event="function" value="increaseItemId"/>
<action itemid="10045" event="function" value="decreaseItemId"/>
<action itemid="10970" event="function" value="increaseItemId"/>
<action itemid="10971" event="function" value="decreaseItemId"/>
<action itemid="10972" event="function" value="increaseItemId"/>
<action itemid="10973" event="function" value="decreaseItemId"/>
<action itemid="10997" event="function" value="increaseItemId"/>
<action itemid="10998" event="function" value="decreaseItemId"/>
<action itemid="10999" event="function" value="increaseItemId"/>
<action itemid="11000" event="function" value="decreaseItemId"/>
 
<!-- Spellbooks -->
<action itemid="12608" event="script" value="other/spellbook.lua"/>
<action itemid="2175" event="script" value="other/spellbook.lua"/>
<action itemid="6120" event="script" value="other/spellbook.lua"/>
<action fromid="8900" toid="8904" event="script" value="other/spellbook.lua"/>
<action itemid="8918" event="script" value="other/spellbook.lua"/>
 
<!-- Change gold -->
<action itemid="2148" event="script" value="other/changegold.lua"/>
<action itemid="2152" event="script" value="other/changegold.lua"/>
<action itemid="2160" event="script" value="other/changegold.lua"/>
 
<!-- Teleport (stairs, ladders) -->
<action itemid="1369" event="script" value="other/draw_well.lua"/>
<action itemid="430" event="script" value="other/teleport.lua"/>
<action itemid="1386" event="script" value="other/teleport.lua"/>
<action itemid="3678" event="script" value="other/teleport.lua"/>
<action itemid="5543" event="script" value="other/teleport.lua"/>
<action itemid="8580" event="script" value="other/teleport.lua"/>
<action itemid="8599" event="script" value="other/teleport.lua"/>
<action itemid="10035" event="script" value="other/teleport.lua"/>
 
<!-- Bread Creating -->
<action itemid="2692" event="script" value="other/createbread.lua"/>
<action itemid="2694" event="script" value="other/createbread.lua"/>
 
<!-- Doors -->
<action fromid="1209" toid="1214" event="script" value="other/doors.lua"/>
<action fromid="1219" toid="1262" event="script" value="other/doors.lua"/>
<action fromid="1539" toid="1542" event="script" value="other/doors.lua"/>
<action fromid="2086" toid="2092" event="script" value="other/doors.lua"/>
<action fromid="3535" toid="3552" event="script" value="other/doors.lua"/>
<action fromid="4913" toid="4918" event="script" value="other/doors.lua"/>
<action fromid="5082" toid="5085" event="script" value="other/doors.lua"/>
<action fromid="5098" toid="5145" event="script" value="other/doors.lua"/>
<action fromid="5278" toid="5295" event="script" value="other/doors.lua"/>
<action fromid="5515" toid="5518" event="script" value="other/doors.lua"/>
<action fromid="5732" toid="5737" event="script" value="other/doors.lua"/>
<action fromid="5745" toid="5749" event="script" value="other/doors.lua"/>
<action fromid="6192" toid="6209" event="script" value="other/doors.lua"/>
<action fromid="6249" toid="6266" event="script" value="other/doors.lua"/>
<action fromid="6795" toid="6802" event="script" value="other/doors.lua"/>
<action fromid="6891" toid="6908" event="script" value="other/doors.lua"/>
<action fromid="7033" toid="7050" event="script" value="other/doors.lua"/>
<action fromid="7054" toid="7057" event="script" value="other/doors.lua"/>
<action fromid="8541" toid="8558" event="script" value="other/doors.lua"/>
<action fromid="9165" toid="9184" event="script" value="other/doors.lua"/>
<action fromid="9267" toid="9284" event="script" value="other/doors.lua"/>
<action itemid="10032" event="script" value="other/doors.lua"/>
<action itemid="10091" event="script" value="other/doors.lua"/>
<action fromid="10268" toid="10285" event="script" value="other/doors.lua"/>
<action fromid="10468" toid="10486" event="script" value="other/doors.lua"/>
<action fromid="10774" toid="10776" event="script" value="other/doors.lua"/>
<action fromid="10779" toid="10785" event="script" value="other/doors.lua"/>
<action fromid="10788" toid="10791" event="script" value="other/doors.lua"/>
 
<!-- Decay To -->
<action fromid="2041" toid="2042" event="script" value="other/decayto.lua"/>
<action fromid="2044" toid="2045" event="script" value="other/decayto.lua"/>
<action fromid="2047" toid="2048" event="script" value="other/decayto.lua"/>
<action fromid="2050" toid="2055" event="script" value="other/decayto.lua"/>
<action fromid="5812" toid="5813" event="script" value="other/decayto.lua"/>
<action itemid="7183" event="script" value="other/decayto.lua"/>
<action itemid="9006" event="script" value="other/decayto.lua"/>
<action fromid="9976" toid="9979" event="script" value="other/decayto.lua"/>
</actions>
 
VERMELHO - Unicas tags que envolvem o id 8908

 
Agora o script do arquivo transformshield.lua que está em data/actions/scripts

local ITEM_IDS = {
[8905] = 8906,
[8907] = 8906,
[8906] = 8909,
[8909] = 8907,
[8907] = 8908,
[8908] = 8905,
}
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(not ITEM_IDS[item.itemid]) then
return false
end
 
doTransformItem(item.uid, ITEM_IDS[item.itemid])
doDecayItem(item.uid)
return true
end

 
Espero que alguém possa me ajudar... Meu distro está livre de erros, mas sempre tem essa coisa ae pra atrapalhar a visão kkkkkk
 
 
Obrigado desde ja!

 

O caso não é ai creio que seja em algum script que ele esteja configurado, vai por mim isso já aconteceu comigo só que comigo era em potions.

Ando devagar, porque já tive pressa. E levo esse sorriso, porque já chorei demais...

________________________________________________________________________________

Minhas Sprites:

Mega Metagross

Mega Abomasnow

Pack de Shinys

[Posso atualizá-lo com novos shinys a qualquer momento]

Tutoriais:

[Completo] Criando e adicionando um novo Pokémon

[Actions] Criando quest no RME

Editores Lua/Xml/Sync Entre outros:

Editores Win/Mac/Linux

Link para o post
Compartilhar em outros sites

Bom, coloque isto

<action itemid="8905-8909" event="script" value="transformshield.lua"/>

e remova o,

<action fromid="8905" toid="8909" event="script" value="transformshield.lua"/>

se der certo +rep ai

Link para o post
Compartilhar em outros sites

Bom, coloque isto

<action itemid="8905-8909" event="script" value="transformshield.lua"/>

e remova o,

<action fromid="8905" toid="8909" event="script" value="transformshield.lua"/>

se der certo +rep ai

O erro para de aparecer no distro, porém, não consigo mais usar o script kkkk, o shield não se transforma, não consigo mais usá-lo.

 

@EDIT

 

Na verdade, ainda consigo usar o shield, porém, o erro ainda aparece no distro.

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

Pera, esse erro aparece quando vc liga o server ou quando vc usa o escudo?

 

---------------------------------------------------------------------------------------------------------

O tópico foi movido para a área correta, preste mais atenção da próxima vez!
Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

Este tópico foi movido:
De: "OTServScriptingGeral"
Para: "OTServSuporte OTServSuporte de Scripts"

Te ajudei?? REP + e ficamos quites... <ahttp://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'>

Atenciosamente,

Daniel.

Abraços!

Link para o post
Compartilhar em outros sites
  • Solução

Tenta substituir a parte em vermelho por isso:

<action itemid="8905;8906;8907;8909" event="script" value="transformshield.lua"/>
<action itemid="8908" event="script" value="transformshield.lua"/>

Te ajudei?? REP + e ficamos quites... <ahttp://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'>

Atenciosamente,

Daniel.

Abraços!

Link para o post
Compartilhar em outros sites

Tenta substituir a parte em vermelho por isso:

<action itemid="8905;8906;8907;8909" event="script" value="transformshield.lua"/>
<action itemid="8908" event="script" value="transformshield.lua"/>

Funcionou perfeitamente, você poderia me dizer o que estava acontecendo de errado? REP+

@fantomdruid

Você ganhou rep+ por tentar ajudar, obg

Link para o post
Compartilhar em outros sites

Claro.

A tag:

<action fromid="8905" toid="8909" event="script" value="transformshield.lua"/>

Pega todos os id's no intervalo de: 8905 até 8909 (ou seja, pega o 8908 pela primeira vez aqui)

 

E aqui:

<action itemid="8908" event="script" value="transformshield.lua"/>

Pega o id 8908 novamente, ou seja, pela 2° vez. Aí esse id 8908 está sendo usado nessas 2 linhas, aí conta como duplicado.

Te ajudei?? REP + e ficamos quites... <ahttp://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'>

Atenciosamente,

Daniel.

Abraços!

Link para o post
Compartilhar em outros sites

Claro.

A tag:

Pega todos os id's no intervalo de: 8905 até 8909 (ou seja, pega o 8908 pela primeira vez aqui)

E aqui:

Pega o id 8908 novamente, ou seja, pela 2° vez. Aí esse id 8908 está sendo usado nessas 2 linhas, aí conta como duplicado.

Nossa cara, vlw dnv, se ainda tiver rep+ pra dar, vc ganhou mais 1 hehe

@EDIT

Já atingi meu limite de rep+ :(

Qdo der, eu dou rep+

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

Não esquenta não, cara. ^^

sauhsauh

Te ajudei?? REP + e ficamos quites... <ahttp://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'>

Atenciosamente,

Daniel.

Abraços!

Link para o post
Compartilhar em outros sites

Funcionou perfeitamente, você poderia me dizer o que estava acontecendo de errado? REP+

@fantomdruid

Você ganhou rep+ por tentar ajudar, obg

O valeu mano, po sou iniciante o pouco que sei mesmo errando tento ajudar!

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.

  • Conteúdo Similar

    • Por Doria Louro
      Olá nobre senhores, tudo bem com vocês?
      Servidor: TFS 0.3.6
      Cliente:    8.60
       
      Estou com a seguinte ideia, criar conjuntos de equipamentos em meu servidor, que aumente os atributos do player ao utilizar o conjunto/set completo, exemplo:

       
      Um exemplo dos itens contidos no meu itens.xml:
      <item id="2487" article="a" name="warrior armor"> <attribute key="weight" value="9000" /> <attribute key="armor" value="13" /> <attribute key="skillSword" value="1" /> <attribute key="skillAxe" value="1" /> <attribute key="skillClub" value="1" /> <attribute key="slotType" value="body" /> <attribute key="healthGain" value="2" /> <attribute key="healthTicks" value="3000" /> <attribute key="description" value="+2 HP every 3s, Sale value: $5000" /> </item>  
      Em meu movements.xml:
      <movevent type="Equip" itemid="2487" level="30" slot="armor" event="function" value="onEquipItem"> <vocation id="8" /> </movevent> <movevent type="DeEquip" itemid="2487" slot="armor" event="function" value="onDeEquipItem" />  
      Entretanto eu fico limitado aos eventos de Equip default, se eu altero para meu script full_set.lua:
      <movevent type="Equip" itemid="2487" level="30" slot="armor" event="script" value="full_set.lua"> <vocation id="8" /> </movevent>  
      Executando meu script  eu perco os atributos contidos no itens.xml, tais como o aumento de skill, ganho de HP por segundo e também qualquer vocação pode utilizar o equipamento.
       
      Simplificando, é possível utilizar os recursos padrões de Equip do movements e adicionar um/mais scripts personalizáveis sem perder as funcionalidades da function onEquipItem?
      Meu objetivo é quanto mais partes do set o jogador possuir, mais bônus ele obterá, um exemplo:
       
      Warrior Set
      [2 peças] - Aumenta em 100 HP total
      [4 peças] - Aumenta em 2 shielding
       
      Eu tenho uma ideia de colocar essa verificação no creaturescripts, entretanto não gostaria de tomar esse rumo pois acredito que poderia sobrecarregar meu servidor com as verificações por thing.
      Efetuei consultas pela internet e geralmente o pessoa que tem essa duvida utiliza itens que não tem status, tipo um ring, no meu caso é diferente.
       
      Possível solução: Seria utilizar o código Equip padrão no meu script e depois aplicar meu código, entretanto eu não encontrei em nenhum local esse script de Equip,
       
      Quem puder me ajudar eu ficaria eternamente grato já que esse é um sistema chave no meu projeto, agradeço desde já
    • Por BonasxD
      Bom galera primeiramente não sei se estou na area correta ou se nao estou, se nao por favor mover para area certa, grato!
      Estou com esse erro ao tenta instalar o gesior usando a tfs 0.4 não passa dessa parte ja tentei de tudo e nao sei oque fazer ;(
       
      Testei o mesmo procedimento no meu Windows e Funcionou corretamente agora no meu VM(Ubuntu22) não passa desse erro. 
       
      Ja pesquisei por tudo e não sei oque fazer

    • Por Imperius
      Olá! Estou disponibilizando um NPC que desenvolvi. Porém, devo avisar que só testei em TFS 0.4, e não posso garantir que funcionará em outras versões.
       
      Sobre:
       
      O NPC em questão é o "Gênio da Lâmpada". Para chegar até ele, o jogador precisa ter a "Lâmpada Mágica", que pode ser adquirida através de uma quest ou em algum evento do servidor, por exemplo.
       
      A lâmpada pode ser usada apenas uma vez e, mesmo que o jogador obtenha outra lâmpada, não poderá usá-la novamente. Ao usar a Lâmpada, o jogador será teleportado para a sala do Gênio. Lá, ele não poderá sair até realizar os três desejos.
       
      O Gênio pode atender desejos como "entregar itens", "reiniciar tasks", "completar addons" e até mesmo "matar um jogador". Você pode personalizar o NPC para oferecer outras recompensas, como "vip days", "premium points" ou "remover redskull". Seja criativo! :)
       
      Após o Gênio realizar os três desejos, o jogador será teleportado para o seu templo de origem.
       
       
      Vídeo demonstrativo:
       
       
       
       
      data > actions > actions.xml
       
       
       
      data > actions > lampadaDoGenio.lua
       
       
       
      data > npc > Genio.xml
       
       
       
      data > npc > scripts > Genio.lua
       
       
       
      Isso é tudo! Se tiverem sugestões ou dúvidas, estou à disposição!
    • Por ILex WilL
      Olá, Alguém poderia me ajudar com uns Scripts? nem que seja cobrando, dependendo eu pago para me ajudar...
    • Por Kill of sumoners
      Boa noite, estou com um erro ao atacar um player em meu sv eu nao pego pk, nem sai magia, aparece a mensagem "voce so pode usar isso em criaturas"
      obs: magia em area acerta e pega pk, apenas as targets ou hits de arma nao vao 
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo