Ir para conteúdo
Propaganda

Sanzenkai

Membro
  • Total de Posts

    55
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que Sanzenkai postou

  1. O meu cliente tem transparência e é estendido com mais de 200k de sprites, a função de ler clientes estendidos ja vem por padrão no RME a algumas versões, só fazer oque eu falei acima que vai arrumar o seu problema. (não esquece de reiniciar o RME após marcar a opção para que possa ler as sprites novamente.)
  2. Vá em File > Preferences > Marque a opção "Enable Tileset Editing", eu estava com o mesmo problema e resolvi dessa forma.
  3. Para corrigir basta mudar alguns valores em Const.h Procure por #define NETWORKMESSAGE_MAXSIZE e altere o valor para 49180 Logo abaixo, quase no final do documento tem #define NETWORK_MAX_SIZE, altere o valor para 49180 e compile 😄 Funcionou para mim, tive esse problema por algum tempo e consegui corrigir apenas alterando esses valores.
      • 2
      • Thanks
      • Like
  4. Eu esqueci de adicionar o (cid) no getPlayerGroupId(cid), por ser um script simples eu acabei não testando, ja foi corrigido.
  5. Obrigado, eu esqueci de adicionar o (cid) no getPlayerGroupId(cid), por ser um script simples eu não testei.
  6. Justo, muito bom! Boa sorte nas suas vendas amigo, desculpa qualquer coisa ;D
  7. Só estou tentando ajudar, nem todos os 0.X rodam as funções encontradas no seu script..
  8. Tudo bem, de qualquer forma há essa opção também para os jogador 😄
  9. Olá, o mesmo item pode ser facilmente encontrado em qualquer forum de graça.. Como por exemplo: Aqui!
  10. Desculpe estar corrigindo os seus posts, mas parece que faltou bastante informação, você esta bem-vindo a editar o post com o script acima, ele não esta tão diferente, mas esta um pouco mais organizado e com uma checagem melhor para a função do script.
  11. Acredito que esse script não vá funcionar na maioria dos TFS 0.X, aqui a versão que vai:
  12. Codigo: scripts/stafflogin.lua scripts/login.lua creaturescripts.lua
  13. Acredito que o seu script não va funcionar na maioria dos TFS 0.x.. Esse código sim, funciona para TFS 0.X, além de enviar os itens para todos os jogadores online, ignorando IPs repetidos.
  14. Vocês estão utilizando OTCv8? Estão jogando dentro da pasta Mods dessa maneira? Estão mudando os nomes dentro do titiles.lua pro nome do seu personagem?
  15. Sim meu querido, eu mesmo uso esse mod.
  16. Basta extrair esse winrar dentro da pasta MODS do seu OTC e trocar os nicks/titulos game_titles.rar
  17. function init() bottomPanel = g_ui.loadUI('pokemon', modules.game_interface.getRootPanel()) g_keyboard.bindKeyPress("r", function() local player = g_game.getLocalPlayer() if not modules.game_console.consoleToggleChat:isChecked() then return end useSlotItem(8) end) g_keyboard.bindKeyPress("1", function() local player = g_game.getLocalPlayer() if not modules.game_console.consoleToggleChat:isChecked() then return end useSlotItem(10) end) g_keyboard.bindKeyPress("2", function() local player = g_game.getLocalPlayer() if not modules.game_console.consoleToggleChat:isChecked() then return end useSlotItem(9) end) g_keyboard.bindKeyPress("Ctrl+d", function() local player = g_game.getLocalPlayer() if modules.game_console.consoleToggleChat:isChecked() then return end startChoosePos() end) ProtocolGame.registerExtendedOpcode(179, function(protocol, opcode, buffer) startChoosePos() end) end function useSlotItem(slot) if not g_game.isOnline() then return end local player = g_game.getLocalPlayer() local item = player:getInventoryItem(slot) if not item then return end if not modules.game_console.consoleToggleChat:isChecked() and not modules.client_options.getOption('forceItemShortcuts') then return end if item:isMultiUse() then modules.game_interface.startUseWith(item) else g_game.useInventoryItem(item:getId()) end end function startChoosePos() if g_ui.isMouseGrabbed() then return end local mouseGrabberWidget = g_ui.createWidget('UIWidget') mouseGrabberWidget:setVisible(false) mouseGrabberWidget:setFocusable(false) mouseGrabberWidget.onMouseRelease = onClickWithMouse mouseGrabberWidget:grabMouse() g_mouse.pushCursor('target') end function onClickWithMouse(self, mousePosition, mouseButton) if mouseButton == MouseLeftButton or mouseButton == MouseMidButton then local clickedWidget = modules.game_interface.getRootPanel():recursiveGetChildByPos(mousePosition, false) if clickedWidget then local protocol = g_game.getProtocolGame() if clickedWidget:getClassName() == 'UIGameMap' then local tile = clickedWidget:getTile(mousePosition) if tile then local thing = tile:getTopMoveThing() if thing:isCreature() then if protocol then protocol:sendExtendedOpcode(53, thing:getId()) end if thing:isLocalPlayer() then modules.game_pokedex.show(0) elseif thing:isMonster() then local outfitType = tile:getTopCreature():getOutfit().type local pokemonName = getPokemonNameByOutfit(outfitType) if string.find(pokemonName, 'Shiny') then local pokemonId = getPokemonIdByName(string.lower(string.explode(pokemonName, 'Shiny ')[2])) modules.game_pokedex.show(pokemonId, true) else local pokemonId = getPokemonIdByName(string.lower(pokemonName)) modules.game_pokedex.show(pokemonId, false) end print(outfitType) end end end elseif clickedWidget:getClassName() == 'UICreatureButton' then local creature = clickedWidget:getCreature() protocol:sendExtendedOpcode(53, creature:getId()) end end end g_mouse.popCursor('target') self:ungrabMouse() self:destroy() return true end
  18. Poste o pokemon.lua do modulo que esta apresentando o erro para que possam te ajudar.
  19. No próprio forum tem um post com o NTO Battle, infelizmente o autor não liberou o cliente, mas para complementar ele tem o wonsr que é compatível com os arquivos do battle, tirando as customizações do cliente.
  20. function onPrepareDeath(cid, deathList) local config = { [1] = {Vocation = 1, Effect = 1, Destination = {x = 1055, y = 911, z = 7}}, [2] = {Vocation = 2, Effect = 2, Destination = {x = 1055, y = 911, z = 7}}, } for i, v in ipairs(config) do if isPlayer(cid) and v.Vocation == getPlayerVocation(cid) then doTeleportThing(cid, v.Destination) doRemoveConditions(cid, false) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você morreu e foi teleportado!") doRemoveCreature(cid, true) doSendMagicEffect(getCreaturePosition(cid), v.Effect) return false end end return true end Não testei, mas ai esta.
  21. local config = { effect1 = 27 -- Primeiro efeito effect2 = 28 -- Efeito que vai usar tempo = 1 -- Tempo em segundos } function onLogin(cid) if isPremium(cid) then scheduleEffect(cid) end return true end function scheduleEffect(cid) if isPlayer(cid) and isPremium(cid) then doSendMagicEffect(getCreaturePosition(cid), config.effect1) doSendMagicEffect(getCreaturePosition(cid), config.effect2) addEvent(scheduleEffect, config.tempo * 1000, cid) return true end return false end
  22. Tente esse: --Aura Vip Com AutoMensagem-- --by: Animation-- --Criada 13/04/2012-- --Testado Tibia 8.50-- local FRASES = {""} -- Auto-Mensagem. local effect = 209 local effect2 = 210 function onLogin(cid) sendEffect(cid) registerCreatureEvent(cid, "AdvEffect") return TRUE end function sendEffect(cid) if isCreature(cid) then if isPlayer(cid) and isPremium(cid) and getPlayerGroupId(cid) <= 1 then pos = getThingPos(cid) doSendAnimatedText(pos, FRASES[math.random(#FRASES)], 255) doSendMagicEffect(pos, effect) doSendMagicEffect(pos, effect2) addEvent(sendEffect, 600, cid) addEvent(sendEffect2, 600, cid) end end end Caso o de cima não funcione: creaturescripts.lua <event type="login" name="aura" event="script" value="aura.lua"/> login.lua registerCreatureEvent(cid, "aura") aura.lua local effect = 27 -- Efeito que vai usar local tempo = 1 -- Tempo em segundos function onLogin(cid) if isPremium(cid) then scheduleEffect(cid) end return true end function scheduleEffect(cid) if isPlayer(cid) then doSendMagicEffect(getCreaturePosition(cid), effect) addEvent(scheduleEffect, tempo * 1000, cid) return true end return false end
  23. Creaturescripts.xml
  24. Pelo que me informaram são sprites do GLA, mas não achei nenhum pack delas
×
  • Criar Novo...