Ir para conteúdo

9k22

Membro
  • Registro em

  • Última visita

Tudo que 9k22 postou

  1. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Em data/xml/vocation.xml Você poderá modificar boa parte do balanceamento de cada vocação, inclusive atkspeed!
  2. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Sem double post, já é a 2º vez que aviso! Aqui entrou normal...
  3. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Você desbloqueou as portas do seu moldem? Sua internet é compartilhada ou via-rádio? Sim ou não?
  4. Resumindo... N a coordenada aonde está informando o erro possui o foguinho de spawn (aquele VERMELHO), verifica os monstros dentro dele, clica com o botão direito do mouse>propriets e verifica o spawn inverval, se tiver 1 seg, modifica para 60 seg...
  5. 9k22 postou uma resposta no tópico em Suporte Bots
    -MultClient no Tibia Global da BAN facilmente?; RESP: Não, apenas se você abrir o tibia com algum programa tipo decktop! -Existe algum MultiClinet que é indetectavel?; RESP: Sim, existem black mc e outro que não sei o nome! -Existe algum BOT que é indetectavel?; RESP: Alguns, Bbot é um deles! -Se eu abrir 2 CLIENTS e usar BOT somente em uma conta vou levar BAN na duas contas?; RESP: Não, apenas na conta que você está usando o bot! -Se eu usar BOT somente para usar o X-RAY(uso muito essa ferramenta) e ficar jogando com o char e não deixar ele sozinho com o BOT é capaz de levar BAN?; RESP: Sim!
  6. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Espera ae que eu vi uma coisa... Adiciona esta tabela na database: CREATE TABLE IF NOT EXISTS `z_ots_comunication` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `param1` varchar(255) NOT NULL, `param2` varchar(255) NOT NULL, `param3` varchar(255) NOT NULL, `param4` varchar(255) NOT NULL, `param5` varchar(255) NOT NULL, `param6` varchar(255) NOT NULL, `param7` varchar(255) NOT NULL, `delete_it` int(2) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; Conserteza é este o erro, sem dúvidas! Executa essa query e depois me fala se funcionou.
  7. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Faz o seguinte, troque o shopsystem.php e shopadmin.php... Como o arquivo é muito grande para postar aqui, anexei ele... shopadmin.php shopsystem.php
  8. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Cuidado com o double post, você só poderá dar Up no seu tópico a cada 24 horas ... 1º - Você liberou as portas 80 e 8090 do firewall? 2º - você criou um ip fixo ou deu o seu ip fixo para que eles possam entrar? (se você deu o link localhost:8090 eles não iram nunca conseguir entrar). 3º - Sua internet é compartilhada ou Via-radio?
  9. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Usa esse: -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- 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.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE 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) doItemSetAttribute(new_container, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') local iter = 0 while iter ~= container_count do local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') doAddContainerItemEx(new_container, new_item) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", 'Bought by ' .. getCreatureName(cid) .. ' [ID:' .. id .. '].') 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.') doPlayerSave(cid) 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 Agora adiciona a query no phpmyadmin.. Espero que eu tenha lhe ajudado!
  10. Maravilhoso, como você tinha dito antes que iria postar, postou mesmo! Parabéns, script muito bem bolado e criativo. Reputado Sem esqueçer que o script está sem nenhum erro ou bug visto até agora.
  11. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Haha mõ gatinha ;x Pena que a irmã do vittu é intocável Mais parabéns para ela!
  12. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    local config = { level = 50, storage = 9557, msg = "Você ganhou 20% de atk speed por avaçar ao level 50.", msgtp = MESSAGE_EVENT_ADVANCE, -- tipo da mensagem atkspeed = "800" -- atkspeed 0.8 seg = 20% (atkspeed normal 1 seg) } function onAdvance(cid, oldLevel, newLevel) if getPlayerStorageValue(cid, config.storage) < 1 and getPlayerLevel(cid) >= config.level then doPlayerAddAtkSpeed(cid, config.atkspeed) setPlayerStorageValue(cid, config.storage, 1) doPlayerSendTextMessage(cid, config.msgtp, config.msg) end return TRUE end Desculpa, cometi um erro no script! Mais eu já tive um servidor que tinha a função atk speed tanto para adicionar quanto para chegar! Mais se não pegar, o lpz está certo e seu servidor não possui a função.
  13. Ou intão você poderá fazer o seguinte: Siga para este tópico! http://tibiaking.com...ot-via-hamachi/ Siga passo-a-passo o vídeo para que tudo funcione corretamente. Certifique-se que seus amigos tenham baixado o hamachi da mesma versão que a sua. Certifique-se que você colocou o ip do hamachi corretamente no config.lua. Certifique-se que você criou a sala via hamachi para que seus amigos possam entrar.
  14. Agradeço a ídeia, criei um pequeno vídeo tutorial. kkk, eu e meus erros de português, título arrumado!
  15. Poste aqui o script do advancedfight, ele está com erro, poste para que eu possa arrumar. - Edit, desculpe, não vi o script, estou arrumando ele, jaja edito aqui! Edit² - Consegui eu axo, não tenho servidor pokemon para testar mais está ai:
  16. Versão Testada: 8.6 TFS 0.4 Versão recomendada: 8.6 TFS 0.3.6 ~ 0.4 Tipo do script: Globalevents Bem, procurei aqui no fórum e não encontrei, vou compartilhar aqui o'que muitos procuravam e não encontravam, uma RAID altomatica que aconteçe 1x todas as semanas (configuravel). Em data/globalevents/script crie um arquivo com extensão .lua e adicione: --[[ - hora deve ser exata SERVER - para fazer o raid tera que ser ex: 00 hour(horas) e 00 minu (minutos) - para fazer a raid na data e hora no tempo exato, uso "exact" - para fazer a raid ocorrer todas as semanas (pelo menos 1x na semana) uso "weekly" - o nome dos dias sao ultilizados apenas para o tipo semanal que devera ser - "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" - tambem devem estar dentro de uma matriz-> {} ]] local raids = { [1] = { name = 'Morgaroth', type = 'weekly', days = {'friday'}, hour = 16, minu = 00 }, [2] = { name = 'Ferumbras', type = 'weekly', days = {'tuesday'}, hour = 18, minu = 00 } } local last_execsutes = {} function onThink(interval, lastExecution, thinkInterval) local static_time = os.time() for k, raid in ipairs(raids) do if (raid.type == 'weekly') then local day = os.date("%A", static_time):lower() if isInArray(raid.days, day) then local hour = tonumber(os.date("%H", static_time)) if (raid.hour == hour) then local minute = tonumber(os.date("%M", static_time)) if (raid.minu == minute) then local day_number = tonumber(os.date("%d", static_time)) if (last_execsutes[k] ~= day_number) then last_execsutes[k] = day_number doExecuteRaid(raid.name) end end end end elseif (raid.type == 'exact') then local month = tonumber(os.date("%m", static_time)) if (raid.date.month == month) then local day = tonumber(os.date("%d", static_time)) if (raid.date.day == day) then local hour = tonumber(os.date("%H", static_time)) if (raid.hour == hour) then local minute = tonumber(os.date("%M", static_time)) if (raid.minu == minute) then if (last_execsutes[k] ~= day) then last_execsutes[k] = day doExecuteRaid(raid.name) end end end end end end end return true end Bem, como podem ver, eu fiz apenas 2 como exemplo, você pode adicionar mais, só não esqueça de colocar o }, no anterior. Agora em data/globalevents/globalevents.xml adicione: <globalevent name="raids" interval="15000" event="script" value="raid.lua"/> Ps: não mecha no interval! Agora em data/raids crie um arquivo .xml com o nome Morgaroth "Morgaroth.xml" e adicione isto lá dentro: <?xml version="1.0" encoding="utf-8"?> <raid> <!-- // Raid System by 5mok3 // Nao mude o intervalo da raid, apenas em globalevents vocce podera mudar --> <!--Announcements--> <announce delay="1000" type="Event" message="The ancient volcano on Goroma slowly becomes active once again." /> <announce delay="30000" type="Event" message="There is an evil presence at the volcano of Goroma." /> <announce delay="60000" type="Event" message="Evil Cultists have called an ancient evil into the volcano on Goroma. Beware of its power mortals." /> <!--Single Spawns--> <singlespawn delay="60000" name="Morgaroth" x="32063" y="32612" z="14" /> </raid> Crie outro no mesmo lugar com extenção .xml com o nome Ferumbras "Ferumbras.xml" e adicione: <?xml version="1.0" encoding="utf-8"?> <raid> <!-- // Raid System by 5mok3 // Nao mude o intervalo da raid, apenas em globalevents vocce podera mudar --> <!--Announcements--> <announce delay="1000" type="Event" message="The seals on Ferumbras old cidatel are glowing. Prepare for HIS return mortals." /> <announce delay="50000" type="Event" message="Ferumbras return is at hand. The Edron Academy calls for Heroes to fight that evil." /> <announce delay="60000" type="Event" message="Ferumbras has returned to his citadel once more. Stop him before its too late." /> <!--Single Spawns--> <singlespawn delay="60000" name="Ferumbras" x="32124" y="32687" z="4" /> </raid> Mude o x=" " y=" " z=" " para o local aonde o monstro irá nascer... Em raids/raids.xml adicione: <raid name="Morgaroth" file="Morgaroth.xml" interval2="30" margin="1000" enabled="yes"/> <raid name="Ferumbras" file="Ferumbras.xml" interval2="30" margin="1000" enabled="yes"/> PS: não mude o interval2. Agora caso você queira que apareça um broadcast quando o Tal player matar o boss, faça o seguinte. Em creaturescript/scripts e crie um arquivo .lua e adicione: local monstrolol = {"Morgaroth","Ferumbras"} function onKill(cid, target, lastHit) if isInArray(monstrolol,getCreatureName(target)) then doBroadcastMessage("O jogador "..getCreatureName(cid).." killed the powerful boss "..getCreatureName(target).."!") end return true end Em creaturescript/creaturescript.xml adicione: <event type="kill" name="killboss" event="script" value="NOME_DO_SCRIPT.lua"/> Para finalizar, em creaturescript/login.lua adicione: registerCreatureEvent(cid, "killboss") Adicionado vídeo tutorial de como adicionar novas raids a pedido de nosso membro GabrielSv. Créditos: 5mok3 90% .............. Subyth 10%
  17. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Adiciona em creaturescript <event type="advance" name="Levelup50" event="script" value="NOME_DO_SCRIPT.lua"/>
  18. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Nada rapaz, só possuir um servidor de tibia aberto em um dedicado e aproveitar deixando o tibiaking aberto também... Oque a equipe poderia fazer era colocar um limite maximo de permanecer online, caso inativo por 15~30 minutos, o player iria desconectar altomaticamente...
  19. 9k22 postou uma resposta no tópico em Suporte & Pedidos
    Muito bom, só precisa melhorar um pouquinho! O você pode modificar para já que é um lugar aonde tem lixo... Aquela poça de agua ao topo a direita da screen, você poderia trocar o grass por alternative border para parecer mais real o buraco. E concerteza não usar auto border, pois o mapa fica feio. Fora isso, o resto está muito bom, parabéns pelo seu mapa!
  20. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Raapz, só nas sources para fazer isto, creio eu. Tem a função doPlayerAddAtkSpeed (cid, Valor) mais para ir almentando conforme upa skill, séria mais 500... local config = { level = 50, storage = 9557, msg = "Você ganhou 20% de atk speed por avaçar ao level 50.", msgtp = MESSAGE_EVENT_ADVANCE, -- tipo da mensagem atkspeed = "800" -- atkspeed 0.8 seg = 20% (atkspeed normal 1 seg) function onAdvance(cid, oldLevel, newLevel) if getPlayerStorageValue(cid, config.storage) < 1 and getPlayerLevel(cid) >= config.level then doPlayerAddAtkSpeed(cid, config.atkspeed) setPlayerStorageValue(cid, config.storage, 1) doPlayerSendTextMessage(cid, config.msgtp, config.msg) end return TRUE end Só consegui fazer esse aqui, checa o level e adiciona o atk speed ao atingir level 50.
  21. Caramba muito bom mesmo, posso até usar essa formula para um npc guarda no servidor, que possui o msm atk usando uma bright sword, assim ficará mais facil balancear ao invez de apenas números ... Parabéns mesmo, muito bom! REP+
  22. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Qual servidor você está jogando? Plx items plx por favor alguem me da xD
  23. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Tenta usar este intão http://www.4shared.com/rar/R6X_YZtN/otitemeditor.html Ps: passa o virustotal.
  24. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    só tem em inglês sapoha? Pois se for, é ruim D+ para fazer quests, pq demora muito, ainda tem que ler e entender...
  25. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    O otitemeditor 0.5.3 funciona até a versão 9.53... pelo que eu vejo ele não está conseguindo abrir o arquivo .dat. Já tentou executar como administrador?

Informação Importante

Confirmação de Termo