Ir para conteúdo

Thalles Novais

Membro
  • Registro em

  • Última visita

Tudo que Thalles Novais postou

  1. Thalles Novais respondeu ao post em um tópico de Thalles Novais em Suporte Tibia OTServer
    pow se puder me dizer qual é a versão me ajudaria muito!
  2. Thalles Novais postou uma resposta no tópico em Suporte Tibia OTServer
    Pessoal baixei um servidor aqui e estava querendo pegar umas sprite do cliente mas quero elas em Gif. Eu consigo abrir tudo certinho Pelo Object Builder e tal porem ele não exporta em Gif apenas PNG, BPM JPG e OBD Apenas OBD fica em Gif porem o formato OBD so o Object Builder le As outras opções exportam cada frame do item e com fundo rosa não quero isso.
  3. no caso se eu quiser pra geral sem ser so com bless o que fazer? por exemplo geral so pode perder o level e manter o skill, ml e equipamentos
  4. Fala galera eu estou com um problema chato de mais, estou criando um servidor de War 7.4 e NÂO quero que os players percam skills, mls e equipamento na hora que morre... a Backpack pode perder... Acontece que já usei todos os scripts possíveis na internet já modifiquei o Login.lua um montão de vez não consigo arrumar uma solução pra isso vocês poderiam me ajudar? O OT é baseado no OTX só não sei qual versão dela vou postar o Login.Lua ESSE É O JEITO QUE ELE FICOU DEPOIS DAS MODIFICAÇÕES QUE EU FIZ local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) if(getBooleanFromString(getConfigValue('accountManager')) == false) then if (getCreatureName(cid) == "Account Manager") then return doRemoveCreature(cid, true) end end function onDeath(cid, corpse, killer) doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, loss * 0) doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, loss * 0) doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, loss * 0) end if(getPlayerStorageValue(cid, "death_bless") == 1) then local t = {PLAYERLOSS_EXPERIENCE, PLAYERLOSS_SKILLS, PLAYERLOSS_ITEMS, PLAYERLOSS_CONTAINERS} for i = 1, #t do doPlayerSetLossPercent(cid, t[i], 100) end setPlayerStorageValue(cid, "death_bless", 0) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type 'account' to manage your account. If you would like to start over, type 'cancel' anywhere.", TALKTYPE_PRIVATE, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type 'account' to create an account or 'recover' to recover an account.", TALKTYPE_PRIVATE, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "kill") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "killgold") registerCreatureEvent(cid, "fullmh") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "Reward") registerCreatureEvent(cid, "antimc") registerCreatureEvent(cid, "TiraBattle") registerCreatureEvent(cid, "NOME") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "deathBroadcast") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "showKD") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0) return true end ESSE É ELE ORIGINAL local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) if(getBooleanFromString(getConfigValue('accountManager')) == false) then if (getCreatureName(cid) == "Account Manager") then return doRemoveCreature(cid, true) end end local loss = getConfigValue('deathLostPercent') if(loss ~= nil and getPlayerStorageValue(cid, "bless") ~= 5) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end if(getPlayerStorageValue(cid, "death_bless") == 1) then local t = {PLAYERLOSS_EXPERIENCE, PLAYERLOSS_SKILLS, PLAYERLOSS_ITEMS, PLAYERLOSS_CONTAINERS} for i = 1, #t do doPlayerSetLossPercent(cid, t[i], 100) end setPlayerStorageValue(cid, "death_bless", 0) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type 'account' to manage your account. If you would like to start over, type 'cancel' anywhere.", TALKTYPE_PRIVATE, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type 'account' to create an account or 'recover' to recover an account.", TALKTYPE_PRIVATE, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "PVPCreature") registerCreatureEvent(cid, "ReportBug") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "GuildEvents") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "FimVip") if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0) return true end E ESSE AQUI É a 000-constant do servidor caso queira ver alguma coisa
  5. Alguém ai teria um servidor global na versão 8.4? Vi em outro fórum mas o download não funciona, aqui no TibiaKing não achei.
  6. Já tentei e da o mesmo erro de Acesso negado
  7. Tenta esse ObjectBuilder.rar vai funcionar rs
  8. Thalles Novais postou uma resposta no tópico em Suporte OTServer Derivados
    Bom galera estou com um problema no sistema de vault que peguei desse tópico O Problema é que ele só aceita até 21kks mais do que isso não vai eu gostaria que ele suportasse uns 500kks, estou usando servidor Dxp. O Script também está com um erro nos números ele mostra a quantidade errada por exemplo 1kk seria "1000000", mas o script mostra como se fosse 100kks "100000000" tanto na mensagem quando adiciona quanto na hora de retirar, e no look do vault também mostra esses zeros a mais. "You have added 100000000 golds to vault. Now your money is kept in the vault chest, you can take it whenever you want." < Aqui adicionei 1kk "You have took 100000000 golds from vault." < Aqui retirei 1kk "You see a Cofre. You have 100000000 golds in the vault." < Look com 1kk no Vault Alguém sabe como arrumar?
  9. Eu baixei e da Acesso negado
  10. É exatamente isso que o amigo disse ai em cima, está sem Sprite esse Pokémon no seu Client.
  11. Pra eles colocarem seu IP como publico eles fazem por ligação mesmo. Acho que não tem necessidade do Técnico ir na sua casa, pois minha provedora de Internet setou meu IP como publico em minutos apenas pelo chat. E só uma coisa a porta 7171 e 7172 só vai constar como aberta quando o servidor estiver ligado se seu OT tiver fechado pode fazer o teste que for vai mostrar fechada.
  12. Qual a base do servidor? Dependendo é só baixar o cliente novamente.
  13. Olá existe alguma maneira de abrir dois Object Builder de uma vez? Pois abrir um salvar as Sprite e depois abrir o outro e ir modificando demora muito... alguém conhece alguma maneira? Pois quero trocar muitas Sprites e adicionar as que eu não tenho.
  14. Como faço para colocar mensagens de alerta igual quando entra no centro pokemon? Avisando qual é aquele local. E também como adicionar mais coisas pra vender no shop, quando eu coloco da um bug na aba do item que coloquei pra vender
  15. estou com esse mesmo erro
  16. Thalles Novais postou uma resposta no tópico em Suporte Tibia OTServer
    Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). OTHIRE Base: 7.4/7.72 Qual erro está surgindo/O que você procura? Gostaria que esse npc vendesse mais de uma bp por vocês, pois se você dizer a ele buy 10 bp mf ele não liga e so vende uma! Queria que ele vendesse de acordo com que o player pedir e já calcular o valor sozinho por exemplo uma bp é 2k 10bp vai ser 20k Você tem o código disponível? Se tiver publique-o aqui: dofile(getDataDir() .. 'npc/scripts/lib/greeting.lua') local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local shopModule = ShopModule:new() npcHandler:addModule(shopModule) shopModule:addBuyableItem({'life'}, 2006, 60, 10, 'life fluid') shopModule:addBuyableItem({'mana'}, 2006, 100, 7, 'mana fluid') shopModule:addBuyableItem({'spellbook'}, 2175, 150, 'spellbook') shopModule:addBuyableItem({'blank rune'}, 2260, 10, 'blank rune') function creatureSayCallback(cid, type, msg) msg = string.lower(msg) if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'vial') or msgcontains(msg, 'deposit') or msgcontains(msg, 'flask') then npcHandler:say("I will pay you 5 gold for every empty vial. Ok?", 1) talk_state = 857 elseif talk_state == 857 and msgcontains(msg, 'yes') then if sellPlayerEmptyVials(cid) == true then npcHandler:say("Here's your money!", 1) talk_state = 0 else npcHandler:say("You don't have any empty vials!", 1) talk_state = 0 end end if msgcontains(msg, 'bp of lf') or msgcontains(msg, 'bp of life fluid') or msgcontains(msg, 'bp lf') then npcHandler:say('Do you want to buy a backpack of life fluid for 1200 gold coins?') talk_state = 5 elseif msgcontains(msg, 'yes') and talk_state == 5 then if getPlayerMoney(cid) >= 1200 then purple2_bp = doPlayerAddItem(cid, 2000, 1) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doAddContainerItem(purple2_bp, 2006, 10) doPlayerRemoveMoney(cid, 1200) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of mf') or msgcontains(msg, 'bp of manafluid') or msgcontains(msg, 'bp mf') then npcHandler:say('Do you want to buy a backpack of mana fluid for 2000 gold coins?') talk_state = 6 elseif msgcontains(msg, 'yes') and talk_state == 6 then if getPlayerMoney(cid) >= 2000 then brown_bp = doPlayerAddItem(cid, 2001, 1) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doAddContainerItem(brown_bp, 2006, 7) doPlayerRemoveMoney(cid, 2000) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of br') or msgcontains(msg, 'bp of blank rune') or msgcontains(msg, 'bp br') then npcHandler:say('Do you want to buy a backpack of blank rune for 200 gold coins?') talk_state = 7 elseif msgcontains(msg, 'yes') and talk_state == 7 then if getPlayerMoney(cid) >= 200 then brown_bp = doPlayerAddItem(cid, 2003, 1) doAddContainerItem(brown_bp, 2260, 20) doPlayerRemoveMoney(cid, 200) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end return true end keywordHandler:addKeyword({'name'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I'm Xodet, the owner of this shop."}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I'm sorcerer and trade with all kinds of magic items."}) keywordHandler:addKeyword({'sorcerer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "There is a sorcerer guild in Thais. Just go in the east of the town, it is easly to find."}) keywordHandler:addKeyword({'offer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I'm selling life and mana fluids, runes, wands, rods and spellbooks."}) keywordHandler:addKeyword({'good'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I'm selling life and mana fluids, runes, wands, rods and spellbooks."}) keywordHandler:addKeyword({'have'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I'm selling life and mana fluids, runes, wands, rods and spellbooks."}) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  17. Cap

    Thalles Novais respondeu ao post em um tópico de Thalles Novais em Suporte Tibia OTServer
    O problema é que não aceita Gesior e eu gosto do Gesior man
  18. Cap

    Thalles Novais postou uma resposta no tópico em Suporte Tibia OTServer
    Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Servidor 7.4 mas usando a versão do cliente 7.72 Base: OTX Qual erro está surgindo/O que você procura? Personagem quando faz food com a magia Exevo pan, todos os food que se juntam por exemplo Apple, Pão e etc não consome cap... Apesar que se der look vai mostrar a cap lá mas não tira do personagem a não ser que tire da bag e depois colocar ai vai consumir a cap... A mesma coisa acontece quando se pesca! Você pode pegar um milhão de peixe e não vai tirar sua cap.. So se fizer a mesma coisa dito ali em cima! Não testei com items mas acredito que todos os items que se juntem tbm não vai tirar cap do personagem.
  19. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Servidor 7.4 mas usando a versão do cliente 7.72 Base: OTX Qual erro está surgindo/O que você procura? Quando clico no minimap o personagem tenta passar pela água toda hora... ele não vai pelo caminho como deveria normalmente!
  20. Então testei o script e desta vez funcionou certinho! O Único problema é que os items da house ta indo pro DP da cidade que a house esta ou é assim mesmo? Se for tudo bem porque se não for fica complicado pois os item da casa do cara free vai ficar em cidade p.a kkk E também da debug na hora que vai teletransportar a pessoa pro templo!
  21. Irei testar mas antes que eu teste eu preciso por no Login.lua ne? Pois eu ja estava colocando com o outro script!
  22. Nem um no console apenas no jogo você aperta pra logar e manda um erro "Cannot connect to the game server", "Error: Disconnected from server". No console mostra que você loga e desloga muito rapido!

Informação Importante

Confirmação de Termo