Ir para conteúdo
Banner com Efeitos

Felippe Reine014

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Felippe Reine014 deu reputação a GamerGoiano em Movements script   
    TEsta ai @Felippe Reine014
     
    local condition = Condition(CONDITION_OUTFIT) condition:setOutfit({lookType=138}) condition:setTicks(-1) function onStepIn(creature, item, position, fromPosition) if not creature:isPlayer() then return false end local prevOutfit = creature:getOutfit() creature:addCondition(condition) local newOutfit = {lookType=138, addons=prevOutfit.addons} creature:setOutfit(newOutfit) return true end function onStepOut(creature, item, position, fromPosition) if not creature:isPlayer() then return false end creature:removeCondition(CONDITION_OUTFIT) local prevOutfit = creature:getOutfit() prevOutfit.lookType=prevOutfit.lookType creature:setOutfit(prevOutfit) return true end  
  2. Curtir
    Felippe Reine014 deu reputação a Aragllov em (Resolvido)Movements script   
    Usa esse script como exemplo:
    local messages = { {'Gnomedix: So let the examination begin! Now don\'t move. Don\'t be afraid. The good doctor gnome won\'t hurt you - hopefully!', CONST_ME_LOSEENERGY}, {'Gnomedix: Now! Now! Don\'t panic! It\'s all over soon!'}, {'Gnomedix: Let me try a bigger chisel!', CONST_ME_POFF}, {'Gnomedix: We\'re almost don... holy gnome! What\'s THIS???'}, {'Gnomedix: I need a drill! Gnomenursey, quick!'}, {'Gnomedix: Hold still now! This might tickle a little..', CONST_ME_STUN}, {'Gnomedix: Take this, you evil ... whatever you are!'}, {'Gnomedix: I got it! Yikes! What was that? Uhm, well ... you passed the ear examination. Talk to Gnomaticus for your next test.', CONST_ME_BLOCKHIT} } local function sendTextMessages(cid, index, position) local player = Player(cid) if not player then return true end if index ~= player:getStorageValue(Storage.BigfootBurden.GnomedixMsg) then return false end local playerposuid = Tile(player:getPosition()):getGround() playerposuid = playerposuid:getUniqueId() if playerposuid ~= 3123 then return false end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, messages[index][1]) if messages[index][2] then position:sendMagicEffect(messages[index][2]) end player:setStorageValue(Storage.BigfootBurden.GnomedixMsg, player:getStorageValue(Storage.BigfootBurden.GnomedixMsg) + 1) if index == 8 then position.y = position.y + 1 Game.createMonster('Strange Slime', position) player:setStorageValue(Storage.BigfootBurden.QuestLine, 11) end end local condition = Condition(CONDITION_OUTFIT) condition:setTicks(2000) condition:setOutfit({lookType = 33}) -- skeleton looktype function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end if item.actionid == 9200 then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 8 then player:addCondition(condition) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) end elseif item.actionid == 9201 then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 8 then player:addCondition(condition) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) player:setStorageValue(Storage.BigfootBurden.QuestLine, 10) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have been succesfully g-rayed. Now let Doctor Gnomedix inspect your ears!') end elseif item.uid == 3123 then if player:getStorageValue(Storage.BigfootBurden.QuestLine) ~= 10 then return true end player:setStorageValue(Storage.BigfootBurden.GnomedixMsg, 1) position:sendMagicEffect(CONST_ME_LOSEENERGY) for i = player:getStorageValue(Storage.BigfootBurden.GnomedixMsg), #messages do addEvent(sendTextMessages, (i - 1) * 4000, player.uid, i, player:getPosition()) end end return true end  
  3. Gostei
    Felippe Reine014 deu reputação a luanluciano93 em Trade Offline V2.0   
    Refiz grande parte do script e atualizei para a versão em revscript (TFS 1.3+). Peço a permissão ao dono do tópico para eu criar um novo tópico do sistema que atualizei ou, se preferir, postar aqui.
     
  4. Curtir
    A Organização
    O Projeto

    Olá venho aqui fornecer a todos um repositório que estou começando fazer code views de todos os códigos lua que julgar interessante para um sistema de RPG
    Este é o local onde podem ser vistos os PR e os CodeReviews.
    Fiquem livres para utilizar os códigos da melhor maneira possivel.
    Quer interagir? bom então eu te convido a fazer parte da organização deixando seu nick no github aqui em baixo ou me mandando uma pm! todos serão bem vindos!
    PRS

    Me ajude a desenvolver criando um Issue e fazendo seu pedido, tente preencher todas as lacunas ao fazer o pedido para não gastarmos tempo com issues inúteis
    Usando este repositório podemos desenvolver projetos sólidos e muitos scripts uteis para a comunidade, assim como esses que vocês viram a cima muitos outros serão adicionados para a tfs 1.4, espero todos la no github VLW clan tmj!
    Todo o projeto estára atualizado com a ultima branch da tfs de acordo com o docker.
    Podemos verificar dependências e reportas caso a tfs faça alguma alteração em suas libs poderemos saber neste repositório através do workflow
     


  5. Gostei
    podem haver teleportes em servers rpg, você só precisa dar uma explicação pra isso. Parem de achar que tudo é anti-role.

    e pra quem diz que pvp e rpg não combinam só tenho um nome: AvaOT.
  6. Curtir
    Assim que tiver tempo ajeito pra tu
     
  7. Curtir
    dessa forma poderá usar mais outfit caso queira, testa ae 
     
    local cfg = { {name = "Outfit Dragon", mob = "bug", outfit_male = 367, outfit_female = 366, addon = "1"}, -- name = nome da outfit, mob = nome do monstro {name = "Outfit Lord", mob = "dragon lord", outfit_male = 367, outfit_female = 366, addon = "2"}, -- outfit_male = lookType da outfit de homem, outfit_female = lookType da outfit de mulher {name = "Outfit Frost", mob = "dragon frost", outfit_male = 367, outfit_female = 366, addon = "3"}, -- addon = (1 = somendo addon 1) (2 = somente addon 2) (3 = todos addons) } function onUse(player, item, fromPosition, target, toPositio) local monster = Monster(target) if monster then for i, _ in pairs(cfg) do if (_.mob:lower() == monster:getName():lower()) then local lookType = player:getSex() % 2 and _.outfit_male or _.outfit_female if not player:hasOutfit(lookType, _.addon) then player:addOutfitAddon(lookType, _.addon) player:sendTextMessage(22, "Voce ganhou a ".. _.name ..". Parabens") monster:remove() item:remove(1) return true end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Voce ja tem essa outfit") return false end end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Esse monstro nao e valido") return false end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Isso nao e possivel") return false end  

Informação Importante

Confirmação de Termo