Ir para conteúdo

Damatio

Membro
  • Registro em

  • Última visita

  1. elinardoslva começou a seguir Damatio
  2. IGlanot reagiu a uma resposta no tópico: Global 8.6 com varias atualizações do 12
  3. kevinazo reagiu a uma resposta no tópico: Global 8.6 com varias atualizações do 12
  4. https://github.com/AlissonRenna/order-global
  5. boa mano, eu era o dono dessa datapack, trampei pra kct nela, porém acabei desistindo e passei pra um mlk e ele começou a vender, boa por ter compartilhado pra comunidade! se eu não me engano ele consta um bug no cast, as vezes da dbug no cliente, de resto ta otimo
  6. Damatio reagiu a uma resposta no tópico: Global 8.6 com varias atualizações do 12
  7. desculpa por abrir o tópico novamente, mais como seria se eu fizesse isso no TFS 1.3 ? void Game::playerRequestOutfit(uint32_t playerId) { if (!g_config.getBoolean(ConfigManager::ALLOW_CHANGEOUTFIT)) { return; } Player* player = getPlayerByID(playerId); if (!player) { return; } player->sendOutfitWindow(); }
  8. Boa noite! Uso servidor OTX, meu market so verifica os itens no INBOX e nos DEPOTCHEST da cidade atual, no caso se eu abrir o market em THAIS, os items que irei vender so funcionara no DEPOTCHEST 2 que e o DP de Thais Alguem sabe onde coloco pra ele verificar todos os DEPOTCHEST de todas as cidades ? Imagem abaixo referente ao meu DP, cada CAIXINHA e referente a uma cidade! Verifiquei na minha soucer que o Market captura o ID das TOWN pro market verificar os items if (offer.type == MARKETACTION_BUY) { DepotChest* depotChest = player->getDepotChest(player->getLastDepotId(), false); if (!depotChest) { return; } std::forward_list<Item*> itemList = getMarketItemList(it.wareId, amount, depotChest); if (itemList.empty()) { return; }
  9. manda o items.otbm
  10. muito TOP! Meu elfbot nao consegue vender itens com a actions de cave bot! Actions. { npcsay 'hi' | npcsay 'trade' | wait 500 | end } { wait 500 | countitems 3041 | wait 500 } { sellitems 3041 $count | end } { wait 500 | countitems 3041 | wait 500 } { sellitems 3041 $count | end } tentei vender o blue gem no npc Marcelo, ele faz a contagem do item, porém, não vende!
  11. Damatio postou uma resposta no tópico em Ferramentas OpenTibia
    no meu ocorrer o mesmo error, poderia disponibilizar o seu map track que funciona ??
  12. o meu ocorre o mesmo error, alguem encontrou a solução ?
  13. Boa Tarde! Uso um servidor tfs 1.2, e quando o pessoal usa dancing ou usa uma hotkey de trocar de outfit rapido, acaba nao tendo exaust, queria saber onde posso colocar exaust, se for na soucer, me diga o local que posso alterar aqui! Alguem tem o comando !pz que mostra o tempo do pk sair ?? Desde já agradeço!
  14. Damatio reagiu a uma resposta no tópico: Trade Offline V2.0
  15. tenta esse local function getPlayerResets(cid) local resets = getPlayerStorageValue(cid, 500) return resets < 0 and 0 or resets end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLogin(cid) registerCreatureEvent(cid, "fraglook") return true end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..']\n[Reborns: '..getPlayerResets(thing.uid)..']') return true elseif thing.uid == cid then doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..']\n[Reborns: '..getPlayerResets(cid)..']') local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerName(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerName(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end
  16. não deu certo, eu coloquei o scripts em playerdeath, queria que ele nao deslogasse apos a morte playerdeath -templo.lua

Informação Importante

Confirmação de Termo