Ir para conteúdo

SkyLigh

Lorde
  • Total de itens

    2183
  • Registro em

  • Última visita

  • Dias Ganhos

    23

Tudo que SkyLigh postou

  1. Vai em data /movements/scripts , duplica um arquivo e nomeia para "nomedoitem" sem aspas nele coole: function onEquip(cid, item, slot) local outfit = {lookType = 4} -- looktype doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getPlayerPosition(cid),67) -- effect return TRUE end function onDeEquip(cid, item, slot) doRemoveCondition(cid, CONDITION_OUTFIT) doSendMagicEffect(getPlayerPosition(cid),67) -- effect return TRUE end Agora em movements.xml cole a tag: <movevent type="Equip" itemid="iddoitem" slot="slotdoitem" event="script" value="nomedoitem.lua"/> <movevent type="DeEquip" itemid="iddoitem" slot="slotdoitem" event="script" value="nomedoitem.lua"/> slots validos: head armor legs hand shield ring necklace feet pickupable
  2. SkyLigh

    Testvip

    cara so troca o script por esse qual a dificuldade
  3. SkyLigh

    Lordfire

    vai ate umas 5 pag ate moderador vai vim brincar. Se tiver falando de mim eu não me reputei pode ver que o LF ate devolveu os reps so sai da equipe que o mrcarta la foi pra equipe e ninguém percebeu so eu que amostrei.
  4. editei o do jhon . local speedGain = 200 -- speed atack que a spell vai conseder. local time = 60 -- tempo em segundos da duração da spell. function onCastSpell(cid, var) doPlayerSetExtraAttackSpeed(cid,speedGain) addEvent(doRemoveExtraAttackSpeed, time*1000, cid) return true end function doRemoveExtraAttackSpeed(cid) doPlayerSetExtraAttackSpeed(cid, 0) return true end
  5. Entao pegue um item que venda em npc e o edite um npc de itens vip
  6. SkyLigh

    Testvip

    corrigindo o script . fica assim local config = { level == 100, days == 2, } function onAdvance(cid, oldlevel, newlevel) if getPlayerLevel(cid) >= config.level and getGlobalStorageValue(getPlayerAccountId(cid)+321) <= 0 then setGlobalStorageValue(getPlayerAccountId(cid)+321, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você ganhou "..config.days.." dias de VIP por alcançar level "..config.level.." em pelo menos um char de sua account. Você não irá ganhar de novo caso upe level "..config.level.." em outro char.") doPlayerAddVipDays(cid, config.days) end return TRUE end
  7. so configura pelo globalevents
  8. SkyLigh

    Rme

    duvida sanada reportado
  9. http://www.xtibia.com/forum/topic/161310-movement-buff-system/
  10. acontece qual erro no script
  11. SkyLigh

    Duvida Rme

    em qual flow você esta se for o flow 1 nao da pq e o primeiro andar .?
  12. SkyLigh

    Aol Especiais

    tente usa o script assim . function onDeath(cid, corpse, deathList) if (getPlayerSlotItem(cid, 2).itemid == 2196) then doPlayerRemoveItem(cid, 2196, 1) doCreatureSetDropLoot(cid, false) end return true end
  13. http://www.xtibia.com/forum/topic/195303-spell-que-aumenta-o-attackspeed-por-certo-tempo/
  14. veja este. http://www.xtibia.com/forum/topic/138359-double-exp-para-vip/
  15. Duvida sanada reportado
  16. Havia um erro em uma linha eu so dei uma alterada . nela que eu creio que podera funcionar se querer me passe eles por pm os outros que eu veja neles tbm .
  17. . local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if msgcontains(msg, 'hi') then selfSay('Hey Do you have 20 dino eye for me?') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'yes') then if getPlayerStorageValue(cid,6021) == 1 then selfSay('Sorry You Cant Do this quest.') elseif msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,6543,20) == 0 then selfSay('Sorry Dont have that items.') else if doPlayerAddItem(cid,2395,1) then setPlayerStorageValue(cid,6021,1) selfSay('Thanks take this') focus = 0 talk_start = 0 end end end elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. getCreatureName(cid) .. '!') focus = 0 talk_start = 0 end end end function onThink() if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end veja agr
  18. poste os scripts deles . ddemon.lua fighter.lua reb1.lua
  19. SkyLigh

    Rme

    como assim nao ira pedir a versao ?
  20. SkyLigh

    Rme

    a versao esta igual do servidor ? pelo rme se der para fechar e abrir faza o seguinte nos 2 mapas aperte ctrl + p em client version ponha a versao do sv.
  21. va em data / movements / scripts / e renome algum arquivo para pisolvl function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition, true) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"So Lvl 200 ou mais pode passar") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"Seja bem vindo") doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) end dps em movements.xml <movevent type="StepIn" uniqueid="5722" event="script" value="pisolvl.lua"/> dps so por o id 5722 no piso nao vi o post do luck !
  22. Como assim na spell ela attacka e tbm te da speed?
  23. http://www.xtibia.com/forum/topic/114531-talkaction-troca-de-vocacao-100/
  24. Reportado Por Flood e reviver tópico
  25. Vamos parando com o flood ? mais de 20 tópicos se posto isso mano .
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...