Ir para conteúdo

narazaky

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    narazaky recebeu reputação de Mateus Robeerto em !AFK Com Mensagem   
    Veja essa, aparece as mensagem em random: 
    local FRASES = {"AUSENTE!", "VOLTO JÁ!", "JÁ VOLTO!"} -- Auto-Mensagens. local TEMPO = 1 -- Intervalo de Tempo em segundos. local say = {} local function doSendAutoMessage(cid, pos, player) if (isCreature(cid) == TRUE) then npos = getThingPos(cid) if (pos.x == npos.x) and (pos.y == npos.y) and (pos.z == npos.z) and say[player] ~= nil then doSendAnimatedText(pos, FRASES[math.random(#FRASES)], 215) doSendMagicEffect(pos, 2) say[player] = addEvent(doSendAutoMessage, TEMPO*1000, cid, npos, player) else say[player] = nil doPlayerSendCancel(cid, "Ausente desativado.") end else say[player] = nil end end function onSay(cid, words, param) local player = getPlayerGUID(cid) if say[player] == nil then pos = getThingPos(cid) doSendAnimatedText(pos, FRASES[math.random(#FRASES)], 215) doSendMagicEffect(pos, 2) doPlayerSendCancel(cid, "Ausente ativado.") say[player] = addEvent(doSendAutoMessage, TEMPO*1000, cid, pos, player) else doPlayerSendCancel(cid, "Você já está com o Ausente ativado, saia do piso onde ativou e aguarde desativar.") end return TRUE end No talkactions.xml
    <talkaction log="yes" words="!AFK;/AFK" event="script" value="ausente.lua"/>
  2. Gostei
    narazaky recebeu reputação de ADM Mayk on BaiakME em [Creaturescript] A Morte   
    Olá pessoal do TK, essas script eu achei bem legal, quando um jogador morre aparece a morte e leva a alma dele.
    ele é bem simplesinha e achei melhor disponibilizar para o TK
     
     
     
    Imagem
     

     
     
    Em creaturescript crie um arquivo chamado DeathSystem.lua e coloque isso dentro:



     
    no login.lua cole isso antes do ultimo return true:
     



     
    e no creaturescript.xml coloca isso:



     
     
    agora vamos criar um monstro chamado "a morte"
     
    vai na pasta monster e crie um arquivo assim "a morte.xml" com isso dentro:



    e por fim...
    cole essa tag no monster.xml:



     
     
     
    OBS: a morte só irá aparecer caso um jogador morrer por um outro jogador.
     
    créditos: Eduardo Carvalho
     
     
    Espero ter ajudado
  3. Gostei
    narazaky recebeu reputação de Apache em (Resolvido)Reset system geisor   
    Vamos lá...
    vai em lib 050-function.lua e adicione isso:
    function getPlayerResets(cid) local Info = db.getResult("SELECT `reset` FROM `players` WHERE `id` = " .. getPlayerGUID(cid) .. " LIMIT 1") if Info:getID() ~= LUA_ERROR then local Resets= Info:getDataInt("reset", getPlayerGUID(cid)) Info:free() return Resets end return LUA_ERROR end depois vá em creaturescript/scrpts e cria um arquivo lookreset.lua e coloca isso dentro:
    function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then local string = 'You see '..getCreatureName(thing.uid)..' (Level '.. getPlayerLevel(thing.uid)..') [Reset '..getPlayerResets(thing.uid)..'].' if getPlayerFlagValue(thing.uid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then if(getPlayerSex(thing.uid)== 1) then string = string..' He is '.. getPlayerGroupName(thing.uid) ..'.' end if(getPlayerSex(thing.uid)== 0) then string = string..' She is '.. getPlayerGroupName(thing.uid) ..'.' end elseif getPlayerVocation(thing.uid) ~= 0 then if(getPlayerSex(thing.uid)== 1) then string = string..' He is '.. getPlayerVocationName(thing.uid) ..'.' end if(getPlayerSex(thing.uid)== 0) then string = string..' She is '.. getPlayerVocationName(thing.uid) ..'.' end else if(getPlayerSex(thing.uid)== 1) then string = string..' He has no vocation.' end if(getPlayerSex(thing.uid)== 0) then string = string..' She has no vocation.' end end -- if (getPlayerNameByGUID(getPlayerPartner(thing.uid), false, false) ~= nil) or (getPlayerNameByGUID(getPlayerPartner(thing.uid), false, false) == true) then -- if(getPlayerSex(thing.uid)== 1) then -- string = string..' He is '.. (getPlayerSex(thing.uid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(thing.uid)) ..'.' -- end -- if(getPlayerSex(thing.uid)== 0) then -- string = string..' She is '.. (getPlayerSex(thing.uid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(thing.uid)) ..'.' -- end -- else -- string = string -- end if getPlayerGuildId(thing.uid) > 0 then if(getPlayerSex(thing.uid)== 1) then string = string..' He is ' .. (getPlayerGuildRank(thing.uid) == '' and 'a member' or getPlayerGuildRank(thing.uid)) ..' of the '.. getPlayerGuildName(thing.uid) end if(getPlayerSex(thing.uid)== 0) then string = string..' She is ' .. (getPlayerGuildRank(thing.uid) == '' and 'a member' or getPlayerGuildRank(thing.uid)) ..' of the '.. getPlayerGuildName(thing.uid) end string = getPlayerGuildNick(thing.uid) ~= '' and string..' ('.. getPlayerGuildNick(thing.uid) ..').' or string..'.' end if (getPlayerGroupId(cid) >= 3) then if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(thing.uid) ..' / '.. getCreatureMaxHealth(thing.uid) ..'], Mana: ['.. getCreatureMana(thing.uid) ..' / '.. getCreatureMaxMana(thing.uid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(thing.uid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false ---------------------------------------------------------------------------------------------------------------------------------------- elseif thing.uid == cid then local string = 'You see yourself. (Level '.. getPlayerLevel(cid)..') [Reset '..getPlayerResets(cid)..'].' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end -- if (getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) or (getPlayerNameByGUID(getPlayerPartner(thing.uid), false, false) == true) then -- string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' -- end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'' end if (getPlayerGroupId(cid) >= 3) then if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end depois vá em login.lua e adicione isso antes do return true:
    registerCreatureEvent(cid, "lookreset") depois em creaturescript.xml adicione isso:
    <event type="look" name="lookreset" event="script" value="lookreset.lua"/> depois só aproveitar
     
     
    PS: estou fazendo um sistema de reset igual 100% ao do rad, depois eu posto aqui (pode ser por talk ou pelo site, configuravel)
  4. Obrigado
    narazaky recebeu reputação de Cat em como colocar look pra aparecer id de item,vida,mana   
    Você pode usar essa talkactions:
    para ver a sua mana: !mana 
    para ver a mana de outros jogadores !mana jogador



    para ver o seu life: !vida
    para ver o life de outros jogadores !vida jogador
     



  5. Gostei
    narazaky recebeu reputação de Cain Jorge em (Resolvido)[PEDIDO]Morreu sumona Monstro. A Morte...   
    Desculpe a demora, mas aqui está:
    Em creaturescript crie um arquivo chamado DeathSystem.lua e coloque isso dentro:



     
    no login.lua cole isso antes do ultimo return true:
     



     
    e no creaturescript.xml coloca isso:



     
     
    agora vamos criar um monstro chamado "a morte"
     
    vai na pasta monster e crie um arquivo assim "a morte.xml" com isso dentro:



    e por fim...
    cole essa tag no monster.xml:



     
     
     
    OBS: a morte só irá aparecer caso um jogador morrer por um outro jogador.
     
    créditos: Outro fórum, quem souber o nome só me falar.
     
     
    Espero ter ajudado
  6. Gostei
    O canal abre automaticamente e envia uma mensagem laranja
     
    Primeiramente vai em creaturescript/ script e abra o arquivo login.lua
    e procure por


    antes de 
    if(lastLogin > 0) then adicione isso:
    doPlayerOpenChannel(cid, CHANNEL_HELP) pronto.
     Mas se você quer que abra outro canal só fazer o mesmo processo, mas no lugar de "CHANNEL_HELP" você coloca o ID do canal que vc querer
     
     
    Mas se além disso quer que envia uma mensagem, é só depois disso colocar essa tag:
    addEvent(valid(doPlayerSendChannelMessage), 150, cid, "", "MENSAQUEM QUE VAI APARECER.", TALKTYPE_CHANNEL_HIGHLIGHT, CHANNEL_HELP) --SE FOR EM OUTRO CANAL É SO POR O ID DELE NO LUGAR DO CHANNEL_HELP. Pronto.
    Para ver os IDs dos outros canais, vai em data/xml/channels.xml
    e vai estar lá mais ou menos assim



     
    procura o id do canal que você quer e pimpa
     
     
     
    Créditos:
    99% Narazaky
    1% inspirado no ot do ADM MV
     
    .                                                                                                                                                                                                              \/
  7. Gostei
    narazaky recebeu reputação de Yago Blind. em (Resolvido)[PEDIDO]Morreu sumona Monstro. A Morte...   
    Desculpe a demora, mas aqui está:
    Em creaturescript crie um arquivo chamado DeathSystem.lua e coloque isso dentro:



     
    no login.lua cole isso antes do ultimo return true:
     



     
    e no creaturescript.xml coloca isso:



     
     
    agora vamos criar um monstro chamado "a morte"
     
    vai na pasta monster e crie um arquivo assim "a morte.xml" com isso dentro:



    e por fim...
    cole essa tag no monster.xml:



     
     
     
    OBS: a morte só irá aparecer caso um jogador morrer por um outro jogador.
     
    créditos: Outro fórum, quem souber o nome só me falar.
     
     
    Espero ter ajudado
  8. Gostei
    narazaky recebeu reputação de NecromancerNeko em Duvida magia de healar mana   
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, 37) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) --setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 1.2, -30, 1.6, 0) function onGetFormulaValues(cid, level, maglevel) min = (level * 2 + maglevel * 3) * 2.2 - 25 max = (level * 2 + maglevel * 3) * 2.5 if min < 250 then min = 250 end return min, max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") function onCastSpell(cid, var) return doCombat(cid, combat, var) end eu uso essa, não lembro quem fez :/
  9. Gostei
    narazaky recebeu reputação de dhiol em (Resolvido)[PEDIDO]Morreu sumona Monstro. A Morte...   
    Desculpe a demora, mas aqui está:
    Em creaturescript crie um arquivo chamado DeathSystem.lua e coloque isso dentro:



     
    no login.lua cole isso antes do ultimo return true:
     



     
    e no creaturescript.xml coloca isso:



     
     
    agora vamos criar um monstro chamado "a morte"
     
    vai na pasta monster e crie um arquivo assim "a morte.xml" com isso dentro:



    e por fim...
    cole essa tag no monster.xml:



     
     
     
    OBS: a morte só irá aparecer caso um jogador morrer por um outro jogador.
     
    créditos: Outro fórum, quem souber o nome só me falar.
     
     
    Espero ter ajudado
  10. Gostei
    narazaky recebeu reputação de Lumus em [TFS 1.0] Sistema de notificação   
    Para quem não sabe, o sistema de notificação serve para alertar o jogador e punir sem precisar dar ban* 
     
     
    *só insistir, ele será banido automaticamente, mas para isso terá que notificar 3 vezes. 
     
    primeiramente executa isso no seu banco de dados
    CREATE TABLE `account_not` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idacc` int(11) NOT NULL, `comment` varchar(255) NOT NULL, `not_by` int(11) NOT NULL, `not_at` bigint(20) NOT NULL, PRIMARY KEY (`id`,`idacc`) ); e depois isso
    ALTER TABLE accounts ADD qntnot INT(11) NOT NULL DEFAULT 0 Agora vai na pasta do seu servidor, abre o compat.lua e coloca isso:
    function getNots(name) local accountId = getAccountNumberByPlayerName(name) local resultId = db.storeQuery("SELECT `qntnot` FROM `accounts` WHERE `id` = " .. accountId .." LIMIT 1") if resultId ~= false then local nots = result.getDataInt(resultId, "qntnot") result.free(resultId) return nots end return 0 end function setNots(name, amount) return db:query("UPDATE `accounts` SET `qntnot` = ".. (getNots(name) + amount) .." WHERE `id` ="..getAccountNumberByPlayerName(name).."") end Feito o que foi falo acima, vai em talkaction/script e cria um arquivo em lua e coloca isso



     
     
    Se ele não tiver a função string.explode
    só colocar isso no global.lua
    depois do dofile
     



     
     
     
    Por fim vai em talkaction.xml e coloque isso:
    <talkaction words="/not" separator=" " script="NOMEDOARQUIVO.lua" /> Como usar
    /not nome,comentario (opcional), quantidade(opcional) /not nome @edit
    Erro de nao gravar na db, corrigido.
     
     
     
    Créditos:
    narazaky (eu)
  11. Gostei
    narazaky recebeu reputação de Makakovisk em [Spell] Espiritos do inferno   
    Testado no TSF 1.0
     
     
    Primeiramente vá em data/spell/scripts/attack e crie um arquivo em .lua e cole isso dentro dele:


      Em seguida vai em spells.xml e coloque isso:
     
  12. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Fix #6
    http://www.4shared.com/file/U4B0hoxqce/theforgottenserver.html
  13. Gostei
    narazaky deu reputação a tiroleivi em Instalando Gesior ACC + TFS 1.0   
    Neste vídeo eu irei mostrar como instalar o Gesior + TFS 1.0
     
    Xampp : Xampp 1.7.3
     Servidor : [10.51] Global Map
    WebSite : [2015] Gesior 2012 1.0 - V2
  14. Gostei
    narazaky deu reputação a jonhSS em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Versão x64 / Fix #2:
     
    > theforgottenserver.exe
     
    Creditos: Bruno Mineirinho
  15. Gostei
    narazaky deu reputação a tiroleivi em Erro ao Abrir Otserv Linux Ubuntu 14.04   
    Vamos lá a Distro eu peguei daqui >> http://www.tibiaking.com/forum/topic/34182-860-distro-04-linux-cast/
     
     
    A minha distro que estou tentando compila esta dando esse erro > http://www.tibiaking.com/forum/topic/53226-error-compilar-distro-linux-ubuntu-1404/
  16. Gostei
    narazaky deu reputação a tiroleivi em Erro ao Abrir Otserv Linux Ubuntu 14.04   
    mesmo removendo o -werror continua o mesmo erro cast....
  17. Gostei
    Aqui está >> TFS 1.0 Windows 64X <<
  18. Gostei
    narazaky deu reputação a tiroleivi em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Aqui está, ja com as DLLs > Executável <
  19. Gostei
    narazaky deu reputação a Nicrox em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Sua database ta faltando table account_bans
     
    Ta normal olha ai


  20. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Você deve colocar o otb na versão correspondente do rme, o otb do servidor, só fara efeito quando você abrir o servidor.
     
    Pode ser que alguns tiles, como as águas, dê uma alterada, mais é só trocar pelo mapa editor sem precisar alterar a versão...com um que esteja correto.
    Faça o teste primeiro e vê o que acontece
  21. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Vou testar para verificar se é problema no TFS. 
    https://github.com/gesior/Gesior2012/tree/TFS-1.0Mais esta versão que saiu foi fechada e não teve atualizações recentes, não garanto que esteja livre de bugs.
     
    Então cara, qual OS você usa?Se for Debian, precisa ser Debian 8.
     
    Ainda não verifiquei todos os detalhes, porém estarei testando!Fiquei 2 dias sem internet em casa, agora que voltou ao normal,
  22. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Não entendi '-'
     
    Vlw man Abs
     
    É verdade cara, atualiza para o Debian 8 (jessie), no google você encontra vários tutoriais, é bem simples
     
    Por nada amigo
     
    Tente este amigo:
    https://mega.co.nz/#!CBhV1YJL!7y0Tp_Q-nFImloDF78TxkjbEXI-Bl_m_Kfi7ItYj63s
     
    Há sim amigo, da uma olhada:
    https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu
  23. Gostei
    narazaky deu reputação a Fir3element em [10.90] Vanaheim Global Opensource - TFS 1.2   
    https://www.mediafire.com/?9h9zjfz7ulahcse
  24. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Cara, ficaria contente em ajudar agora, porém quando saí de casa estava com problema na internet (mais precisamente no telefone) e não consigo acessar minha máquina remotamente pois estou no trabalho.
    Mas, se ninguém puder lhe ajudar até lá, de noite eu faço upload para você!
     
    Obrigado por reportar amigo, vou verificar o que pode estar ocasionando isso.
     
    Pois é amigo, eu deixei o otb oficial para não haver problemas com os id's.
    Qualquer atualização de otb que for lançada eu atualizo para vocês.
     
    Você precisa ter uma conexão aberta com um banco MySQL e configurar o seu config.lua com estar informações.
    Caso não souber como faz, da uma olhadinha na seção de tutoriais que está cheio.
     
    Abraço!
  25. Gostei
    narazaky deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Um método diferente de agir. Escolhas diferentes, um projeto surpreendente, e o melhor é opensource. Sim, você pode ter acesso a este servidor que estou desenvolvendo em parceria com a Serversoft para você.

    Um servidor com uma mega estrutura para suportar seus jogadores online sem nenhum problema como: debug, bug de clonagem, instabilidade entre diversos outros dos servidores free's disponíveis para download nessa vasta internet tibiana.

    Uma inovação no ramo de OTservers, distribuindo não só a datapack como as sourcers e os sistemas, absolutamente tudo que você procura. Basta baixar, compilar... Mas eu não sei compilar. Não há problema nisso, o OTPanel da Serversoft faz tudo isso para você. Basta clicar num botão de "play" e ver a mágica acontecer.

    O projeto Vanaheim, foi criado com o intuito de ser inteiramente grátis para toda a comunidade. Um servidor no qual a diversão é o fator principal, um projeto com viabilidade absoluta por todos os tibianos.

    O projeto conta com uma área exclusiva no GitHub para que todos possam acompanhar a evolução do mesmo, dia a dia, diversas atualizações estarão disponíveis a todos. Desde uma action até uma modificação na source vocês terão acesso.

    O servidor conta com um mapa Global Full, quando eu digo full, quero dizer que está 99.99% do mapa completo, sem bugs entre outros.
    Um servidor que você escolhe a rate experience/skill que desejar, ele vai se adaptar! Você pode escolher se quer ou não que as quests tenham as missões originais 100%!

    E o melhor? Além do servidor estar disponível para download ele está online para quem quiser conhecer o projeto, ajudar de alguma forma e o melhor de tudo, se divertir.

    Venha se divertir: http://www.vanaheimglobal.com
     
    RATES
     
    Level 8 - 50: 300x
    Level 51 - 80: 200x
    Level 81 - 100: 150x
    Level 101 - 140: 90x
    Level 141 - 160: 70x
    Level 161 - 180: 60x
    Level 181 - 200: 50x
    Level 201 - 230: 40x
    Level 231 - 260: 30x
    Level 261 - 290: 20x
    Level 291 - 310: 15x
    Level 311 - 340: 10x
    Level 341 - 350: 8x
    Level 351 - 380: 6x
    Level 381 - 430: 4x
    Level 431 - 450: 2x
    Level 451+: 1x
     
     
    Skill: 40x
    Magic: 8x
    Loot: 3x
     
     
    EVENTOS
     
     
    Em Breve.
     
     
    IMAGENS
     
     
    Em Breve.
     
     
    GITHUB
     
     
    Para acompanhar e baixar o servidor atualizado, segue o link do nosso projeto no GitHub:
     

     
    DOWNLOADS
     
     
     
     
    Servidor
    Mapa
    Yasir
    Scan
     
    CRÉDITOS

    TFS Team
    Orts Project
    Bruno Minervino
     

Informação Importante

Confirmação de Termo