Ir para conteúdo

edukf

Campones
  • Total de itens

    51
  • Registro em

  • Última visita

Tudo que edukf postou

  1. edukf

    [pedido] exp ring por %

    Obrigado a todos!@milbradt @Poccnn @Danihcv
  2. edukf

    [pedido] exp ring por %

    @danihcv Testa o anel ai, por exemplo antes do anel eu ganho 1800 de exp, depois que eu coloco o anel ta ganhando 2700000! quando tira a exp nao volta tb, ta dando bem mais que 50%, ta tudo bugado, faz o test
  3. edukf

    [pedido] exp ring por %

    @danihcv Funcionou hahaha, mas não como eu queria eu coloquei "local extraRate = 0.5" , no caso seria 50% né? mas o monstro ta dando metade da sua exp e não 50% a mais /: edit: e ainda ta dando esse erro o ot inteiro cai, e bugo tudo o char ta recendo mais exp do que devia tb! parece que acrescentou esses 50% permanente! enfim ta tudo bugado uahauhauha
  4. edukf

    [pedido] exp ring por %

    @danihcv ainda ta dando esse erro /: e nao ta dando a exp
  5. edukf

    [pedido] exp ring por %

    @danihcv ta dando esse erro ainda e quando o player equipa o anel, da um erro e o ot inteiro cai
  6. edukf

    [pedido] exp ring por %

    @danihcv
  7. edukf

    [pedido] exp ring por %

    @danihcv ta dando esse erro
  8. Boa noite, gostaria de um exp potion por %, por exemplo 50% a maioria dos scripts de exp potion estão bugados.. alguém consegue fazer por percentagem? TSF 0.4 edit: Eu achei esse script bem completo mas ta bugado.. depois que usa a potion não da pra usar de novo... alguém sabe arrumar isso? <?xml version="1.0" encoding="UTF-8"?><mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="um fórum que não merece ser citado.com"><!-- Configs and Functions --><config name="PotionExpConfigs"><![CDATA[------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSEconfigs = {time = 60, ---- TIME IN MINUTESneedpa = FALSE,needlvl = {TRUE, level = 10},costmana = {TRUE, mana = 100},addrate = 25, -- Exp que vai adicionar em %removeonuse = TRUE}function getTime(s)local n = math.floor(s / 60)s = s - (60 * n)return n, sendCreatureEventChecker = function(event, ...) -- Colexif isCreature(arg[1]) thenevent(unpack(arg))endendcreatureEvent = function(event, delay, ...) -- ColexaddEvent(CreatureEventChecker, delay, event, unpack(arg))endfunction getPlayerExtraExpRate(cid) -- By MatheusMkaloreturn (getPlayerRates(cid)[8]-1)*100end]]></config><!-- exppotion.lua --><action itemid="12328" event="script"><![CDATA[domodlib('PotionExpConfigs')if getPlayerStorageValue(cid, 62164) >= 1 thenreturn doPlayerSendCancel(cid, "You are already taking effect from this item.")endif configs.needpa and not isPremium(cid) thenreturn doPlayerSendCancel(cid, "You need to be a premmium account to use this item.")endif configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level thenreturn doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.")endif configs.costmana[1] thenif getCreatureMana(cid) < configs.costmana.mana thenreturn doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.")elsedoCreatureAddMana(cid, -configs.costmana.mana)endendif configs.removeonuse thendoRemoveItem(item.uid, 1)endfor i = configs.time*60, 1, -1 dolocal a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60))if #a < 4 thena = string.sub(a,1,2) .. "0" .. string.sub(a, 3)endif i == configs.time*60 thencreatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.")endcreatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".")enddoPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100))creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100)))doPlayerSendTextMessage(cid, 22, "Agora voce ira receber mais exp por matar os mosntros.")setPlayerStorageValue(cid, 62164, os.time())creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0)return TRUE]]></action><creaturescript type="login" name="ExpPotion" event="script"><![CDATA[domodlib('PotionExpConfigs')local time = configs.timeif os.time()-getPlayerStorageValue(cid, 62164) < time *60 thendoPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100))creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100)))creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0)for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 dolocal a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60))if #a < 4 thena = string.sub(a,1,2) .. "0" .. string.sub(a, 3)endif i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) thencreatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.")endcreatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".")endendreturn TRUE]]></creaturescript></mod>
  9. edukf

    [pedido] exp ring por %

    Blz, imaginei que ia precisar do data editor e ja criei o item hahaha, aqueles 0.5 seria 50% entao? E mt obrigado! vc ta sendo o cara
  10. Me ajuda dani :(

    1. Danihcv

      Danihcv

      Já to fznd a resposta/tutorial.

  11. edukf

    [pedido] exp ring por %

    a versão é 0.4
  12. edukf

    [pedido] exp ring por %

    Pode ser o tutorial completo hahaha, sim id1 para id2 igual um ring normal.
  13. Me ajuda nesse topico danii pfv ahhaha 

     

     

    1. Danihcv

      Danihcv

      Verei o que posso fazer. sausahu

    2. edukf

      edukf

      Tem skype? qualquer coisa eu pago pra ti uns scripts mano ^^

    3. Danihcv

      Danihcv

      Só dou suporte pelo fórum msm... E não comercializo os scripts, ñ. Faço de graça msm, sem probs. sahusauhs ^^

  14. Bom dia, gostaria de um exp ring por %, por exemplo 50%
  15. edukf

    [Pedido] Erro nesse script

    Deu certo mt obrigado Rep
  16. edukf

    [Pedido] Erro nesse script

    Ta dando um bug, o player fica preso no tile
  17. edukf

    [Pedido] Erro nesse script

    esse erro: e como instala ele? ou vc consegue fazer outro script pra mim? um tile que não de para passar enquanto um player estiver em battle com monstor
  18. Queria um tile que quando o player estiver em battle com um monstro ele nao pode passar, e que apareça uma mensagem " elimine o monstro" esse script seria esse, mais ta com erro alguém consegue arrumar? function onStepOut(creature, item, position, fromPosition) if not creature:isPlayer() then return true end for _, s in pairs(Game.getSpectators(creature:getPosition(), false, false, 7, 7, 5, 5)) do if s:isMonster() and not s:getMaster() then creature:sendTextMessage(MESSAGE_INFO_DESCR, "Elimine o monstro primeiro.") creature:teleportTo(fromPosition, false) return true end end return trueend
  19. ta dando mt erro meu ubunto 14.04 preciso de auxilo fora do forum, qualquer coisa eu pago, pois quero mt isso desde 2012! skype: du.fontana whats (11) 958071151
  20. alguem pode me ajuda? skype du.fontana pode me cobrar se quiser.
  21. ja tentei baixar outros ots, estou usando o meu ip sim estou usando o meu ip do http://www.meuip.com.br/ e nao estou com roteador
  22. eu ja fiz tudo isso hahaha e nao deu certo, o jeito é o vps. mas o otserv nao fica online nem pra mim! para fazer teste..
  23. eu liguei eles não permitem..
  24. eu mexo com otserv faz uns 4 anos e isso nunca aconteceu.. eu formatei meu pc e desativei o firewall e ainda não deu!! será que é algo que a neet está bloqueando?
  25. meu IPV4 é o mesmo que eu botei ali
  • Quem Está Navegando   0 membros estão online

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