-
Total de itens
152 -
Registro em
-
Última visita
Tudo que fitaisolante postou
-
talkaction Talk com vários CHECKS
tópico respondeu ao Session Start de fitaisolante em Actions e Talkactions
Ué, o do spell, não seria só adicionar o if isPremium(cid) then na função onCast? -
haha... coisa louca mesmo rsrs... A function abrir (), é para mandar uma mensagem para os players avisando que o evento começou, e ela coloca uma determinada action id em 3 tiles (que possuia uma actionID para bloquear a passagem), e não para criar determinado item.. A função onSay está correta, no meu primeiro post, o que está errado mesmo é a "abrir", que dá item not found... Quando alguém corrigir para mim, poderiam informar o que foi trocado, e o porque, fazendo favor? Estou iniciando em lua, e queria entender o porque de não funcionar esse meu script..
-
Nenhum funcionou.. Esqueci de dizer que essa tile, fica encima de outra tile, e já possui uma actionid..
-
Esse script não está adicionando action à tile devida... Aparece no distro, Item not found. Caso alguém souber o que fiz de errado, por favor informe o que foi feito para corrigir, tenho outros scripts que estão dando o mesmo problema. Obs: é a function abrir() que não funiona o setactionID local cfg = { tempo = 2, temple = {x = 203, y = 379, z = 7}, tile = {{x=682, y=303, z=7},{x=682, y=305, z=7},{x=682, y=307, z=7}}, } function abrir() doSetItemActionId(getTileItemById(cfg.tile, 9562).uid, 46632) doBroadcastMessage("[Hell Flag] O evento iniciou, avante!", 22) return true end function onSay(cid, words, param, channel) doCreateItem(1387, 1, cfg.temple) doSetItemActionId(getTileItemById(cfg.temple, 1387).uid, 46631) doBroadcastMessage("[Hell Flag] O portal para o evento foi aberto! O evento iniciará em aproximadamente 2 minutos.", 22) addEvent(abrir, cfg.tempo*10000) return true end
-
Em breve eu coloco.
-
Opa galera, beleza? Há três dias atrás, foi lançado um novo servidor mapa próprio, em que segue o estilo de mapa Vetus antigo, o servidor conta com sistemas inovadores, quests, cidades vips e free, e muuito mais! Deem uma conferida nas features do servidor: Informações do servidor: Criação de conta via site: http://vetus.sytes.net Facebook: https://www.facebook.com/vetusrpg IP: vetus.sytes.net Porta: 7171 Features: - SALA DE TRAINER ENORME COM VAGAS, TREINE SEU CHAR SEM PREOCUPAÇÕES - BOT Totalmente Liberado - Servidor Online 24 Horas - Hospedado em Dedicado - Eventos únicos e todos automáticos funcionando 100% - Citys: Thalom, Ivalince e Thoraemuh - Guild Wars (Escudos) - Mapa próprio - Updates constantes para melhor diversão - Bank System - Mais de 150 Quests inéditas, com muito rpg em suas missões. - Site com recursos únicos e inéditos - Forum exclusivo para tutoriais, denuncias e etc. - Magias 8.6 + algumas do 8.7 + Magias Vip Do Antigo Vetus. - Training offline (VIP) - Àreas restritas para players premium account [PAAC] - EVENTOS: Batlefield, Zombie, Hell the flag e invasões automáticas. - Atendimento via ticket no site. - Hunts Vips que compensam investir no servidor. - Concursos e eventos tanto in-game como no site semanalmente. - EXP baixa e servidor balanceado. - E muuuito mais!! Para conferir, só acessar o nosso site! Rates: XP: 150x (Stagiadas) Skills: 40 Magic: 20 Loot: 2.0
-
Opa, tá aí Vodkart? Tenho um assunto a tratar muito importante sobre a EKZ... Poderia me adicionar no skype? guirocio
-
◘◘◘◘ CRIE SUA CONTA ◘◘◘◘ Dados de Conexão: SITE: vetus.sytes.net Ip: vetus.sytes.net Port: 7171 Versão: 8.6 Cliente Fixo para download em nosso site vetus.sytes.net Curta agora nossa página no facebook. https://www.facebook.com/vetusrpg Recompensas no up level. Menos LAG, e mais DIVERSÃO. Features: - SALA DE TRAINER ENORME COM VAGAS, TREINE SEU CHAR SEM PREOCUPAÇÕES - BOT Totalmente Liberado - Servidor Online 24 Horas - Hospedado em Dedicado - Eventos únicos e todos automáticos funcionando 100% - Citys: Thalom, Ivalince e Thoraemuh - Guild Wars (Escudos) - Mapa próprio - Updates constantes para melhor diversão - Bank System - Mais de 150 Quests inéditas, com muito rpg em suas missões. - Site com recursos únicos e inéditos - Forum exclusivo para tutoriais, denuncias e etc. - Magias 8.6 + algumas do 8.7 + Magias Vip Do Antigo Vetus. - TASK System 100% - Training offline [ SISTEMA INOVADOR ] - Eventos Battlefield, Zombie Event, Hell Flag - Àreas restritas para players premium account [PAAC] - EVENTOS: Batlefield, Zombie, Survivor, Hell the flag e invasões automáticas. Rates: XP: 150x (Stagiadas) Skills: 50.0 Magic: 25.0 Loot: 2.5
-
pedido Basicamente uma mana rune... Ajuda plax!
pergunta respondeu ao icarodantas123 de fitaisolante em Scripts
local MIN = 99999 local MAX = 99999 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) return TRUE end -
pedido Basicamente uma mana rune... Ajuda plax!
pergunta respondeu ao icarodantas123 de fitaisolante em Scripts
Cria a runa por action, e adiciona a função: doRemoveItem(item.uid, 1) -
@brun123 Funcionou, só tive de adicionar o local pedra = 1285.. Rep++
-
O dos dois deu errado, o do maelnise, deu attempt to compare table o do roksas, deu que a função getItemName não existe.
-
Galera, estou com uma dúvida aqui, criei um script, e ele é para criar uma pedra embaixo do CM, e quando o CM tentasse novamente criar outra pedra encima da outra, aparecesse o seguinte: Já existe uma pedra embaixo de você. Só que ele cria a pedra, e não manda a mensagem.. Script: function onSay(cid, words, param) local creature = getPlayerPosition(cid) if getTileItemById(creature, 1285, 1) == true then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Já existe uma pedra embaixo de você!") else doCreateItem(pedra, getCreaturePosition(cid)) end return true end
-
Funcionou, rep ++
-
Não deu certo: local efeito = {27,28, 29,79} local sword = getPlayerSkillLevel(cid, SKILL_SWORD) local club = getPlayerSkillLevel(cid, SKILL_CLUB) local axe = getPlayerSkillLevel(cid, SKILL_AXE) function onAdvance(cid, skill, oldLevel, newLevel, vocation) if getPlayerStorageValue(cid,99929) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 1 then doPlayerAddItem(cid, 2187, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99929, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 33 e recebeu uma Wand Of Inferno.") elseif getPlayerStorageValue(cid,99930) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 2 then doPlayerAddItem(cid, 2183, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99930, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 33 e recebeu uma Hailstorm Rod.") elseif getPlayerStorageValue(cid,99933) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 3 then doPlayerAddItem(cid, 7367, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99933, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 42 e recebeu um Enchanted Spear.") elseif getPlayerStorageValue(cid,99934) == -1 and sword >= club and sword >= axe and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2407, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Bright Sword.") elseif getPlayerStorageValue(cid,99934) == -1 and club > sword and club > axe and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2436, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu um Skull Staff.") elseif getPlayerStorageValue(cid,99934) == -1 and axe > sword and axe > club and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 3962, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Beastslayer Axe.") end end <luaGetPlayerSkill> Player not found Isso é uma creaturescript, que dá recompensa ao player, ao ele avançar de level. E esse é o meu script que não dá erro no distro, mas ele ignora os skills = local efeito = {27,28, 29,79} function onAdvance(cid, skill, oldLevel, newLevel, vocation) if getPlayerStorageValue(cid,99929) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 1 then doPlayerAddItem(cid, 2187, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99929, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 33 e recebeu uma Wand Of Inferno.") elseif getPlayerStorageValue(cid,99930) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 2 then doPlayerAddItem(cid, 2183, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99930, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 33 e recebeu uma Hailstorm Rod.") elseif getPlayerStorageValue(cid,99933) == -1 and getPlayerLevel(cid) == 33 and getPlayerVocation(cid) == 3 then doPlayerAddItem(cid, 7367, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99933, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 42 e recebeu um Enchanted Spear.") elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_SWORD) > SKILL_AXE or getPlayerSkillLevel(cid, SKILL_SWORD) > SKILL_CLUB and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2407, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Bright Sword.") elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_CLUB) > SKILL_AXE or getPlayerSkillLevel(cid, SKILL_CLUB) > SKILL_SWORD and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2436, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu um Skull Staff.") elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_AXE) > SKILL_SWORD or getPlayerSkillLevel(cid, SKILL_AXE) > SKILL_CLUB and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 3962, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Beastslayer Axe.") end return true end
-
Não está funcionando essa função: elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_SWORD) > SKILL_AXE or SKILL_CLUB and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2407, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Bright Sword.") elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_CLUB) > SKILL_AXE or SKILL_SWORD and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 2436, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu um Skull Staff.") elseif getPlayerStorageValue(cid,99934) == -1 and getPlayerSkillLevel(cid, SKILL_AXE) > SKILL_SWORD or SKILL_CLUB and getPlayerVocation(cid) == 4 and getPlayerLevel(cid) == 30 then doPlayerAddItem(cid, 3962, 1) doSendMagicEffect(getThingPos(cid), efeito[math.random(#efeito)]) setPlayerStorageValue(cid, 99934, 1) doPlayerSendTextMessage(cid, 22, "Você chegou ao level 30 e recebeu uma Beastslayer Axe.") end O script só está dando a bright, sendo que meu skill maior é o club.
-
Eu gostaria que alguém me respondesse, como é a linha em lua, que faz essa checagem: se tal skill for maior que os outros then Grato, Keilost
-
[Encerrado] Instalando gesior linux
tópico respondeu ao fitaisolante de fitaisolante em Tópicos Sem Resposta
Topico resolvido, pode fechar. O problema é que tava errado meu install.php -
[Encerrado] Instalando gesior linux
tópico respondeu ao fitaisolante de fitaisolante em Tópicos Sem Resposta
Então, favor tirar a tag [resolvido]. -
[Encerrado] Instalando gesior linux
tópico respondeu ao fitaisolante de fitaisolante em Tópicos Sem Resposta
Cara, meu tópico não foi solucionado, moderador reportado. -
Quando eu vo no step 2 do gesior, aparece isso STEP 2 Check database connection If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.Database error. Unknown database type in /zaiakotconfig.lua . Must be equal to: "mysql" or "sqlite". Now is: "" Eu percebi que esta /zaiakotconfig.lua, mas eu não sei como corrigir isso
-
Alguém pode me passar o MapTracker 8.7? São para fins não prejudiciais, quero trackear algumas hunts do global, me ajudaria muito, já que o opentibia tools fechou.. Obrigado.
-
no weapons.xml* rsrs Exemplo: <distance id="7367" level="42" event="function" value="default"/> <!-- Enchanted Spear -->
-
Área incorreta, reportado para moverem.
-
Na verdade, o problema é que você não adicionou aos movements.xml, por isso o erro. Reportado para moverem.
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.