Tudo que Aragllov postou
-
[AJUDA] MOVER ITENS DENTRO DE BP'S NAS HOUSES
Consegue colocar um gif ilustrando o problema? Porque pelo o que vc está dizendo no tópico é assim mesmo que funciona na versão 7.4
-
[AJUDA] ADICIONAR MAGIC EFFECT EM SCRIPT
Faz assim, cria outra variável Local com a posição, coloca na linha 1 assim: local position1 = {x=33295, y=32779, z=7} E isso coloca onde vc colocou antes: doSendMagicEffect(position1, CONST_ME_POFF)
-
[AJUDA] MOVER ITENS DENTRO DE BP'S NAS HOUSES
Na minha concepção está correto, o primeiro sqm da house com saída para o sul ou leste, qualquer player alcança o respectivo sqm, com saídas para o oeste e norte o player que não está invitado não consegue alcançar o sqm da porta. Desculpe eu me recordo assim, não sei como funciona o global hoje em dia
-
[AJUDA] ADICIONAR MAGIC EFFECT EM SCRIPT
doSendMagicEffect(positions, CONST_ME_POFF)
-
Problema ao compilar minhas source.
Qual é a source? Cara ta faltando essa lib aí que ta dizendo... Tenta só instalar ela sudo apt-get install libcrypto++-dev cryptopp-static
-
Rme imcompatibilidade no otb
Vc tem que usar o items.otb do server que vc baixou e colar em RME/data/12.64 <-- OBS: ou a versão do seu server
-
[AJUDA] MOVER ITENS DENTRO DE BP'S NAS HOUSES
Caso trata-se de uma house com porta vertical acredito que esteja correto do jeito que vc menciona
-
[AJUDA] ADICIONAR MAGIC EFFECT EM SCRIPT
acho que é assim no TFS 0.4 doSendMagicEffect(CONST_ME_POFF)
-
(Resolvido)-=[TFS]=- 0.4 8.60 [SCRIPT] alavanca puxa e ganha cada item de uma alavanca diferente mais alavanca tem mesmo id
actions.xml <action fromaid="60000" toaid="60007" script="local do arquivo/nome do arquivo.lua" /> OBS: Se estiver na pasta script coloque apenas o nome do arquivo e insira as respectvas actions nas alavancas pelo RME
-
Erro de compilação do otcv8
Para 64bits: vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows glew:x64-windows boost-filesystem:x64-windows boost-uuid:x64-windows physfs:x64-windows openal-soft:x64-windows libogg:x64-windows libvorbis:x64-windows zlib:x64-windows opengl:x64-windows Para 32bits:; vcpkg install boost-iostreams:x86-windows boost-asio:x86-windows boost-system:x86-windows boost-variant:x86-windows boost-lockfree:x86-windows luajit:x86-windows glew:x86-windows boost-filesystem:x86-windows boost-uuid:x86-windows physfs:x86-windows openal-soft:x86-windows libogg:x86-windows libvorbis:x86-windows zlib:x86-windows opengl:x86-windows
-
(Resolvido)Eu tenho script que tem a função TALKTYPE_ORANGE_2 eu queria que fosse verde
MESSAGE_STATUS_CONSOLE_GREEN
-
Problema ao compilar minhas source.
Instala as libs: sudo apt install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev libfmt-dev
-
(Resolvido)(Resolvido)scripts não reconhecem item ID's acima do id 20000
Post seu items.xml
-
(Resolvido)Eu queria que a mensagem em verde só aparecesse no server log nao aparecesse na tela client tibia como broadcast
Muda isso: return doBroadcastMessage(mensagens[math.random(#mensagens)], MESSAGE_STATUS_CONSOLE_GREEN) Pra isso: return doBroadcastMessage(mensagens[math.random(#mensagens)], MESSAGE_EVENT_ADVANCE)
-
Shop website não adiciona os itens
Executa esses comandos pra ver se funciona ALTER TABLE `z_shop_offer` ADD PRIMARY KEY (`id`); ALTER TABLE `z_shop_offer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=146;
-
Monstro fica com paralyze com a propria magia
Boa tarde TK, alguém faz ideia do que pode estar acontecendo, os monstros que possuem magia de área paralyze também estão ficando com paralyze, ex: hydra, serpent spaw, medusa... Não faço ideia do que possa ser =/ Uso TFS 1.3 <?xml version="1.0" encoding="ISO-8859-1"?> <monster name="Hydra" nameDescription="a hydra" race="blood" experience="2100" speed="250"> <health now="2350" max="2350" /> <look type="121" corpse="6048" /> <targetchange interval="4000" chance="10" /> <flags> <flag summonable="0" /> <flag attackable="1" /> <flag hostile="1" /> <flag illusionable="1" /> <flag convinceable="0" /> <flag pushable="0" /> <flag canpushitems="1" /> <flag canpushcreatures="1" /> <flag targetdistance="1" /> <flag staticattack="90" /> <flag runonhealth="300" /> </flags> <attacks> <attack name="melee" interval="2000" min="0" max="-270" /> <attack name="speed" interval="2000" chance="25" range="7" radius="4" target="1" speedchange="-700" duration="15000"> <attribute key="shootEffect" value="poison" /> <attribute key="areaEffect" value="greenbubble" /> </attack> <attack name="ice" interval="2000" chance="10" length="8" spread="3" min="-100" max="-250"> <attribute key="areaEffect" value="bluebubble" /> </attack> <attack name="ice" interval="2000" chance="10" target="1" min="-80" max="-155"> <attribute key="shootEffect" value="smallice" /> </attack> <attack name="earth" interval="2000" chance="10" length="8" spread="3" min="-66" max="-320"> <attribute key="areaEffect" value="carniphila" /> </attack> </attacks> <defenses armor="35" defense="35"> <defense name="healing" interval="2000" chance="25" min="260" max="407"> <attribute key="areaEffect" value="blueshimmer" /> </defense> </defenses> <elements> <element icePercent="50" /> <element holyPercent="30" /> <element physicalPercent="-5" /> <element energyPercent="-10" /> </elements> <immunities> <immunity earth="1" /> <immunity lifedrain="1" /> <immunity paralyze="1" /> <immunity invisible="1" /> </immunities> <voices interval="5000" chance="10"> <voice sentence="FCHHHHH" /> <voice sentence="HISSSS" /> </voices> <loot> <item name="small sapphire" chance="5000" /> <item name="gold coin" countmax="100" chance="34000" /> <item name="gold coin" countmax="100" chance="34000" /> <item name="gold coin" countmax="46" chance="20000" /> <item name="platinum coin" countmax="3" chance="48000" /> <item name="life crystal" chance="570" /> <item name="boots of haste" chance="130" /> <item name="stone skin amulet" chance="900" /> <item name="ring of healing" chance="1190" /> <item name="warrior helmet" chance="890" /> <item name="knight armor" chance="1000" /> <item name="royal helmet" chance="210" /> <item name="medusa shield" chance="270" /> <item name="ham" countmax="4" chance="60000" /> <item name="hydra egg" chance="1930" /> <item name="strong mana potion" chance="380" /> <item name="cucumber" chance="4780" /> <item name="hydra head" chance="10120" /> </loot> </monster>
-
Preciso de um Gesior para tfs 1.3 QUE FUNCIONE PAGSEGURO!!!!!!
desisto.
-
Problemas para adicionar events no TFS 1.3
Não sou scripter mas até onde eu sei TFS 1.3 lê a função de outra forma, é mais viável achar o evento para TFS 1x, pois editar o que vc já tem vai da trabalho, sendo que vc também não manja muito de lua. Acho difícil alguém lhe ajudar dessa forma, mas espero que eu morda a língua e que vc consiga xD
-
LOTTERY SYSTEM PARA OTSERV 12.64
<globalevent name="Lottery" time="16:08:00" script="events/lottery.lua" /> lottery.lua
-
Preciso de um Gesior para tfs 1.3 QUE FUNCIONE PAGSEGURO!!!!!!
Boa tarde família, já procurei por tudo e não consigo encontrar um Gesior 100% funcional, ao menos com a minha database. Encontrei um aqui mas não funciona o pagseguro, já fiz e refiz os tutoriais e a entrega de pontos automática não está funfando. Alguém pode me da essa ajudar??? Grato!!
-
(Resolvido)NPC Barco
Resolvido. Fuçando por dias sem entender porra nenhuma de lua, consegui fazer dar certo. Troquei: travelNode Por: travelKeyword
-
(Resolvido)NPC Barco
Sim
-
(Resolvido)NPC Barco
Mesmo erro ainda =/
-
(Resolvido)NPC Barco
Não encontrei nenhum. É que tipo, se eu colocar premium = true, vai exigir premium para todas as cidades e eu queria apenas pra uma, saca?
-
(Resolvido)NPC Barco
Bom dia, família, estou a dias tentando fazer com que o npc do barco exige premium para algumas cidades e não estou conseguindo. Na verdade eu até consegui acrescentando essas linhas: local travelNode = keywordHandler:addKeyword({'carlin'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Carlin for free?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 0, destination = {x=32387, y=31820, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) Porém ocorre um erro na distro, acredito que essa linguagem não seja pra TFS 1.3 Toda vez que é efetuado a viagem, não aparece o efeito do teleport e mostra esse erro. Esse é o script do npc: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local voices = { {text = 'Passages to Carlin, Ab\'Dendriel, Edron, Venore, Port Hope, Liberty Bay, Yalahar, and Svargrond.'} } npcHandler:addModule(VoiceModule:new(voices)) -- Travel local function addTravelKeyword(keyword, cost, destination, action, condition) if condition then keywordHandler:addKeyword({keyword}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m sorry but I don\'t sail there.'}, condition) end local travelKeyword = keywordHandler:addKeyword({keyword}, StdModule.say, {npcHandler = npcHandler, text = 'Do you seek a passage to ' .. keyword:titleCase() .. ' for |TRAVELCOST|?', cost = cost, discount = 'postman'}) travelKeyword:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, cost = cost, discount = 'postman', destination = destination}, nil, action) travelKeyword:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, text = 'We would like to serve you some time.', reset = true}) end addTravelKeyword('carlin', 110, Position(32387, 31820, 6), function(player) if player:getStorageValue(Storage.postman.Mission01) == 1 then player:setStorageValue(Storage.postman.Mission01, 2) end end) addTravelKeyword('ab\'dendriel', 130, Position(32734, 31668, 6)) addTravelKeyword('edron', 160, Position(33175, 31764, 6)) addTravelKeyword('venore', 170, Position(32954, 32022, 6)) addTravelKeyword('port hope', 160, Position(32527, 32784, 6)) addTravelKeyword('svargrond', 180, Position(32341, 31108, 6)) addTravelKeyword('liberty bay', 180, Position(32285, 32892, 6)) addTravelKeyword('yalahar', 200, Position(32816, 31272, 6), nil, function(player) return player:getStorageValue(Storage.SearoutesAroundYalahar.Thais) ~= 1 and player:getStorageValue(Storage.SearoutesAroundYalahar.TownsCounter) < 5 end) -- Kick --keywordHandler:addKeyword({'kick'}, StdModule.kick, {npcHandler = npcHandler, destination = {Position(32320, 32219, 6), Position(32321, 32210, 6)}}) -- Basic keywordHandler:addKeyword({'name'}, StdModule.say, {npcHandler = npcHandler, text = 'My name is Captain Bluebear from the Royal Tibia Line.'}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, text = 'I am the captain of this sailing-ship.'}) keywordHandler:addKeyword({'captain'}, StdModule.say, {npcHandler = npcHandler, text = 'I am the captain of this sailing-ship.'}) keywordHandler:addKeyword({'ship'}, StdModule.say, {npcHandler = npcHandler, text = 'The Royal Tibia Line connects all seaside towns of Tibia.'}) keywordHandler:addKeyword({'line'}, StdModule.say, {npcHandler = npcHandler, text = 'The Royal Tibia Line connects all seaside towns of Tibia.'}) keywordHandler:addKeyword({'company'}, StdModule.say, {npcHandler = npcHandler, text = 'The Royal Tibia Line connects all seaside towns of Tibia.'}) keywordHandler:addKeyword({'tibia'}, StdModule.say, {npcHandler = npcHandler, text = 'The Royal Tibia Line connects all seaside towns of Tibia.'}) keywordHandler:addKeyword({'good'}, StdModule.say, {npcHandler = npcHandler, text = 'We can transport everything you want.'}) keywordHandler:addKeyword({'passenger'}, StdModule.say, {npcHandler = npcHandler, text = 'We would like to welcome you on board.'}) keywordHandler:addKeyword({'trip'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'route'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'passage'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'town'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'destination'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'sail'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'go'}, StdModule.say, {npcHandler = npcHandler, text = 'Where do you want to go? To {Carlin}, {Ab\'Dendriel}, {Venore}, {Port Hope}, {Liberty Bay}, {Svargrond}, {Yalahar} or {Edron}?'}) keywordHandler:addKeyword({'ice'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m sorry, but we don\'t serve the routes to the Ice Islands.'}) keywordHandler:addKeyword({'senja'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m sorry, but we don\'t serve the routes to the Ice Islands.'}) keywordHandler:addKeyword({'folda'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m sorry, but we don\'t serve the routes to the Ice Islands.'}) keywordHandler:addKeyword({'vega'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m sorry, but we don\'t serve the routes to the Ice Islands.'}) keywordHandler:addKeyword({'darashia'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m not sailing there. This route is afflicted by a ghostship! However I\'ve heard that Captain Fearless from Venore sails there.'}) keywordHandler:addKeyword({'darama'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m not sailing there. This route is afflicted by a ghostship! However I\'ve heard that Captain Fearless from Venore sails there.'}) keywordHandler:addKeyword({'ghost'}, StdModule.say, {npcHandler = npcHandler, text = 'Many people who sailed to Darashia never returned because they were attacked by a ghostship! I\'ll never sail there!'}) keywordHandler:addKeyword({'thais'}, StdModule.say, {npcHandler = npcHandler, text = 'This is Thais. Where do you want to go?'}) local travelNode = keywordHandler:addKeyword({'gengia'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Carlin for free?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 0, destination = {x=32387, y=31820, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) npcHandler:setMessage(MESSAGE_GREET, 'Welcome on board, |PLAYERNAME|. Where can I {sail} you today?') npcHandler:setMessage(MESSAGE_FAREWELL, 'Good bye. Recommend us if you were satisfied with our service.') npcHandler:setMessage(MESSAGE_WALKAWAY, 'Good bye then.') npcHandler:addModule(FocusModule:new())