Tudo que Reds postou
-
[base] Mapa League of League
Só abre o remeres e escolhe a versao em propriedades
-
[base] Mapa League of League
você quer um mapa vazio é isso mesmo?
-
Utura 8.60 efeito subindo
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 3000) setCombatCondition(combat, condition) function onCastSpell(cid, var) for i = 1, 255 do addEvent(function() if isCreature(cid) == TRUE then doSendAnimatedText(getCreaturePosition(cid), i, i) end end, 500*i) end return doCombat(cid, combat, var) end bota esse codigo aqui na spell, ele vai mostrar na tela todas as cores com seus respectivos ids, aí depois que vc achar a cor certa volta o script antigo e trocar pela cor
-
Utura 8.60 efeito subindo
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 3000) setCombatCondition(combat, condition) function onCastSpell(cid, var) for i = 1, 20 do addEvent(function() if isCreature(cid) == TRUE then doSendAnimatedText(getCreaturePosition(cid), "20", 11) end end, 3000*i) end return doCombat(cid, combat, var) end a outra tava funcionando aqui, o effect pelo menos (testei com gm), testa assim que os numeros saem melhores, ali onde tem o 11 vai trocando até achar o azul ideal
-
Utura 8.60 efeito subindo
certo, vou arrumar aqui então, vou tentar fazer por spells, se nao der mando um creaturescript
-
Utura 8.60 efeito subindo
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 3000) setCombatCondition(combat, condition) function onCastSpell(cid, var) for i = 1, 20 do addEvent(function() if isCreature(cid) == TRUE then doCreatureSay(cid,"20", 19) end end, 3000*i) end return doCombat(cid, combat, var) end nao testei, se n funfar avisa que eu faço por creaturescript, aí fica 100%
-
[Help} Alguem ajuda instalar site ?
eu fiz ontem usando esse aqui, baixa a versão 62 do gesiorr que a 63 tava bugando aqui
-
Script Desbugar!
n sei que espaço vcs tão falando, a unica linha que eu troquei do meu foi o if, o seu == true ou false é o not antes da condição, o seu infight é o 1024, se n rodou no server do cara foi algo que ele fez errado, pq o script ta certo
-
Script Desbugar!
if exausted <= agora and getCreatureCondition(cid, CONDITION_INFIGHT) == true then ele quer que o jogador seja teleportado se estiver SEM battle, o seu código so teleporta se ele tiver COM battle, qualquer um reconhece isso
-
Chuva de flechas (spell)
Eae galera, me deram ideia de uma spell bem legal então vou compartilhar com vocês, ela se trata de uma chuva de flechas. Código: no spells.xml: Um gif da spell: http://giphy.com/gifs/r0DNAlUJKUxeo
-
Montaria em 8.6
qual server? está online?
-
[pedido] Script Transformar
eu até poderia fazer aqui, mas só sei tirar espaço
-
Script Desbugar!
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk sem querer falar nada, mas esse que o cara postou se ele rodar a lógica dele está errada, pois ele está executando se o player tem battle kkkkkkkkkkkkkkkkkkkkkkkkkkkkk
-
Script Desbugar!
1024 é a condition infight, o que significa battle, a única coisa que eu coloquei foi para verificar se estava sem battle (not getCreatureCondition(cid, 1024)), o mais engraçado é que meu server funciona... olha aí, a função é uma das mais basicas que tem, se seu server não tem é melhor vc trocar
-
Script Desbugar!
o problema é seu server
-
Script Desbugar!
---=-=-=-==-=-www.hpobrasil.com-=-=-=-==-=-=-= --=-=-=-=-=-=-=-=www.facebook.com/pokemonDBR-=-=-=-=-=-= function onSay(cid, words, param) local onde = {x=1023,y=907,z=7} --Pra onde o Player vai ao dizer o comando ?. local exausted = getPlayerStorageValue(cid,985432) -- Storange que o player ganha, só mexa se tiver sendo usada por outro .script seu local agora = os.time() local tempo = 2 -- Quanta horas ele vai usar o comando novamente ? ali está 2 = 2 horas. local config = tempo * (60*60) local somatempo = agora + config if exausted > agora then doPlayerSendTextMessage(cid,25,"Voce precisa esperar 2 horas para digitar o comando novamente!") -- Mensagem que vai aparecer ao player, quando tenta usar o comando novamente ? 25 é a cor da mensagem. return true end if exausted <= agora and (not getCreatureCondition(cid, 1024)) then doPlayerSendTextMessage(cid,25,"Personagem Desbugado!") -- Mensagem que vai aparecer ao player, quando usar o comando ?. setPlayerStorageValue(cid,985432,somatempo) doTeleportThing(cid,onde) doSendMagicEffect(getCreaturePosition(cid),21) -- 21 é o efeito você escolhe outro se quiser... return true end end
-
Script Desbugar!
if exausted <= agora and (not getCreatureCondition(cid, 1024)) then
-
Spell (sem target)
function onCastSpell(cid, var) local level = getPlayerLevel(cid) local mg = getPlayerMagLevel(cid) local min = -(level *0.28 + mg * 2.34 * 1.0) local max = -(level * 0.34 + mg * 2.34 * 1.0) local tempo = 4 -- tempo do cd ( em segundos ) local storage = 5632 -- storage local disteffect = 1 local magiceffect = 11 local target = getCreatureTarget(cid) if exhaustion.check(cid, storage) and if isCreature(target) == TRUE then doPlayerSendCancel(cid, "you are exhausted.") return FALSE end if isCreature(getCreatureTarget(cid)) then local creaturePos = getCreaturePosition(getCreatureTarget(cid)) creaturePos.stackpos = 255 addEvent (function() if getCreatureTarget(cid) ~= nil then doTargetCombatHealth (cid, getCreatureTarget(cid), 1, min, max, magiceffect) doSendDistanceShoot(getCreaturePosition(cid), creaturePos, disteffect) doSendMagicEffect(creaturePos, magiceffect) return TRUE end end, 17) else local n = 6 for i = 1, n do local newPos = getPositionByDirection(getCreaturePosition(cid), getCreatureLookDirection(cid), i) newPos.stackpos = 255 if not isWalkable(newPos, false, true, true) or isCreature(getThingfromPos(newPos).uid) or i == n then doSendDistanceShoot(getCreaturePosition(cid), newPos, disteffect) addEvent(function() if isCreature(getThingfromPos(newPos).uid) then doTargetCombatHealth(cid,getThingfromPos(newPos).uid, 1, min, max, magiceffect) doSendMagicEffect(newPos, magiceffect) return TRUE else doSendMagicEffect(newPos, magiceffect) end end, 140) break end end end if math.random(1,1) < 10 then local inicio = getCreatureTarget(cid) local targets = chainRoute(inicio, 2) local i = 0 for _,v in pairs(targets) do i = i+1 addEvent(doSendDistanceShoot, i*100, getCreaturePosition(v[1]), getCreaturePosition(v[2]), 32) addEvent(doAreaCombatHealth, i*100, cid, 1, getCreaturePosition(v[2]), 0, min, max, CONST_ME_HITAREA) end end exhaustion.set(cid, storage, tempo) return true end A partir do cast spell troca o codigo por esse
-
Script Desbugar!
---=-=-=-==-=-www.hpobrasil.com-=-=-=-==-=-=-= --=-=-=-=-=-=-=-=www.facebook.com/pokemonDBR-=-=-=-=-=-= function onSay(cid, words, param) local onde = {x=1023,y=907,z=7} --Pra onde o Player vai ao dizer o comando ?. local exausted = getPlayerStorageValue(cid,985432) -- Storange que o player ganha, só mexa se tiver sendo usada por outro .script seu local agora = os.time() local tempo = 2 -- Quanta horas ele vai usar o comando novamente ? ali está 2 = 2 horas. local config = tempo * (60*60) local somatempo = agora + config if exausted > agora then doPlayerSendTextMessage(cid,25,"Voce precisa esperar 2 horas para digitar o comando novamente!") -- Mensagem que vai aparecer ao player, quando tenta usar o comando novamente ? 25 é a cor da mensagem. return true end if exausted <= agora and if (not getCreatureCondition(cid, 1024)) then doPlayerSendTextMessage(cid,25,"Personagem Desbugado!") -- Mensagem que vai aparecer ao player, quando usar o comando ?. setPlayerStorageValue(cid,985432,somatempo) doTeleportThing(cid,onde) doSendMagicEffect(getCreaturePosition(cid),21) -- 21 é o efeito você escolhe outro se quiser... return true end end
-
System Anbu
isso é uma promotion?
-
[Ajuda] Ao editar o mapa com RME buga o depot.
abre as propriedades dele e coloca um id
-
[PEDIDO] sistema de Kicks
Não sei certo como funciona, mas alguns servers são banidos no otservlist por não deixar o kick de 15 mins.
-
[PEDIDO]
Vai ter que mudar a fórmula do dano para isso. Pode ser complicado.
-
Duvida sobre servidores
Acho que o cara ta querendo um global..
-
alguem pode adicionar um autokick nesse talkaction?
function onSay(cid, words, param, channel) local house = getHouseFromPos(getCreaturePosition(cid)) if(not house) then doPlayerSendCancel(cid, "You are not inside a house.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end local owner = getHouseInfo(house).owner if(owner ~= getPlayerGUID(cid) and (owner ~= getPlayerGuildId(cid) or getPlayerGuildLevel(cid) ~= GUILDLEVEL_LEADER)) then doPlayerSendCancel(cid, "You are not the owner of this house.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end doRemoveCreature(cid) setHouseOwner(house, 0) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) return false end