Ir para conteúdo

Tchubaka

Visconde
  • Total de itens

    395
  • Registro em

  • Última visita

  • Dias Ganhos

    4

Tudo que Tchubaka postou

  1. Tchubaka

    Futebol System

    vai em data>actions>scripts crie 1 arquivo nome dominio.lua e cole isso. -----SoccerFix by Chain----- function onUse(cid, item, frompos, item2, topos) playerpos = getPlayerPosition(cid) if item2.itemid == 2109 and item.actionid ~= 1476 then doPlayerAddItem(cid,2109,1) doRemoveItem(item.uid,1) doSendAnimatedText(playerpos, "Dominio!!!", TEXTCOLOR_BLUE) else doPlayerSendCancel(cid,"Bola apenas de demonstração ! ") end return 1 end -- agora em actions.xml cole isso. <action itemid="10017" script="dominio.lua" /> <action itemid="2109" script="dominio.lua" /> AJUDEI?REP+
  2. Tchubaka

    Ajuda Rapido

    esse que o vodkart falou uso no meu. e funciona perfeitamente.
  3. Tchubaka

    Retirar

    sim. vai em actions-scripts. la deve ter 1 pasta scrito vip. ou em arquivos .lua. voce apague. ai vai em actions.xml e procure vip e apague a tag. agora em movements>scripts deve ter a vip tambem . você apaga e apague de movements.xml tbm. Qualquer coisa manda msn. que te ensino melhor'
  4. Tchubaka

    Outfits

    cara fiz todos pra você. mais o segundo eo ultimo ja existem. mais eu fiz mesmo assim. ta ai. vai em data>outfits e cola isso . <outfit id="24" premium="yes"> <list gender="0" lookType="64" name="Elf scout"/> <list gender="1" lookType="64" name="Elf scout"/> </outfit> <outfit id="25" premium="yes"> <list gender="0" lookType="252" name="Gnorre"/> <list gender="1" lookType="252" name="Gnorre"/> </outfit> <outfit id="26" premium="yes"> <list gender="0" lookType="98" name="Pirate Corsair"/> <list gender="1" lookType="98" name="Pirate Corsair"/> </outfit> <outfit id="27" premium="yes"> <list gender="0" lookType="264" name="Barbarian Brutetamer"/> <list gender="1" lookType="264" name="Barbarian Brutetamer"/> </outfit> <outfit id="28" premium="yes"> <list gender="0" lookType="255" name="Drakan"/> <list gender="1" lookType="255" name="Drakan"/> </outfit> <outfit id="29" premium="yes"> <list gender="0" lookType="149" name="Ice Witch"/> <list gender="1" lookType="149" name="Ice Witch"/> </outfit> REP+?
  5. sim, e que meu ot e igual o rozin. exp alta. ai eu ia por so task de matar bixos. nao boss. ai ia por umas parada maneira. esse systema de task da vodkart ta de parabens. bem explicado gostei mt.
  6. cara pega 1 iten que tenha a duplicata dele ja. e poim os atributos. simples tpw soft boots <item id="2640" article="a" name="pair of soft boots"> <attribute key="weight" value="800" /> <attribute key="slotType" value="feet" /> <attribute key="decayTo" value="10021" /> <attribute key="duration" value="14400" /> <attribute key="healthGain" value="25" /> <attribute key="healthTicks" value="2000" /> <attribute key="manaGain" value="25" /> <attribute key="manaTicks" value="1000" /> <attribute key="showduration" value="1" /> </item> outra igual ela. <item id="6132" article="a" name="pair of soft boots"> <attribute key="weight" value="800" /> <attribute key="slotType" value="feet" /> <attribute key="transformEquipTo" value="2640" /> <attribute key="stopduration" value="1" /> <attribute key="showduration" value="1" /> </item> e so vc editar ela agr.
  7. tenta isso function onStepIn(cid, item, pos) local config = { msgDenied = "Você nao e VIP compre agora mesmo!", msgWelcome = "Bem Vindo a area VIP!" } -- teleports config teleport1 ={x=2018, y=2051, z=10} if isPlayer(cid) then if item.actionid == 13595 then vip = getPlayerStorageValue(cid,13595) if vip == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você não é vip, compre-a no site.") doTeleportThing(cid,teleport1) else end end end end REP+?
  8. assim? talkactions~scripts> crie 1arquivo addondoll.lua e cole isso function onSay(cid, words, param) local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["nobleman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]={157}, ["shaman"]={158}, ["norsewoman"]={252}, ["nightmare"]={269}, ["jester"]={270}, ["brotherhood"]={279}, ["demonhunter"]={288}, ["yalaharian"]={324} } local maleOutfits = { ["citizen"]={128}, ["hunter"]={129}, ["mage"]={130}, ["knight"]={131}, ["nobleman"]={132},["summoner"]={133}, ["warrior"]={134}, ["barbarian"]={143}, ["druid"]={144}, ["wizard"]={145}, ["oriental"]={146}, ["pirate"]={151}, ["assassin"]={152}, ["beggar"]={153}, ["shaman"]={154}, ["norsewoman"]={251}, ["nightmare"]={268}, ["jester"]={273}, ["brotherhood"]={278}, ["demonhunter"]={289}, ["yalaharian"]={325} } local msg = {"Digite o nome correto!", "Voce não possui Addon Doll!", "Bad param!", "Você recebeu seu addons!"} local param = string.lower(param) if (not isPremium(cid)) then doPlayerSendCancel(cid, "Você nao tem premium account.") return TRUE end if(getPlayerItemCount(cid, 2112) > 0) then if(param ~= "" and maleOutfits[param] and femaleOutfits[param]) then doPlayerRemoveItem(cid, 2112, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) if(getPlayerSex(cid) == 0)then doPlayerAddOutfit(cid, femaleOutfits[param][1], 3) else doPlayerAddOutfit(cid, maleOutfits[param][1], 3) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end agora em talkactions.xml cole isso. <talkaction words="!addon" script="addondoll.lua" /> AJUDEI?REP+
  9. Tchubaka

    Sistema De Vip.

    vai em data~actions~script crie 1 arquivo nome sistemavip.lua e cole isso . function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- coloque os dias que serão a VIP! local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13500) local timenow = os.time() getPlayerVocation (cid) == ID da vocação else if getPlayerStorageValue(cid, 13500) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13500, time) local quantity = math.floor((getPlayerStorageValue(cid, 13500) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end agora em actions.xml cole isso. <action itemid="ID ITEN QUE DARA VIP" script="sistemavip.lua"/> OBS: Nao testei ainda. AJUDEI?REP+?
  10. nao da pra fazer isso. so com itens existentes. vai no rme. e procura o iten. e ve as id dele e procura no iten.xml se nao estiver la e so pegar 1 existente. cola no iten.xml e mudar a ID que estara feito. tem varios itens parecidos.
  11. vai em movements-scripts crie 1arquivo nome . sistemavip.lua function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "Você nao e VIP compre agora mesmo!", msgWelcome = "Bem Vindo a area VIP!" } if getPlayerStorageValue(cid, 13595) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome) return TRUE end em movements.xml cole isso. <movevent type="StepIn" actionid="13595" event="script" value="sistemavip.lua"/> AJUDEI?REP+?
  12. existe iten duplicado no iten.xml ja. exemplo. tem 3soft boots . voce edita as que ja tem. e os atributos e so copiar e editar na outra. AJUDEI?REP+?
  13. Tchubaka

    Vender Level

    testa isso ai. function onSay(cid, words, param, channel) if getPlayerLevel(cid) < 3500 then return doPlayerSendCancel(cid, "Você precisa de level 3500 para poder usar o comando.") end local config = {pid = getPlayerGUID(cid),newlv = 8,skills=10,ml=10,life = 185,mana = 35} local param = string.lower(param) addEvent(function() if isCreature(cid) then local playerID = getPlayerGUID(cid) doPlayerAddItem(cid, 11192, 1) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.newlv..", `experience` = "..getExperienceForLevel(config.newlv)..",`manamax` = "..config.mana..",`health` = "..config.life..", `healthmax` = "..config.life..",`mana` = "..config.mana..",`vocation` = "..newvoc..",`maglevel` = "..config.ml.." WHERE `id` = "..config.pid) return true end end, 3 * 1000) return true end
  14. Tchubaka

    Vender Level

    cara tenho script de reset vocation. da pra modificar ele pra voce. configurado pra resetar mana e lvl voceê escolhe. e vocação que precisa pra resetar. você podia mudar no vocation.xml pra aparecer a mesma vocação que tava ao dar look. e era so por 1 bau que tal vocation poderia abrir. ficaria legal. se quiser o script fala.
  15. ai vodkart queria por bixos propios do meu ot invez desses e so mudar certo? e nao queria isso axo. meu ot e de xp alta com resets vocations.. configbosses_task = { {race = "minotaur",Playerpos = {x = 189, y = 57, z = 7}, FromPosToPos = {{x = 186, y = 54, z = 7},{x = 193, y = 60, z = 7}},time = 5}, {race = "necromancer",Playerpos = {x = 196, y = 39, z = 7}, FromPosToPos = {{x = 195, y = 37, z = 7},{x = 198, y = 41, z = 7}}, time = 5}, {race = "dragon",Playerpos = {x = 208, y = 59, z = 7}, FromPosToPos = {{x = 206, y = 56, z = 7},{x = 209, y = 65, z = 7}}, time = 5} }
  16. indico esse systema de task. do VODKART http://www.xtibia.com/forum/topic/151636-simple-task-30/ Ajudei?REP+?
  17. isso e maximo de account manager no ot? ou por ip?
  18. vai em data-talkactions-scripts e crie 1 arquivo bomb.lua e cole isso : function onSay(cid, words, param) local frases = { "Sou Gay! .. ~~" - quando o player falar /login ira apare isso. } return doPlayerSay(cid,frases[math.random(#frases)],1) end agora em talkactions.xml cole isso . <talkaction words="/login" script="bomb.lua" /> AJUDEI?REP+?
  19. tem essa talkactions que eu de tp que modifiquei pra !fly , quando o player usa aparece no para todos do ot , que o player uso o comando fly e pra onde. se for isso. vamos la. pegue seu fly e mude pra isso. function onSay(cid, words, param) local config = { pz = true, -- players precisam estar em protection zone para usar? (true or false) battle = false, -- players deve estar sem battle (true or false) custo = false, -- se os teleport irão custa (true or false) need_level = false, -- se os teleport irão precisar de level (true or false) vip = true, -- somente vip players poderam usar o comando? ("yes" or "no") storage = 13500 -- Storage Id da sua vip account caso for usar somente vips } --[[ Config lugares]]-- local lugar = { ["carlin"] = {x= 32360, y= 31782, z= 7}, ["thais"] = {x= 32346, y= 32220, z= 7}, ["barco carlin"] = {x= 32386, y= 31821, z= 6}, ["barco thais"] = {x= 32310, y= 32210, z= 6}, ["farmine"] = {x= 32985, y= 31540, z= 1}, ["yalahar"] = {x= 32794, y= 31248, z= 7}, ["edron"] = {x= 33171, y= 31815, z= 7}, ["trainer"] = {x= 31920, y= 32240, z= 9} } --[[ Lista de Viagem (Não mexa) ]]-- if (param == "lista") then local str = "" str = str .. "lista de viagem :\n\n" for name, pos in pairs(lugar) do str = str..name.."\n" end str = str .. "" doShowTextDialog(cid, 6579, str) return TRUE end local a = lugar[param] if not(a) then doPlayerSendTextMessage(cid, 25, "desculpe,este lugar não existe") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE elseif config.pz == true and getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"você precisa estar em protection zone pra poder teleportar.") return TRUE elseif config.premium == true and not isPremium(cid) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Apenas players com premium account podem teleportar.") return TRUE elseif config.battle == true and getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você precisa estar sem battler pra poder teleportar.") return TRUE elseif config.need_level == true and getPlayerLevel(cid) < a.level then doPlayerSendTextMessage(cid, 25, "Desculpe,Voce não tem level. voce precisa "..a.level.." level ou mais para ser teleportado.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE elseif config.custo == true and doPlayerRemoveMoney(cid, a.price) == FALSE then doPlayerSendTextMessage(cid, 25, "Desculpe,voce nao tem dinheiro suficiente. Voce precisa "..a.price.." gp para ser teleportado.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE elseif config.vip == true and getPlayerStorageValue(cid, tonumber(config.storage)) - os.time() <= 0 then doPlayerSendTextMessage(cid, 25, "Desculpe,voce nao e Player vip Para Usar o !fly!.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE end doTeleportThing(cid, a.pos) doSendMagicEffect(a.pos, CONST_ME_TELEPORT) doBroadcastMessage("" .. getPlayerName(cid) .. " has flown to " .. param .. " using !fly." ,MESSAGE_INFO_DESCR) return TRUE end Gostou?REP+?
  20. cara esta tudo certinho. deixa eu ver a script de healing. que fica la em spells.scripts.
  21. Tchubaka

    Sistema Vip

    para seu ot indico esse por iten que da vip. vai em data>actions> crie 1 arquivo com nome sistemavip.lua e cole isso : function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- coloque os dias que serão a VIP! local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13500) local timenow = os.time() if getPlayerStorageValue(cid, 13500) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13500, time) local quantity = math.floor((getPlayerStorageValue(cid, 13500) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end em actions.xml cole isso. <action itemid="ID DO ITEN QUE DARA VIP" script="sistemavip.lua"/> tiles : AJUDEI?REP+
  22. hahahahah blz ^^
  23. atah esqueci disso. Duvida Sanada.
  • Quem Está Navegando   0 membros estão online

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