Ir para conteúdo

thelifeofpbion

Membro
  • Registro em

  • Última visita

Solutions

  1. thelifeofpbion's post in (Resolvido)Movement, ajuda simples. was marked as the answer   
    Agradeço sua ajuda, não precisava editar eu meio que descobri, aparentemente head nao funcionava e botei "FIRST" e funcionou na tag..
  2. thelifeofpbion's post in (Resolvido)Sair mensagem de Broadcast was marked as the answer   
    CRITICAL.

     
    local config = { effectonuse = 13, -- efeito que sai levelscrit = 100, --- leveis que terão storagecrit = 48903 -- storage que será verificado } local notallowed = {1,2,3,4} function onUse(cid, item, frompos, item2, topos) if not isInArray(notallowed, getPlayerVocation(cid)) then if getPlayerStorageValue(cid, config.storagecrit) < config.levelscrit then doRemoveItem(item.uid, 1) doSendMagicEffect(topos,config.effectonuse) doPlayerSendTextMessage(cid,22,"You've Leveled your Critical Skill to ["..(getPlayerStorageValue(cid, config.storagecrit)+1).."/100].") setPlayerStorageValue(cid, config.storagecrit, getPlayerStorageValue(cid, config.storagecrit)+1) elseif getPlayerStorageValue(cid, config.storagecrit) >= config.levelscrit then doPlayerSendTextMessage(cid,22,"You've already reached the MAX level of Critical Skill.\nCongratulations!!!!") if getPlayerStorageValue(cid, 37238) < 1 then -- verifica se o valor da storage é menor que um. setPlayerStorageValue(cid, 37238, 1) -- atribui o valor 1 para a storage. definimos a "storage" la em cima. doBroadcastMessage("The player ".. getCreatureName(cid).. " conquered the 100 critical stone. Congratulations!") end return 0 end else doPlayerSendTextMessage(cid,22,"You can't learn this skill because you're "..getPlayerVocationName(cid)..". Your need to promotion for use.") return 0 end return 1 end  
  3. thelifeofpbion's post in (Resolvido)Item que faz o char correr was marked as the answer   
    OBS: não testei... usei a formula do 'utani gran hur' qualquer coisa é só você mudar a formula.
     
    tag: 
     
    <action itemid="XXXX" event="script" exhaustion="2000" value="boots.lua"/>
     
     
  4. thelifeofpbion's post in (Resolvido)Modificar Npc de troca was marked as the answer   
    Bom, veja se era isso que você precisava...
    obs: não esquece de mudar os ids dos itens e mudar a quantidade que é retirada também, porque modifiquei para "2".

    só uma pergunta... seu servidor existe moeda adicional? aquelas que depois de 1kk vira outra? 

    E cara... não precisa usar <=499, você poderia ter usado apenas < 500 tendeu?

     
     
  5. thelifeofpbion's post in (Resolvido)Script não da Vocação was marked as the answer   
    Mano, antes de tudo tenta assim.. se não der, me da um toque que eu vou achar o problema e organizar.
    obs: mudei a function e identei... vê se funciona.
    function onUse(cid, item, frompos, item2, topos) local itemid = 5468 local outfit = {lookType = 870} -- Looktpe sem reborn local outfit2 = {lookType = 870} -- looktype da UltraGod local outfit3 = {lookType = 870} -- looktype reborn if isPlayer(cid) then if getPlayerItemCount(cid, itemid) >= 1 then if getPlayerStorageValue(cid,99023) == 4 and doCreatureChangeOutfit(cid, outfit2) and doPlayerRemoveItem(cid, itemid, 1) and addEvent(doRemoveCreature, 1, cid) then doPlayerSetVocation(cid, 647) elseif getPlayerStorageValue(cid,30023) == 4 and doCreatureChangeOutfit(cid, outfit3) and doPlayerRemoveItem(cid, itemid, 1) and addEvent(doRemoveCreature, 1, cid) then doPlayerSetVocation(cid, 647) elseif getPlayerStorageValue(cid,60150) == 1 and doCreatureChangeOutfit(cid, outfit) and doPlayerRemoveItem(cid, itemid, 1) and addEvent(doRemoveCreature, 1, cid) then doPlayerSetVocation(cid, 642) end end return true end end  
  6. thelifeofpbion's post in (Resolvido)Alanvanca tp was marked as the answer   
    WTF  que porra é essa?
    local topos = {885=, 1460=, 5=}
    se usa assim.
     
    local topos = {x=885, y=1460, z=5} 

    e isso também ta errado.  " Se teleportar ~acontece~" SE? porque usar uma condição? se não tem um else "caso nao n teleportar"
    if doTeleportThing(cid, topos) then

    enfim...

     
  7. thelifeofpbion's post in (Resolvido)Tile que passa Mensagem 1 vez was marked as the answer   
    Não esquece da tag.

     
    function onStepIn(cid, item, pos) local msg = "DIGITE AQUI SUA MENSAGEM" local stg = 23483872 if isPlayer(cid) == true then if getPlayerStorageValue(cid, stg) < 1 then doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE,msg) setPlayerStorageValue(cid,stg,1) else end end return true end  
  8. thelifeofpbion's post in (Resolvido)Item que adiciona HP e Mana was marked as the answer   
    <attribute key="maxManaPoints" value="3000"/>
  9. thelifeofpbion's post in (Resolvido)Script de House Clean was marked as the answer   
    problema ta na tag não no script, seu servidor deve ser em milisegundo.
  10. thelifeofpbion's post in (Resolvido)Alteração em 2 scripts was marked as the answer   
    AMEM
    kkkkkkkkkkkkkkkk se der erro me fala, testei aqui... ignorando adm, sorteando corretamente e os krl a4

    lottery FUNCIONANDO IGNORANDO ADM.rar
  11. thelifeofpbion's post in (Resolvido)Erro Script was marked as the answer   
    O "Dai Hirouda"   o diretorio da tag não condiz com a pasta do arquivo.lua

    O "Yagai" tenta usar esse, não testei.
     
     
    O "tsuk" também não condiz com a tag...

    resumindo, boa parte dos seus problemas é que você coloca nomes diferentes no arquivo.lua e na tag... ou então em pasta diferentes, preste mais atenção!
     
  12. thelifeofpbion's post in (Resolvido)Porta que só passa level 2000 was marked as the answer   
    aé....  kkkkkkkkkkkkk foi mal usei o operador lógico > inves de >=

    pronto.

     
  13. thelifeofpbion's post in (Resolvido)Player não pega frag was marked as the answer   
    ve se o deathlist ta como false no config lua se tiver coloque true

    deathListEnabled = true
  14. thelifeofpbion's post in (Resolvido)THEMEBOX ADDON was marked as the answer   
    Ta la no arquivo widget_rank.php na pasta layouts

    vou colocar em negrito o que você precisa modificar

    ps: gostei do monster do ragnarok no pedestal...
     
     
  15. thelifeofpbion's post in (Resolvido)exp potion script com erro no time e pedido was marked as the answer   
    Beleza, apaga tudo que tem do seu exp potion e usa esse.
    esta 100% e tem o creaturescript para desbugar caso o char logue... (praticamente todos exp bug tinha esse bug de logar)

    mods/
     
    creaturescripts/perderefeito
     
        creaturescripts/perderefeito.xml
     
    creaturescripts/login.lua
     
  16. thelifeofpbion's post in (Resolvido)ERROR was marked as the answer   
    tive esse problema, usei essa e resolveu...
     

    caso nao resolva, use essa.
     
     
  17. thelifeofpbion's post in (Resolvido)scripts dos players OT (Alissow 5.0) was marked as the answer   
    usa o sqlite studios, ai voce seleciona la no programa a database, de sqlite q ta na pasta schemas e vai na aba players.. deve ter algum tutorial no youtube que explica direitinho... caso n entendeu
  18. thelifeofpbion's post in (Resolvido)[RESOLVIDO] Speell que Teleporta o Player Para Outro lugar do mapa was marked as the answer   
    entao tava dando uma olhada no seu pedido e na spell nao sei se vai ajudar nao kk mas ta ai ja é algo.. qualquer coisa fala com o night wolf q talvez ele faça a alteração necessaria pra ficar 100% como você quer a magia foi ele que fez.
     
     
  19. thelifeofpbion's post in (Resolvido)tile checagem de storage [resolvido] was marked as the answer   
    @ZikaLord   Assim ele não tira nem na primeira vez que pisa nem na segunda  vira um tp normal se tiver 100 do item_id 

    Edit #  Consegui já cara, era só colocar um if antes chegando a storage antes do "if getPlayerItemCount"    n sei pq n tava dando antes   mas valeu....

Informação Importante

Confirmação de Termo