Tudo que Pedro. postou
-
Autoloot tfs 1.0
Up
-
Autoloot tfs 1.0
bom, achei um script aqui mesmo no tk bem interessante de auto loot, eu já vi um para 1.0 porém não funciona, e tem que adicionar tag em todos monstros pra funcionar [tosco] Bom, eu modifiquei bastante coisas nesse script, algumas funções eu tive que adicionar no global etc, porém cheguei numa parte que não to conseguindo modificar, que é o addevent e o getcontaineriteminfo. Gostaria da ajuda dos pros ai script; creturescript; talkactions; TAGS; <talkaction words="!autoloot" separator=" " script="autoloot.lua" /> <event type="kill" name="AutoLoot" script="Autoloot.lua"/>
-
(Resolvido)NPC Travel TFS 1.0
desculpe pela demora, estava no quartel, testei aqui e funcionou perfeitamente, obrigado
-
(Resolvido)NPC Travel TFS 1.0
Olá, gostaria de uma ajudinha aqui, eu tenho um npc e não to conseguindo adicionar, um "back" para ele voltar para o templo. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 cfg = { toPos = {x=964, y=1025, z=14}, level = 1, Storage = 25747 } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local player = Player(cid) if msgcontains(msg, 'bosses') then selfSay('There are some undead below, you agree to be teleported there?', cid) talkState[talkUser] = 1 elseif talkState[talkUser] == 1 then if msgcontains(msg, 'yes') then if player:getStorageValue(cfg.Storage) > 0 then selfSay('You\'ve done it.', cid) return FALSE end if getPlayerLevel(cid) >= cfg.level then doTeleportThing(cid, cfg.toPos) talkState[talkUser] = 0 else selfSay('Only players level ' ..cfg.level.. ' can pass.', cid) end end if msgcontains(msg, 'no') and talkState[talkUser] == 1 then selfSay('Okay, you\'re a smart and probably know the face of danger that exists there.', cid) talkState[talkUser] = 0 end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
- Magnus Challenger
-
Energy Strike++
você da aula em lua, show de bola.
- Chain Lightning
-
[erro] - criando site pro meu ot :/
pedriinrlx
-
Mostrar coldown que ainda falta ...
Amigo, perdoe pela demora, tava de serviço no quartel. Então, eu testei aqui e realmente estava dando debug, eu tentei outras spells porém não tive sucesso. Sorry.
-
[erro] - criando site pro meu ot :/
Provavelmente você não colocou as credenciais corretas amigo. ;s
-
[erro] - criando site pro meu ot :/
tá normal, verifique se a senha, e a database que voce criou está igual na config.lua.
-
[erro] - criando site pro meu ot :/
vá em htdocs/config/config.php e poste aqui você criou a db e importou certinho no phpmyadmin?
-
[erro] - criando site pro meu ot :/
tente assim
-
[erro] - criando site pro meu ot :/
poste sua config.lua aqui para nós, em spoiler por favor.
- Simple Task 3.0
-
[erro] - criando site pro meu ot :/
o que você postou é normal, voce tem que ir clicando menu por menu e ir instalando, se ocorrer algum error, poste aqui.
-
[Talk] Comando de Mute [ Help ]
já foi pedido esse script aqui antes, creio que ainda não há para tfs 0.4. Porém já vi para tfs 1.1 boa sorte
-
Premium ganha xp a +
escolha a melhor resposta para adicionar a tag de resolvido, obrigado.
-
Erro de config no site
tente trocar seu lastenews, ou baixe uma versão mais atualizada do gesior. Dependendo da versão do seu tfs, se for 1.0 + baixe o 2012.
-
Erro ao tentar acessar o site (localhost)
tente modificar por este aqui, antes faça um backup;.
-
Premium ganha xp a +
você usa tfs 0.4 por favor, quando pedir um script especifique no topico. function onLogin(cid) local rate = 1.3 -- 30% -- porcentagem local config = { premium_true = "você tem "..((rate - 1)*100).."% de exp a mais agora!", -- Editar msg de exp extra premium premium_false = "Compre seus dias de VIP ACC e dispare no ranking.", -- Editar msg de não ser premium } if isPremium(cid) then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.premium_true) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.premium_false) end return true end ´ps: na hora de registrar na lua, coloque conforme os outros, pois é diferente.
-
Mostrar coldown que ainda falta ...
estranho, era pra funcionar. Vou testar aqui, jaja edito.
-
Tweets no Website Poketibia [Xampp]
só pegar o código em html no twitter, e adicionar em html.
-
Tweets no Website Poketibia [Xampp]
seu site tá on? manda ai e me mostre aonde ficar.
-
Grizzly Adams - Tasks
eu uso e no meu servidor funciona normalmente, tente esse aqui. npc/scripts/ libs/killingInTheNameOfQuest.lua creaturescript/killingInTheNameOfQuestKills dofile('data/lib/killingInTheNameOfQuest.lua') function onKill(cid, target, lastHit) local started = getPlayerStartedTasks(cid) if isPlayer(target) or isSummon(target) then return true end if started and #started > 0 then for _, id in ipairs(started) do if isInArray(tasks[id].creatures, getCreatureName(target):lower()) then if getPlayerStorageValue(cid, KILLSSTORAGE_BASE + id) < tasks[id].killsRequired then setPlayerStorageValue(cid, KILLSSTORAGE_BASE + id, getPlayerStorageValue(cid, KILLSSTORAGE_BASE + id) + 1) end end end end return true end tag <event type="kill" name="killingInTheNameOfQuestKills" script="killingInTheNameOfQuestKills.lua"/>