-
jhonathan wendrell alterou sua foto pessoal
-
jhonathan wendrell reagiu a uma resposta no tópico: [8.60][OLD Client] Narutibia (NTO HARD) - Servidor Completo
-
mudar script de tfs 0.4 para funcionar em 1.2 ou um script que faça essa funçao no tfs 1.2 ou 1.3, É um script que muda outfit ao atacar.
.Qual servidor ou website você utiliza como base? 1.2 10.90 Qual o motivo deste tópico? preciso fazer esse script funcionar no tfs 1.2 ou de algum script que faça mudar o outfit ao atacar alguém pode me ajudar por favor agradeço muito, mudei meu ot e tfs de 8.60 0.4 para 10.90 1.2 esse script fazia uma animação de atk usando sprites que eu fiz, noa sei mas acho que não tem mas o onAttack no 1.2 se alguem souber como faço agradeço muito desculpe se tiver postado errado mova por favor. segue o script que eu itilizava creaturescripts.xml <event type="attack" name="AttackAnimation" event="script" value="attackanimation.lua"/> creaturescripts/script lua local outfits = { [367] = 372, [366] = 160, [130] = 373, [138] = 373, } function onAttack(cid, target) doCreatureSetLookDirection(cid, getDirectionTo(getPlayerPosition(cid), getPlayerPosition(target))) local tmp = getCreatureOutfit(cid) if outfits[tmp.lookType] then tmp.lookType = outfits[tmp.lookType] doSetCreatureOutfit(cid, tmp, 900) end return true end login.lua registerCreatureEvent(cid, "AttackAnimation") Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a
-
-
TFS [1.2] Proteção de diferença de level
boa noite desculpe qualquer coisa estava atras desse scrip nao sei se fiz algo errado mas eu testei aqui um lvl 300 não ataca um lvl 80 funcionou otimo mas o lvl 80 abre pk no lvl 300 e mesmo a sim o lvl 300 não consegue atacar ele mesmo abrindo pk nele. Sera que vc consegue colocar ou pro lvl baixo não poder ataca o lvl alto igualmente ou se ele abrir pk pode ser atacado por favor se não for pedir muito, Não querendo abusar mas se tiver como por favor.
-
jhonathan wendrell reagiu a uma resposta no tópico: mudar script de teleportar de tfs 0.4 para tfs 1.2
-
-
mudar script de teleportar de tfs 0.4 para tfs 1.2
foi isso mesmo mas como player nao tava dando efeito na posiçao anterior do player como nao sei fazer script e nao manjo quase nada de lua, mas nao sou besta fui num script aqui teleport_to_pos copiei local tmp = player:getPosition() if player:teleportTo(pos) and not player:isInGhostMode() then tmp:sendMagicEffect(28) pos:sendMagicEffect(73) end return false adcionei os efeito que eu queria colei la no lugar e ficou top kk vlw ai mano, se eu precisar mudar algum outro script eu posso postar aqui ou fazer outro topico nao querendo abusar tem 3 meses que estou montando esse ot era 8.60 tfs 0.4 passei para 10x tfs 1.2 com sprites de client 12.64. Fiz e aprendi muita coisa nesse tempo so olhando os foruns mas tem hora que preciso pedir ajuda. Desculpe qualquer coisa esse e meu primeiro topico.
-
mudar script de teleportar de tfs 0.4 para tfs 1.2
muito obrigado mesmo amigo funcionou aqui vlw
-
jhonathan wendrell reagiu a uma resposta no tópico: mudar script de teleportar de tfs 0.4 para tfs 1.2
-
mudar script de teleportar de tfs 0.4 para tfs 1.2
.Qual servidor ou website você utiliza como base? Qual o motivo deste tópico? Então galera esse e meu primeiro tópico aqui, não sei se estou postando certo desculpem qualquer coisa. Mudei meu tfs 0.4 para 1.2 e estou refazendo tudo aqui mas não estou conseguindo fazer esse script e um talkactions que teletransporta o player para posições no mapa por comando /ir. Funcionar no tfs 1.2 se alguém puder me ajudar agradeço muito mesmo. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: function onSay(cid, words, param) local config = { pz = false, -- players precisam estar em protection zone para usar? (true or false) battle = true, -- players deve estar sem battle (true or false) custo = false, -- se os teleport irão custa (true or false) need_level = false, -- se os teleport irão precisar de level (true or false) premium = false -- se precisa ser premium account (true or false) } local STORAGE_JAIL = 50026 --[[ Config lugares]]-- local lugar = { ["formorgar2"] = { -- nome do lugar pos = {x=2094, y=136, z=8},level = 1,price = 0, premium = 1}, ["wyrm"] = { -- nome do lugar pos = {x=528, y=1529, z=7},level = 1,price = 0, premium = 1}, ["erech"] = { -- nome do lugar pos = {x=1070, y=1250, z=5},level = 1,price = 0, premium = 1}, ["veglon"] = { -- nome do lugar pos = {x=228, y=449, z=7},level = 1,price = 0, premium = 1}, } local a = lugar[param] local STORAGE_IR = 12701 local delay = 1 * 1.2 local lastUse = getPlayerStorageValue(cid, STORAGE_IR) local ticks = os.time() - lastUse if ticks < delay then return true else setPlayerStorageValue(cid, STORAGE_IR, os.time()) end if not(a) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "As cidades que voce pode ir sao: edoras, belfallas, ashenport, bree, riv, dol, esg, argond, moria, mordor, forod, condado, dunedain, anfallas, minas.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Lugares onde Apenas VIPS podem ir:") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Até Level 30: promoOrc, troll1, troll2, rot, pirata, mino1, mino2, pantano, eriador, dwarf1, dwarf2, macacos1, macacos2, slime1, slime2, slime3, ghoul, bandit1, bandit2, cyc1, cyc2, cyc3, stonegolem, dworc1, eregion.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "De level 31 a 100: rhun, dragonvip, erebor, mirkwood, forochel, carn, enedwaith, elven, elven2, wyvern, corsario, dunland, icedunland, beleghost, evendim, bonebeast1, bonebeast2, orc, blacknight1, blacknight2, hero1, hero2, hero3, hydra1, hydra2, hydra3, lich, icewitch1, icewitch2, crystal, barbarian, dragon1, dragon2, vamp, turtle, purga, quara.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Level maior que 100: erech, formorgar, formorgar2, wyrm, veglon, northern, ered, orodruin, ice, nimrais, defiler, behedemon, harlond, northern2.") return TRUE elseif config.premium == true and not isPremium(cid) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Apenas contas VIP tem esse recurso.") return TRUE elseif getPlayerStorageValue(cid, STORAGE_JAIL) > os.time() then doPlayerSendTextMessage (cid, MESSAGE_INFO_DESCR, 'Você só pode sair as '.. os.date("%H:%M:%S", getPlayerStorageValue(cid, STORAGE_JAIL))..' (agora são: ' .. os.date("%H:%M:%S", os.time()) .. ').') return TRUE elseif config.battle == true and getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você não pode se teleportar em uma batalha.") return TRUE end if a.premium == 1 and not isPremium(cid) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Apenas contas VIP podem acessar esse lugar.") return TRUE else if getPlayerGroupId(cid) >= 3 then doTeleportThing(cid, a.pos) else doSendMagicEffect(getPlayerPosition(cid),27) doTeleportThing(cid, a.pos) doSendMagicEffect(getPlayerPosition(cid),40) end end return TRUE end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
Client 10 com sprites 12.52.10382 + sprites custom
muito top obrigado por compartilhar
-
-
[8.6] Task System 4.0! (Task system + Daily Task System)
jhonathan wendrell reagiu a uma resposta no tópico: [8.6] Task System 4.0! (Task system + Daily Task System)
- Como adicionar uma nova outfit no seu server.
jhonathan wendrell reagiu a uma resposta no tópico: (Resolvido) [Pedido] de Potions usadas se juntarem em uma só.
- (Resolvido)Level minimo pra usar item
Vlw mano me ajudou aqui tava procurando pra por lvl nas armadura e tal
Informação Importante
Confirmação de Termo