-
Darkrox reagiu a uma resposta no tópico: (Resolvido)[Resolvido] Como fazer para paladin poder healar em quanto ataca?
-
-
Alguem sabe um script de comando !kills?
Alguem sabe um script de um comando !kills para ver quantas pessoas o player ja mato , e se tiver um rank para os kills melhor ainda ! OBS : meu script Fraglook bugo , e paro de contar os frags por isso quero mudar.
-
Qual o ts do tibiaking?
Qual é o ts do tibiaking , e eu posso fazer uma sala para a galera do meu serv? OBS :NÃO SABIA ONDE POSTAR E POSTEI AQUI , SE ESTIVER NA AREA ERRADA MOVAM POR FAVOR .
-
Como colocar o comando !rankfrags ?
é bom esse script funciona mais infelizmente meu serv ja esta online , e a galera ja tem frag , esse script iria contar do 0
-
Como colocar o comando !rankfrags ?
La no meu server tem o fraglook que quando da look no player ver a quantidade de frags , mais infelizmente nao tem o !rankfrags como fasso para colocar esse comando e ter um rank de frags no meu ot? Quote --Script By Theax "" function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLogin(cid) registerCreatureEvent(cid, "fraglook") return true end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..']') return true elseif thing.uid == cid then doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..']') local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end
-
Como criar novos itens 8.60 com a mesma Sprite mais com ids difente?
Como faço para tipo fazer uma yalahari armor so que com outra id inexistente ?
-
Alguem me ajuda a editar esse script!
Quote local config = { storageTeamOne = 68473, storageTeamTwo = 68474, teamOne = { outfitMale = {lookType = 128, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94}, -- 94 representa a cor vermelha. outfitFemale = {lookType = 136, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94}, templeId = 1 }, teamTwo = { outfitMale = {lookType = 128, lookHead = 82, lookBody = 82, lookLegs = 82, lookFeet = 82}, -- 82 representa a cor verde. outfitFemale = {lookType = 136, lookHead = 82, lookBody = 82, lookLegs = 82, lookFeet = 82}, templeId = 2 } } function onLogin(cid) local vermelho = getGlobalStorageValue(config.teamOne) local verde = getGlobalStorageValue(config.storageTeamTwo) if vermelho > verde then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, config.teamTwo.outfitFemale) else doCreatureChangeOutfit(cid, config.teamTwo.outfitMale) end doTeleportThing(cid, getTownTemplePosition(config.teamTwo.templeId)) setGlobalStorageValue(config.storageTeamTwo, verde+1) setPlayerStorageValue(cid, config.storageTeamTwo, 1) else if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, config.teamOne.outfitFemale) else doCreatureChangeOutfit(cid, config.teamOne.outfitMale) end doTeleportThing(cid, getTownTemplePosition(config.teamOne.templeId)) setGlobalStorageValue(config.teamOne, vermelho+1) setPlayerStorageValue(cid, config.teamOne, 1) end registerCreatureEvent(cid, "LogoutTeam") registerCreatureEvent(cid, "DeathTeam") return true end function onDeath(cid, corpse, deathList) if getPlayerStorageValue(cid, config.storageTeamTwo) == 1 then setPlayerStorageValue(cid, config.storageTeamTwo, 0) setGlobalStorageValue(config.storageTeamTwo, getGlobalStorageValue(config.storageTeamTwo)-1) else setPlayerStorageValue(cid, config.teamOne, 0) setGlobalStorageValue(config.teamOne, getGlobalStorageValue(config.teamOne)-1) end return true end function onLogout(cid) if getPlayerStorageValue(cid, config.storageTeamTwo) == 1 then setPlayerStorageValue(cid, config.storageTeamTwo, 0) setGlobalStorageValue(config.storageTeamTwo, getGlobalStorageValue(config.storageTeamTwo)-1) else setPlayerStorageValue(cid, config.teamOne, 0) setGlobalStorageValue(config.teamOne, getGlobalStorageValue(config.teamOne)-1) end return true end <event type="login" name="LoginTeam" event="script" value="loginTeam.lua"/> <event type="logout" name="LogoutTeam" event="script" value="loginTeam.lua"/> <event type="death" name="DeathTeam" event="script" value="loginTeam.lua"/> Esse script é de 2 team , mais infelizmente os 2 team nasce no mesmo canto , eu queria que alguem me ajuda-se a editá-lo para cada team nasce em sua base .
-
Algum Script team x team para ot de war?
Eu queria um script de 2 team azul e vermelho , que cada time nasce-se em seu lugar, que não pode-se mudar a cor da outffit , não poder ataca players do mesmo team . quem souber ajuda ai.
-
Como colocar tempo de duração nos crossbow ,bolt , e star?
não? eu quero colocar tempo de 1 mes nela
-
Como colocar tempo de duração nos crossbow ,bolt , e star?
Eu consigo colocar duração nas sword ,axe,club,wand e rod , mais quando eu coloco em star,crossbow e bolt, quando vou entrar no serv ele buga e feixa o distro sozinho, alguem sabe como é para colocar duração em bolt ,star e crossbow?
-
Como deixar o serv em Manuntenção?
eu ja vi isso em alguns servs.
-
Como deixar o serv em Manuntenção?
Sim mais oque eu queria apareçia manutetion um negocio assim.
-
Como deixar o serv em Manuntenção?
mais close server nao aparece a mensagem que ta em manuntenção.
-
Como deixar o serv em Manuntenção?
Eu ja vi em alguns servidores quando ele entra em manuntenção , quando eu tento logar apareçe uma mensagem que ta em manuntenção e talz e não da pra logar , como faço para fazer isso em meu serv?
-
[Resolvido] Quanto de Ram seria bom para um serv?
Sim sanada obrigado.
-
-
[Resolvido] Quanto de Ram seria bom para um serv?
Gostei da hastlehost , pelo que eu vi tem um preço bom e tbm uma qualidade boa , obrigado thiago pela dica .

ravely13
Membro
-
Registro em
-
Última visita