TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
Solutions
-
ViitinG's post in (Resolvido)[UP LEVEL MANA,VIDA] was marked as the answerVe se funciona :
"data/creaturescripts/scripts/hpmpfull"
function onAdvance(cid, skill, oldlevel, newlevel) if skill == SKILL__LEVEL then local maxh = getCreatureMaxHealth(cid) local maxm = getCreatureMaxMana(cid) doCreatureAddHealth(cid, maxh) doCreatureAddMana(cid, maxm) end return true end "data/creaturescripts/creaturescripts.xml"
<event type="advance" name="FullHpMp" event="script" value="hpmpfull.lua"/> "data/creaturescripts/login.lua"
registerCreatureEvent(cid, "FullHpMp") -
ViitinG's post in (Resolvido)[AJUDA]Erro CTF 2.0 GlobalEvents ! was marked as the answerTenta mudar o xml para esse :
<globalevent name="CTFCheck" time="21:00:00" event="script" value="CTFMax.lua"/> -
ViitinG's post in (Resolvido)erro debug no ot was marked as the answerÉ só trocar o piso pelo remere's e mudar a posição do GOD para o templo !
-
ViitinG's post in (Resolvido)nome saindo do chao was marked as the answer"data/globalevents/scripts/texto"
local config = { positions = { ["TEXTO"] = { x = 1095, y = 1062, z = 7 }, ["TEXTO"] = { x = 1098, y = 1058, z = 7 }, ["TEXTO"] = { x = 1183, y = 989, z = 7 } } } function onThink(cid, interval, lastExecution) for text, pos in pairs(config.positions) do doSendAnimatedText(pos, text, math.random(1, 255)) end return TRUE end "data/globalevents/globalevents.xml"
<globalevent name="Teleports" interval="2" script="texto.lua" /> -
ViitinG's post in (Resolvido)Script De alavanca was marked as the answerTenta esse :
local config = { addItem = {id = 2401, count = 1}, } function onUse(cid, item) doPlayerAddItem(cid, config.addItem.id, config.addItem.count) setPlayerStorageValue(cid,11111,1) doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "You gained "..config.addItem.count.." "..getItemNameById(config.addItem.id)..".") end -
ViitinG's post in (Resolvido)Urgente Ajuda RME was marked as the answerO client você usa o 10.35 normal.
https://mega.co.nz/#!rIVTkJ4S!D_repXWrrrkZ_jiStlqUZ3A4UTEgJlUWORjG-cu1bwE
Creditos : comedinha (outro forum.)
-
ViitinG's post in (Resolvido)Tempo de fala no Help, ou Trade. was marked as the answer"talkactions/scripts/muteplayer"
local v = {} for k = 1, 100 do table.insert(v, createConditionObject(CONDITION_MUTED)) setConditionParam(v[k], CONDITION_PARAM_TICKS, k*60*1000) end function onSay(cid, words, param) if (words == "/mute") then local t = string.explode(param, ",") if param == '' then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") return true end local player,time,pid = getPlayerByName(t[1]),t[2],getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você mutou o jogador "..t[1].." por "..time.." minutos.") doAddCondition(player, v[tonumber(time)]) setPlayerStorageValue(player, 90000, os.time()+time*60) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você foi mutado por "..time.." minutos.") elseif (words == "/desmute") then if param == '' then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") return true end local player = getPlayerByNameWildcard(param) if(not player)then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player not found.") return true end if getCreatureCondition(player, CONDITION_MUTED) == false then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "este jogador não está mutado.") return true end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você desmutou o jogador "..param..".") doRemoveCondition(player, CONDITION_MUTED) setPlayerStorageValue(player, 90000, -1) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você foi desmutado.") end return true end "talkactions.xml"
<talkaction log="yes" words="/mute;/desmute" access="2" event="script" value="muteplayer.lua"/> "creaturescript/scripts/mute_check"
local v = {} for k = 1, 100000 do table.insert(v, createConditionObject(CONDITION_MUTED)) setConditionParam(v[k], CONDITION_PARAM_TICKS, k*1000) end function onLogin(cid) if getPlayerStorageValue(cid, 90000) >= os.time() then doAddCondition(cid, v[tonumber(getPlayerStorageValue(cid, 90000) - os.time())]) end return TRUE end "creaturescript.xml"
<event type="login" name="MutePlayer" event="script" value="mute_check.lua"/> Comandos :
-
ViitinG's post in (Resolvido)Tirar itens de novos playes que são criados was marked as the answerVeja se tem um script chamado "firstitems" em creaturescripts !
Se tiver basta remover o 1kk.
-
ViitinG's post in (Resolvido)Criar Itens was marked as the answerTem que usar um programa chamado item editor.
-
ViitinG's post in (Resolvido)Ajuda ao editar o Mapa do poketibia was marked as the answerÉ só usar um descompilador.
Eu usava antigamente o TibiaUnpacker !
-
ViitinG's post in (Resolvido)Imagem do ataque da Rod was marked as the answerTenta fazer o seguinte :
"data/weapons/scripts/cakewand"
Dano minimo da wand.
Dano maximo da wand.
"data/weapons/weapons.xml"
ID da wand.
Level que poderá ser usada.
Mana que irá consumir ao atacar.
ID das vocações que poderão usar.
-
ViitinG's post in (Resolvido)Ajuda com ip was marked as the answerO site "meuip" mostra o IP da sua maquina e não o IP do seu modem brother !!
Se quiser ver o IP do modem aperte "Windows + R" e digite cmd,com o prompt aberto digite ipconfig/all.
-
ViitinG's post in (Resolvido)Treiners was marked as the answerMude está tag :
<attack name="melee" interval="500" min="0" max="-1"/> Para está :
<attack name="melee" interval="500" min="0" max="5"/> -
ViitinG's post in (Resolvido)Qual o editor mais usado? was marked as the answerPoisé a 3.0 tem essa opção de poder mappear junto porém está com muitos bugs então acho melhor usar a 2.2 até que a 3.0 esteja livre de bugs e possa ser usada sem dor de cabeça !!
-
ViitinG's post in (Resolvido)Npc De Premmium was marked as the answerTem que falar "sim",no caso se quiser que fale "yes" mude para este script :
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid -- Conversa Jogador/NPC if(msgcontains(msg, 'offer') or msgcontains(msg, 'offer')) then selfSay('Para comprar Premium diga ( premium ).', cid) elseif(msgcontains(msg, 'premium') or msgcontains(msg, 'Premium')) then selfSay('dialogo da premium - diga sim para comprar-', cid) talkState[talkUser] = 1 -- Confirmação da Compra elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if(doPlayerRemoveItem(cid, 2160, 1) == true) then selfSay('Parabens, Premium de 30 dias!', cid) doPlayerAddPremiumDays(cid, 31) talkState[talkUser] = 0 else selfSay('Voce nao tem dinheiro suficientes.', cid) talkState[talkUser] = 0 end end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -
ViitinG's post in (Resolvido)Qual é a base para criar um bom servidor? was marked as the answerÉ só você achar um que não tenha muitas coisas,se tiver algo que você não goste é só retirar do servidor..
-
ViitinG's post in (Resolvido)Alterando o tempo de battle no player was marked as the answerDa sim brother,faça o seguinte :
"data/creaturescripts/creaturescripts.xml"
<event type="think" name="TiraBattle" event="script" value="tirabattle.lua"/> "data/creaturescript/scripts/login.lua"
registerCreatureEvent(cid, "TiraBattle") "data/creaturescripts/scripts/tirabattle"
function onThink(cid, interval) if(getTilePzInfo(getCreaturePosition(cid))) then doRemoveCondition(cid, CONDITION_INFIGHT) end end -
ViitinG's post in (Resolvido)Mudando tempo de battle was marked as the answerQuando for mandar script utilize "Código".
Para selecionar código é só clicar no icone "<>" acima de onde você escreve um comentario !
obs : deixe o cursor do mouse em cima de cada icone para saber o significado.
Troquei está parte :
pzLocked = 1000 * 10 huntingDuration = 1000 * 10 -
ViitinG's post in (Resolvido)QUERO POR MENOS HP E MANA REGEN COMO FAÇO? was marked as the answerVá na pasta "data/XML" e abra o arquivo "vocations.lua" :
gainhp="5" : Quanto de HP irá ganhar.
gainhpticks="4" : De quanto em quanto tempo irá ganhar o HP.
gainmana="30" : Quanto de MP irá ganhar.
gainmanaticks="2" : De quanto em quanto tempo irá ganhar MP.
-
ViitinG's post in (Resolvido)Training Monk! was marked as the answerTenta mudar o script para este :
<?xml version="1.0" encoding="UTF-8"?> <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0"> <health now="99000" max="99000"/> <look type="57" corpse="3128"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="5000" min="0" max="-1"/> </attacks> <defenses armor="0" defense="0"> <defense name="healing" interval="10000" chance="100" min="24000" max="24000"/> </defenses> </monster> -
ViitinG's post in (Resolvido)pondo batlefield no mapa baiak de tibia 8.6 was marked as the answerTer tem cara mas eu não to em casa agora para puder mecher nisso.
Mas é só adicionar em globalevents..
-
ViitinG's post in (Resolvido)Quando alguem mata outra pessoa aparece no broadcast was marked as the answerTente esse para o Policial :
Em "data/npc/lib", crie um arquivo chamado "guard.lua" e adicione o conteúdo abaixo:
Guard = { config = { attackspeed = 1000, }, combat = {type = COMBAT_PHYSICALDAMAGE, min = 100, max = 200} } function Guard:new() local ret = {} setmetatable({}, {__index = self.combat}) setmetatable(ret, {__index = self}) return ret end function Guard:reset() self.config = Guard.config self.target = 0 selfFollow(0) doTeleportThing(self.id, self.position) end function Guard:updateTarget() if self.target ~= 0 then return end local creatures = getSpectators(getThingPosition(self.id), self.range, self.range, false) for i = 1, #creatures do local target = creatures[i] if isCreature(target) and not isNpc(target) and getCreatureSkull(target) >= 3 then if not getTilePzInfo(getThingPosition(target)) then if selfFollow(target) then selfSay("I don't tolerate people like you, ".. getCreatureName(target)) self.target = target self:attack() break end end else self:reset() end end end function Guard:attack() if self.target == 0 then self:reset() return end self.time = self.time or os.clock() if self.time < os.clock() then if getDistanceBetween(getThingPosition(self.id), getThingPosition(self.target)) == 1 then doTargetCombatHealth(self.id, self.target, self.combat.type, -self.combat.min, -self.combat.max, CONST_ME_DRAWBLOOD) end self.time = self.time + (self.config.attackspeed/1000) end end Agora em "data/npc/scripts", crie um arquivo chamado "guard.lua" e adicione o conteúdo abaixo:
local guard = Guard:new() function onCreatureAppear(cid) if cid == getNpcId() then guard.id = getNpcId() guard.target = 0 guard.position = getNpcPos() end end function onCreatureDisappear(cid) if cid == guard.target then guard:reset() end end function onCreatureSay(cid, type, msg) return false end function onThink() guard:updateTarget() if guard.target ~= 0 then if isCreature(guard.target) then guard:attack() else guard:reset() end else guard:reset() end end E em "data/npc/" crie um arquivo chamado "guard.xml" e adicione o conteúdo abaixo:
<?xml version="1.0" encoding="UTF-8"?> <npc name="Policial" script="guard.lua" walkinterval="0" speed="200" floorchange="0"> <health now="100" max="100"/> <look type="134" head="57" body="59" legs="40" feet="76" addons="0"/> <parameters/> </npc> Ajudei = REP +
-
ViitinG's post in (Resolvido)Loot de monstros was marked as the answerAperte "Ctrl + F" na pasta monster e procure por Morgaroth,veja se tem mais algum script de Morgaroth..
-
ViitinG's post in (Resolvido)Ajuda com meu server was marked as the answerPelo que eu vi você ta usando o NO-IP,tente botar o IP do NO-IP no seu config.lua e abra a porta 7171,7172 no seu firewall e modem !
-
ViitinG's post in (Resolvido)Ao pisar em tile morre was marked as the answerTente este :
"data/movements/scripts/tiledead"
local conditionFire = createConditionObject(CONDITION_FIRE) setConditionParam(conditionFire, CONDITION_PARAM_PERIODICDAMAGE, -999999) setConditionParam(conditionFire, CONDITION_PARAM_TICKS, -1) setConditionParam(conditionFire, CONDITION_PARAM_TICKINTERVAL, 2000) function onStepIn(cid, item, position, fromPosition) if isPlayerGhost(cid) then return true end if(math.random(1, 3) == 1) then doSendMagicEffect(position, CONST_ME_FIREAREA) end if(not isPlayer(cid)) then return false end doAddCondition(cid, conditionFire) return true end function onStepOut(cid, item, position, lastPosition, fromPosition, toPosition, actor) if(not isPlayer(cid)) then return false end doRemoveCondition(cid, CONDITION_FIRE) return true end Adicione a tag em "data/movements/movements.xml" :
obs : ID do piso.