Ir para conteúdo

TarikHenrique

Campones
  • Total de itens

    9
  • Registro em

  • Última visita

Sobre TarikHenrique

Informações

  • Char no Tibia
    Sonhador
  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Jogador

TarikHenrique's Achievements

  1. como assim ? eu criar uma pasta la em data/talkactions/scripts , com aquilo que voce mando no otro post ali ensima ? aki tem umas pasta assim oh : function onSay(cid, words, param) if doPlayerRemoveItem(cid,2160,100) and getPlayerVocation(cid) == 8 then doPlayerSetSkill(cid, 3, 400) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) doCreatureSay(cid, "AXE FULL KNIGHT!", TALKTYPE_ORANGE_1) else doPlayerSendCancel(cid, 'voce precisa de 1kk para usar este comando e ser Kina.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end essa ae eh de axe e tem as outras
  2. ei kara aki ta tudo doido , baixe o ot ae para ver cmo eh a pasta comprar.lua eu peguei de otro mapa mas qnd fui ver nese mapa q eu quero dexar on nao tinha essa pasta , por favor baixa ae ou me add msn tarikhenrique95@hotmail.com
  3. aqui em casa nao abre a imagen assim ta uuma merda nao sei pq nao abre eu cliko e nao abre teria como mandar em escrito para min te agradeceria
  4. skill = { item = 2160, -- Item quantidade = 100, -- Quantidade quantidadeskill = 400, -- Skill adicionada limiteskill = 400 -- Limite } magicLevel = { item = 2160, quantidade = 100, quantidademl = 250, limitedeml = 250 } skillID = { ["club"] = SKILL_CLUB, ["sword"]= SKILL_SWORD, ["axe"] = SKILL_AXE, ["distance"] = SKILL_DISTANCE, ["shielding"] = SKILL_SHIELD } vocationSkill = { -- Vocações - SKILL ["club"] = {4, 8}, ["sword"] = {4, 8}, ["axe"] = {4, 8}, ["distance"] = {3, 7}, ["shielding"] = {4, 8} } vocationMagicLevel = {1, 2, 5, 6} -- Vocações - MAGIC LEVEL protectZone = "sim" function onSay(cid, words, param, channel) local pid = getPlayerGUID(cid) if (protectZone == "sim") and (not getTilePzInfo(getCreaturePosition(cid))) then doPlayerSendCancel(cid, "Você precisa estar em protection zone pra poder comprar.") end if (param == '') then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Como usar: !comprar club; !comprar magiclevel.") return true end local storage, duration = 5, 5 if (param == 'magiclevel') then if getPlayerMagLevel(cid) < magicLevel.limitedeml then if isInArray(vocationMagicLevel, getPlayerVocation(cid)) then if doPlayerRemoveItem(cid, magicLevel.item, magicLevel.quantidade) then if (os.time() - getPlayerStorageValue(cid, storage)) >= duration then setPlayerStorageValue(cid, storage, os.time()) doRemoveCreature(cid, true) db.executeQuery("UPDATE `players` SET `maglevel` = `maglevel` + ".. magicLevel.quantidademl .." WHERE `id` = ".. pid) else doPlayerSendCancel(cid, "Espere ".. duration .." segundos para comprar novamente.") end else doPlayerSendCancel(cid, "Você não tem o item requerido.") end else doPlayerSendCancel(cid, "Voce não pode comprar magic level.") end else doPlayerSendCancel(cid, "Você chegou no limite de magic level.") end return true end if(skillID[param:lower()]) then if(getPlayerSkill(cid, skillID[param:lower()]) < skill.limiteskill) then if isInArray(vocationSkill[param:lower()], getPlayerVocation(cid)) then if doPlayerRemoveItem(cid, skill.item, skill.quantidade) then if (os.time() - getPlayerStorageValue(cid, storage)) >= duration then setPlayerStorageValue(cid, storage, os.time()) doRemoveCreature(cid, true) db.executeQuery("UPDATE `player_skills` SET `value` = `value` + ".. skill.quantidadeskill .." WHERE `player_id` = ".. pid .. " and `skillID[` = ".. skillID[param:lower()]) else doPlayerSendCancel(cid, "Espere ".. duration .." segundos para comprar novamente.") end else doPlayerSendCancel(cid, "Você não tem o item requerido.") end else doPlayerSendCancel(cid, "Voce não pode comprar este skill.") end else doPlayerSendCancel(cid, "Você chegou no limite de skill.") end else doPlayerSendCancel(cid, "Skill desconhecida.") end return true end
  5. <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods -->> <talkaction words="/jail" event="script" value="cadeia.lua"/> <talkaction words="/addvip" access="5" event="script" value="addvip.lua"/> <talkaction words="!melee;!knight;!sword" script="knight.lua"/> <talkaction words="!paladin;!distance" script="distancefull.lua"/> <talkaction words="/additem" hide="yes" event="script" value="additem.lua"/> <talkaction log="yes" words="/kill" access="5" event="script" value="kill.lua"/> <talkaction log="yes" words="/name" access="5" event="script" value="key.lua"/> <talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <talkaction log="yes" access="5" words="/dargod" event="script" value="dargod2.lua"/> <talkaction words="illegalWords" event="script" value="blocklinks.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m;!m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i;!i" access="4" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost;!ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="/commands;!comandos" event="script" value="commands.lua"/> <talkaction words="!comprar;/comprar" event="script" value="comprar.lua"/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="alana som" filter="word-spaced" event="script" value="leavehouse.lua"/> <talkaction words="!leavehouse" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <!-- (Deprecated) Redirect old '/' to '!' --> <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/> <talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/> <!-- Custom systems --> <talkaction words="!rank" script="ranks.lua"/> <talkaction words="!mission" script="teleporter.lua"/> <talkaction words="!bless" script="blessings.lua"/> <talkaction words="fdp" script="fdp.lua"/> <talkaction words="!notice;!noticias" script="notice.lua"/> <talkaction words="!god" access="5" event="script" value="vip.lua"/> <talkaction words="!mymp" access="0" event="script" value="vida.lua"/> <talkaction words="!myhp" access="0" event="script" value="mana.lua"/> <talkaction words="!name" access="0" event="script" value="level.lua"/> <talkaction words="!uptime" access="0" event="script" value="uptime.lua"/> <talkaction words="!morrer;!dead" script="morrer.lua"/> <talkaction log="yes" words="!fly" access="0" event="script" value="fly.lua"/> <talkaction log="yes" words="!back" access="0" event="script" value="back.lua"/> </talkactions>
  6. tpw como falei eu nao manjo mt , baixa esse mapa ae e olha pra min por favor
  7. galera me desculpa se to postando no lgar errado eu nao sei ainda primeira ves que entro nesse forum por indicação de varias amigos seguinte abri um ot http://www.4shared.com/rar/BH65mqz0/HeroNovo86.html?cau2=403tNull ele eh mapa heroserv~loucoserv la tem os comando de !comprar axe , !comprar sword e etc... mas esses comando ae que tem ta dando pra comprar fora da protect zone , ae um player ta morrendo para outro e vai la e fala!distance , como se ele tivesse comprando o skill mas o char desloga e viro putaria , esse eh meu primeiro ot e nao sei mexer com isso se alguem tiver um tutorial que tenha o scrpt ae me ajude por favor eu quero o script assim de que soh possa comprar skill em protect zone muito obrigado e mais uma ves desculpem se eu postei no lugar errado conto com a ajuda de voces !!!
  • Quem Está Navegando   0 membros estão online

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