Ir para conteúdo

Calvin

Membro
  • Registro em

  • Última visita

Tudo que Calvin postou

  1. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Já vlw a tentativa mano se e o melho pego namoral
  2. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Nao ate hoje nao :s
  3. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Da uma ajuda lá
  4. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Vlw mano!! mais um REP meu ve se consegue da uma ajuda lá Da uma ajuda aee! POr Favor
  5. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Pow vei vlw mesmo fico show so to testando aki pra ve ser ela para de pega em area aleatoria mais ja ganho meu REP
  6. Calvin postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Um Exori San... Exato So que bem melhorado pega em Target ou sem target
  7. Calvin postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Calma jente eu arrumo calma!!
  8. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    nao quero criar novos so quero que os egfeitos por exeplo de ice venha do algo tipo no /x com o GOD entende ?
  9. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Vei do jeito que ele encina la e facil fazer uma spell mais do jeito que eu queria.. com o efeito dela vindo de cima da tela nao tem explicando ;s
  10. Calvin postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Eu ja vie em alguns ots entao eu fis ela do meu jeito, nunca vie ela em algun poste se tiver credito de alguem me avisem '-' ai vai va na pas data do seu ot e depois em spells e depois scripts e crie um arquivo com nome Exori Holy.lua e cole isso nele local acombat1 = createCombatObject() local acombat2 = createCombatObject() local acombat3 = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 49) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 30) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1000.2, 1000, -500.4, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 49) setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 30) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1000.2, 1000, -500.4, 0) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 49) setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 30) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1000.2, 1000, -500.4, 0) arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } arr2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } arr3 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) setCombatArea(acombat1, area1) setCombatArea(acombat2, area2) setCombatArea(acombat3, area3) function onTargetTile(cid, pos) doCombat(cid,combat1,positionToVariant(pos)) end function onTargetTile2(cid, pos) doCombat(cid,combat2,positionToVariant(pos)) end function onTargetTile3(cid, pos) doCombat(cid,combat3,positionToVariant(pos)) end setCombatCallback(acombat1, CALLBACK_PARAM_TARGETTILE, "onTargetTile") setCombatCallback(acombat2, CALLBACK_PARAM_TARGETTILE, "onTargetTile2") setCombatCallback(acombat3, CALLBACK_PARAM_TARGETTILE, "onTargetTile3") local function onCastSpell1(parameters) doCombat(parameters.cid, acombat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, acombat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, acombat3, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var} addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 200, parameters) addEvent(onCastSpell3, 300, parameters) return TRUE end depois va em data/spells/spells.xml e crie essa tag <instant name="Mega holy" words="MEGA HOLY" lvl="8" mana="5000" prem="0" range="6" casterTargetOrDirection="1" blockwalls="1" exhaustion="1100" groups="1,300" icon="24" needlearn="0" event="script" value="nova/exori holly.lua"> <vocation id="3"/> <vocation id="7"/> </instant> Desculpem por eu nao me espresar direito entao fis um video! ta ai o Link
  11. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    Mano na humildade estou aki, pedindo um favor alguem tem uma spell que parece que ta vindo do ceu mano eu tenho uma mais nao consigo editar pra dar dano.. desde-já agradeço function storm(cid, element, DistEfec, MagEfec, damage_1, damage_2) if isCreature(cid) then local pos = getThingPos(cid) pos.x = pos.x + math.random(-4,4) pos.y = pos.y + math.random(-4,4) local frompos = getThingPos(cid) frompos.x = pos.x - 6 frompos.y = pos.y - 6 doSendDistanceShoot(frompos, pos, DistEfec) doAreaCombatHealth(cid, element, pos, 0, -damage_1, -damage_2, MagEfec) end end function onCastSpell(cid, var) for i = 1, 72 do addEvent(storm, i*35,cid,IceDAMAGE,36,52, -230, -410) end return true end Olha ai mano o video e uma Spell assim >
  12. nao funciona! aff
  13. Ecina estalar.. ?
  14. Alguem poderia me ajuda eu queria uma porta ou um tile que so passe que mtem um certo rebirth para meu serv de rebirth.. se ajuda aki vai meu NPC de rebirth local config = { price = 0, -- Price of first rebirth priceIncrease = 0, -- Works as 'price' + current rebirths * priceIncrease. rebirthLevel = 717000, -- Level for first rebirth. rebirthIncrease = 0, -- Works as 'rebirthLevel' + current rebirths * rebirthIncrease. maxRebirths = 400, -- Number of times a player can rebirth. level = 8, -- The level the player is set to apon rebirth. healthPercent = 1.0, -- 1.00 = 100%. health = 0, -- Only used if 'healthPercent' = 0. manaPercent = 1.0, -- 1.00 = 100%. mana = 0, -- Only used if 'manaPercent' = 0. keepSkills = false, -- Wether players keep skills and level apon rebirth. skillLevel = false, -- Only used if 'keepSkills' = false. magicLevel = false, -- Only used if 'keepSkills' = false. capacity = 300, -- The capacity players are set to apon rebirth. storage = 72345 -- Player storage rebirth count is kept on. } local focuses = {} local function isFocused(cid) for i, v in pairs(focuses) do if(v == cid) then return true end end return false end local function addFocus(cid) if(not isFocused(cid)) then table.insert(focuses, cid) end end local function removeFocus(cid) for i, v in pairs(focuses) do if(v == cid) then table.remove(focuses, i) break end end end local function lookAtFocus() for i, v in pairs(focuses) do if(isPlayer(v)) then doNpcSetCreatureFocus(v) return end end doNpcSetCreatureFocus(0) end function onCreatureDisappear(cid) if(isFocused(cid)) then selfSay("Goodbye.") removeFocus(cid) end end function onCreatureSay(cid, type, msg) if((msg == "hi") and not (isFocused(cid))) then selfSay("Welcome, ".. getCreatureName(cid) ..".", cid, true) selfSay("I can {rebirth} you!", cid) addFocus(cid) status = 1 elseif((isFocused(cid)) and (msg == "rebirth") and (status == 1)) then if (getCreatureStorage(cid, config.storage) < config.maxRebirths) then storage = getCreatureStorage(cid, config.storage) rebirthLevel = config.rebirthLevel + (config.rebirthIncrease * storage) if (getPlayerLevel(cid) >= rebirthLevel) then money = config.price + (config.priceIncrease * storage) if (getPlayerMoney(cid) >= money) then selfSay("I can rebirth you for " .. money .. " gold.", cid) selfSay("Do you want me to rebirth you?", cid) status = 2 else selfSay("You need at least " .. money .. " gold before you can rebirth.", cid) status = 1 end else selfSay("You need to be at least level " .. rebirthLevel .. " before you can rebirth.", cid) status = 1 end else selfSay("It seems you can not rebirth anymore.", cid) status = 1 end elseif((isFocused(cid)) and (msg == "yes") and (status == 2)) then selfSay("Ok then i will rebirth you.", cid) selfSay("You will now be logged out.", cid) doPlayerRemoveMoney(cid, money) addEvent(doRebirthPlayer, 100, {cid=cid}) removeFocus(cid) elseif((isFocused(cid)) and (msg == "no") and (status == 2)) then selfSay("Maybe one day you will wise up and change your mind!", cid) status = 1 elseif((isFocused(cid)) and (msg == "bye" or msg == "goodbye" or msg == "cya")) then selfSay("Goodbye!", cid, true) removeFocus(cid) end end function onPlayerCloseChannel(cid) if(isFocused(cid)) then selfSay("Goodbye.") removeFocus(cid) end end function onThink() for i, focus in pairs(focuses) do if(not isCreature(focus)) then removeFocus(focus) else local distance = getDistanceTo(focus) or -1 if((distance > 4) or (distance == -1)) then selfSay("Goodbye.") removeFocus(focus) end end end lookAtFocus() end function doRebirthPlayer(cid) cid = cid.cid if (cid == nil) then return true end local guid = getPlayerGUID(cid) if (config.healthPercent > 0) then health = getCreatureMaxHealth(cid) * config.healthPercent else health = config.health end if (config.manaPercent > 0) then mana = getCreatureMaxMana(cid) * config.manaPercent else mana = config.mana end doCreatureSetStorage(cid, config.storage, getCreatureStorage(cid, config.storage) + 1) doRemoveCreature(cid, true) db.query("UPDATE `players` SET level = " .. config.level .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET cap = " .. config.capacity .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET health = " .. health .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET healthmax = " .. health .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET mana = " .. mana .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET manamax = " .. mana .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET posx = " .. pos.x .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET posy = " .. pos.y .. " WHERE id = " .. guid .. ";") db.query("UPDATE `players` SET posz = " .. pos.z .. " WHERE id = " .. guid .. ";") if (not config.keepSkills) then db.query("UPDATE `players` SET maglevel = " .. config.magicLevel .. " WHERE id = " .. guid .. ";") db.query("UPDATE `player_skills` SET value = " .. config.skillLevel .. " WHERE id = " .. guid .. ";") end return true end
  15. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    NAO PEGO OQ VC FALO LA EM CIMA!! no meu aki deu erro !! Unespected symbol "{" uma parada assim NAO PEGO OQ VC FALO LA EM CIMA!! no meu aki deu erro !! Unespected symbol "{" uma parada assim NAO PEGO OQ VC FALO LA EM CIMA!! no meu aki deu erro !! Unespected symbol "{" uma parada assim
  16. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    me ajudem eu queria uma quest que der uma magia!! muinto obrigado desde já!
  17. Bom.. ai vai, e um actions bem facil vc da use em um item e vc começa a comtrolar o atack e so segurar o CTRL e o lado que vc virar o char o attack vaii!! vamos la! <action itemid="12647" script="cobra.lua"/> escolha o ID que vc deseja! function onUse(cid, item, fromPosition, itemEx, toPosition) minMana = getPlayerLevel(cid) * 6 onoff = 4956 quantx = 0 quanty = 0 function setAxis() o = getPlayerPosition(cid) xe = o.x ye = o.y ze = o.z tempo = 7 velocidade = 150 end function doEffect() pos = {x=xe+quantx,y=ye+quanty,z=ze} if getPlayerMana(cid) < minMana then setPlayerStorageValue(cid,work,0) setPlayerStorageValue(cid,onoff,0) elseif getTilePzInfo(pos) == FALSE then local ef = 6 of = 2 doAreaCombatHealth(cid, COMBAT_FIREDAMAGE, pos, 0, -getPlayerLevel(cid), -getPlayerLevel(cid) * 3, ef) -- doPlayerSendCancel(cid,"x = "..xe+quantx..", y = "..ye+quanty..", z = "..ze.."") else doSendMagicEffect(pos,of) -- doPlayerSendCancel(cid,"x = "..xe+quantx..", y = "..ye+quanty..", z = "..ze.."") end addEvent(checkDir,velocidade) end function checkPer() if getPlayerStorageValue(cid,work) == 1 then checkTime() end end function checkTime() if tempo > 0 then doEffect() else stop() end end function stop() posi = {x=xe+quantx,y=ye+quanty,z=ze} doSendMagicEffect(posi,49) doSendAnimatedText(posi,"...",TEXTCOLOR_YELLOW) setPlayerStorageValue(cid,onoff,0) doPlayerSetNoMove(cid,0) addEvent(doPlayerSendCancel,800,cid,"Tempo restante: 0.") end function minusTime() if getPlayerStorageValue(cid,onoff) == 0 then elseif tempo > 0 then doPlayerSendCancel(cid,"Tempo restante: "..tempo..".") tempo = tempo - 1 addEvent(minusTime,1000) elseif tempo == 0 then stop() end end function checkDir() po = getCreatureLookDirection(cid) if po == NORTH then quanty = quanty - 1 elseif po == SOUTH then quanty = quanty + 1 elseif po == WEST then quantx = quantx - 1 elseif po == EAST then quantx = quantx + 1 end checkPer() end if getTilePzInfo(getPlayerPosition(cid)) == TRUE then doSendAnimatedText(getPlayerPosition(cid),"PZ!",TEXTCOLOR_YELLOW) setPlayerStorageValue(cid,work,0) setPlayerStorageValue(cid,onoff,0) elseif getPlayerMana(cid) < minMana then doSendAnimatedText(getPlayerPosition(cid),"MANA",TEXTCOLOR_LIGHTBLUE) doPlayerSendCancel(cid,"Você precisa de "..minMana.." de mana para isso.") setPlayerStorageValue(cid,work,0) setPlayerStorageValue(cid,onoff,0) elseif getPlayerStorageValue(cid,onoff) == 0 then setPlayerStorageValue(cid,work,1) setPlayerStorageValue(cid,onoff,1) doPlayerAddMana(cid,-minMana) doPlayerSetNoMove(cid,1) setAxis() minusTime() checkDir() else doPlayerSendCancel(cid,"Contagem cancelada.") setPlayerStorageValue(cid,work,0) setPlayerStorageValue(cid,onoff,0) doPlayerSetNoMove(cid,0) end return TRUE end Se gostou REP +...
  18. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    ...muinto obrigadoo!!
  19. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    dos danos que fica saindo do bixoo.. aki ta saindo 30 !
  20. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    ae... \e/ vaeu mesmo..ja vai ganha outro REP meu!! sem falta.. mas me dis... como aumento o attack ?
  21. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    So queria uma runa que igual a do videoo.. que se vc usase o exxana vis saisse o efeito da runa
  22. S2... REP + Funfo... so adicionei pra vemover 1 quando usar.. vlw
  23. queria Um item que adicionasse Soul.. igual a o vidioo... REP +
  24. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    so queria o efeito de holy em area na runa..CONST_ANI_HOLY... so isso de diferente
  25. Calvin postou uma resposta no tópico em Suporte Tibia OTServer
    passa msn ? vc ja ganhou meu PER [email protected]

Informação Importante

Confirmação de Termo