Ir para conteúdo

MaXwEllDeN

Héroi
  • Registro em

  • Última visita

Tudo que MaXwEllDeN postou

  1. Se não deu nada então você não fez tudo certo. Dá algum erro no Servidor? O que acontece? Nós não somos videntes temos que saber né.
  2. MaXwEllDeN postou uma resposta no tópico em Outros Jogos
    Eu joguei um tempo, fui pra "Mainland" e uns fdps me mataram e nem pegaram skull, ou algo que denunciasse que eles mataram alguém. Ai eu desanimei depois que perdi tudo D:
  3. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    Posta o script da spell aqui, fazendo favor.
  4. MaXwEllDeN postou uma resposta no tópico em Portal
    Esse Guido safado usando programa pra afinar a voz. . @Thread Minha voz fica muito estranha no Skype, LOL.
  5. Exatamente, você tem que escolher o time antes [:, no NPC.
  6. Po

    MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    A EHAUEHUAEHUAE
  7. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Galera que já tá no chat:
  8. Básico mas muito útil Bruno, obrigado pelo conteúdo \õ/
  9. Rep - por floodar
  10. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    local ice = {x=32193, y=31419, z=2} local earth = {x=32974, y=32224, z=7} local fire = {x=32909, y=32338, z=15} local energy = {x=33060, y=32711, z=5} function onStepIn(cid, item, pos) if not isPlayer(cid) then return false end local new_dir, newdir2 if getPlayerLookDir(cid) == 0 then newdir = 2 newdir2 = 2 elseif getPlayerLookDir(cid) == 1 then newdir = 3 newdir2 = 3 elseif getPlayerLookDir(cid) == 2 then newdir = 0 newdir2 = 0 else newdir = 1 newdir2 = 1 end if item.actionid == 7801 then if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then doTeleportThing(cid,ice) doSendMagicEffect(ice,10) setPlayerStorageValue(cid, 15111, 1) else doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1) doMoveCreature(cid, newdir) doMoveCreature(cid, newdir2) doSendMagicEffect(getCreaturePosition(cid),10) end elseif item.actionid == 7802 then if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then doTeleportThing(cid,earth) doSendMagicEffect(earth,10) setPlayerStorageValue(cid, 15123, 1) else doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1) doMoveCreature(cid, newdir) doMoveCreature(cid, newdir2) doSendMagicEffect(getCreaturePosition(cid),10) end elseif item.actionid == 7803 then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then doTeleportThing(cid,fire) doSendMagicEffect(fire,10) setPlayerStorageValue(cid, 15147, 1) else doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1) doMoveCreature(cid, newdir) doMoveCreature(cid, newdir2) doSendMagicEffect(getCreaturePosition(cid),10) end elseif item.actionid == 7804 then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then doTeleportThing(cid,energy) doSendMagicEffect(energy,10) setPlayerStorageValue(cid, 15135, 1) else doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1) doMoveCreature(cid, newdir) doMoveCreature(cid, newdir2) doSendMagicEffect(getCreaturePosition(cid),10) end end return true end
  11. Você tem que modificar o xml do monstro, modificar onde estiver assim: <flag convinceable="1"/> Deixar assim: <flag convinceable="0"/>
  12. Área errada cara, presta atenção onde posta. Tópico movido.
  13. Muito boa entrevista Bruno, só não curti a fonte que você usou no tópico, tive que ler tudo destacando. aeauhuaehau
  14. Amigo, sei que você é um membro novo, mas não custa nada ler as regras e quando você ver em um tópico um anuncio em vermelho falando que seu post pode se considerado flood, se não tiver outro jeito de transmitir a mensagem que você quer se não pelo tópico, poste nele, mas se houver como é o caso crie um tópico na área de dúvidas e diga o que está acontecendo.
  15. Não vejo muito futuro, pois Python é uma linguagem muito pesada, é praticamente 8x mais pesada que Lua.
  16. <action itemid = "2160" event = "script" value = "HealHEALTH.lua" /> HealHEALTH.lua local config = { min = 500, -- Mínimo que pode healar max = 750, -- Máximo que pode healar remove = true, } function onUse(cid, item, frompos, item2, topos) local life = math.random(config.min, config.max) doCreatureAddHealth(cid, life) doSendAnimatedText(topos, life, 30) return config.remove and doRemoveItem(item.uid, 1) end <action itemid = "2162" event = "script" value = "HealMANA.lua" /> HealMANA.lua local config = { min = 500, -- Mínimo que pode healar max = 750, -- Máximo que pode healar remove = true, } function onUse(cid, item, frompos, item2, topos) local life = math.random(config.min, config.max) doCreatureAddMana(cid, life) doSendAnimatedText(topos, life, 5) return config.remove and doRemoveItem(item.uid, 1) end
  17. Action: <action actionid = "27124" event = "script" value = "AlavancaPOI.lua" /> AlavancaPOI.lua local teleport_pos = {x = 160, y = 54, z = 7} -- Posição que o teleport vai aparecer 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 function onUse(cid) if #doFindItemInPos({1387}, teleport_pos) > 0 then return false end doSetItemActionId(doCreateItem(1387, teleport_pos), 24165) return true end Movements: <movement type = "stepin" actionid = "24165" event = "script" value = "TeleportPOI.lua" /> TeleportPOI.lua local to_pos = {x = 161, y = 54, z = 7} -- Posição a qual o player será levado function onStepIn(cid, item) doTeleportThing(cid, to_pos) doSendMagicEffect(to_pos, 10) return doRemoveItem(item.uid, 1) end
  18. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Cara, não nos humilhe D:
  19. Gostei cara, isso ai dá um RPG legal ao servidor, seria legal colocar outro modo pra abrir a passagem, tipo um enigma.
  20. function isPosInArray(array, pos) for _, v in pairs(array) do if v.x == pos.x and v.y == pos.y and v.z == pos.z then return true end end return false end local pos = { {x = 751, y = 752, z = 7}, {x = 251, y = 752, z = 7}, } function onPush(cid, target) if isPlayer(target) and isPosInArray(pos, getThingPos(target)) then doPlayerSendCancel(cid, "Você não pode empurrar este player.") return false end return true end
  21. Tá, qual a força que você quer?
  22. Creaturescript, no próprio post eu dou informações sobre como instalar. As posições são de onde o player não pode ser tirado.
  23. function isPosInArray(array, pos) for _, v in pairs(array) do if v.x == pos.x and v.y == pos.y and v.z == pos.z then return true end end return false end local pos = { {x = 751, y = 752, z = 7}, {x = 251, y = 752, z = 7}, } function onPush(cid, target) if isPlayer(target) and isPosInArray(getThingPos(target)) then doPlayerSendCancel(cid, "Você não pode empurrar este player.") return false end return true end <creaturescript type = "push" name = "PushPlayerThere" event = "script" value = "PushPlayer.lua" /> No login.lua antes do último return true, colocar isso: registerCreatureEvent(cid, "PushPlayerThere")

Informação Importante

Confirmação de Termo