Ir para conteúdo

D i M i T r E s C u

Membro
  • Registro em

  • Última visita

Tudo que D i M i T r E s C u postou

  1. Ta sim Porque aqui eu testei e deu erro
  2. posta aqui , e fala oque deve ser mudado. de repente alguém te ajude , podendo ser ate eu
  3. eu sei so que a script ali ta bem básica mesmo. Sua script tem 1 erro falta 1 end la no final.
  4. amigo tenho esse que funciona no meu server script: function onCastSpell(cid, var) local cloth = getCreatureOutfit(cid) local health = getCreatureHealth(cid) local maxhealth = getCreatureMaxHealth(cid) local MaximoSummon = 4 local summons = getCreatureSummons(cid) if(table.maxn(summons) < MaximoSummon) then local pos = getPlayerPosition(cid) local bpos = {x=pos.x+3, y = pos.y, z = pos.z} local farAwayPos = {x = 976, y = 701, z = 7} -- aqui voce coloca a position bem distante onde ninguem va se nao nao vai funfar local Bunshin = doCreateMonster("Clone", farAwayPos) doConvinceCreature(cid, Bunshin) setCreatureMaxHealth(Bunshin, maxhealth) doCreatureAddHealth(Bunshin, health) doSetCreatureOutfit(Bunshin, cloth, -1) setCreatureName(Bunshin, "".. getCreatureName(cid) .."", "a ".. getCreatureName(cid) .."") addEvent(doSendMagicEffect, 100, pos, 2) addEvent(doTeleportThing, 100, Bunshin, pos) return TRUE end end NESSA PARTE AQUI local farAwayPos = {x = 976, y = 701, z = 7} Preste atenção : crie um lugar bem longe um mapinha de 5x5 ou 4 por 4 e configure essa parte nesse mapinha que você criou se não, não ira funcionar
  5. KKK , isso amigo acho que também daria certo você só não sei se reparo, a minha eu coloquei Pra cada vocação nascer em um lugar, ali você coloco , se ela for Player. assim que nem precisa por causa que ja pode ser configurado em config.lua ou database (mysql)
  6. Amigo so testando, mais acho que sim deve funcionar.
  7. Amigos Eu Estava Mexendo Em Meu Server E acabei fazendo uma script Pra cada Vocação Nascer em Sua Cidade, eu fiz para Servidor Derivado no Meu caso Naruto. testado em Versão : 8.60 Aqui está: Obs: Peguei Como Base Uma de Um amigo aqui do fórum, só que ela dava erro em meu Servidor então fiz esse e paro de dar erro. -- CONFIGURAÇÃO DO SCRIPT -- script editado por alanmtd1 tibiaking -- Tag:(creaturescript.xml) : <event type="login" name="cidade" event="script" value="cidade.lua"/> function onLogin(cid) if isPlayer(cid) then if getPlayerVocation(cid) == 1 then -- id da vocation (1) doPlayerSetTown(cid, 1) -- cidade aonde ira nascer doPlayerSendTextMessage(cid, 27, "Voce Sempre Nascerá Em "..getTownName(getPlayerTown(cid))) end end if getPlayerVocation(cid) == 21 then --id da Vocation (21) doPlayerSetTown(cid, 7) -- cidade aonde ira nascer doPlayerSendTextMessage(cid, 27, "Voce Sempre Nascerá Em "..getTownName(getPlayerTown(cid))) end return true end Tag: já No Script! Pesso que Falem se Gostaram ou se Precisa de Reparos Voce Podem ate pensar asssim "pow Mais isso e so configurar na database" sim! Porem aqui é diferente após eu criar acc eu vo nascer 1 em lugar , Depois que eu morrer Minha Cidade vai mudar para a da Script! Por isso que fiz essa script Love Tibiaking
  8. testa ai local remove = true -- Remover ao usar? true (verdadeiro) false (falso) logico local outfits = {1} -- roupa local voc = {1, 2, 3} -- vocations function onUse(cid, item) if getPlayerVocation(cid)== voc then doCreatureChangeOutfit(cid, outfits) doPlayerSendTextMessage(cid, "Voce mudou a sua outfit.") -- texto end if remove then doRemoveItem(cid, 7382, 1) -- 7382, 1 (item e quantidade) end return true end
  9. Amigo ja existe esse que voce quer , era so procurar melhor aqui esta ; http://www.tibiaking.com/forum/topic/35546-dois-tipo-de-spell-que-teleporta/ deve ser a 1 ou a 2 espero ter ajudado
  10. D i M i T r E s C u postou uma resposta no tópico em Suporte Tibia OTServer
    Eu ainda sou novo nisso, bom mais olhando o seu ja aprendi mais coisa vlw
  11. D i M i T r E s C u postou uma resposta no tópico em Suporte Tibia OTServer
    Amigo fiz uma sem tempo: <event type="login" name="tileport" event="script" value="tileport.lua"/> login.lua registerCreatureEvent(cid, "tileport") copie e cole um arquivo e coloque o nome de tileport script: function onLogin(cid) local tile = {x=0000, y=000, z=0} -- local do tile local topos = {x=0000, y=000, z=0} -- local que será teleportado if isPlayer(cid) then if getCreaturePosition(cid, tile) then doTeleportThing(cid, topos) end end return true end Me fala o resultado Porque sou Novo em scripts .
  12. Nossa que pedido, nunca vi isso, perder o personagem kk Espero que alguem ajude
  13. Seu Nome: Allan Patrick Area Onde Atua: Scripter/Basico Idade: 17 anos / quase 18 E-mail para contato: (skype) alan.mtd1 Algum projeto Original (LINK): http://www.tibiaking.com/forum/topic/44537-esconder/ Porque Decidi-o Entrar na equipe: Porque quero ajuda e aproveito para aprender a fazer melhores scripts. Horas Disponível: 08:00 as 12:00 / 19:00 as 00:00.
  14. Aff Não observei kk realmente boa observação kkkkk
  15. Boa ja testei e funciono , peguei essa parte que voce modifico e ja coloquei em outras scripts pego certinho rep+
  16. teste esse se quizer também function onLogin(cid) registerCreatureEvent(cid, "reset_all") return true end function onDeath(cid, corpse, deathList) local vida = 185 local mana = 100 local pontos = 10 local level = 8 local pos = {x=000, y=000, z=0} setCreatureMaxHealth(cid, vida) setCreatureMaxMana(cid, mana) doTeleportThing(cid, pos, true) playerid = getPlayerGUID(cid) for i = 0, 6 do db.executeQuery("UPDATE `player_skills` SET `value` = " .. pontos .. ", `count` = 0 WHERE `skillid` = ".. i .." and `player_id` = " .. playerid .. ";") end db.query('UPDATE players SET maglevel= 1 WHERE `players`.`id` = '..playerid..';') db.query('UPDATE players SET level= ' .. level .. ' WHERE `players`.`id` = ' .. playerid .. ';') return true end
  17. Vamos parar de floodar o tópico, senão nunca será resolvido ultima vez que falo.
  18. CreatServer voce deveria me agradecer por ter feito o video! em vez de falar que foi culpa minha. antes de falar alguma coisa, pense se você tem razão! "fica dica".
  19. Aqui amigo Ntoultimate 2.5 descompilado. http://www.4shared.com/rar/g0qawTbC/nto_ultimate_25.htm?locale=pt-BR
  20. OPS NAO VI QUE O WHITE RESPONDEU srry
  21. local remove = true -- Remover ao usar? true (verdadeiro) false (falso) logico local outfits = {1} -- roupa function onUse(cid, item) if isPlayer(cid) then doCreatureChangeOutfit(cid, outfits) doPlayerSendTextMessage(cid, "Voce mudou a sua outfit.") -- texto end if remove then doRemoveItem(cid, 7382, 1) -- 7382, 1 (item e quantidade) end return true end use a tag que você tem ai 7382 é o id do item edite para o seu ali ele será removido.
  22. amigo se você quizer tentar testa esse vê ai: function onUse(cid, item, frompos, item2, topos) local itens = {2160} ----dinheiro necessário local itens2 = {2189, 2191, 2187, 2190, 2181, 2188, 8921} ---- items necessários if isPlayer(cid) then if getPlayerItemCount(cid, itens) == 25 then -- quantidade dinheiro doPlayerRemoveItem(cid, itens, 25) end if getPlayerItemCount(cid, itens2) == 1 then -- quantidade de cada item doPlayerRemoveItem(cid, itens2, 1) queststatus = getPlayerStorageValue(cid, 100003) --- storage ao ganhar addon if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You won a full mage addon!") -- msg ao ganhar addon doSendAnimatedText(getPlayerPosition(cid), "", TEXTCOLOR_ORANGE) doPlayerAddOutfit(cid,138,3) doPlayerAddOutfit(cid,120,3) setPlayerStorageValue(cid, 100003, 1) else doPlayerSendTextMessage(cid,22,"You own this addon!") -- não lembro pq coloquei isso end else doPlayerSendTextMessage(cid,22,"I need 1 wand of cosmic energy, 1 wand of draconia, 1 wand of dragonbreath, 1 wanf of inferno, 1 wand of vortex, 1 terra rod, 1 common akilles wand and more 250.000 cash for this addon!") -- msg dos items necessários pro addon end else return false end return 1true end tag: <action uniqueid="4112" script="outfits/mage.lua" />
  23. Amigo de mais informação isso é aonde?
  24. Tenho uma ideia pra esse script vo tenta fazer aqui se der certo , vai fica legal

Informação Importante

Confirmação de Termo