Ir para conteúdo

Vodkart

Herói
  • Total de itens

    3406
  • Registro em

  • Última visita

  • Dias Ganhos

    113

Tudo que Vodkart postou

  1. Vodkart

    Presente

    ui mto bom esse seu set gostei mesmo da iluminação delas mais n precisava cara mesmo assim obrigado pelo set *-* abraços
  2. broadvip.lua vermelho: Numero da sua Storage talkactions.xml
  3. http://www.xtibia.com/forum/topic/130521-resolvido-como-eu-crio-animaes/
  4. post sem relação com o tópico, são considerador flood,pois foge do contexto principal do tópico. Evitem esses tipos de comentários obrigado.
  5. ele vai ficar falando a frase por um determinado tempo? ou ele quando usa o anel fica falando a frase até tira o anel? ou a frase só é enviada quando ele usa ou retira o anel?
  6. Vodkart

    Assassin Creed

    retired
  7. Vodkart

    [ Monster ] Whatafuck

    Topico fechado. luisfe23 dando uma de moderador? iusHuihIUHsiuhiushuuiHSUI
  8. hmm bom essa linha doSendAnimatedText(getPlayerPosition(cid), "Aaaah...", TEXTCOLOR_RED) acho que tbm dava pra bota function onCastSpell(cid, var) doCreatureSay(cid, 'Ahhhhh...', TALKTYPE_ORANGE_1) return doCombat(cid, combat, var) end
  9. Bom que eu sei cara da para fazer com globalevents,talkactions,actions sim
  10. Vodkart

    [Duvida]Sanada

    Topico sobre duvidas não são fechados brother,são fontes de informações
  11. Vodkart

    [Jogo]

    não
  12. creditos: jestemPolakiem Explicação: está Potion contem 5 cargas,que quando usada ela durante 30 segundos regenera do player Mana e Hp. em NPC poderá vir mais carga. actions\script crie um arquivo.lua e renomeie para regenera.lua function onUse(cid, item, fromPos, itemEx, toPos) local function doRegeneration(cid, formula, count) doCreatureAddHealth(cid, formula.health) doCreatureAddMana(cid, formula.mana) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) if (count ~= 1) then addEvent(doRegeneration, 1000, cid, formula, count - 1) end return TRUE end local tempo = 30 -- tempo que a potion ira ficar healando (tempo em segundos) local storage = 11148 -- não mexa aqui local exhaust = 30 -- Tempo para player poder usar o item novamente! (tempo em segundos) local form = {health = getCreatureMaxHealth(cid) * 0.2 + 50, mana = getCreatureMaxMana(cid) * 0.15 + 40} if (getPlayerStorageValue(cid, storage) <= os.time()) then doRegeneration(cid, form, tempo) doChangeTypeItem(item.uid, item.type - 1) setPlayerStorageValue(cid, storage, os.time()+exhaust) else doPlayerSendCancel(cid, "Sorry, you only can again use this item after "..exhaust.." seconds.") end return TRUE end actions.xml adicione a tag: <action itemid="7443" event="script" value="regenera.lua" override="yes"/> em items.xml Substitua: <item id="7443" article="a" name="bullseye potion"> <attribute key="weight" value="200" /> <attribute key="description" value="Drinking this potion increases temporarily your distance skill while decreasing your defense." /> </item> por: <item id="7443" article="a" name="Regeneração Potion" override="yes"> <attribute key="description" value="Poção de regenerar sua vida e mana em um determinado tempo."/> <attribute key="decayTo" value="7636"/> <attribute key="charges" value="5"/> <attribute key="showcharges" value="1"/> <attribute key="weight" value="300"/> </item>
  13. Vodkart

    [Duvida]Sanada

    usa então vermelho: ID DA SUA VOCAÇÃO
  14. Vodkart

    [Duvida]Sanada

    retirado
  15. Vodkart

    [Jogo]

    porque a perseguida é minha :X
  16. Vodkart

    [Jogo]

    mais respeito com a minha namorada ai flw
  17. estranho eu testei aqui e isso não acontece tenta adc if (not isPremium(cid)) then doPlayerSendCancel(cid, "Você nao tem premium account.") return TRUE end alguns servidores a stamina tbm é influenciada pelo premium
  18. Vodkart

    [Jogo]

    :present: :aaskull: :withstupidsmiley: :orangeperson: :greenperson: :redperson: :antivirus:
  19. luisfe23 4458638 Sherman I
  20. config = { coin = 42*60, effect = 53, text = "Stamina Recuperada!", text2 = "Sua stamina está full!" } function onUse(cid, item, frompos, item2, topos) if getPlayerStamina(cid) ~= config.coin then doPlayerSetStamina(cid, config.coin) doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid,19,config.text) doSendMagicEffect(getPlayerPosition(cid), config.effect) else doPlayerSendTextMessage(cid,22,config.text2) end return TRUE end
  21. amigo double post não é permitido,porque é considera FLOOD.e se for comprovado que o acto é proposital poderá ser alertado. peço que tenha mais calma e cuidado quando for postar,esse tipo de script é avançado e não é muito facil de faze-lo então aguarde até que alguem possa entrega-lo obrigado.
  22. fiz pra vc só alterar o item ali {2160,1} Vermelho: ID do item azul: Quantidade do item function onSay(cid, words, param, channel) local cfg = { ["first citizen addon"] = { outfit = { male = 128, female = 136, addon = 1, storage = 11001 }, items = { {2160,1} } }, ["second citizen addon"] = { outfit = { male = 128, female = 136, addon = 2, storage = 11002 }, items = { {2160,1} } }, ["first hunter addon"] = { outfit = { male = 129, female = 137, addon = 1, storage = 11003 }, items = { {2160,1} } }, ["second hunter addon"] = { outfit = { male = 129, female = 137, addon = 2, storage = 11004 }, items = { {2160,1} } }, ["second mage addon"] = { outfit = { male = 130, female = 138, addon = 1, storage = 11005 }, items = { {2160,1} } }, ["second mage addon"] = { outfit = { male = 130, female = 138, addon = 2, storage = 11006 }, items = { {2160,1} } }, ["first knight addon"] = { outfit = { male = 131, female = 139, addon = 1, storage = 11007 }, items = { {2160,1} } }, ["second knight addon"] = { outfit = { male = 131, female = 139, addon = 2, storage = 11008 }, items = { {2160,1} } }, ["first nobleman addon"] = { outfit = { male = 132, female = 140, addon = 1, storage = 11009 }, items = { {2160,1} } }, ["second nobleman addon"] = { outfit = { male = 132, female = 140, addon = 2, storage = 11010 }, items = { {2160,1} } }, ["first summoner addon"] = { outfit = { male = 133, female = 141, addon = 1, storage = 11011 }, items = { {2160,1} } }, ["second summoner addon"] = { outfit = { male = 133, female = 141, addon = 2, storage = 11012 }, items = { {2160,1} } }, ["first warrior addon"] = { outfit = { male = 134, female = 142, addon = 1, storage = 11013 }, items = { {2160,1} } }, ["second warrior addon"] = { outfit = { male = 134, female = 142, addon = 2, storage = 11014 }, items = { {2160,1} } }, ["first barbarian addon"] = { outfit = { male = 147, female = 143, addon = 1, storage = 11015 }, items = { {2160,1} } }, ["second barbarian addon"] = { outfit = { male = 147, female = 143, addon = 2, storage = 11016 }, items = { {2160,1} } }, ["first druid addon"] = { outfit = { male = 148, female = 144, addon = 1, storage = 11017 }, items = { {2160,1} } }, ["second druid addon"] = { outfit = { male = 148, female = 144, addon = 2, storage = 11018 }, items = { {2160,1} } }, ["first wizard addon"] = { outfit = { male = 149, female = 145, addon = 1, storage = 11019 }, items = { {2160,1} } }, ["second wizard addon"] = { outfit = { male = 149, female = 145, addon = 2, storage = 11020 }, items = { {2160,1} } }, ["first oriental addon"] = { outfit = { male = 150, female = 146, addon = 1, storage = 11021 }, items = { {2160,1} } }, ["second oriental addon"] = { outfit = { male = 150, female = 146, addon = 2, storage = 11022 }, items = { {2160,1} } }, ["first pirate addon"] = { outfit = { male = 151, female = 155, addon = 1, storage = 11023 }, items = { {2160,1} } }, ["second pirate addon"] = { outfit = { male = 151, female = 155, addon = 2, storage = 11024 }, items = { {2160,1} } }, ["first assassin addon"] = { outfit = { male = 152, female = 156, addon = 1, storage = 11025 }, items = { {2160,1} } }, ["second assassin addon"] = { outfit = { male = 152, female = 156, addon = 2, storage = 11026 }, items = { {2160,1} } }, ["first beggar addon"] = { outfit = { male = 153, female = 157, addon = 1, storage = 11027 }, items = { {2160,1} } }, ["second beggar addon"] = { outfit = { male = 153, female = 157, addon = 2, storage = 11028 }, items = { {2160,1} } }, ["first shaman addon"] = { outfit = { male = 154, female = 158, addon = 1, storage = 11029 }, items = { {2160,1} } }, ["second shaman addon"] = { outfit = { male = 154, female = 158, addon = 2, storage = 11030 }, items = { {2160,1} } }, ["first norseman addon"] = { outfit = { male = 251, female = 252, addon = 1, storage = 11031 }, items = { {2160,1} } }, ["second norseman addon"] = { outfit = { male = 251, female = 252, addon = 2, storage = 11032 }, items = { {2160,1} } }, ["first nightmare addon"] = { outfit = { male = 268, female = 269, addon = 1, storage = 11033 }, items = { {2160,1} } }, ["second nightmare addon"] = { outfit = { male = 268, female = 269, addon = 2, storage = 11034 }, items = { {2160,1} } }, ["first jester addon"] = { outfit = { male = 273, female = 270, addon = 1, storage = 11035 }, items = { {2160,1} } }, ["second jester addon"] = { outfit = { male = 273, female = 270, addon = 2, storage = 11036 }, items = { {2160,1} } }, ["first brotherhood addon"] = { outfit = { male = 278, female = 279, addon = 1, storage = 11037 }, items = { {2160,1} } }, ["second brotherhood addon"] = { outfit = { male = 278, female = 279, addon = 2, storage = 11038 }, items = { {2160,1} } }, ["first demon hunter addon"] = { outfit = { male = 289, female = 288, addon = 1, storage = 11039 }, items = { {2160,1} } }, ["second demon hunter addon"] = { outfit = { male = 289, female = 288, addon = 2, storage = 11040 }, items = { {2160,1} } }, ["first yalaharian addon"] = { outfit = { male = 325, female = 324, addon = 1, storage = 11041 }, items = { {2160,1} } }, ["second yalaharian addon"] = { outfit = { male = 325, female = 324, addon = 2, storage = 11042 }, items = { {2160,1} } }, ["first warmaster addon"] = { outfit = { male = 335, female = 336, addon = 1, storage = 11043 }, items = { {2160,1} } }, ["second warmaster addon"] = { outfit = { male = 335, female = 336, addon = 2, storage = 11044 }, items = { {2160,1} } } } local v, removeItems = cfg[param], 0, 0 if(param == "") then doPlayerSendCancel(cid, "Command requires param.") return true end if (not isPremium(cid)) then doPlayerSendCancel(cid, "Você nao tem premium account.") return true end if(getPlayerStorageValue(cid, v.outfit.storage) == -1) then for i = 1, #v.items do if(getPlayerItemCount(cid, v.items[i][1]) >= v.items[i][2]) then removeItems = removeItems+1 end end if(removeItems == #v.items) then if(getPlayerSex(cid) == 1) then doPlayerAddOutfit(cid, v.outfit.male, v.outfit.addon) elseif(getPlayerSex(cid) == 0) then doPlayerAddOutfit(cid, v.outfit.female, v.outfit.addon) end for i = 1, #v.items do doPlayerRemoveItem(cid, v.items[i][1], v.items[i][2]) end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você recebeu uma nova outfit!") doSendMagicEffect(getThingPos(cid), CONST_ME_FIREWORK_YELLOW) setPlayerStorageValue(cid, v.outfit.storage, 1) else for i = 1, #v.items do doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "você precisa " .. v.items[i][2] .. "x " .. getItemNameById(v.items[i][1]) .. " para comprar a outfit.") end end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Você ja tem está outfit.") end return true end
  23. então vai adicionando... exemplo: local cfg = { ["first nightmare addon"] = { outfit = { male = 273, female = 270, addon = 1, storage = 11018 }, items = { {9693,1} } }, ["second nightmare addon"] = { outfit = { male = 273, female = 270, addon = 2, storage = 11019 }, items = { {9693,1} } }, ["first citizen addon"] = { outfit = { male = 128, female = 136, addon = 1, storage = 11020 }, items = { {9693,1} } }, ["second citizen"] = { outfit = { male = 128, female = 136, addon = 2, storage = 11021 }, items = { {9693,1} } } }
  24. baixa um servidor diferente da mesma versão pegue o distro dele(executavel)e só muda as configuraçoes la pelo config.lua como mapName = "Baiak Yurots" para mapName = "SEU MAPA" tbm nao sei mto a respeito
  25. não está correto ele acusa que o jogador já tem a storage ou seja dizendo que ja recebeu os dias de premium account e vc tbm uso 2 else sendo que voce soh pode usar um "else" quando abre um "if" exemplo: if doPlayerAddPremiumDays(cid, 10) else doPlayerSendTextMessage(cid,22,"lalala.") end e não if doPlayerAddPremiumDays(cid, 10) else doPlayerSendTextMessage(cid,22,"lalala.") else doPlayerSendTextMessage(cid,22,"lelele.") end sendo que ele só vai executa a primeira funçao que no caso foi "lalala" e nunca vai executa o "lelele"
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...