Ir para conteúdo
US
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

Absolute

Héroi
  • Registro em

  • Última visita

Tudo que Absolute postou

  1. Abra um tópico solicitando ajuda sobre isto, pois não tem nada a ver com o tópico, estamos floodando este tópico, por favor. Abraços.
  2. Não entendi.. Você tem que retirar a função que requer a storage pra entrar no local
  3. /town oramond ou /town rathleton
  4. Entre no seu PHPMYADMIN, selecione sua database e procure por SQL, para inserir query, algo assim: E então insira o que há abaixo e execute. ALTER TABLE `players` ADD `cast` TINYINT NOT NULL DEFAULT '0', ADD `castViewers` INT( 11 ) NOT NULL DEFAULT '0', ADD `castDescription` VARCHAR( 255 ) NOT NULL E resolverá.
  5. Absolute postou uma resposta no tópico em Suporte & Pedidos
    Da pra basear isso ai como um mapa battlefield, pra tirar de vez aquele clichê hehe, parabéns.
  6. Você não está seguindo os passos que falei.. Faça também como @roriscrave disse, nomeia uma screen screen -S servidor vá até o diretório do seu server, exemplo: cd /home/ot e de o comando ./theforgottenserver
  7. Para abrir execute de forma diferente. screen tecle 2 vezes a tecla espaço execute o comando ./theforgottenserver pós abrir digite exit; ou tecle ctrl+a+d
  8. Está sem a função: function getOfferArray() Adicione a função e tente.
  9. Retira a função do requerimento de storage ou coloca uma storage que todos os players possuem.
  10. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Sim, é que o changename é direto do Gesior para seu banco de dados, executando uma query para mudança de nome, não há intervenções de script in-game, mesmo exemplo do red skull que altera o "número" da skull no banco de dados e a premmy que deve ser por storage ou premdays também no banco de dados. Troque o seu shop.lua por este: local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do local id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", "This item was purchased at the shop by the player ".. getPlayerName(cid) ..".") doItemSetAttribute(new_item, "aid", getPlayerGUID(cid)+10000) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. 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 doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. 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 if not(result_plr:next()) then break end end result_plr:free() end return true end
  11. Absolute postou uma resposta no tópico em Suporte Bots
    2.3 - Use títulos e ícones adequados:Ao criar um novo tópico no fórum, dê a ele um título que esteja relacionado ao conteúdo do tópico. Títulos como "Ajudaaa!" ou "Entrem aqui!" só pioram as coisas: ninguém vai saber do que se trata, e menos pessoas irão entrar para olhar o que você postou e também evite de usar o CAPSLOCK ao criar seu título. @Topic, tá fazendo o target como?
  12. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Troque no XML por: <globalevent name="shop" interval="60" event="script" value="shop.lua"/> De reload e teste.
  13. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Poste aqui o seu globalevents.xml e o arquivo shop.lua do globalevents
  14. Troque, reload e tente: local statues = { [18488] = SKILL_SWORD, [18489] = SKILL_AXE, [18490] = SKILL_CLUB, [18491] = SKILL_DISTANCE, [18492] = SKILL_MAGLEVEL } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local skill = statues[item.itemid] if not skill then return false end if not player:isPremium() then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT)) return true end if player:isPzLocked() then return false end doPlayerSetOfflineTrainingSkill(cid, skill) player:remove() return true end
  15. Não, só se fosse um server save reiniciando e mudando no config, mas usar mais de um mapa ao mesmo tempo não há possibilidades.
  16. Isso acontece pela falta de alguns bytes necessário para rodar esta versão 10.82
  17. Claro que há, so fazer por script, mas tudo em uma mapa só, em área diferentes
  18. Vou achar aqui, não sei porque foi deletado.
  19. 7.4 é difícil, aqui na sessão tem 7.6
  20. Amigo, poste o script que você usa para alguém poder atende-lo
  21. Absolute postou uma resposta no tópico em Portal
    Ficou ótimo, só falta se acostumar hahaha Como eu disse, em questão de design Guilherme domina <3
  22. Parabéns Bruno, como sempre magnifico, adorei a ideia de colocar online e compartilhar o projeto na gt. Uma dúvida, o projeto é baseado na orts? Abraços continue assim.
  23. sim, agora seu erro foi outro em outra linha, mais abaixo do script rs

Informação Importante

Confirmação de Termo