Tudo que ZoR postou
-
Script Dia de PVP e Dia de PVP Enforced.
tfs amigo! @Pifafa
-
OLD CLIENT Trasparency
Bom amigo existe uma solução free para OTClient! para old client você terá que pagar alguém para criar um dll que possa fazer essa transparency! espero ter ajudado!
-
(Resolvido)Checar se o pokemon esta se movendo!
isso parece ser outro erro!
-
(Resolvido)Checar se o pokemon esta se movendo!
@leofox97 editei
-
item que fala
local Messages = { [13495] = {Text = "Your soul will be mine", Color = 21}, [13496] = {Text = "Your soul will be mine", Color = 21} } function onUse(cid, item, fromPosition, itemEx, toPosition) doSendAnimatedText(item, Messages[item.itemid].Text, Messages[item.itemid].Color) return true end @bpm
-
item que fala
qual dele esta funcionando? qual é o seu tfs?
-
item que fala
testa oque mandei logo a cima! @bpm91
-
item que fala
local tabela = { [id item] = {text = "msg", cor = 12}, [id item] = {text = "msg", cor = 12} } function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(cid) then doSendAnimatedText(item.itemid, tabela[item.itemid].text, tabela[item.itemid].cor) end return true end @bpm91
-
item que fala
como assim o item fala? ele é um item de house?
-
(Resolvido)Checar se o pokemon esta se movendo!
function onStepIn(creature, item, position, fromPosition) if getCreatureSummons(cid)[1] then doMoveCreature(getCreatureMaster(cid), position.fromPosition + 1) doPlayerBroadcastMessage(cid,"Seu Pokemon se Moveu!") end return true end <movevent event="StepIn" script="arquivo.lua" />
-
Ajuda com Spell
@Thundera editei dnv!
-
item que fala
Valeu mano! eu estava tentando por o text mas não saberia se iria funcionar então deixei daquela forma. mas valeu mano! aprendi algo novo ! @Snowsz
-
item que fala
local tabela = { [ID] = "Msg", [ID] = "Msg" } local cormsg = 21 function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(cid) then doSendAnimatedText(getCreaturePosition(cid), tabela[itemid], cormsg) end return true end @bpm91
-
Client Próprio 8.60
toma ae @p3driinho endereço ip : 127.0.0.1 Tibia.exe se ajudei rep+
-
Ajuda com Spell
@Thundera editado!
-
Ajuda com Spell
elseif spell == "Shock-Counter" then local chance = math.random(1, 40) -- seriam gerados de forma aleatória do 1 ao 40, ou seja pode dar miss ou não! local function sendStickEff(cid, dir) if not isCreature(cid) then return true end doAreaCombatHealth(cid, ELECTRICDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, chance) end local function sendStickEff2(cid, dir) if not isCreature(cid) then return true end doAreaCombatHealth(cid, ELECTRICDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, chance) end local effect = 201 local pos = getThingPosWithDebug(cid) pos.x = pos.x + 2 pos.y = pos.y + 1 if getCreatureName(cid) == "Shiny Electabuzz" then local function endMove(cid) if isCreature(cid) then doRemoveCondition(cid, CONDITION_OUTFIT) end end doSetCreatureOutfit(cid, {lookType = 1460}, -1) addEvent(endMove, 900, cid) end doSendMagicEffect(pos, effect) local function doStick(cid) if not isCreature(cid) then return true end local t = { [1] = SOUTHWEST, [2] = SOUTH, [3] = SOUTHEAST, [4] = EAST, [5] = NORTHEAST, [6] = NORTH, [7] = NORTHWEST, [8] = WEST, [9] = SOUTHWEST, } for a = 1, 9 do addEvent(sendStickEff, a * 0, cid, t[a]) end end doStick(cid, false, cid) setPlayerStorageValue(cid, 98654, 1) esta ai @Thundera
-
construction kit
fiz um quebra galho local CONSTRUCTIONS = { [3901] = 1650, [3902] = 1658, [11199] = 13497, [11120] = 11121, [3903] = 1666, [3904] = 1670, [3905] = 3813, [3906] = 3817, [3907]= 2093, [3908] = 2603, [3909] = 1614, [3910] = 1615, [3911] = 1616, [3912] = 1619, [3913] = 3805, [3914] = 3807, [3915] = 1714, [3916] = 1774, [3917] = 2084, [3918] = 2095, [3919] = 3809, [3920] = 3832, [3921] = 11321, [3922] = 2107, [3923] = 2104, [3924] = 7670, [3925] = 1740, [3926] = 2080, [3927] = 2098, [3928] = 1676, [3929] = 2101, [3930] = 1739, [3931] = 2105, [3932] = 1724, [3933] = 1728, [3934] = 1732, [3935] = 1775, [3936] = 3812, [3937] = 2064, [3938] = 6371, [5086] = 1738, [5087] = 1741, [5088] = 1770, [6114] = 2106, [6115] = 2034, [6372] = 13489, [6373] = 1736, [7503] = 1750, [7700] = 5928, [7960] = 3821, [7961] = 3811, [7962] = 2582, [8692] = 8688, [8693] = 7486 } local CONSTRUCTIONSDOIS = {[11197] = 13495} function onUse(cid, item, fromPosition, itemEx, toPosition) if(fromPosition.x == CONTAINER_POSITION) then doPlayerSendCancel(cid, "Put the construction kit on the floor first.") elseif(not getTileInfo(fromPosition).house) then doPlayerSendCancel(cid,"You may construct this only inside a house.") elseif(CONSTRUCTIONS.CONSTRUCTIONSDOIS[item.itemid] ~= nil) then doRemoveItem(item.uid) doCreateItem(CONSTRUCTIONS.CONSTRUCTIONSDOIS[item.itemid], 1, toPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) else return false end return true end @bpm91
-
construction kit
editei ai @bpm91
-
[Script]Delay para Pokemon atacar player
funcionou? @Bepovi Se ajudei REP+
-
construction kit
troque por esse, e vê se funciona local CONSTRUCTIONS = { [11197] = 13495, [3901] = 1650, [3902] = 1658, [11199] = 13497, [11120] = 11121, [3903] = 1666, [3904] = 1670, [3905] = 3813, [3906] = 3817, [3907] = 2093, [3908] = 2603, [3909] = 1614, [3910] = 1615, [3911] = 1616, [3912] = 1619, [3913] = 3805, [3914] = 3807, [3915] = 1714, [3916] = 1774, [3917] = 2084, [3918] = 2095, [3919] = 3809, [3920] = 3832, [3921] = 11321, [3922] = 2107, [3923] = 2104, [3924] = 7670, [3925] = 1740, [3926] = 2080, [3927] = 2098, [3928] = 1676, [3929] = 2101, [3930] = 1739, [3931] = 2105, [3932] = 1724, [3933] = 1728, [3934] = 1732, [3935] = 1775, [3936] = 3812, [3937] = 2064, [3938] = 6371, [5086] = 1738, [5087] = 1741, [5088] = 1770, [6114] = 2106, [6115] = 2034, [6372] = 13489, [6373] = 1736, [7503] = 1750, [7700] = 5928, [7960] = 3821, [7961] = 3811, [7962] = 2582, [8692] = 8688, [8693] = 7486 } function onUse(cid, item, fromPosition, itemEx, toPosition) if(fromPosition.x == CONTAINER_POSITION) then doPlayerSendCancel(cid, "Put the construction kit on the floor first.") elseif(not getTileInfo(fromPosition).house) then doPlayerSendCancel(cid,"You may construct this only inside a house.") elseif(CONSTRUCTIONS[item.itemid] ~= nil) then doRemoveItem(item.uid) doCreateItem(CONSTRUCTIONS[item.itemid], 1, toPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) else return false end return true end @bpm91 editado novamente!
-
[Script]Delay para Pokemon atacar player
Creaturescript.xml / tag <event type="healthchange" name="MonsterDano" script="nome do arquivo.lua" /> Creaturescript/script/login registerCreatureEvent(cid, "MonsterDano") Creaturescript/script/nome do arquivo function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if getCreatureMaster(cid) and getCreatureHealth(cid) == 1 then doMonsterChangeTarget(cid, os.time() + 3) end end @Bepovi
-
Ajuda com Spell
me explique mais sobre isso, é x pokemon ou qualquer poke? @Thundera
-
Modificar Script
local cfg = { items_area = { { itemid = 11497, area = { {0,0,0,0,0,0,0}, {0,1,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,2,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,1,0,0}, {0,0,0,0,0,0,0} } }, { itemid = 11498, area = { {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,2,0,0,1}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,1,0,0,0} } }, { itemid = 11499, area = { {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,2,0,0,0}, {0,1,0,0,0,0,0}, {0,0,0,0,0,0,1}, {0,0,0,0,0,0,0} } }, { itemid = 11500, area = { {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {1,0,0,2,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0}, {0,0,0,0,0,0,0} } }, { itemid = 11501, area = { {0,0,0,0,0,0,0}, {0,0,0,0,1,0,0}, {0,0,0,0,0,0,0}, {0,0,0,2,0,0,0}, {0,0,0,0,0,0,0}, {0,0,1,0,0,0,0}, {0,0,0,0,0,0,0} } } }, remove_time = 10, -- tempo em segundos para remover onuse_message = "Uma area foi atingida pelo Genjutsu de %s" -- message ao usar } function isWalkable(pos, creature, proj, pz)-- by 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 pz then return false, true 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 local combats = {} for i, t in ipairs(cfg.items_area) do combats = createCombatObject() setCombatArea(combats, createCombatArea(t.area)) function onTargetTile(cid, position) if isWalkable(position, true, true, true) then doCreateItem(t.itemid, 1, position) addEvent(function() local thing = getTileItemById(position, t.itemid).uid if(thing ~= 0) then doRemoveItem(thing) end end, cfg.remove_time * 1000) end end setCombatCallback(combats, CALLBACK_PARAM_TARGETTILE, "onTargetTile") end function onCastSpell(cid, var) local outfit = {lookType = 90, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} local time1 = 4000 -- segundos que ficará com a outfit local position = {x=getCreaturePosition(cid).x+1, y=getCreaturePosition(cid).y+1, z=getCreaturePosition(cid).z} for i = 1, #combats do doCombat(cid, combats[i], var) doSetCreatureOutfit(cid, outfit, time1) doSendMagicEffect(position, 193) end doBroadcastMessage(cfg.onuse_message:format(getCreatureName(cid)), MESSAGE_STATUS_WARNING) return true end
-
Ajuda monstro não quer healar
<attack name="healing" interval="1000" chance="75" range="7" target="1"/> troque <attack name="healing" interval="1000" chance="75" range="7"/> @Icaro Simoes
-
Cliente Dando Debug após compilar uma nova source
teste a sourcer do fireelement é a melhor https://github.com/Fir3element/3777 @oficekkk