Ir para conteúdo

Vodkart

Herói
  • Total de itens

    3406
  • Registro em

  • Última visita

  • Dias Ganhos

    113

Tudo que Vodkart postou

  1. pronto 100% agr remove conditions! abraços
  2. vdd era pra ficar fora do for... arrumado,obrigado pelo toque vei! aqui está o seu: <?xml version="1.0" encoding="UTF-8"?> <mod name="ChangeMap" version="1.0" author="Vodkart" contact="xtibia.com" enabled="yes"> <config name="map_func"><![CDATA[ info = { [0] = {x=654,y=847,z=7}, [1] = {x=518,y=603,z=7}, [2] = {x=552,y=226,z=7}, [3] = {x=872,y=400,z=7}, [4] = {x=413,y=804,z=7} } storage = 50555 ]]></config> <event type="login" name="Check Map" event="script"><![CDATA[ domodlib('map_func') function onLogin(cid) if getGlobalStorageValue(storage) == -1 then setGlobalStorageValue(storage,getGlobalStorageValue(storage)+1) end doTeleportThing(cid,info[getGlobalStorageValue(storage)]) return true end ]]></event> <globalevent name="ChangeMap" interval="3600" event="script"><![CDATA[ domodlib('map_func') function onThink(interval, lastExecution) doBroadcastMessage('The map will be changed again in 1 hour.') if getGlobalStorageValue(storage) < 4 then setGlobalStorageValue(storage,getGlobalStorageValue(storage)+1) else setGlobalStorageValue(storage,getGlobalStorageValue(storage)-4) end for _, pid in ipairs(getPlayersOnline()) do doTeleportThing(pid,info[getGlobalStorageValue(storage)]) end return TRUE end]]></globalevent> </mod>
  3. Vodkart

    Exp Amulet 90%

    no aguardo.
  4. isso ai,apendeu com o papai tópico reportado para moverem abraços
  5. só adiciona um "return TRUE" antes do último end
  6. n é "nego" é "emo" gian UHAUHAUhuhUA

    1. Mostrar comentários anteriores  %s mais
    2. Gaspar123

      Gaspar123

      ae vodkart ajuda eu

      function onLogin(cid)

      if getPlayerStorageValue(cid, 15000) - os.time() >= 1 then

      doPlayerSetSpecialDescription(cid, " [Vip Account]")

      end

      return TRUE

      end

      criado por vc mas meu sistema nao tem storage oq faço?

    3. soldoran

      soldoran

      sumiu do msn vod :/

    4. soldoran

      soldoran

      sumiu do msn vod :/

  7. Vodkart

    O Xtibia

  8. aperta o dedo ai nos malandro LordFire

    1. Mostrar comentários anteriores  %s mais
    2. alessonjhones

      alessonjhones

      =P

      Preciso de Ajuda =) quando Der dá uma olhadinha ;)

      Obg !

    3. Igorzera

      Igorzera

      Cara, será que vc consegue criar um script que quando vc fala !axe,!distance,!magiclevel aparece o skill? tipo fala !axe e mostra o skill axe do player, se você conseguir pode contar, todo dia ti dou rep+, pq ja to a mto tempo procurando esse script.

    4. jukire

      jukire

      Eai vodkart. tem como voce me adc No msn? pra me ajudar com um sistema de vip q ta com um erro aki. presiso de um script q quando acabar a vip do player a vocation vip sair tbm. eu vi um tutorial mais nao deu certo ta muito mal explicado. pf favor cara eu presiso muito msm. me ajuda :). abracos! MSN (lucasjukire@hotmail.com)

  9. Vodkart

    Exp Amulet 90%

    pronto,usa esse que está funfando 100% ! <?xml version="1.0" encoding="UTF-8"?> <mod name="Exp Amulet" version="1.0" author="vodka" contact="xtibia.com" enabled="yes"> <config name="expamulet"><![CDATA[ info = { rate = 3, time = 5, -- Hours storage = 20013 } function endExpRate(cid) if isPlayer(cid) == TRUE then doPlayerSetRate(cid, SKILL__LEVEL, 1) -- config.lua rate setPlayerStorageValue(cid, info.storage, -1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Your extra experience time has ended.') end end ]]></config> <event type="login" name="check_rate" event="script"><![CDATA[ domodlib('expamulet') function onLogin(cid) if getPlayerStorageValue(cid, info.storage) >= os.time() then doPlayerSetRate(cid, SKILL__LEVEL, info.rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Your extra experience rate is now: ' .. info.rate .. '. It will last for '.. os.date("%H", math.floor(getPlayerStorageValue(cid, info.storage) - os.time())) .. ':' .. os.date("%M", math.floor(getPlayerStorageValue(cid, info.storage) - os.time())) .. ' hours.') addEvent(endExpRate, math.floor(getPlayerStorageValue(cid, info.storage) - os.time())*3600*1000, cid) end return true end]]></event> <action itemid="10221" event="script"><![CDATA[ domodlib('expamulet') function onUse(cid, item, frompos, item2, topos) if (getPlayerStorageValue(cid, info.storage) <= os.time()) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Your extra experience rate is now: ' .. info.rate .. '. It will last for '.. info.time ..' hours.') doPlayerSetRate(cid, SKILL__LEVEL, info.rate) setPlayerStorageValue(cid, info.storage, os.time()+info.time*3600*1000) addEvent(endExpRate, info.time *3600*1000, cid) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'You still have extra experience time left.') end return true end]]></action> </mod>
  10. Vodkart

    Exp Amulet 90%

    como falei cara,vai aparecer 4 horas porque? vc ativa ele com 5 horas certo,ai reloga vai ficar tipo "4 horas e 59 minutos" como está só para contar as horas fica aparecendo só "4 horas",depois coloco pra contar os minutos
  11. http://www.xtibia.com/forum/topic/134141-cancei-bug-aol/
  12. FUUUUUU JÁ É AMANHA? AFF

    1. BryanModesto

      BryanModesto

      nao, ja é ontem

    2. Lordfire

      Lordfire

      é velho, porra, só avisaram em cima da hora

  13. você mudou alguma coisa? manda sua mods ai pra mim ver
  14. @BryanModesto Quem é essa cocota do seu avatar? uHUHAUhuaHAUhaUHAUhauAHAUau dança escrota PQP
  15. Vodkart

    Exp Amulet 90%

    não sei,eu testei com esse seu item e deu ve em actions.xml se não está duplicado o id do item...
  16. Opa já sei oque era,é porque no script não tinha para checar storage -1,só apartir de 0,então retornava nil e não dava para logar. já arrumei,abraços
  17. lol claro,o NPC só ta funcionando para pokeserv e pokedash,a pokebola no pokeflash é "rattata pokeball" enquanto no pokedash é só "Rattata"... Vo ve se faço um npc para o pokeflash e edito mais tarde. abraços
  18. eu testei com só aquelas funções ali da pokeLib e funcionou. você tem que estar com o pokemon dentro da backpack! qual seu servidor pokemon?
  19. @UP então só coloca isso na sua pokeLib: function findLetter(string, letter) for i = 1, #string do if string:sub(i, i) == letter then return i end end end function getItemsInContainerById(container, itemid) -- Function By Kydrai local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getItemsInContainerById(item.uid, itemid) for i=0, #itemsbag do table.insert(items, itemsbag[i]) end else if itemid == item.itemid then table.insert(items, item.uid) end end end end return items end
  20. como assim? ela vai logar no mapa certo,por exemplo se tiver no map4 e a pessoa logar ela vai logar no map 4 tbm e não em outro mapa.
  21. pow não fode demon uahuahauhauahauua para que usar LUAsql e storage? é um script simples function onStepIn(cid, item, position, lastPosition, fromPosition) return doSetCreatureOutfit(cid, {lookType = 136}, -1) end function onStepOut(cid, item, position, lastPosition, fromPosition) return doRemoveCondition(cid, CONDITION_OUTFIT) end
  22. http://www.xtibia.com/forum/topic/135178-talkaction-name-changer/
  23. -----------------This Spell was made with Mindrage's Spell Maker v0.56b --------- --Do not post the spells in any forum without this line or you will be caught!--- --This Software is free to use and can't be for for real-life values!------------ local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, 1) setCombatParam(combat1, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat1, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 15) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 24) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 1, 0, 2, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, 8) setCombatParam(combat2, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat2, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 15) setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 25) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 1, 0, 2, 0) local area1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 3, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} local area2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 3, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} setCombatArea(combat1, createCombatArea(area1)) setCombatArea(combat2, createCombatArea(area2)) function onCastSpell(cid, var) addEvent(doCombat, 0, cid, combat1, var) addEvent(doCombat, 0, cid, combat2, var) return TRUE end
  • Quem Está Navegando   0 membros estão online

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