Blazera 8.60
blazera.net
SOBRE O BLAZERA
Um fresh start em um servidor 8.6 clássico, com real map, focado na experiência raiz do Tibia. | Classic Real Map • Fresh Start • Client 8.6 • Old School Gameplay • Active Community
Inicia em:
--
Participar
Tudo que patuloku postou
-
Weapons.xml
Weapons são armas, você tem que editar direto no items.xml, qualquer dúvida poste como está a sua prismatic boots que eu edito para você.
-
(Resolvido)não consigo pegar itens do chão nem jogar no chão!
Bom dia, simples, data/events/scripts/player.lua function Player:onBrowseField(position) return true end function Player:onLook(thing, position, distance) local description = "You see " .. thing:getDescription(distance) if self:getGroup():getAccess() then if thing:isItem() then description = string.format("%s\nItemID: [%d]", description, thing:getId()) local actionId = thing:getActionId() if actionId ~= 0 then description = string.format("%s, ActionID: [%d]", description, actionId) end local uniqueId = thing:getAttribute(ITEM_ATTRIBUTE_UNIQUEID) if uniqueId > 0 and uniqueId < 65536 then description = string.format("%s, UniqueId: [%d]", description, uniqueId) end description = description .. "." local itemType = thing:getType() local transformEquipId = itemType:getTransformEquipId() local transformDeEquipId = itemType:getTransformDeEquipId() if transformEquipId ~= 0 then description = string.format("%s\nTransformTo: [%d] (onEquip).", description, transformEquipId) elseif transformDeEquipId ~= 0 then description = string.format("%s\nTransformTo: [%d] (onDeEquip).", description, transformDeEquipId) end local decayId = itemType:getDecayId() if decayId ~= -1 then description = string.format("%s\nDecayTo: [%d]", description, decayId) end elseif thing:isCreature() then local str = "%s\nHealth: [%d / %d]" if thing:getMaxMana() > 0 then str = string.format("%s, Mana: [%d / %d]", str, thing:getMana(), thing:getMaxMana()) end description = string.format(str, description, thing:getHealth(), thing:getMaxHealth()) .. "." end local position = thing:getPosition() description = string.format( "%s\nPosition: [X: %d] [Y: %d] [Z: %d].", description, position.x, position.y, position.z ) if thing:isCreature() then if thing:isPlayer() then description = string.format("%s\nIP: [%s].", description, Game.convertIpToString(thing:getIp())) end end end self:sendTextMessage(MESSAGE_INFO_DESCR, description) end function Player:onLookInBattleList(creature, distance) local description = "You see " .. creature:getDescription(distance) if self:getGroup():getAccess() then local str = "%s\nHealth: [%d / %d]" if creature:getMaxMana() > 0 then str = string.format("%s, Mana: [%d / %d]", str, creature:getMana(), creature:getMaxMana()) end description = string.format(str, description, creature:getHealth(), creature:getMaxHealth()) .. "." local position = creature:getPosition() description = string.format( "%s\nPosition: [X: %d] [Y: %d] [Z: %d].", description, position.x, position.y, position.z ) if creature:isPlayer() then description = string.format("%s\nIP: [%s].", description, Game.convertIpToString(creature:getIp())) end end self:sendTextMessage(MESSAGE_INFO_DESCR, description) end function Player:onLookInTrade(partner, item, distance) self:sendTextMessage(MESSAGE_INFO_DESCR, "You see " .. item:getDescription(distance)) end function Player:onLookInShop(itemType, count) return true end function Player:onMoveItem(item, count, fromPosition, toPosition) local tile = toPosition:getTile() if tile then local thing = tile:getItemByType(ITEM_TYPE_TELEPORT) if thing ~= nil then self:sendCancelMessage("Sorry, not possible.") self:getPosition():sendMagicEffect(CONST_ME_POFF) return false end end return true end function Player:onMoveCreature(creature, fromPosition, toPosition) return true end function Player:onTurn(direction) return true end function Player:onTradeRequest(target, item) return true end Caso resolva, clique na melhor resposta e me de REP++ ( Gostei ). abraços.
-
ERROS EM GERAL
Bom dia Edu, Vou te passar alguns links para te ajudar, http://www.tibiaking.com/forum/forum/162-otservs-9x-10x/ < Aqui você vai achar otservers para o seu sistema operacional http://www.tibiaking.com/forum/topic/1930-criando-otserv-ip-fixo-sqlitestudio-e-colocando-otserv-online/ Siga todos os passos certinho e caso dê problema pode postar que eu vou te ajudar da melhor maneira possível. Abraços.
-
ajuda Premium account não abaixa
Bom dia José, Tente fazer o que o Matheus fez, acho que isso vai te ajudar. http://www.tibiaking.com/forum/topic/2623-creaturescript-ganhar-3-dias-de-premium-ao-logar-pela-primeira-vez/
-
Novo Estagiário
hahahahahha parabéns, eu não te conheço mas parece que você ajuda bastante gente, e espero que você me ajude tbm kkkkkkkkkkkkkkkkk
-
Novo Estagiário
Parabéns, hahaha ganhou +10 rep só nessa apresentação kkkkkkkkkkkkk Abraços.
-
IP Changer 10.41/10.53
Muito bom, precisava muito disso. Gostei, reputado !
- Criação de OT Servers - Pessoas sem Experiencia
-
Erro URGENTE.
Olá Absolute, tentei fazer isso e infelizmente não funcionou, Fabregas acredito que não seja o script de npc pois quando eu compro ele diz que estou sem cap e compra somente uma bp. Agradeco a tentativa e se puder me ajudar irei ser grato Abraços.
-
Erro URGENTE.
Boa tarde galera, toda vez que eu vou comprar 2 ou mais backpacks em qualquer npc, ele me entrega somente 1 e acusa que não tenho cap, ou qualquer item Estou usando esse otserver, https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS REP+ para quem me ajudar, muito obrigado. ps: não sei se postei na área certa, caso seja a área errada me desculpe.
-
Bug Shop System Gesior
Somente usar \/ http://pastebin.com/mjisMCpR
-
Shop Gesior Bugado
Tente esse. -- ### CONFIG ### -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.storeQuery("SELECT * FROM z_ots_comunication") if result_plr ~= false then repeat local id = tonumber(result.getDataInt(result_plr, "id")) local action = tostring(result.getDataString(result_plr, "action")) local delete = tonumber(result.getDataInt(result_plr, "delete_it")) local player = Player(tostring(result.getDataString(result_plr, "name"))) if player then local itemtogive_id = tonumber(result.getDataInt(result_plr, "param1")) local itemtogive_count = tonumber(result.getDataInt(result_plr, "param2")) local container_id = tonumber(result.getDataInt(result_plr, "param3")) local container_count = tonumber(result.getDataInt(result_plr, "param4")) local add_item_type = tostring(result.getDataString(result_plr, "param5")) local add_item_name = tostring(result.getDataString(result_plr, "param6")) local received_item = 0 local full_weight = 0 local itemType = ItemType(itemtogive_id) if add_item_type == 'container' then if itemType:isRune() then items_weight = container_count * itemType:getWeight() else items_weight = container_count * itemType:getWeight(itemtogive_count) end full_weight = items_weight + ItemType(container_id):getWeight() else if itemType:isRune() then full_weight = itemType:getWeight() else full_weight = itemType:getWeight(itemtogive_count) end end local free_cap = player:getFreeCapacity() if full_weight <= free_cap then if add_item_type == 'container' then local new_container = Game.createItem(container_id, 1) local iter = 0 while iter ~= container_count do new_container:addItem(itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = player:addItemEx(new_container) else local new_item = Game.createItem(itemtogive_id, itemtogive_count) received_item = player:addItemEx(new_item) end if type(received_item) == 'number' and received_item == RETURNVALUE_NOERROR then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " ..id .. ";") else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval..' seconds to get it.') end end until not result.next(result_plr) result.free(result_plr) end return true end
-
O que é mapear? - Parte dois
Muito obrigado, esse tutorial me ajudou em muitas dúvidas !
- Aulas De Mapper (Criando Cidade Com Cachoeira)
-
[Video]Criando Quest Pelo Remeres Map Editor
Obrigado, estou começando e me ajudou bastante.
-
Error Database ( Muito LAG )
Olá pessoal, estou montando um otserver em linux, e tudo deu certo só que quando logam no otserver fica MUITO lag mesmo estando em rede local, ele anda muitoooooo devagar, só que quando ele abre as bps ele abre normal e fecha, ele pega item e joga itens no chão sem lag nenhum, bom vou deixar as especificações de tudo o que eu uso. Dell PowerEdge with 8g Ram, 4 processors Ubuntu Server 14.04.1 LTS server Hyper-v TFS 1.0 global map 10.41 O único erro que da no console é esse, [Error - DatabaseManager: UpdateDatabase - Version: 38] can not open data / migrations / 38.lua: No such file or directory eu não sei se isso é o causador desse lag, já revisei os scripts etc e não consigo resolver esse problema, no mapa forgotten.otbm funciona normal, sem lag e sem problema nenhum, se puderem me ajudar serei muito grato. Abraços !