Ir para conteúdo

MaXwEllDeN

Héroi
  • Registro em

  • Última visita

Tudo que MaXwEllDeN postou

  1. Você não definiu a posição correta, onde o teleport deve ser criado. Aumentei o tamanho porque acho que não deu para entender direito. Ai você vai ter que ou fazer outro script, ou modificar o meu. Porque eu fiz ele pra funcionar com só uma sala de espera. Esse tppos é a posição onde um teleport para área de espera vai aparecer.
  2. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "Tibia King → Atendimento Geral" Para: "OTServ → Suporte OTServ → Suporte de WebSites"
  3. 1 - Executa essas querys, e se você receber uma mensagem dizendo que a tabela foi criada ou que ela já existia, pode ir para o próximo passo 2 - Instale o script que o Ryzor postou, reinicie o servidor e faça os testes.
  4. Corrigi alguns bugs e upei o arquivo de novo. É só fazer o download e a instalação novamente.
  5. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    Dê mais informações sobre seu servidor, vai ser praticamente impossível alguém elaborar um sistema desses sem base em qual servidor é para funcionar. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Scripts" Para: "OTServ → Suporte OTServ → Suporte de Servidores Diferentes"
  6. local exstorage = 1499 -- quantos dias de premium precisa para tirar a red skull local COST = 8000000 -- "yes" ou "no" // para retirar todos os frags local REMOVE_FRAGS = "yes" -- efeto usado quando tirar o red local EFFECT = CONST_ME_YELLOW_RINGS local config = { battle = true, -- players deve estar sem battle (true or false) } function onSay(cid, words, param, channel) if (exhaustion.check(cid, exstorage) == true) then return doPlayerSendCancel(cid, "You are exhausted") end if config.battle == true and getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você não pode tirar red skull com battle.") end if getCreatureSkullType(cid) == SKULL_RED then if doPlayerRemoveMoney(cid, COST) then doCreatureSetSkullType(cid,0) doPlayerSendTextMessage(cid, 27, "Sua red skull foi removida!") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED) doPlayerSetSkullEnd(cid, 0, getPlayerSkullType(cid)) doSendMagicEffect(getPlayerPosition(cid), effect) doRemoveCreature(cid) else doPlayerSendCancel(cid, "Você precisa de " ..COST.. " gold coins para remover a red skull.") end else doPlayerSendCancel(cid, "Você não está red skull.") end exhaustion.set(cid, exstorage, 30) return true end
  7. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Olá ^_^ Bem vindo ao fórum, espero que possa ser ajudado e contribuir com esta comunidade
  8. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → CreatureScripts, GlobalEvents e MoveMents" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  9. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → CreatureScripts, GlobalEvents e MoveMents" Para: "OTServ → Suporte OTServ → Suporte de Servidores Diferentes"
  10. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    Provavelmente você não instalou ele corretamente, eu acho que está faltando adicionar o novo group, que não pode atacar nem pegar itens nem nada. Tenta reinstalar e dá um feedback no que houve.
  11. Posta aqui o script do seu Catch.
  12. usa esse login: local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local Subwat = getPlayerAccountManager(cid) if(Subwat == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Seu ultimo login foi " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. "The BEST" doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(Subwat == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appearss that your character has been namelocked, what would you like as your new name?") elseif(Subwat == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Ola, digite 'account' acessar sua conta ou digite 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Ola, digite 'account' Para criar uma conta no servidor ou 'recover' Para recuperar conta perdida.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Bem vindo!") registerCreatureEvent(cid, "Mail") if getPlayerLevel(cid) < 717217 then registerCreatureEvent(cid, "AdvanceTeleport") end registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "addons") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "magebomb") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "killitem") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "huntdeath") registerCreatureEvent(cid, "loguthunt") registerCreatureEvent(cid, "ReportBug") doSetCreatureLight(cid, 25, 250, -1) return true end Tem algo de errado no exphit
  13. Isso ai já tem haver com algum outro script no seu servidor. O creaturescript login não tem poder pra modificar os eventos de dano.
  14. local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local Subwat = getPlayerAccountManager(cid) if(Subwat == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Seu ultimo login foi " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. "The BEST" doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(Subwat == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appearss that your character has been namelocked, what would you like as your new name?") elseif(Subwat == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Ola, digite 'account' acessar sua conta ou digite 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Ola, digite 'account' Para criar uma conta no servidor ou 'recover' Para recuperar conta perdida.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Bem vindo!") registerCreatureEvent(cid, "Mail") if getPlayerLevel(cid) < 717217 then registerCreatureEvent(cid, "AdvanceTeleport") end registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "addons") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "magebomb") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "killitem") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "huntdeath") registerCreatureEvent(cid, "loguthunt") registerCreatureEvent(cid, "ReportBug") doSetCreatureLight(cid, 25, 250, -1) registerCreatureEvent(cid, "ExpHit") return true end
  15. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    Poderia me passar a bilioteca do seu sistema de VIP? Preciso verificar umas funções.
  16. Se você decidiu desistir. Tudo bem, mas tenho quase certeza que você errou em algo durante a instalação. Aqui testei e funcionou perfeitamente.
  17. Fazer um novo vai dar muito trabalho. O melhor é pegar um eficiente e adaptar. Procura no fórum por algum que seja bom.
  18. MaXwEllDeN postou uma resposta no tópico em Suporte Tibia OTServer
    Consigo sim. Só preciso dos scripts que adicionam Vip aos players no seu servidor.
  19. -- Função by LekoDS local cash = 10000 * 100 local talkclean = "[SISTEMA DE ANUNCIO] Fale sua oferta novamente!" local msgerro = "[SISTEMA DE ANUNCIO] Desculpe! Para fazer uma oferta voce tem que ser Premium e ter uma quantia de " .. cash .." gold!" function onSay(cid, words, param, channel) if param == '' then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, talkclean) end if getPlayerMoney(cid) >= cash then doPlayerRemoveMoney(cid, cash) doPlayerBroadcastMessage(cid, param) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, msgerro) end return true end
  20. Vou resolver uns exercícios da escola. Quando terminar testo aqui e te dou uma resposta.
  21. Crie um tópico na seção correta especificando seu problema. Dessa vez deixarei um alerta verbal, mas na próxima você será notificado. Se intrometer no tópico de outras pessoas desse modo não é nada legal.
  22. Não entendo, aparentemente não há nada de errado. Faz o seguinte: Reinstala o script novamente, poe no globalevent pra começar uns 10 minutos depois de quando você abrir o servidor(obviamente você vai configurar e salvar o arquivo antes de abrir o servidor), e vê o que dá.
  23. Ai é quando você posta o script dos comandos que eram utilizados antes para comprar a VIP. Depois é só deixar os programadores fazerem a mágica acontecer
  24. Mostra como o horário está configurado no xml.

Informação Importante

Confirmação de Termo