Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''talk''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

Encontrado 8 registros

  1. queria um exiva por talkaction, que exivaria uma posiçao deerminada por mim exemplo eu boto a pos 500,500,6 e quando usar o comando !procurar, seria dado um exiva nessa posiçao, mostrando para que lado ela esta, etc
  2. Olá xTibianos, eu tenho uma dúvida pequena, queria saber se existe alguma função onde o player fica parado quando executa a spell/talkaction, e que esse tempo seja configurável, existe algo assim?
  3. Olá boa tarde; Gostaria de uma Talk ou algo do tipo que sacassem os pontos do site e depositassem eles. Exemplo: - Cabei de receber meus pontos e tem 100, ai in-game o player falaria !sacar 90 ai o comando sacaria esses 90 e diria o que ainda tem no site. Exemplo da mensagem: Você ainda possui 10 premium points em sua conta no shopping. - O mesmo server para depositar, o jogador não gastou os 90 e gostaria de guarda e não fica no deposito nem carregando com ele.. ai ele falaria !depositar 5, depositaria e ainda falava o seu saldo no site que seria 15. Exemplo da mensagem: Você acabou de depositar 5 premium points no shopping. - Para ver o saldo no caso o comando seria !saldo, e assim mostraria o total que ele tem no shop do site que é 15. Exemplo da mensagem: Seu saldo no shopping atual é de 15 Premium points. Agradeçeria muito, se tiver algum tutorial aqui do tipo, peço que me mandem o link por favor e obrigado desde já pela ajuda. obs: Espero ter me expressado bem nestas informações.
  4. Alguem me explica por que esse script nao funciona? Sim, a tag esta correta e nao apresenta nenhum erro.
  5. Bom, eu queria um comando que a gente desse em um player, pode ser com /ban nickname que tirasse 20% do level do player (parecido com o Bronson server só que em vez de 10% 20% e banisse por 1 dia apenas. por que meu ot é meio de war. Se eu for banir por 7 dias eles não vão entrar mais. E se tiver também quando o player for banido aparecer uma mensagem falando: O jogar (nickame) Foi banido por 1 dia e perdeu 20% dos seus leveis. Obrigado pessoal do xtibia! vocês tem me ajudado bastante! ^^
  6. Iae galera !! hoje trago um script muito interessante adicionar premium por action ao dar use num item e comprar o item por 1 buyitem então vamos la va em data / talkactions / scripts / e ponha o nome de algum arquivo para premium e ponha isto la dentro function onSay(cid, words, param) local itens = { ["santa doll"] = {id = 6567, preco = 2000, count = 1 }, ["teddy bear"] = {id = 6568, preco = 1000, count = 1 }, ["jester doll"] = {id = 9663, preco = 500, count = 1 } } local param = string.lower(param) if (param == "lista") then local str = "" str = str .. "itens :\n\n" for name, preco in pairs(itens) do str = str..name.."\n" end str = str .. "" doShowTextDialog(cid, 7529, str) return TRUE end if not itens[param] or param == "" or not param then return doPlayerSendCancel(cid,"Desculpe esse item nao existe") end if itens[param] and doPlayerRemoveMoney(cid,itens[param].preco) then doPlayerAddItem(cid,itens[param].id,itens[param].count) doPlayerSendTextMessage(cid,27,"Parabéns Vc comprou 1 item") end return TRUE end <talkaction words="!buy" event="script" value="itens.lua"/> dps em data / actions / scripts / ponha o nome de algum arquivo de premium e adicionar isto la dentro --((Script By Skylight Xtibia.com))-- function onUse(cid, item) if doRemoveItem(item.uid, 1) then end if item.itemid == 6567 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 30 dias de premium") return true end if item.itemid == 6568 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 15 dias de premium") return true end if item.itemid == 9693 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 10 dias de premium") end return true end dps em actions.xml <action itemid="6567" script="premium.lua"/> <action itemid="6568" script="premium.lua"/> <action itemid="9693" script="premium.lua"/> Então e so isso espero que gostem e se puder nao custara 1 rep + Créditos TnTSlin 30 %(Pelo script do buy) SkyLigh 70 % (Pelo Script Do Action E A Ideia E Adicionar A Lista no script do buy)
  7. Opa fala xtibia !! venho trazer um script !! que o player compra premium e tambem pode vender a premium entao vamos !! primeiro va em data / talkacions / scripts / e renome qalqer arquivo.lua para premiumpp e add isso tudo la dentro e dps em talkactions.xml add essa tag la entao o script funciona da seguinte maneira !! o player fala !buypremium ai ele recebe tantos dias de premium que vc que escolhe !! dps se ele n qerer mas a premium ele vende !! ai voce escolhe quantos dias precisa de premium para vender !! e tambem voce ajeita o preço da premium e quanto vai add !! entao so isso !! Se Gostou nao custa 1 rep +
  8. Esse comando você poderá comprar uma Magia por VIP Coins ou dinheiro tanto faz. talkaction: function onSay(cid, words, param) if param == "" then doPlayerSendTextMessage(cid,18, "!spell aurora. preco 5 vip coins. magia para magos.") end if param == "death damage" then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 6 and (getPlayerStorageValue(cid,202050) == -1) then if doPlayerRemoveItem(cid,11192,5) then setPlayerStorageValue(cid,202050,1) doPlayerSendTextMessage(cid,25, 'you earned the spell death damage spell words Aurora.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 5 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end end tag: <talkaction words="!spell" script="spell.lua"/> Spells: exemplo de spell: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -120.5, -30, -120.1, 0) local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_TICKS, 22000) setConditionFormula(condition, -1.1, -1, -1.2, -1) setCombatCondition(combat, condition) local arr = { {0, 0, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 3, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0} } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) if (getPlayerStorageValue(cid,202050) == 1) then doCreatureSay(cid, "vis Damage", TALKTYPE_ORANGE_1) return doCombat(cid, combat, var) else doPlayerSendCancel(cid,"voce nao comprou esta magia.") end return TRUE end TAG: <instant name="physical damage" words="aurora" lvl="5000" mana="3000" prem="1" needweapon="0" exhaustion="1000" needlearn="0" event="script" value="attack/aurora.lua"> <vocation id="1"/> <vocation id="2"/> </instant> você poderá adicionar varias magias ao comando vou dar um exemplo aqui em baixo de como ficaria com varias magias. function onSay(cid, words, param) if param == "" then doPlayerSendTextMessage(cid,18, "!spell death damage. preco 5 vip coins. magia para magos.") doPlayerSendTextMessage(cid,18, "!spell song damage. preco 5 vip coins. magia para paladinos.") doPlayerSendTextMessage(cid,18, "!spell ultra damage. preco 5 vip coins. magia para knights.") doPlayerSendTextMessage(cid,18, "!spell holy damage. preco 10 vip coins. magia para knights e paladinos.") doPlayerSendTextMessage(cid,18, "!spell vis damage. preco 10 vip coins. magia para magos.") end if param == "death damage" then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 6 and (getPlayerStorageValue(cid,202020) == -1) then if doPlayerRemoveItem(cid,11192,5) then setPlayerStorageValue(cid,202020,1) doPlayerSendTextMessage(cid,25, 'you earned the spell death damage spell words EXEVO MAS DEAD.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 5 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end if param == "vis damage" then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 6 and (getPlayerStorageValue(cid,202050) == -1) then if doPlayerRemoveItem(cid,11192,10) then setPlayerStorageValue(cid,202050,1) doPlayerSendTextMessage(cid,25, 'you earned the spell vis damage spell words AURORA.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 10 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end if param == "song damage" then if getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7 and (getPlayerStorageValue(cid,202030) == -1) then if doPlayerRemoveItem(cid,11192,5) then setPlayerStorageValue(cid,202030,1) doPlayerSendTextMessage(cid,25, 'you earned the spell song damage spell words EXEVO SONG PALLY.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 5 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end if param == "holy damage" then if getPlayerVocation(cid) == 7 or getPlayerVocation(cid) == 8 and (getPlayerStorageValue(cid,202060) == -1) then if doPlayerRemoveItem(cid,11192,10) then setPlayerStorageValue(cid,202060,1) doPlayerSendTextMessage(cid,25, 'you earned the spell song damage spell words CALDERA.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 10 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end if param == "ultra damage" then if getPlayerVocation(cid) == 8 or getPlayerVocation(cid) == 4 and (getPlayerStorageValue(cid,202040) == -1) then if doPlayerRemoveItem(cid,11192,5) then setPlayerStorageValue(cid,202040,1) doPlayerSendTextMessage(cid,25, 'you earned the spell ultra damage spell words EXORI MAS GRAN.') else doPlayerSendTextMessage(cid,25, 'voce nao tem 5 vip coins.') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end else doPlayerSendTextMessage(cid,25, 'voce ja tem esta magia!') doSendAnimatedText(getPlayerPosition(cid),"failure", math.random(01,255)) end end end Créditos: Subwat
×
×
  • Criar Novo...