-
Content Count
76 -
Joined
-
Last visited
-
Days Won
1
Marco Oliveira last won the day on October 21 2020
Marco Oliveira had the most liked content!
About Marco Oliveira
.png.dacd7bcb7b4a7f488d55f4b392094ace.png)
-
Rank
Dedicated
Profile Information
-
Localization
Monte Azul - MG
-
I am
Tibiano
Recent Profile Visitors
-
Marco Oliveira reacted to a post in a topic: Remake temple baiak 8.60
-
Katiau reacted to a post in a topic: Acesso full a Imbuing Shrine
-
(Resolvido)[TFS 1.3] [AJUDA] Sumonar NPC por tempo
Marco Oliveira replied to Sh0z's topic in Tibia Otserv Support (Resolved)
local function removeNpc(creature) local target = Npc(npc) target:getPosition():sendMagicEffect(CONST_ME_TELEPORT) player:setStorageValue(storage, 0) target:remove() end function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(storage) < os.time() then local playerPos = player:getPosition() local position = Position(playerPos.x, playerPos.y + 1, playerPos.z) local npcName = "Mad" local storage = 2252 local npc = Game.createNpc(npcName, position) if npc then npc:setMasterPos(position) position:sendMagicEffect(CONST_ME_POFF) -
(Resolvido)[TFS 1.3] [AJUDA] Sumonar NPC por tempo
Marco Oliveira replied to Sh0z's topic in Tibia Otserv Support (Resolved)
local function removeNpc(creature) local target = Npc(npc) target:getPosition():sendMagicEffect(CONST_ME_TELEPORT) player:setStorageValue(storage, 0) target:remove() end function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(storage) >= os.time() then local playerPos = player:getPosition() local position = Position(playerPos.x, playerPos.y + 1, playerPos.z) local npcName = "Mad" local storage = 2252 local npc = Game.createNpc(npcName, position) if npc then npc:setMasterPos(position) position:sendMagicEffect(CONST_ME_POFF) -
Marco Oliveira reacted to an answer to a question: Tópico apagado, fórum tibia king é imparcial?
-
Cat started following Marco Oliveira
-
Seitron reacted to a post in a topic: Acesso full a Imbuing Shrine
-
Marco Oliveira reacted to a post in a topic: 5 Sites Exclusivos para Tibia Otserv, Narutibia e Dragon Ball Z + Layouts e Landing Pages!
-
Programação Erro ao tentar compilar sources
Marco Oliveira replied to daniel.braga989's topic in Tibia Otserv Support
Favor não me marcar em tópico que não participo, obg. -
Xablaw reacted to a post in a topic: (Resolvido)Bloqueando movimentação de itens.
-
Augusto reacted to a post in a topic: Criar botão no GesiorACC
-
Augusto reacted to a post in a topic: (Resolvido)Bloqueando movimentação de itens.
-
Website Criar botão no GesiorACC
Marco Oliveira replied to Rogex Joyz's topic in Tibia Otserv Support
em layout/layout.php procure por <div id="Menu"> e adicione o código a baixo: <div class="SmallMenuBox" style="top: 4px;" > <div id="LoginTop" style="background-image:url(<?php echo $layout_name; ?>/images/global/general/box-top.gif)" ></div> <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?php echo $layout_name; ?>/images/global/general/chain.gif); height: 39px;" ></div> <div id="LoginButtonContainer" style="background-image:url(<?php echo $layout_name; ?>/images/global/loginbox/loginbox-text -
(Resolvido)Bloqueando movimentação de itens.
Marco Oliveira replied to Xablaw's topic in Tibia Otserv Support (Resolved)
Em events/player.lua adicione o seguinte código nas funções Player:onTradeRequest(target, item) e Player:onMoveItem: if item:getActionId() == 8000 then self:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE) return false end Todos os itens que possuírem actionId igual a 8000 não serão movidos ou poderão receber trade dos jogadores. PS: Verifique se a função onTradeRequest está ativada em events.xml -
Rogex Joyz reacted to a post in a topic: Gesior AAC - 2020
-
Você pode liberar as storages de acesso ao jogador no npc The Oracle, basta procurar pela linha player:setTown(Town(town[cid])) e adicionar as seguintes linhas: -- Forgotten Knowledge player:setStorageValue(Storage.ForgottenKnowledge.Tomes, 1) player:setStorageValue(Storage.ForgottenKnowledge.LastLoreKilled, 1) player:setStorageValue(Storage.ForgottenKnowledge.TimeGuardianKilled, 1) player:setStorageValue(Storage.ForgottenKnowledge.HorrorKilled, 1) player:setStorageValue(Storage.ForgottenKnowledge.DragonkingKilled, 1) player:setStorageValue(Storage.ForgottenKnowledge.ThornKnightKilled, 1)
-
Marco Oliveira reacted to a post in a topic: Bounac 12.40
-
luanluciano93 reacted to a post in a topic: Auto git pull e backup
-
tinkywinky started following Marco Oliveira
-
Sistema de Medalhões! Solicite aqui!
Marco Oliveira replied to Cat's topic in Rules and Informations
Aguardo minhas medalhas. -
(Resolvido)Tile por level
Marco Oliveira replied to eunaosei123's topic in Tibia Otserv Support (Resolved)
function onStepIn(cid, item, position, fromPosition) local min = 150 local max = 200 local lvl = getPlayerLevel(cid) if lvl >= min and lvl <= max then return true else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) doPlayerSendCancel(cid,"Somente level maior que " .. min .. " e menor que ".. max .." podem passar aqui.") end return true end <movevent type="StepIn" actionid="23001" event="script" value="checkLevelOnTile.lua"/> -
Calisto reacted to a post in a topic: Attribute Key | Explicações.
-
Marco Oliveira changed their profile photo
-
masterix started following Marco Oliveira
-
Gogetasaya reacted to a post in a topic: Servidor 10.90 | Windows 32/64 Bits | Versão Final
-
Scripting [PEDIDO] Regem de stamina Training online
Marco Oliveira replied to luciano01's topic in Tibia Otserv Support
marque como melhor resposta -
luciano01 reacted to a post in a topic: [PEDIDO] Regem de stamina Training online
-
Scripting [PEDIDO] Regem de stamina Training online
Marco Oliveira replied to luciano01's topic in Tibia Otserv Support
Substitua sua função por: function Creature:onTargetCombat(target) if not self then return true end if not __picif[target.uid] then if target:isMonster() then target:registerEvent("RewardSystemSlogan") __picif[target.uid] = {} end end if target:isPlayer() then if self:isMonster() then local protectionStorage = target:getStorageValue(Storage.combatProtectionStorage) if target:getIp() == 0 then -- If player is disconnected, monster shall ignore to attack the player if target:isPzLocked() then end if protectionStorage <= 0 then addEvent(removeCom -
Scripting Pedido login.php compativel 12.20 com o gesior
Marco Oliveira replied to leandronetx's topic in Tibia Otserv Support
na pasta raiz do seu site crie um arquivo chamado login.php e dentro dele adicione o seguinte código: <?php $_GET['subtopic'] = 'login'; $_REQUEST['subtopic'] = 'login'; include('index.php'); na pasta pages crie outro arquivo chamado login.php e adicione o seguinte código: <?php header('Content-Type: application/json'); if(!defined('INITIALIZED')) exit; function sendError($msg){ $ret = []; $ret["errorCode"] = 3; $ret["errorMessage"] = $msg; die(json_encode($ret)); } $request = file_get_contents('php://input'); $result = json_decode($request); $action = isset( -
Scripting [PEDIDO] Tirar um código de uma script
Marco Oliveira replied to luciano01's topic in Tibia Otserv Support
function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Attack the Monk and you will win 1 of stamina every 2 minutes training here.') return true end -
Scripting [PEDIDO] Regem de stamina Training online
Marco Oliveira replied to luciano01's topic in Tibia Otserv Support
Em data/events/scripts/creature.lua procure por function Creature:onTargetCombat(target), a cima adicione o seguinte codigo: -- Increase Stamina when Attacking Trainer local staminaBonus = { target = 'Training Monk', period = 120000, -- time on miliseconds bonus = 1, -- gain stamina events = {} } local function addStamina(name) local player = Player(name) if not player then staminaBonus.events[name] = nil else local target = player:getTarget() if not target or target:getName() ~= staminaBonus.target then staminaBonus.events[name] = nil else player:setStamina(player:ge -
A mensagem está localizada em houses.cpp dentro de void House::updateDoorDescription() const
Tibia King
Open Tibia Server
Quer aprender a criar seu próprio servidor de Tibia? Então está no lugar certo, aqui você encontrará milhares de tutorias, scripts, códigos, mapas e utilitários para que você possa fazer o seu próprio servidor de Tibia começando do zero.
Anuncie no Tibia King
Precisa de mais visibilidade em seus projetos? Quer fazer um plano publicitário para o seu servidor? Anuncie no Tibia King e faça sua divulgação, possuímos centenas de acessos simultâneos e milhares diários, com certeza será a sua solução!