Ir para conteúdo

Sotten

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Negativo
    Sotten recebeu reputação de Storm em Weapon Critico - BOW   
    @up
  2. Gostei
    Sotten recebeu reputação de mullino em WEAPON RUNE CHARGES   
    Galera, não sei se é possivel mas eu precisava de uma runa pro meu OT que fizesse a seguinte função.
     
    Player compra a runa(ID2297) e ele da use nela em algumas weapons(ID8922, 8858, entre outras) ai essa weapon que ele deu use fica com uma carga de 10000 e hita 1000 de damage a mais. A cada hit que ele der com a weapon diminui 1 de carga.
     
    Se possível ficar escrito na weapon a contagem das cargas que são gastas: You enchanted this weapon: 9999 charges left.
     
    Damage tem que ser configurável ..
    @up alguem?
  3. Gostei
    Sotten deu reputação a QuebradaZN em Double Exp Potion Completa   
    Eu Uso Essa, Ela Mostra o Tempo que falta pra acabar, Achei ela super Completona! Gostei!
    Em Mods Coloque esse Arquivo!
    <?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 30, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 50}, costmana = {TRUE, mana = 300}, addrate = 50, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s)     local n = math.floor(s / 60)     s = s - (60 * n)     return n, s end CreatureEventChecker = function(event, ...) -- Colex     if isCreature(arg[1]) then    event(unpack(arg))     end end creatureEvent = function(event, delay, ...) -- Colex     addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo     return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="7440" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then     return doPlayerSendCancel(cid, "Voce ja ta Sob o Efeito da Potion.") end if configs.needpa and not isPremium(cid) then     return doPlayerSendCancel(cid, "Voce Precisar ser Premium Para Usar") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then     return doPlayerSendCancel(cid, "Voce Precisa ser " .. configs.needlvl.level .. " Para usar a Potion.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then     return doPlayerSendCancel(cid, "Voce Precisar ter " .. configs.costmana.mana .. " de Mana Para usar a Potion") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then     doRemoveItem(item.uid, 1) end   for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "Efeito Final da Pocao de EXP.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "O Efeito da Pocao vai acabar em "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 22, "Agora Voce Esta Recebendo mais EXP por Matar Monstros.") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time     if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then   doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100))   creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100)))   creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0)   for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do   local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60))   if #a < 4 then   a = string.sub(a,1,2) .. "0" .. string.sub(a, 3)   end   if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then   creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "O Efeito da Potion Termina em.")   end   creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "O Efeito da Potion Termina em "..a..".")   end     end return TRUE ]]></creaturescript> </mod> e nessa Parte Configure ela como desejado:
    configs = { time = 30, ---- TEMPO EM MINUTOS needpa = TRUE, --- NECESSITA DE PREMIUM ACCOUNT ? FALSE OU TRUE needlvl = {TRUE, level = 50}, --- LEVEL QUE MINIMO PARA USA-LÁ! costmana = {TRUE, mana = 300}, --- CUSTO DE MANA PARA USA-LÁ! addrate = 50, -- Exp que vai adicionar em % --- EXP QUE VAI DAR, 50 ESTA METADE! removeonuse = TRUE --- REMOVE A POTION APOS USAR!   Vá na Script e Cace a Linha: <action itemid="7440" event="script">  e Troque o ID Pelo item ou Potion Desejado! é Isso ae!   Se Ajudei Não Custa nada dar um REP né?
  4. Gostei
    Sotten deu reputação a Storm em (Resolvido)Action Corpse Box   
    function onUse(cid, item, frompos, item2, topos) local exx = math.random(1,100) local chance = 10 -- De 1 a 100 , porcentagem de vir um item raro local raros = {2150, 2160, 3000} -- Tabela com o ID dos itens raros if doRemoveItem(item.uid, 1) then doPlayerSendTextMessage(cid, 25, "You have recieved "..exx.." platinum coins!") doPlayerAddItem(cid, 2152, exx, true) doSendMagicEffect(getThingPos(cid), 27) if math.random(1, 100) <= chance then doPlayerAddItem(cid, raros[math.random(1, #raros)], 1) doPlayerSendTextMessage(cid, 25, "You have recieved a rare item") return true end return TRUE end end  
  5. Gostei
    Sotten deu reputação a Storm em TALKACTION CM   
    local blocked = {2150, 2155, 2180} -- ID dos itens não permitidos local group = 4 -- GROUP ID não permitido a usar o comando e criar os itens da tabela acima // 4 por exemplo , isso significa que nenhum GROUP que for igual a quatro ou menor que quatro seria permitido a criar os itens da tabela function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then id = getItemIdByName(t[1], false) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.") return true end end if isInArray(blocked, id) and getPlayerGroupId(cid) <= group then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce nao pode criar alguns itens especificos.") return true end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end
    Basta substituir sua script atual do /i por essa.
  6. Gostei
    Sotten deu reputação a Dwarfer em (Resolvido)[Pedido] NPC DA ITEM APENAS 1 VEZ   
  7. Gostei
    Sotten deu reputação a Tael em [PEDIDO]Item Exp   
    não sei se ta funcionando, se tiver créditos ao cosaki, só fiz o que ele disse.

    ali em preto vc poem o ID do item, e em vermelho poem o a quantidade de xp que vai ganhar por level.
  8. Gostei
    Sotten deu reputação a GiovaniRodrigo em [Pedido] Npc Que Teleporta Por Level   
    Crie um arquivo chamado James.lua na pasta data/npc/scripts e cole isso
     
    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {}   function onCreatureAppear(cid)                          npcHandler:onCreatureAppear(cid)                        end function onCreatureDisappear(cid)                       npcHandler:onCreatureDisappear(cid)                     end function onCreatureSay(cid, type, msg)                  npcHandler:onCreatureSay(cid, type, msg)                end function onThink()                                      npcHandler:onThink()                                    end   local cfg = {           toPos = {x=359, y=1667, z=7}, -- Posição que o jogador sera teleportado           level = 170, -- Level necessário para ser teleportado           price = 50 -- Dinheiro a ser cobrado para ser teleportado }   function creatureSayCallback(cid, type, msg)           if(not npcHandler:isFocused(cid)) then                     return false           end           local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid             if msgcontains(msg, 'rocket') then                     selfSay('You are sure you want to go? You can not return.', cid)                     talkState[talkUser] = 1           elseif talkState[talkUser] == 1 then                     if msgcontains(msg, 'yes') then                               if getPlayerLevel(cid) >= cfg.level then                                         if doPlayerRemoveMoney(cid, cfg.price) then                                                   doTeleportThing(cid, cfg.toPos)                                                   talkState[talkUser] = 0                                         else                                                   selfSay('You don\'t have enough money.', cid)                                         end                               else                                         selfSay('You need level having above '.. cfg.level ..'.', cid)                               end                     elseif msgcontains(msg, 'no') then                               selfSay('Skirt here!', cid)                     end           end end   npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Configurando



     
    Crie um arquivo chamado Kiru.xml na pasta data/npc e cole isso
     
    <?xml version="1.0" encoding="UTF-8"?> <npc name="James" script="data/npc/scripts/James.lua" walkinterval="25" floorchange="0" access="5" level="1" maglevel="1">           <health now="150" max="150"/>           <look type="128" head="114" body="12" legs="57" feet="114" addons="0" />           <parameters>                     <parameter key="message_greet" value="Hello, |PLAYERNAME|! Would like to travel to {rocket} quest?"/>                     <parameter key="message_walkaway" value="Hey Hey, where you go ?"/>                     <parameter key="message_farewell" value="Bye bye!"/>           </parameters> </npc>  
    Não testado.
    Dúvidas? Me avise.
     
    Att.
    Giovani Rodrigo
  9. Gostei
    Sotten deu reputação a Wise em Como coloca level para entrar na porta?   
    leveldoor.lua (data\actions\scripts)
    local level = 12000 function onUse(cid, fromPos, toPos) return getPlayerLevel(cid) >= level and doTeleportThing(cid, toPos) or doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Only players level '..level..' or higher can open this door.') and false end


    actions.xml (data\actions)
    <action actionid="XXXXX" event="script" value="leveldoor.lua"/>
    Basta adicionar à porta, o actionId estipulado na tag.
  10. Curtir
    Você pode botar o level pelo RME.
    Exemplo:

    Se você quiser que só level 30 passe pela door.
    Action ID: 1030

    E sobre a quest, é só procurar no TibiaKing, tem vários tutorias.
  11. Gostei
    Sotten deu reputação a Qwizer em OTHire RLMAP 7.40 - Empera Server + PortHope + Spr & Dat + WebSite   
    Empera Server 7.40
     
     

     

     

     

     
     
    Todas as Quest (Andamento)
    Rookgaard Quests 1 Bear Room Quest  2 Captain Iglues Treasure Quest  3 Combat Knife Quest  4 Doublet Quest  5 Dragon Corpse Quest  6 Goblin Temple Quest  7 Katana Quest  8 Minotaur Hell Quest  9 Rapier Quest  10 Short Sword Quest  11 Small Axe Quest  12 Studded Legs Quest  13 Studded Shield Quest  14 Torch Quest Mainland quests  1 Alawar's Vault Quest  2 Banuta Quest  3 Barbarian Axe Quest  4 Battle Axe Quest  5 Behemoth Quest  6 Berserker Treasure Quest  7 Black Knight Quest  8 Blood Herb Quest  9 Bright Sword Quest  10 Circle Room Quest  11 Crusader Helmet Quest  12 Dark Armor Quest  13 Dead Archer Quest  14 Deeper Fibula Quest  15 Demon Helmet Quest  16 Demona Quest  17 Devil Helmet Quest  18 Double Hero Quest  19 Draconia Quest  20 Edron Goblin Quest  21 Elephant Tusk Quest  22 Elvenbane Quest  23 Emperor's Cookies Quest  24 Explorer Brooch Quest  25 Family Brooch Quest  26 Fanfare Quest  27 Fire Axe Quest  28 Geomancer Quest Quest  29 Ghoul Room Quest  30 Giant Smithhammer Quest  31 Griffin Shield Quest  32 Helmet of the Ancients Quest  33 Hydra Egg Quest  34 Iron Hammer Quest  35 Iron Helmet Quest  36 Isle of the Mists Quest  37 Life Ring Quest  38 Longsword Quest  39 Mad Mage Room Quest  40 Medusa Shield Quest  41 Mintwallin Cyclops Quest  42 Naginata Quest  43 Noble Armor Quest  44 Orc Fortress Quest  45 Orc Shaman Quest  46 Ornamented Shield Quest  47 Panpipe Quest  48 Paradox Tower Quest  49 Parchment Room Quest  50 Plate Armor Quest  51 Poison Daggers Quest  52 Postman Quest  53 Power Bolts Quest  54 Power Ring Quest  55 Queen of the Banshees Quest  56 Ring Quest  57 Sam's Old Backpack Quest  58 Scale Armor Quest  59 Serpentine Tower Quest  60 Shaman Treasure Quest  61 Silver Brooch Quest  62 Six Rubies Quest  63 Skull of Ratha Quest  64 Small Ruby Quest  65 Spike Sword Quest  66 Stealth Ring Quest  67 Steel Helmet Quest  68 Thais Lighthouse Quest  69 The Annihilator Quest  70 The Desert Dungeon Quest  71 The Djinn War Quest  72 The Explore's Society Quest  73 The White Raven Monastery Quest  74 Throwing Star Quest  75 Time Ring Quest  76 Triangle Tower Quest  77 Triple Ultimate Healing Rune Quest  78 Troll Cave Quest  79 Vampire Shield Quest  80 Voodoo Doll Quest  81 Waterfall Quest  82 Wedding Ring Quest  
    Creditos
    Peonso - Qwizer - Slawkens - TwistedScorpio Links Uteis
  12. Curtir
    Sotten recebeu reputação de mikaelkelvin em Itens Por Vocação   
    Bom dia
     
    Abra a pastadoseuot/data/weapons/weapons.xml
     
    Ctrl + F e procure por <!-- Axes --> e adicione a seguinte tag.
     
    <melee id="ID ITEM" level="35" unproperly="1" function="default"> <vocation name="Knight"/> <vocation name="Elite Knight"/> <vocation name="3ª Vocation"/>  
    ID ITEM = Coloque o ID do seu axe.
    vocation name = Coloque as vocações desejadas.
    35 = Level para usar o item.
  13. Gostei
    Sotten deu reputação a Tibia Dr em Comandos rapidos RME   
    Ola pessoal, trousse todos os comandos rapidos que conheço do RME :
    Ctrl + Q = fecha o Remere's map editor
    Ctrl + W = deixa o floor a baixo invisível
    Ctrl + E = deixa o mapa invisível
    Ctrl + T = abre o editor de cidades (serve para editar o nome da cidade e aonde fica o templo “local onde o personagem renasce após a morte”)
    Ctrl + Y = vai para frente (ex: após usar Ctrl + Z)
    Ctrl + O = procurar para abrir um arquivo (open file)
    Ctrl + P = abre as propriedades do mapa
    Ctrl + S = salva o mapa
    Ctrl + F = procura itens (pela id ou nome)
    Ctrl + G = vai para o local escolhido (definido por: X/Y/Z
    Ctrl + Z = volta uma coisa
    Ctrl + C = copia o local selecionado
    Ctrl + V = cola o local selecionado (após usar Ctrl + C)
    Ctrl + N = cria um novo projeto
    Q = deixa o floor abaixo mais escuro
    W = abre palette de waypoints
    E = desativa visão de casa
    R = abre palette de RAW
    T = abre palette de Terrain
    I = abre palette de items
    O = marca em vermelho os locais onde o personagem não consegue passar
    S = aparece ou desaparece o Spawn time flame (fogo que faz monstros renascerem)
    D = abre palette doodad
    F = faz os animais desaparecerem
    G = Deixa objetos transparentes
    H = abre house palette
    J = abre o itens selecionado no RAW palette (usando id ou nome)
    C = abre palette de creatures
    V = marca em azul todos os detalhes do mapa
    M = abre o mini mapa de navegação


    Espero que não seja inutil, e tambem espero que gostem, vlw TibiaKing!
  14. Gostei
    Sotten deu reputação a Danihcv em (Resolvido)Mudar tempo da white skull   
    Pra ficar 6 minutos coloque assim:
    whiteSkullTime = 6 * 60 * 1000 Pra entender é simples, o seu server trabalha com milisegundos, ou seja, 1000 equivale a 1 segundo. 6 minutos em segundos é 360, ja em milisegundos é 360000 (que é o resultado da multiplicação 6 * 60 * 1000).
  15. Gostei
    Sotten deu reputação a Qwizer em (Resolvido)NPC QUE TROCA VOCAÇÃO_CONFIG HP/MANA   
    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid pid = getPlayerGUID(cid) //data/xml/vocations.xml -- gainhp HP e gainmana MP local mageMP = Valor local mageHP = Valor local kinaMP = Valor local kinaHP = Valor local palaMP = Valor local palaHP = Valor if(msgcontains(msg, 'sorcerer') or msgcontains(msg, 'sorc')) then selfSay('Deseja virar {Sorcerer} por 10 Lethal Orbs?', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if(getPlayerItemCount(cid, 7722) >= 10) then doPlayerRemoveItem(cid, 7722, 10) doPlayerSetVocation(cid,1) setCreatureMaxHealth(cid, getPlayerLevel(cid)*mageHP) setCreatureMaxMana(cid, getPlayerLevel(cid)*mageMP) doRemoveCreature(cid)  db.executeQuery("UPDATE `player_skills` SET `value` = ".. 10 ..", count = ".. 0 .." WHERE `player_id` = ".. pid ..";")  db.executeQuery("UPDATE `players` SET `maglevel` = ".. 0 ..", `manaspent` = ".. 0 .." WHERE `id` = ".. pid ..";") selfSay('Vocação trocada com sucesso , Agora você é um Sorcerer.', cid) else selfSay('Você não tem {Lethal Orbs} Suficientes.', cid) end talkState[talkUser] = 0 elseif(msgcontains(msg, 'druid') or msgcontains(msg, 'druida')) then selfSay('Deseja virar {Druid} por 10 Lethal Orbs?', cid) talkState[talkUser] = 2 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 2) then if(getPlayerItemCount(cid, 7722) >= 10) then doPlayerRemoveItem(cid, 7722, 10) doPlayerSetVocation(cid,2) setCreatureMaxHealth(cid, getPlayerLevel(cid)*mageHP) setCreatureMaxMana(cid, getPlayerLevel(cid)*mageMP) doRemoveCreature(cid)  db.executeQuery("UPDATE `player_skills` SET `value` = ".. 10 ..", count = ".. 0 .." WHERE `player_id` = ".. pid ..";")  db.executeQuery("UPDATE `players` SET `maglevel` = ".. 0 ..", `manaspent` = ".. 0 .." WHERE `id` = ".. pid ..";") selfSay('Vocação trocada com sucesso , Agora você é um Druid.', cid) else selfSay('Você não tem {Lethal Orbs} Suficientes.', cid) end talkState[talkUser] = 0 elseif(msgcontains(msg, 'Knight') or msgcontains(msg, 'kina')) then selfSay('Deseja virar {knight} por 10 Lethal Orbs?', cid) talkState[talkUser] = 3 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 3) then if(getPlayerItemCount(cid, 7722) >= 10) then doPlayerRemoveItem(cid, 7722, 10) doPlayerSetVocation(cid,4) setCreatureMaxHealth(cid, getPlayerLevel(cid)*kinaHP) setCreatureMaxMana(cid, getPlayerLevel(cid)*kinaMP) doRemoveCreature(cid)  db.executeQuery("UPDATE `player_skills` SET `value` = ".. 10 ..", count = ".. 0 .." WHERE `player_id` = ".. pid ..";")  db.executeQuery("UPDATE `players` SET `maglevel` = ".. 0 ..", `manaspent` = ".. 0 .." WHERE `id` = ".. pid ..";") selfSay('Vocação trocada com sucesso , Agora você é um Knight.', cid) else selfSay('Você não tem {Lethal Orbs} Suficientes.', cid) end talkState[talkUser] = 0 elseif(msgcontains(msg, 'paladin') or msgcontains(msg, 'pala')) then selfSay('Deseja virar {Paladin} por 10 Lethal Orbs?', cid) talkState[talkUser] = 4 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 4) then if(getPlayerItemCount(cid, 7722) >= 10) then doPlayerRemoveItem(cid, 7722, 10) doPlayerSetVocation(cid,3) setCreatureMaxHealth(cid, getPlayerLevel(cid)*palaHP) setCreatureMaxMana(cid, getPlayerLevel(cid)*palaMP) doRemoveCreature(cid)  db.executeQuery("UPDATE `player_skills` SET `value` = ".. 10 ..", count = ".. 0 .." WHERE `player_id` = ".. pid ..";")  db.executeQuery("UPDATE `players` SET `maglevel` = ".. 0 ..", `manaspent` = ".. 0 .." WHERE `id` = ".. pid ..";") selfSay('Vocação trocada com sucesso , Agora você é um Paladin.', cid) else selfSay('Você não tem {Lethal Orbs} Suficientes.', cid) end talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())   
  16. Curtir
    Sotten deu reputação a Storm em (Resolvido)SCRIPT FISHING OT/EXAUST   
    exhaustion = { check = function (cid, storage) if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then return false end return getPlayerStorageValue(cid, storage) >= os.time(t) end, get = function (cid, storage) if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then return false end local exhaust = getPlayerStorageValue(cid, storage) if(exhaust > 0) then local left = exhaust - os.time(t) if(left >= 0) then return left end end return false end, set = function (cid, storage, time) setPlayerStorageValue(cid, storage, os.time(t) + time) end, make = function (cid, storage, time) local exhaust = exhaustion.get(cid, storage) if(not exhaust) then exhaustion.set(cid, storage, time) return true end return false end } local configg = { waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4820, 4821, 4822, 4823, 4824, 4825} } local monsters = { {'rat'}, {'rabit'} } local numero = 2 -- numero de monstros que você colocou /\ local number = 100 -- < quanto maior, mais dificil de pescar um monstro 175000 function onUse(cid, item, frompos, item2, topos) local config = { rateSkill = getConfigValue("rateSkill"), allowFromPz = false, useWorms = false } local waittime = 1.5 -- Tempo de exhaustion local storage = 250002 if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "You are exhausted") return false end exhaustion.set(cid, storage, waittime) if isInArray(configg.waterIds, item2.itemid) == FALSE then return false end local chance = math.random(1,numero+number) -- if chance >= 1 and chance <= numero then create = monsters[chance][1] doSummonCreature(create, getCreaturePosition(cid)) doSendMagicEffect(topos, 11) doCreatureSay(cid, "A Big Monster Has Become Very Disgruntled Due To You !", TEXTCOLOR_BLUE) else doSendMagicEffect(topos, CONST_ME_LOSEENERGY) end if((config.allowFromPz or not getTileInfo(getCreaturePosition(cid)).protection) and item2.itemid ~= 493 and math.random(1, (100 + (getPlayerSkill(cid, SKILL_FISHING) / 10))) < getPlayerSkill(cid, SKILL_FISHING) and (not config.useWorms or (getPlayerItemCount(cid, ITEM_WORM) > 0 and doPlayerRemoveItem(cid, ITEM_WORM, 1)))) then doPlayerAddSkillTry(cid, SKILL_FISHING, config.rateSkill) doSendMagicEffect(topos, CONST_ME_LOSEENERGY) else doSendMagicEffect(topos, CONST_ME_LOSEENERGY) end return true end  
  17. Curtir
    Sotten deu reputação a Storm em TALKACTION SKILL/PVP PLAYER   
    -- <talkaction words="!info" event="script" value="info.lua"/> function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end function onSay(cid, words, param) local kill = 65432 -- -- Storages de kill e death , respectivamente local death = 23456 -- local a = string.explode(param, ",") local b = getPlayerByNameWildcard(a[1]) if (param == '') then doSendMagicEffect(getCreaturePosition(cid), 2) return doPlayerSendTextMessage(cid, 25, "Digite !Player [nome do player]") end if not b then doSendMagicEffect(getCreaturePosition(cid), 2) return doPlayerSendTextMessage(cid, 25, "Player não encontrado ou Offline") end doShowTextDialog(cid, 2175,"Name = [ ".. getCreatureName(b) .." ] \n \n Level = [".. getPlayerLevel(b) .."] \n \n MagicLevel = [ ".. getPlayerMagLevel(b) .." ] \n \n Sword = [".. getPlayerSkillLevel(b, 2) .."]\n \n Fist = [".. getPlayerSkillLevel(b, 0).."]\n \n Club = [".. getPlayerSkillLevel(b, 1).."]\n \n Axe = [".. getPlayerSkillLevel(b, 3).."] \n \n Distance = [".. getPlayerSkillLevel(b, 4).."] \n \n Shield = [".. getPlayerSkillLevel(b, 5).."] \n \n Fishing = [".. getPlayerSkillLevel(b, 6).."] \n \n -- PVP -- \n \n Kills/Deaths = [".. getDeathsAndKills(b, "kill") .."/".. getDeathsAndKills(b, "death") .."]") return false end Sobre contar deaths de monsters eu não consigo , não está no meu conhecimento.
  18. Curtir
    Sotten deu reputação a Fausto32 em [Resolvido] Como colocar o nome das magias em laranja?   
    No seu config.lua vai ter essa linha:
     

     emoteSpells = false  
    Apenas mude onde tá false para true.
  19. Curtir
    Sotten deu reputação a Kimoszin em como colocar potions e spells (mostrar o tanto que heala)   
    config.lua

    showHealingDamage = true

Informação Importante

Confirmação de Termo