Ir para conteúdo

helix758

Membro
  • Registro em

  • Última visita

Tudo que helix758 postou

  1. Não funcionou Nenhum erro distro... Somente quando dou Realod globalevents aparece isso > [18/6/2017 2:41:32] [Error - Event::checkScript] Cannot load script (data/globalevents/scripts/rmvpz.lua)
  2. Porque tipo sua script está funcionando, Ao morrer perder o batle vermelho, Porém o problema é o poison da viper star, Que quando vc morrer e vc dentro do "Protection zone" a poison pingar vc ficará "pZ Vermelho" ele deveria perder o vinculo do poison quando morrer dentro do evento, poderia fazer isso.
  3. [18/6/2017 21:24:32] [Error - CreatureScript Interface] [18/6/2017 21:24:32] data/creaturescripts/scripts/CTFMax.lua:onStatsChange [18/6/2017 21:24:32] Description: [18/6/2017 21:24:32] (luaGetCreatureStorage) Creature not found Para ser mais rápido , Poderia criar aquela script de perder batle vermelho se estiver dentro do Protection zone Aquela script que tu tinha dito que daria pra ser criado.
  4. Não funcionou, o mesmo problema da imagem a cima, Acredito que quando morrer Remover All, Poison ataque etc... funcione
  5. Poxa cara funcionou em questão de morrer perder a batle vermelha, Porém tem um pequenino problema. Com a print irá explicar melhor (Segue print abaixo) E também o inverso. Se o adm matar o mancha azul, o mancha azul não irá perder o poison com isso irá pingar e o adm poderá pegar pz também
  6. Linux precisa de xamp não
  7. esse script me ajudaria Muito, É dentro do evento o CTF (Rouba bandeira) quando o player morre ele é teleportado pra o templo do evento tlgd? mas fora do evento (Normal) ele perde pz ao morrer Script de quando ele morre --[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] local CTF = CTF_LIB function onStatsChange(cid, attacker, type, combat, value) if getPlayerStorageValue(cid, 16700) ~= -1 and type == 1 and getCreatureHealth(cid) - value <= 0 then if getPlayerStorageValue(cid, 16702) ~= -1 then CTF.returnFlag(cid, 1) end doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) return false end return true end function onLogout(cid) if getPlayerStorageValue(cid, 16700) ~= -1 then CTF.removePlayer(cid) end return true end function onCombat(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end function onAttack(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end <event type="statschange" name="CTFDeath" event="script" value="CTFMax.lua"/> ACREDITO QUE SEJA ESSE Não tem esse Opção no config.lua
  8. como assim?? Bom galera exemplo, to com evento ctf, Porém no local do templo que é "PROTECTION ZONE" quando o player morre ele não perde pz e fica preso dentro do templo (Segue print em baixo) e também caso ele ataque uma fire e entre no PROTECTION ZONE ficará pk e preso, Gostaria que ele andasse mesmo Pk dentro do PROTECTION ZONE, Mas somente dentro desse local. Será que não tem alguma script que escolha o SQM. OU.. PODERIA SER NÃO PEGAR "BATLE VERMELHO" DENTRO DA AREA DO EVENTO....... ENTENDEU? CASO NÃO EU POSSO ESTÁ EXPLICANDO MELHOR. MAS PROVAVELMENTE DÁ PRA ENTENDER SOMENTE COM UMA IMAGEM A CIMA agradeço desde já Respostas. (OTX)
  9. helix758 postou uma resposta no tópico em Suporte Tibia OTServer
    CLOSED!
  10. Vc viu errado cara, Tipo o "tapete vermelho" é o local de entregar a bandeira (Pós) sendo que de baixo do tapete é um piso "branco" e todos os piso branco do mapa bugam. Todos piso ficam como fosse para entregar a bandeira. Se eu mudar o piso de branco para preto, Todos os piso preto bugam.... OBS: TFS NÃO OCORRIA ESSE BUG, SOMENTE DEPOIS DE PASSAR PARA OTX OBS:2 NÃO APRESENTA ERRO NA DISTRO, ACREDITO EU QUE SEJA DEVIDO SER UMA OTX O SCRIPT MUDA UM POUCO.
  11. uma print. Poderá demostrar e entender melhor. Obs: Somente quando passei pra otx ficou assim e então acredito que é o script que tem que mudar para base otx. Ex: coloquei pra entregar a bandeira na pos // 1 ,1,1 // e o piso do pos 1 ,1,1 é branco. Automaticamente todos os piso branco ficará com a mesma função de entregar a bandeira. Quando era tfs funcionava normalmente, Depois que transformei meu ot otx Ficoou assim. bLZ MANO Brau :D
  12. helix758 postou uma resposta no tópico em Suporte Tibia OTServer
    Isso provavelmente é nas sources, Testa no windows e depois passa para linux para n ter esse trabalho. Tem diversas prontas ai
  13. Por galera gostaria muito dessa ajuda. Por que? porque quando usava tfs não havia nenhum bug, Sendo que agr na otx essa script tá tendo um pequeno bug no event. (Rouba bandeira) os lado vermelho e lado verde (ficam como o piso de entregar a bandeira fosse em qualquer local) e sem falar quando o piso é da mesma cor também não funciona. preciso transformar em otx esse script... -- Caso precise de detalhes----- Passarei todos detalhes. --[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] CTF_LIB = { waitpos = {x = 1095, y = 54, z =7}, -- Posição da sala de espera tppos = {x = 1004, y = 1003, z =7}, -- Onde o TP vai aparecer days = {1, 2, 3, 4, 5, 6, 7}, -- Dias que o evento vai abrir xp_percent = 0.5, -- Porcentagem de exp que o player vai ganhar timeclose = 1, -- Tempo, em minutos, para iniciar o CTF winp = 3, -- Quantos pontos uma equipe precisa marcar para vencer teams = { ["Vermelho"] = { temple = 2, -- TownID da equipe vermelha outfit = {lookHead = 0, lookBody = 132, lookLegs = 113, lookFeet = 94}, flag = { id = 1435, flag_pos = {x = 1296, y = 288, z =7}, -- Posição onde a bandeira vermelha vai ser criada gnd_pos = {x = 1295, y = 288, z =7}, -- Onde os players da equipe vermelha entregarão a bandeira. }, }, ["Verde"] = { temple = 3, -- TownID da equipe verde outfit = {lookHead = 0, lookBody = 121, lookLegs = 101, lookFeet = 101}, flag = { id = 1437, flag_pos = {x = 1233, y = 299, z =7}, -- Posição onde a bandeira verde vai ser criada gnd_pos = {x = 1234, y = 299, z =7}, -- Onde os players da equipe verde entregarão a bandeira. }, }, }, } local CTF = CTF_LIB function CTF.getMembers() local members = {} for _, cid in pairs(getPlayersOnline()) do if getPlayerStorageValue(cid, 16700) ~= -1 then table.insert(members, cid) end end return members end function CTF.getTeamMembers(team) local members = {} for _, cid in pairs(CTF.getMembers()) do if getPlayerStorageValue(cid, 16700) == team then table.insert(members, cid) end end return members end function CTF.removePlayer(uid) doPlayerSetTown(uid, getPlayerStorageValue(uid, 16701)) doTeleportThing(uid, getTownTemplePosition(getPlayerStorageValue(uid, 16701))) doRemoveCondition(uid, CONDITION_OUTFIT) doCreatureAddHealth(uid, getCreatureMaxHealth(uid)) doCreatureAddMana(uid, getCreatureMaxMana(uid)) setPlayerStorageValue(uid, 16701, -1) setPlayerStorageValue(uid, 16700, -1) return true end function CTF.addPlayer(uid) local team = CTF.getTeamLivre() local n_team = CTF.teams[team] setPlayerStorageValue(uid, 16700, team) setPlayerStorageValue(uid, 16701, getPlayerTown(uid)) doPlayerSetTown(uid, n_team.temple) doTeleportThing(uid, CTF.waitpos) doPlayerSendTextMessage(uid, 22, "Você agora faz parte do time ".. team .. ".") local outfit = getCreatureOutfit(uid) for i, v in pairs(n_team.outfit) do outfit = v end registerCreatureEvent(uid, "CTFLogout") registerCreatureEvent(uid, "CTFAttack") registerCreatureEvent(uid, "CTFCombat") registerCreatureEvent(uid, "CTFDeath") doSetCreatureOutfit(uid, outfit, -1) return true end function CTF.getTeamLivre() local teams = {} for i, _ in pairs(CTF.teams) do table.insert(teams, {i, #CTF.getTeamMembers(i)}) end if (teams[1][2] < teams[2][2]) then return teams[1][1] elseif (teams[1][2] > teams[2][2]) then return teams[2][1] end return teams[math.random(2)][1] end function CTF.broadCast(msg, class) for _, uid in pairs(CTF.getMembers()) do doPlayerSendTextMessage(uid, class or 20, msg) end return true end function CTF.getFlagTeam(flag) for i, v in pairs(CTF.teams) do if v.flag.id == flag then return i end end return "" end local score_sto = {} local a = 0 for i, _ in pairs(CTF.teams) do score_sto = 42314 + a a = a + 1 end function CTF.createFlags() for i, v in pairs(CTF.teams) do local flag = doCreateItem(v.flag.id, 1, v.flag.flag_pos) doItemSetAttribute(flag, "aid", 63218) v.flag.gnd_pos.stackpos = 0 local gnd = getThingFromPos(v.flag.gnd_pos).uid doItemSetAttribute(gnd, "aid", 63200) doItemSetAttribute(gnd, "team", i) setGlobalStorageValue(score_sto, 0) end return true end function CTF.removeFlags() for i, v in pairs(CTF.teams) do local flag = doFindItemInPos({v.flag.id}, v.flag.flag_pos)[1] if flag then doRemoveItem(flag.uid, 1) end v.flag.gnd_pos.stackpos = 0 local gnd = getThingFromPos(v.flag.gnd_pos).uid doItemSetAttribute(gnd, "aid", 0) end return true end function CTF.start() doRemoveItem(doFindItemInPos({1387}, CTF.tppos)[1].uid, 1) setGlobalStorageValue(16705, -1) if #CTF.getMembers() < 1 then doBroadcastMessage("O CTF não pôde ser iniciado por falta de players.") for _, cid in pairs(CTF.getMembers()) do CTF.removePlayer(cid) end return false end CTF.broadCast("O CTF foi iniciado. Bom jogo!") for _, uid in pairs(CTF.getMembers()) do doTeleportThing(uid, getTownTemplePosition(getPlayerTown(uid))) end CTF.createFlags() return true end function CTF.returnFlag(uid, status) local team = getPlayerStorageValue(uid, 16702) if status then local msg = "O player ".. getCreatureName(uid) .. ", estava com a bandeira do time ".. team .. " " if status == 1 then msg = msg .. "e foi eliminado. " elseif status == 2 then msg = "e foi removido do evento. " end msg = msg .. "Portanto a bandeira do time ".. team .. " foi devolvida." CTF.broadCast(msg) end if CTF.teams[team] then local flag = doCreateItem(CTF.teams[team].flag.id, 1, CTF.teams[team].flag.flag_pos) doItemSetAttribute(flag, "aid", 63218) setPlayerStorageValue(uid, 16702, -1) end return true end function CTF.addPoint(uid) local finish local msg = "Capture The Flag:" setGlobalStorageValue(score_sto[getPlayerStorageValue(uid, 16700)], getGlobalStorageValue(score_sto[getPlayerStorageValue(uid, 16700)]) + 1) for i, _ in pairs(CTF.teams) do msg = msg .. "\nTime ".. i .. ": ".. getGlobalStorageValue(score_sto) if getGlobalStorageValue(score_sto) >= CTF.winp then finish = i end end CTF.broadCast(getCreatureName(uid) .. " marcou um ponto para o time ".. getPlayerStorageValue(uid, 16700) .. ".", 22) CTF.broadCast(msg) CTF.returnFlag(uid) if finish then CTF.close(finish) return "close" end return true end function CTF.close(win) if not win then doBroadcastMessage("O CTF acabou sem vencedores.") else CTF.broadCast("O time ".. win .. " marcou ".. CTF.winp .. " ponto(s) e venceu o evento.") end for _, cid in pairs(CTF.getMembers()) do if getPlayerStorageValue(cid, 16700) == win then doPlayerSendTextMessage(cid, 22, "Parabéns! Você ganhou 10 eggs") doSendAnimatedText(getThingPos(cid), xp, 215) doPlayerAddItem(cid, 6544, 10) end --[[ if getPlayerStorageValue(cid, 16702) ~= -1 then CTF.returnFlag(cid) end]] CTF.removePlayer(cid) end CTF.removeFlags() for i, _ in pairs(CTF.teams) do setGlobalStorageValue(score_sto, 0) end return true end local function Alert(uid) if (isCreature(uid)) then if getPlayerStorageValue(uid, 16702) == -1 or getPlayerStorageValue(uid, 16700) == -1 then return false end doSendAnimatedText(getThingPos(uid), "Flag!", math.random(50, 200)) local bla = {18, 19, 21, 22, 23, 24} doSendMagicEffect(getThingPos(uid), bla[math.random(#bla)]) if (os.time() - getPlayerStorageValue(uid, 16703) >= 60) then CTF.returnFlag(uid) return setPlayerStorageValue(uid, 16703, -1) end addEvent(Alert, 500, uid) return true end return false end function CTF.stealFlag(uid, team) setPlayerStorageValue(uid, 16702, team) setPlayerStorageValue(uid, 16703, os.time()) CTF.broadCast(getCreatureName(uid) .. " roubou a bandeira do time ".. team .. "!") Alert(uid) return true end function doFindItemInPos(ids, pos) -- By Undead Slayer local results = {} for _ = 0, 255 do local findPos = {x = pos.x, y = pos.y, z = pos.z, stackpos = _} if isInArray(ids, getThingFromPos(findPos).itemid) then table.insert(results, getThingFromPos(findPos)) end end return results end
  14. Número 665 é do outfit é só vc procurar o número da bolsinha
  15. helix758 postou uma resposta no tópico em Suporte Tibia OTServer
    tenta usar outro distro
  16. galera isso mesmo como o titulo ja diz para não mentir ele abre somente uma vez ou 2 vez e depois buga ... Explicando melhor. Bom vc loga no char e clica em set outfit muda seu outfit normalmente por 1 , 2 ou 3 vezes depois dá ai não dá pra trocar mais o outfit pois ele buga, Somente se deslogar e logar novamente vou por duas prints para que possa entender melhor Bom aqui eu conseguir usar o Set outfit pela 1 vez ou segunda vez o que acontece// quando eu tento trocar meu outfit pela terceira vez ocorre esse bug ele diz (Você precisa esperar) sendo que não pode mais trocar, Somente deslogando e entrando. Alguém tem alguma solução /// Obs: Depois que eu mudei meu servidor para otx que ficou assim...
  17. como assim?? bom galera por exemplo. Se vc deixar exaust da "Magic wall" 0 e deixar exaust do exori frigo 5000 (lento), Quando vc for da exori frigo vc não consegue tacar mw por conta do exaust da magia *(Ou seja vc ficará 5000 seng sem tacar mw ou tacar outra magia....) Gostaria por exemplo o exaust da mw e da magia de area ser totalmente diferente. alguém sabe aí ? caso alguém não entendeu so avisar que tento explicar melhorzinho.
  18. como assim?? bom galera por exemplo. Se vc deixar exaust da "Magic wall" 0 e deixar exaust do exori frigo 5000 (lento), Quando vc for da exori frigo vc não consegue tacar mw por conta do exaust da magia *(Ou seja vc ficará 5000 seng sem tacar mw ou tacar outra magia....) Gostaria por exemplo o exaust da mw e da magia de area ser totalmente diferente. alguém sabe aí ? caso alguém não entendeu so avisar que tento explicar melhorzinho.
  19. Foi... 21:29 You currently have 0 frags today, 0 this week and 0 this month. valeu :D acredito é por conta ser otx a script muda né? kk pq quando era tfs a script era normal
  20. tá desta forma > 21:27 Frags gained today: 0. Frags gained this week: 0. Frags gained this month: 0. Queria >> 21:19 You currently have 0 frags today, 0 this week and 0 this month.
  21. Esse não funcionou. o que funcionou foi do carinha lá em cima. Porem que ficasse desta forma > 21:19 You currently have 0 frags today, 0 this week and 0 this month.

Informação Importante

Confirmação de Termo