Ir para conteúdo

lfelipebsilva05

Cavaleiro
  • Total de itens

    160
  • Registro em

  • Última visita

Tudo que lfelipebsilva05 postou

  1. Pronto editei weapons.lua , magia ou mexer . vodkart ficaria assim no caso? function isSorcerer(cid) return isInArray({1, 5}, getPlayerVocation(cid)) end function isDruid(cid) return isInArray({2, 5}, getPlayerVocation(cid)) end function isPaladin(cid) return isInArray({3, 5}, getPlayerVocation(cid)) end function isKnight(cid) return isInArray({4, 5}, getPlayerVocation(cid)) end function isMixed(cid) return isInArray({5, 6}, getPlayerVocation(cid)) end function isSpin(cid) return isInArray({6, 7}, getPlayerVocation(cid)) end function isSacred(cid) return isInArray({7, 8}, getPlayerVocation(cid)) end function isLonely(cid) return isInArray({8, 9}, getPlayerVocation(cid)) end function isFalling(cid) return isInArray({9, 10}, getPlayerVocation(cid)) end function isHellborn(cid) return isInArray({10, 11}, getPlayerVocation(cid)) end function isSupreme(cid) return isInArray({11, 12}, getPlayerVocation(cid)) end function isApoka(cid) return isInArray({12, 13}, getPlayerVocation(cid)) end function isNova(cid) return isInArray({13, 14}, getPlayerVocation(cid)) end function isZealot1(cid) return isInArray({14, 15}, getPlayerVocation(cid)) end
  2. meu ta assim, uq mudo? function isSorcerer(cid) return isInArray({1, 5}, getPlayerVocation(cid)) end function isDruid(cid) return isInArray({2, 6}, getPlayerVocation(cid)) end function isPaladin(cid) return isInArray({3, 7}, getPlayerVocation(cid)) end function isKnight(cid) return isInArray({4, 8}, getPlayerVocation(cid)) end function isRookie(cid) return isInArray({0}, getPlayerVocation(cid)) end Lembrando que a vocão vai ate 15, e a 5 puxa as 4 anteriores e a 6 puxa as 5 etc,,,
  3. vc leu a descrição? acho que ja diz tudo. Preste mais atenção da próxima vez.
  4. o script funfa kse perfeito, reseta td certim e talz como eu queria. mais quando vou usar supreme sword= arma vip do ot. e uma magia exevo gran mas frigo. o ot cai. tpw ele fica on sem erro no executor, so nao da pra logar. POR ENQUANTO SO ESSES 2 creio que tenha mais =/ entendeu?
  5. ot agora fica dando umas caida doida :S. nao da erro nem nada, ela trava tenho que reiniciar ;x escript ficou mt bom, so ta com esse probleminha agr =/ duvida : cara posso adc mais quantos reset eu quiser , so colocando ["mixed"] = {reqVoc= nil, needLevel=10000}, ....? editavel? so quando uso alguns tpw de itens, ajuda ai ;x
  6. queria por akelas portas verdes para funcionar igual as outras. alguem souber vlw'
  7. Script da Vodkart. Seguinte lvl 10k eu falo !mixedpromo Reseta. ai tem mais reset pra mais lvl e talz mais quando chego 10k dnv eu posso falar !mixedpromo dnv, ai quando abre skills debuga o char,. como ponho pra reseta apenas 1x? Script : function onSay(cid, words, param, channel) local tabble = { ["mixed"] = {reqVoc= nil, needLevel=10000}, ["spin"] = {reqVoc= 5, needLevel=30000}, ["sacred"] = {reqVoc= 6, needLevel=60000}, ["loney"] = {reqVoc= 7, needLevel=110000}, ["falling"] = {reqVoc= 8, needLevel=130000} } local config = {pid = getPlayerGUID(cid),newlv = 8,life = 185,mana = 35} local param = string.lower(param) if not tabble[param] then doPlayerSendCancel(cid, "digite o nome correto.") return true elseif getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendCancel(cid, "precisa estar em pz.") return true elseif getPlayerLevel(cid) < tabble[param].needLevel then doPlayerSendCancel(cid, "You dont have the required level.") return true elseif tabble[param].reqVoc ~= nil and getPlayerVocation(cid) ~= tabble[param].reqVoc then doPlayerSendCancel(cid, "You dont have the required vocation.") return true elseif getPlayerStorageValue(cid, 789456) >= 1 then doPlayerSendCancel(cid, "você já foi promovido para mixed.") return true end local newvoc = tabble[param].reqVoc ~= nil and (tabble[param].reqVoc+1) or 5 setPlayerStorageValue(cid, 650230, newvoc) setPlayerStorageValue(cid, 789456, newvoc == 5 and 1 or 0) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) 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.." WHERE `id` = "..config.pid) return true end
  8. cara poderia me adc msn? 1 duvida vlw' lfelipebsilva05@hotmail.com
  9. tpw, meu ot compra itens vip por bau, por vip coin. ai se eu comprar la vai aparecer nome de quem comrpou?. e se eu comprar kalker itens no npc tbm fica? quero so pros itens vip do bau. vlw'
  10. onde edito as coordenas da onde vai choveer? e funfa em tfs 4,0?
  11. deem uma olhada ai ve se isso pode me atrapalhar, e se tem como concertar.
  12. vip system : 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
  13. cara nao entendi isso. fromPos = {x=92, y=115, z=6}, -- Posicao de cima da esquerda da area onde aparecerao os peixes toPos = {x=97, y=120, z=6}, -- Posicao de baixo da direita e tpw, eu boto piso de agua em baixo. da onde aparece os peixes? vlw'
  14. cara oque seria essas coordenas? local t = { from = {x=490, y=495, z=9}, to = {x=504, y=505, z=9}, storage = { placed = 10001, max = 10002, radius = 10003 }, delay = 3000, bombID = 10570, effect = CONST_ME_FIREAREA, blockID = 9468, text = "BOOM!", temple = {x=498, y=541, z=9}, exceptions = { {x=490, y=495, z=9}, {x=491, y=495, z=9}, {x=490, y=496, z=9}, {x=503, y=495, z=9}, {x=504, y=495, z=9}, {x=504, y=496, z=9}, {x=490, y=505, z=9}, {x=491, y=505, z=9}, {x=490, y=504, z=9}, {x=503, y=505, z=9}, {x=504, y=505, z=9}, {x=504, y=504, z=9} } }
  15. cara brigao. mais uma duvida, eu axei a tag de gasta 3dias de premium como troco pra 3dias de vip? script : <?xml version="1.0" encoding="UTF-8"?> <mod name="Change gender command" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <description> This mod will add new command for players - !changender. Players will be able to change gender, cost can be configured. </description> <config name="changender_config"><![CDATA[ config = { costPremiumDays = 3 } ]]></config> <talkaction words="!changender" event="buffer"><![CDATA[ domodlib('changender_config') if(getPlayerSex(cid) >= 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot change your gender.") return end if(getPlayerPremiumDays(cid) < config.costPremiumDays) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, not enough premium time - changing gender costs " .. config.costPremiumDays .. " premium days.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return end if(getPlayerPremiumDays(cid) < 65535) then doPlayerAddPremiumDays(cid, -config.costPremiumDays) end doPlayerSetSex(cid, getPlayerSex(cid) == PLAYERSEX_FEMALE and PLAYERSEX_MALE or PLAYERSEX_FEMALE) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have changed your gender and lost " .. config.costPremiumDays .. " days of premium time.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED) ]]></talkaction> </mod>
  16. procurei ele em talkactions nao axei. alguem pode me ajduar? vlw ou por pra gasta 3dias de vip.
  17. ele nao da erro no executor nem nada. so que ele nao se tranforma ;s ai vai o script. sao 2 ring's. versão : 8.6 TFS 4.0 data>moviments>scripts local rate = 1.2 function onEquip(cid, item, slot) if(item.itemid ~= 10310) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your exp rate + "..((rate - 1)*100).."%.") doPlayerSetExperienceRate(cid, rate) doTransformItem(item.uid, 10309 ) return true end return true end function onDeEquip(cid, item, slot) if(item.itemid ~= 10309 ) then return true end doPlayerSetExperienceRate(cid, 1.0) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sua experiência extra terminou.") doTransformItem(item.uid, 10310) return true end exp ring 2 local rate = 1.4 function onEquip(cid, item, slot) if(item.itemid ~= 10063) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your exp rate + "..((rate - 1)*100).."%.") doPlayerSetExperienceRate(cid, rate) doTransformItem(item.uid, 10064 ) return true end return true end function onDeEquip(cid, item, slot) if(item.itemid ~= 10064 ) then return true end doPlayerSetExperienceRate(cid, 1.4) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sua experiência extra terminou.") doTransformItem(item.uid, 10063) return true end moviments.xml <movevent type="Equip" itemid="10310" slot="ring" event="function" value="onEquipItem"/> <movevent type="Equip" itemid="10309" slot="ring" event="script" value="expring.lua"/> <movevent type="DeEquip" itemid="10309" slot="ring" event="script" value="expring.lua"/> <movevent type="Equip" itemid="10063" slot="ring" event="function" value="onEquipItem"/> <movevent type="Equip" itemid="10064" slot="ring" event="script" value="expring2.lua"/> <movevent type="DeEquip" itemid="10064" slot="ring" event="script" value="expring2.lua"/> em itens. <item id="10309" article="a" name="Exp Ring. Level up mais rapido. Ring que da 20% de Exp A mais"> <attribute key="weight" value="80"/> <attribute key="slotType" value="ring"/> <attribute key="transformEquipTo" value="10310"/> <attribute key="decayTo" value="0"/> </item> <item id="10310" article="an" name="Exp Ring. Level up mais rapido. Ring que da 20% de Exp A mais"> <attribute key="weight" value="80"/> <attribute key="transformEquipTo" value="10309"/> <attribute key="slotType" value="ring"/> </item> exp ring 2 <item id="10064" article="a" name="Exp Ring. Level up mais rapido. Ring que da 40% de Exp A mais"> <attribute key="weight" value="80"/> <attribute key="slotType" value="ring"/> <attribute key="transformEquipTo" value="10310"/> <attribute key="decayTo" value="0"/> </item> <item id="10063" article="an" name="Exp Ring. Level up mais rapido. Ring que da 40% de Exp A mais"> <attribute key="weight" value="80"/> <attribute key="transformEquipTo" value="10064"/> <attribute key="slotType" value="ring"/> </item>
  18. abra o arquivo MSVCR100.dll ai clike para procurar o programa rme. axo que pode resolver AJUDEI?REP+
  19. você viu se aparece algum erro ao abrir o server? tente isso. abra seu rme. clique 2x no bixo e bote " spawn interval " um pouco maior, talvez seja isso. AJUDEI?REP+
  20. aqui nao funcionou.
  21. Malz eu estava ban aqui no xtibia. irei posta pra você. va em data>spells>scripts > criei um arquivo ninja.lua e cole isso dentro. local config = { efeitoTele = 10, -- efeito q ira aparacer a cada teleport. efeitoDamage = 1, -- efeito q ira aparecer ao hitar no alvo hits = 5, -- quantos hits vai dar delay = 200, -- intervalo de tempo a cada hit min = 10000, -- dano minimo max = 15000, -- dano maximo damage = COMBAT_PHYSICALDAMAGE -- tipo do dano } function isWalkable(pos, creature, pz, proj) -- nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and not pz then return false end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end function getPosDirs(p, dir) -- mkalo return dir == 1 and {x=p.x-1, y=p.y, z=p.z} or dir == 2 and {x=p.x-1, y=p.y+1, z=p.z} or dir == 3 and {x=p.x, y=p.y+1, z=p.z} or dir == 4 and {x=p.x+1, y=p.y+1, z=p.z} or dir == 5 and {x=p.x+1, y=p.y, z=p.z} or dir == 6 and {x=p.x+1, y=p.y-1, z=p.z} or dir == 7 and {x=p.x, y=p.y-1, z=p.z} or dir == 8 and {x=p.x-1, y=p.y-1, z=p.z} end function validPos(pos) tb = {} for i = 1, 8 do newpos = getPosDirs(pos, i) if isWalkable(newpos) then table.insert(tb, newpos) end end table.insert(tb, pos) return tb end spell = { start = function (cid, target, markpos, hits) if not isCreature(cid) then return true end if not isCreature(target) or hits < 1 then doTeleportThing(cid, markpos) doSendMagicEffect(getThingPos(cid), config.efeitoTele) return true end posAv = validPos(getThingPos(target)) rand = #posAv == 1 and 1 or #posAv - 1 doSendMagicEffect(getThingPos(cid), config.efeitoTele) doTeleportThing(cid, posAv[math.random(1, rand)]) doAreaCombatHealth(cid, config.damage, getThingPos(target), 0, -config.min, -config.max, config.efeitoDamage) addEvent(spell.start, config.delay, cid, target, markpos, hits - 1) end } function onCastSpell(cid) target = getCreatureTarget(cid) if target then spell.start(cid, target, getThingPos(cid), config.hits) end return true end agora vá em data>spells>spells.xml cole isso. <instant name="Ninja" words="ninja" lvl="9" mana="20" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="ninja.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="3"/> <vocation id="4"/> </instant> AJUDEI? REP+
  22. Fire tira isso de 10segundos. quero pra ser kikado na hora. irei testar os 2. e darei REP+ testei do Leoxtibia deu certim. Obrigado
  23. nao fiii, tpw eu to pk ai entro tp volto templo por exemplo . ai quando chegar la ele pode falar !capreset e ser kikado, so uq falta no script e por ele pra usar em pz resto ta bom.
  24. e mais o menos assim : 12:47 You see a Red Skull Amulet. Aol infinito para red skull + 40 por cento de mana e vida + 90 por cento de todas skills. It weighs 4.90 oz.
  • Quem Está Navegando   0 membros estão online

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