Pokerangers 17 Postado Junho 6, 2013 Share Postado Junho 6, 2013 (editado) Se estiver em área errada, Favor Mover! Galera, no meu otserv tem o Taunt System, em todas as outfits, mais quando eu digito !taunt aparece uma msg, Desculpe isso não é possivel, só que ingles Alguem sabe porque aparece isso? testei com todas as outfits RANK5 dos clan, testei ALL CLANS! Meu Script, OBS: Não sei por em Spoiler: local outfits = { [1413] = {1510, 1511, 1512},--volcanic male [1160] = {1689, 1690, 1691, 1692, 1693, 1694, 1695,1694, 1693, 1692, 1691, 1690},--raibolt male [1162] = {1696, 1697, 1698, 1699, 1700, 1699, 1698, 1697, 1696},--seavel male [1159] = {1701, 1702, 1703, 1704, 1705, 1704, 1703, 1702, 1701},--naturia male [1158] = {1710, 1711, 1709, 1708, 1707, 1706, 1707, 1708, 1709, 1709, 1711, 1710},--wingeon male [1751] = {1713, 1714, 1715, 1712, 1715, 1716, 1715, 1714, 1713},--malefic male [1155] = {1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725},--Gardestrike male [1161] = {1727, 1728, 1729, 1730, 1731, 1732, 1733},--Psycraft male [1156] = {1735, 1736, 1737, 1738, 1739, 1734, 1738, 1737, 1736, 1735},--Orebound male [1153] = {1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1750},--malefic female [1146] = {1760, 1761, 1762, 1763, 1764, 1763, 1762, 1761, 1760},--Gardestrike female [1152] = {1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1765},--volcanic female [1151] = {1774, 1775, 1776, 1777, 1778, 1779, 1780},--seavel female [1149] = {1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791},--Naturia female [1145] = {1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1792},--Psycraft female [1150] = {1801, 1802, 1803, 1804, 1805, 1804, 1803, 1802, 1801},--Orebound female [1147] = {1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1806},--Raibolt female [1148] = {1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824},--Wingeon female [1183] = {1829, 1830, 1831, 1832, 1831, 1832},--police male [1184] = {1825, 1826, 1827, 1828, 1827, 1828},--police female } local premium = true --editado por min, somente premium usar taunt local intervalo_para_trocar_roupas = 2 * 200 -- em ms, 1 * 1000 = 1 segundo local function doChangeOutfit(cid, id, oldLook) if not isCreature(cid) then return true end local n = id or 1 local newOutfit = getCreatureOutfit(cid) newOutfit.lookType = outfits[oldLook][n] doSetCreatureOutfit(cid, newOutfit, -1) if n < #outfits[oldLook] then addEvent(doChangeOutfit, intervalo_para_trocar_roupas, cid, n + 1, oldLook) else doCreatureSetNoMove(cid, false) doRemoveCondition(cid, CONDITION_OUTFIT) end end function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_OUTFIT) and getCreatureNoMove(cid) then return true end -- somente premium usa taunt -- if isPlayer(cid) and not isPremium(cid) and premium == true then doPlayerSendCancel(cid, "Only premium members are allowed to taunt system.") return true end if not outfits[getCreatureOutfit(cid).lookType] then doPlayerSendCancel(cid, "Sorry,not possible.") return true end doCreatureSetNoMove(cid, true) doChangeOutfit(cid, 1, getCreatureOutfit(cid).lookType) return true end REP+ Pra Quem Ajudar !! Rapido Por Favor Editado Junho 6, 2013 por Pokerangers Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/ Compartilhar em outros sites More sharing options...
AsMinaPira 13 Postado Junho 9, 2013 Share Postado Junho 9, 2013 Se não da erro no distro, tu não tá com a outfit que tem taunt... Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530287 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Junho 9, 2013 Share Postado Junho 9, 2013 if not outfits[getCreatureOutfit(cid).lookType] then doPlayerSendCancel(cid, "Sorry,not possible.") return true end a outfit q tas usando nao ta na tabela... Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530296 Compartilhar em outros sites More sharing options...
Pokerangers 17 Postado Junho 9, 2013 Autor Share Postado Junho 9, 2013 if not outfits[getCreatureOutfit(cid).lookType] then doPlayerSendCancel(cid, "Sorry,not possible.") return true end a outfit q tas usando nao ta na tabela... No caso o ID da outfit, Não ta no tibia.dat e tibia.spr?? Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530317 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Junho 10, 2013 Share Postado Junho 10, 2013 eu flei TABELA, TABELA!!! Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530357 Compartilhar em outros sites More sharing options...
Skymagnum 234 Postado Junho 10, 2013 Share Postado Junho 10, 2013 local outfits = { [1413] = {1510, 1511, 1512},--volcanic male [1160] = {1689, 1690, 1691, 1692, 1693, 1694, 1695,1694, 1693, 1692, 1691, 1690},--raibolt male [1162] = {1696, 1697, 1698, 1699, 1700, 1699, 1698, 1697, 1696},--seavel male [1159] = {1701, 1702, 1703, 1704, 1705, 1704, 1703, 1702, 1701},--naturia male [1158] = {1710, 1711, 1709, 1708, 1707, 1706, 1707, 1708, 1709, 1709, 1711, 1710},--wingeon male [1751] = {1713, 1714, 1715, 1712, 1715, 1716, 1715, 1714, 1713},--malefic male [1155] = {1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725},--Gardestrike male [1161] = {1727, 1728, 1729, 1730, 1731, 1732, 1733},--Psycraft male [1156] = {1735, 1736, 1737, 1738, 1739, 1734, 1738, 1737, 1736, 1735},--Orebound male [1153] = {1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1750},--malefic female [1146] = {1760, 1761, 1762, 1763, 1764, 1763, 1762, 1761, 1760},--Gardestrike female [1152] = {1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1765},--volcanic female [1151] = {1774, 1775, 1776, 1777, 1778, 1779, 1780},--seavel female [1149] = {1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791},--Naturia female [1145] = {1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1792},--Psycraft female [1150] = {1801, 1802, 1803, 1804, 1805, 1804, 1803, 1802, 1801},--Orebound female [1147] = {1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1806},--Raibolt female [1148] = {1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824},--Wingeon female [1183] = {1829, 1830, 1831, 1832, 1831, 1832},--police male [1184] = {1825, 1826, 1827, 1828, 1827, 1828},--police female }TEU OUTFIT N TA AKI KRL Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530358 Compartilhar em outros sites More sharing options...
Pokerangers 17 Postado Junho 10, 2013 Autor Share Postado Junho 10, 2013 local outfits = { [1413] = {1510, 1511, 1512},--volcanic male [1160] = {1689, 1690, 1691, 1692, 1693, 1694, 1695,1694, 1693, 1692, 1691, 1690},--raibolt male [1162] = {1696, 1697, 1698, 1699, 1700, 1699, 1698, 1697, 1696},--seavel male [1159] = {1701, 1702, 1703, 1704, 1705, 1704, 1703, 1702, 1701},--naturia male [1158] = {1710, 1711, 1709, 1708, 1707, 1706, 1707, 1708, 1709, 1709, 1711, 1710},--wingeon male [1751] = {1713, 1714, 1715, 1712, 1715, 1716, 1715, 1714, 1713},--malefic male [1155] = {1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725},--Gardestrike male [1161] = {1727, 1728, 1729, 1730, 1731, 1732, 1733},--Psycraft male [1156] = {1735, 1736, 1737, 1738, 1739, 1734, 1738, 1737, 1736, 1735},--Orebound male [1153] = {1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1750},--malefic female [1146] = {1760, 1761, 1762, 1763, 1764, 1763, 1762, 1761, 1760},--Gardestrike female [1152] = {1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1765},--volcanic female [1151] = {1774, 1775, 1776, 1777, 1778, 1779, 1780},--seavel female [1149] = {1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791},--Naturia female [1145] = {1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1792},--Psycraft female [1150] = {1801, 1802, 1803, 1804, 1805, 1804, 1803, 1802, 1801},--Orebound female [1147] = {1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1806},--Raibolt female [1148] = {1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824},--Wingeon female [1183] = {1829, 1830, 1831, 1832, 1831, 1832},--police male [1184] = {1825, 1826, 1827, 1828, 1827, 1828},--police female }TEU OUTFIT N TA AKI KRL Que outfit mano que nao ta ali?? Tem todas outfit de clan rank5 Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530444 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Junho 10, 2013 Share Postado Junho 10, 2013 provavelmente os numeros entre [ ] estao errados... tu adicionou corretamente essa porrada de outfit? tas usando a outfit correta? sei la.. a msg eh aquela... soh podemos te dizer isso... Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530458 Compartilhar em outros sites More sharing options...
Pokerangers 17 Postado Junho 10, 2013 Autor Share Postado Junho 10, 2013 provavelmente os numeros entre [ ] estao errados... tu adicionou corretamente essa porrada de outfit? tas usando a outfit correta? sei la.. a msg eh aquela... soh podemos te dizer isso... Valeu, depois olho isso, to tentando monta sprites agr, Ganho REP+ Link para o comentário https://xtibia.com/forum/topic/215700-taunt-system-errobug/#findComment-1530461 Compartilhar em outros sites More sharing options...
Posts Recomendados