Ir para conteúdo

gabriel28

Membro
  • Registro em

  • Última visita

  1. Rogex Joyz reagiu a uma resposta no tópico: Stop Utamo Vita
  2. Lurk reagiu a uma resposta no tópico: Stop Utamo Vita
  3. leozincorsair reagiu a uma resposta no tópico: Limitar número de acc logada por IP
  4. @jakons Certo. Lembra de registrar no login.lua também.
  5. @jakons Sim, esqueci de dizer. tag: <event type="login" name="AntiMC" event="script" value="antMC.lua"/>
  6. @jakons local config = { max = 3, -- numero de players permitido com o mesmo ip group_id = 1 -- kikar apenas player com o group id 1 } local accepted_ip_list = {} -- lista dos players permitidos a usar MC, exemplo: {"200.85.3.60", "201.36.5.222"} local function antiMC(p) if #getPlayersByIp(getPlayerIp(p.pid)) >= p.max then doRemoveCreature(p.pid) end return true end function onLogin(cid) if getPlayerGroupId(cid) <= config.group_id then if isInArray(accepted_ip_list,doConvertIntegerToIp(getPlayerIp(cid))) == false then addEvent(antiMC, 1000, {pid = cid, max = config.max+1}) end end return true end *script não é de minha autoria.
  7. gabriel28 respondeu ao post em um tópico de Thalles Novais em Suporte Tibia OTServer
    @Thalles Novais 0.4+, se não me engano.
  8. gabriel28 respondeu ao post em um tópico de Thalles Novais em Suporte Tibia OTServer
    @Thalles Novais Tem uma versão do Object Build que salva as sprites com fundo transparente. Só cortar e usar algum programa ou página que faça imagem .GIF.
  9. Belmont reagiu a uma resposta no tópico: Spell Mod God
  10. gabriel28 respondeu ao post em um tópico de Belmont em Suporte OTServer Derivados
    @Phineasz Tinha esquecido do teu post. Queres que mude a vocação também? Porque no teu post só pede pra mudar a skin.
  11. @robiie123 Já tem no script. -- Weapon Types -- local weaponTypes = { { 1, 2 }, -- Sword { 2, 1 }, -- Club { 3, 3 }, -- Axe { 5, 5 }, -- Shield { 4, 4 } -- Distance }
  12. gabriel28 reagiu a uma resposta no tópico: Merchant Island | 8.60
  13. gabriel28 reagiu a uma resposta no tópico: Aula [8] Loops: while e repeat
  14. gabriel28 respondeu ao post em um tópico de Belmont em Suporte OTServer Derivados
    @Phineasz Usa um desses scripts de buff e usa 'addOutfitCondition' pra mudar a outfit do player.
  15. @WooX Da pra adicionar novas funções pelo configurador de estilos sem precisar editar diretamente o XML? Se sim, como? EDIT: Deixa, já achei. hahah
  16. @Donzela Creio seja na source, em player.cpp.
  17. KR3 reagiu a uma resposta no tópico: Script Ajuda +REP
  18. gabriel28 respondeu ao post em um tópico de KR3 em Suporte OTServer Derivados
    @KR3 Nessa parte do script: if msgcontains(msg, 'entrar na akatsuki') then if getPlayerVocation(cid) ~= config then Troca por: if msgcontains(msg, 'entrar na akatsuki') then if getPlayerStorageValue(cid, 159004) == 1 or getPlayerStorageValue(cid, 159005) == 1 or getPlayerStorageValue(cid, 159006) == 1 or getPlayerStorageValue(cid, 159007) == 1 then doPlayerSendTextMessage(cid, 25, "você não pode entrar nessa academia você ja faz parte de uma") npcHandler:resetNpc(cid) end if getPlayerVocation(cid) ~= config then
  19. @KR3 Troca (slot == 5) Por: (slot == 6) E vê se funciona.
  20. KR3 reagiu a uma resposta no tópico: Ajuda Editar Script Block Slot {ajuda}
  21. @KR3 Testa ai: function onEquip(cid, item, slot) local it = {2354, 2134} --id dos itens if isInArray(it, itemid) then if (slot == 5) then return true else return false end end return true end Tag: <!-- ITENS Shields --> <movevent type="Equip" slot="shield" level="1" event="script" value="item1.lua"> </movevent>
  22. LeoTK reagiu a uma resposta no tópico: AJUDA COM SCRIPT PARA MAGIA
  23. Kenpachi Br reagiu a uma resposta no tópico: AJUDA COM SCRIPT PARA MAGIA
  24. @guga3211 Você procurou pelo RME também?
  25. @Kenpachi Br local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) local arr = { { 1, 1, 1, 1, 1, 1. }, { 1, 0, 0, 0, 0, 1. }, { 1, 0, 0, 0, 0, 1, }, { 1, 0, 0, 2, 0, 1, }, { 1, 0, 0, 0, 0, 1, }, { 1, 0, 0, 0, 0, 1, }, { 1, 1, 1, 1, 1, 1, }, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) local storage = 50054 -- nao mexer caso nao saiba do que se trata local waittime = 30 -- tempo em segundos ate poder usar de novo if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Espere "..exhaustion.get(cid, storage).." para usar essa magia novamente.") return false end exhaustion.set(cid, storage, waittime) return doCombat(cid, combat, var) end

Informação Importante

Confirmação de Termo