Ir para conteúdo

di12345di

Membro
  • Registro em

  • Última visita

Tudo que di12345di postou

  1. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up up UP up
  2. pode fechar o topico já descobrir o poblema. presciso adicionar essas linhas <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> em tudo.
  3. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    eu recentemente peguei um layout de 1 amigão mais to com 1 poblema. alguem sabe dizer oque danado é isso . http://prntscr.com/9jbevi tipo creio eu que tem algo que não está apontando eles no layout. ou quem tem mais experiencia e souber. descobrir uma coisa tudo que envolve hora e data na pagina dá esse erro http://prntscr.com/9jgjcp acho que é alguma pagina que direciona todas. http://prntscr.com/9jgjs8
  4. alguem sabe dizer como configuro meu layout pra aceitar os acento nas palavras ? http://prntscr.com/9jbdzl
  5. Deu esse erro ake data/actions/scripts/vip/epicvip3.lua:4: attempt to perform arithmetic on global 'days' (a nil value) [28/12/2015 1:51:49] [Error - Event::checkScript] Cannot load script (data/actions/scripts/vip/epicvip3.lua)
  6. pode fechar o topico com melhor resposta
  7. up Azhaurn não consegue dar esse suporte pra mim não? porfavor me ajudem to desesperado. Gaant Absolute Wakon Sekk dominus vankk sei lá alguem pliz
  8. olha eu tenho o seguinte sistema vip no meu servidor function onUse(cid, item, fromPosition, itemEx, toPosition) local days,removeOnUse = 30,true local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 23510) local timenow = os.time() local time = getPlayerStorageValue(cid, 23510) - os.time() <= 0 and timenow + daysvalue or storageplayer + daysvalue doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 23510, time) local quantity = math.floor((getPlayerStorageValue(cid, 23510) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if removeOnUse == true then doRemoveItem(item.uid, 1) end return true end mais gostaria de que assim que usasse o item vip pra dar vip o jogador fosse kikado em 5 segundos e retorna-se com o nome [VIP]+nome dele já tentei varios scripts e não fucionou esse ai que postei é uma action
  9. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    exatamente isso. up
  10. rep+ muito obrigado pela atenção e fucionou direitinho ake, tranks
  11. olá eu gostaria de um npc que só dizer hi , e o nome do lugar onde quer ir como no exemplo abaixo The Place of Death pronto é teleportado sem falar yes. e alguem poderia me explicar como coloca pra ficar azul o local do destino? http://prntscr.com/9ga9lv sim lembrando e que cobre crystal coin.
  12. posso diponibilizar o servidor sem bugs e erros arrumados tanto faz em windows ou em Linux. alias o servidor tá todo configurado para linux retirei todos os erros da distro e bugs . quem tiver curiozidade acesse www.tibia24horas.com < quem quiser uma copia conversa comigo pelo skype que nós fecha algum tipo de acordo. skype: Diego_Unit to em uma cadeira com um copo de cerveja.
  13. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    alguem tem ideia de onde eu encontro o script que divulga por mp?
  14. cara esse servidor não presta em linux logo avisando, quem tiver uma vps e for usar ele em algum projeto para linux nem baixe pois é cheio de erros. as souce é bugada é a do luan luciano e fora os erros . tem uns erros que é easy agora tem outros que nem que mexe a anos conseguiu arrumar.
  15. eu to com o mesmo poblema, já tentei de todas formas e não consegui natan, fiz como você sugeriu , já tentei pelo eremo. já procurei os scripts dela tirei a charge já tentei achar outro script que tenha ela e nada revirei meu servidor será que tem aver com os samples não?
  16. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    Valakinhas então retirei o aol mais ainda não fucionou será que tem aver com os samples?
  17. o aol do meu servidor tá infinito será que tem aver com os samples?
  18. di12345di postou uma resposta no tópico em Formação de Equipe
    cazpero Skupe: Diego_Unit nome Diego Santos Torquato osasco
  19. di12345di postou uma resposta no tópico em Suporte Tibia OTServer
    alguem sabe dizer oque pode ser esse erro http://prntscr.com/998o2w ??? local tabela = {} local function getPlayerList(cid) local tab = {} if getPlayerStorageValue(cid, 0442002) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442002)) end if getPlayerStorageValue(cid, 0442003) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442003)) end if getPlayerStorageValue(cid, 0442004) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442004)) end if getPlayerStorageValue(cid, 0442005) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442005)) end if #tab > 0 then return tab end return false end local function autoLoot(cid, pos) local check = false local str = "" local position = {} for i = 1, 255 do pos.stackpos = i if getThingFromPos(pos).uid and getThingFromPos(pos).uid > 0 and isContainer(getThingFromPos(pos).uid) then position = pos check = true break end end if check then local corpse = getContainerItemsInfo(getThingFromPos(position).uid) if corpse then for index, info in pairs(corpse) do if index < countTable(corpse) then if tonumber(info.uid) and tonumber(info.itemid) then if isContainer(info.uid) then local bag = getContainerItemsInfo(info.uid) for i = 1, countTable(bag) - 1 do if isInArray(getPlayerList(cid), bag[i].itemid) then if bag[i].quant > 1 then doRemoveItem(bag[i].uid, bag[i].quant) doPlayerAddItem(cid, bag[i].itemid, bag[i].quant) str = str.." "..bag[i].quant.." "..getItemNameById(bag[i].itemid).."," else doRemoveItem(bag[i].uid) doPlayerAddItem(cid, bag[i].itemid, 1) str = str.." 1 "..getItemNameById(bag[i].itemid).."," end end end end end end if isInArray(getPlayerList(cid), info.itemid) then if info.quant > 1 then doRemoveItem(info.uid, info.quant) doPlayerAddItem(cid, info.itemid, info.quant) str = str.." "..info.quant.." "..getItemNameById(info.itemid).."," else doRemoveItem(info.uid) doPlayerAddItem(cid, info.itemid, 1) str = str.." 1 "..getItemNameById(info.itemid).."," end end end end end tabela[getCreatureName(cid)] = {item = "[Auto Loot System] Coletados: "..str, gold = 0} end local function autoGold(cid, pos) local check = false local total = 0 local position = {} for i = 1, 255 do pos.stackpos = i if getThingFromPos(pos).uid and getThingFromPos(pos).uid > 0 and isContainer(getThingFromPos(pos).uid) then position = pos check = true break end end if check then local corpse = getContainerItemsInfo(getThingFromPos(position).uid) if corpse then for index, info in pairs(corpse) do if info.uid and info.itemid then if index < countTable(corpse) then if isContainer(info.uid) then local bag = getContainerItemsInfo(info.uid) for i = 1, countTable(bag) - 1 do if isInArray({2148, 2152, 2160}, bag[i].itemid) then local multiplie = 1 if bag[i].itemid == 2148 then multiplie = 1 elseif bag[i].itemid == 2152 then multiplie = 100 elseif bag[i].itemid == 2160 then multiplie = 10000 end doRemoveItem(bag[i].uid, bag[i].quant) doPlayerSetBalance(cid, getPlayerBalance(cid) + (tonumber(bag[i].quant) and tonumber(bag[i].quant) * multiplie or 0)) total = total + (tonumber(bag[i].quant) and tonumber(bag[i].quant) * multiplie or 0) doPlayerSetStorageValue(cid, 0442102, getPlayerStorageZero(cid, 0442102) + (tonumber(bag[i].quant) and tonumber(bag[i].quant) * multiplie or 0)) end end end end if isInArray({2148, 2152, 2160}, info.itemid) then local multiplie = 1 if info.itemid == 2148 then multiplie = 1 elseif info.itemid == 2152 then multiplie = 100 elseif info.itemid == 2160 then multiplie = 10000 end doRemoveItem(info.uid, info.quant) doPlayerSetBalance(cid, getPlayerBalance(cid) + (tonumber(info.quant) and tonumber(info.quant) * tonumber(multiplie) or 0)) doPlayerSetStorageValue(cid, 0442102, getPlayerStorageZero(cid, 0442102) + (tonumber(info.quant) and tonumber(info.quant) * tonumber(multiplie) or 0)) total = total + (tonumber(info.quant) and tonumber(info.quant) * multiplie or 0) end end end end end if tabela[getCreatureName(cid)] and tabela[getCreatureName(cid)].gold then tabela[getCreatureName(cid)].gold = total end end local function sendMsg(cid) if tabela[getCreatureName(cid)] and tabela[getCreatureName(cid)].gold then if tabela[getCreatureName(cid)].gold == 0 then doPlayerSendTextMessage(cid, 23, tabela[getCreatureName(cid)].item) else doPlayerSendTextMessage(cid, 23, tabela[getCreatureName(cid)].item.." "..tabela[getCreatureName(cid)].gold.." gold coins.") end tabela[getCreatureName(cid)] = nil end end function onKill(cid, target, lastHit) if isPlayer(cid) and isMonster(target) then if getPlayerStorageValue(cid, 0442100) == 1 and getPlayerList(cid) then local pos = getCreaturePosition(target) addEvent(autoLoot, 500, cid, pos) end if getPlayerStorageValue(cid, 0442101) == 1 then local pos = getCreaturePosition(target) addEvent(autoGold, 500, cid, pos) end if getPlayerStorageValue(cid, 0442100) == 1 or getPlayerStorageValue(cid, 0442101) == 1 then addEvent(sendMsg, 540, cid) end end return true end

Informação Importante

Confirmação de Termo