Tudo que macalo postou
-
BUG SCRIPT
O BUG É QUANDO ESSE CREATURESCRIPT ESTA ATIVADO , É QUE QUANDO 1 PLAYER ATAKA OUTRO , O PLAYER Q TA SENDO ATAKADO NÃO REALA, TIPO SE OS DOIS TIVER SE ATAKANDO ELES NÃO REALA MAIS FICA DANDO AQUELE EXURA MAIS NÃO GANHA VIDA . SE ALGUEM SOUBER RESOLVER .VLW REP ++ function onStatsChange(cid, attacker, type, combat, value) local chance = 50 -- aqui e chance esta em 50% de funcionar local tabble = { [1] = {max = 15,msg = "Lower"}, [16] = {max= 50,msg = "Good"}, [51] = {max= 100,msg = "Mega"}, [101] = {max= 250,msg = "Epic"}, [251] = {max= 300,msg = "Perfect"}, [301] = {max= 600,msg = "Supreme"}, [601] = {max= 2000,msg = "Divine"}, [2001] = {max= 100000,msg = "Hs"} } if type == STATSCHANGE_HEALTHLOSS and isPlayer(attacker) then if (chance > math.random(1, 100)) then if value == 0 then doSendAnimatedText(getCreaturePosition(attacker), "MISS", math.random(1,255)) else for min, hit in pairs(tabble) do if value >= min and value <= hit.max then local color = math.random(1,255) doSendAnimatedText(getCreaturePosition(attacker), hit.msg, color) local pos2 = {x=getCreaturePosition(attacker).x+1,y=getCreaturePosition(attacker).y,z=getCreaturePosition(attacker).z} doSendAnimatedText(pos2, "HIT", color) end end end end elseif type == STATSCHANGE_HEALTHGAIN then return false end return true end function onCombat(cid, target) registerCreatureEvent(target, "HitMessage") return true end
-
Procuro Host
é de tibia ou poketibia ?
-
CRACK MAGEBOT 10.53
algeum sabe CRACK MAGEBOT 10.53 ?
- CRACK MAGEBOT 10.63 (NO VOLUME SERIAL NEM HARD DISK)
- key de MB
- key de MB
- key de MB
- key de MB
-
[Evento] 3 Times e um Boss
evento funciona perfetct n vem com bug q eu testei ..
- [8.60] Baiak Absolute - Editado completo [O MELHOR]
-
[CTF] Capture The Flag 2.0(Automático)
mano vc tem q fazer town id do vermelho e do azul entende agora
- [Equipe] Pokesorocaba
-
Ajuda erro zombie event globalevent
local config = { playerCount = 2001, -- Global storage for counting the players left/entered in the event zombieCount = 2002, -- Global storage for counting the zombies in the event teleportActionId = 2000, -- Action id of the teleport needed for the movement script teleportPosition = {x = 154, y = 46, z = 6, stackpos = 1}, -- Where the teleport will be created teleportToPosition = {x = 532, y = 1058, z = 7}, -- onde o teleport vai levar teleportId = 1387, -- Id of the teleport timeToStartEvent = 2, -- Minutes, after these minutes the teleport will be removed and the event will be declared started timeBetweenSpawns = 20, -- Seconds between each spawn of zombie zombieName = "event zombie", -- Name of the zombie that should be summoned playersNeededToStartEvent = 2, -- Players needed before the zombies can spawn. -- Should be the same as in the creaturescript! -- The zombies will spawn randomly inside this area fromPosition = {x = 512, y = 1041, z = 7}, -- top left cornor of the playground toPosition = {x = 558, y = 1080, z = 7}, -- bottom right cornor of the playground } function onTime() local tp = doCreateTeleport(config.teleportId, config.teleportToPosition, config.teleportPosition) doItemSetAttribute(tp, "aid", config.teleportActionId) doBroadcastMessage("Zombie event starting in " .. config.timeToStartEvent .. " minutes! The teleport will be closed when the event start!", MESSAGE_STATUS_WARNING) setGlobalStorageValue(config.playerCount, 0) setGlobalStorageValue(config.zombieCount, 0) addEvent(startEvent, config.timeToStartEvent * 1000 * 60) print(getGlobalStorageValue(2001)) end function startEvent() local get = getThingfromPos(config.teleportPosition) if get.itemid == config.teleportId then doRemoveItem(get.uid, 1) end local fromp, top = config.fromPosition, config.toPosition if getGlobalStorageValue(config.playerCount) >= config.playersNeededToStartEvent then addEvent(spawnZombie, config.timeBetweenSpawns * 1000) doBroadcastMessage("Good luck in the zombie event people! The teleport has closed!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then doPlayerSendTextMessage(getPlayers.uid, MESSAGE_EVENT_ADVANCE, "The first zombie will spawn in " .. config.timeBetweenSpawns .. " seconds! Good luck!") end end end end else doBroadcastMessage("The Zombie event could not start because of to few players participating.\n At least " .. config.playersNeededToStartEvent .. " players is needed!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then doTeleportThing(getPlayers.uid, getTownTemplePosition(getPlayerTown(getPlayers.uid)), false) doSendMagicEffect(getPlayerPosition(getPlayers.uid), CONST_ME_TELEPORT) end end end end end end function spawnZombie() if getGlobalStorageValue(config.playerCount) >= 2 then pos = {x = math.random(config.fromPosition.x, config.toPosition.x), y = math.random(config.fromPosition.y, config.toPosition.y), z = math.random(config.fromPosition.z, config.toPosition.z)} doSummonCreature(config.zombieName, pos) doSendMagicEffect(pos, CONST_ME_MORTAREA) setGlobalStorageValue(config.zombieCount, getGlobalStorageValue(config.zombieCount)+1) doBroadcastMessage("A zombie has spawned! There is currently " .. getGlobalStorageValue(config.zombieCount) .. " zombies in the zombie event!", MESSAGE_STATUS_CONSOLE_RED) addEvent(spawnZombie, config.timeBetweenSpawns * 1000) end end testa ai
- Arena War
-
[Montando equipe] Alliance Ot
mexo de tudo.
-
[Atualizado] Poke zot Editado!
adiciona algums prints pff..
-
[duvida] passivas de pokemon
passiva como assim ?
-
tile que só pode ficar 1 player em cima !
function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) then if item.actionid == actionID then if #players == 1 then print("welcome") else print("somente um player pode passar por aki") end end end return true end testa ai
-
Formação de Equipe para Poketibia
eu mexo com tudo a muito tempo.
-
Pedido TILE TROCA OUTFIT
cria um arquivo lua na pasta mmoviments , e coloka esse nome tileoutfit.lua local female = {lookType = 130, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female local male = {lookType = 130, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male function onStepIn(cid, item, pos) if isPlayer(cid) == TRUE then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, female) else doCreatureChangeOutfit(cid, male) end doSendMagicEffect(getThingPos(cid), 29) -- Efeito que dara quando o Player Pisar no Tile ou ItemId. end return TRUE end <movevent type="StepIn" actionid="3469" event="script" value="tileoutfit.lua"/>
-
(Resolvido)Ajuda trocar time=" por interval CTF EV
<globalevent name="CTFCheck" time="20:13" event="script" value="CTFMax.lua"/> --[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] local CTF = CTF_LIB local function sendEffect() if (getGlobalStorageValue(16505) > 0) then doSendAnimatedText(CTF.tppos, "CTF ON", math.random(180)) addEvent(sendEffect, 750) end end function onTime(interval) local time = os.date("*t") if (isInArray(CTF.days, time.wday)) then doBroadcastMessage("[CTF] Está aberto em Konoha para novos participantes, em ".. CTF.timeclose .." minuto(s) não será mais possível entrar!") setGlobalStorageValue(16705, 1) addEvent(CTF.start, CTF.timeclose * 60 * 1000) local teelz = doCreateItem(1387, 1, CTF.tppos) doItemSetAttribute(teelz, "aid", 47521) sendEffect() end return true end testa esse ai
- Arena War
-
[Evento] 3 Times e um Boss
vlw rep + pelo script lindo ..
-
Script que tira item que tal item é retirado dos player
olhe esse link. http://www.tibiaking.com/forum/topic/2023-phpmyadmin-comandos-uteis/ rep + se ajudei.
-
Faço Scripts Para Todos
ja tem um script parecido procura shop sistema . axo q foi o max q fez.