Ir para conteúdo
  • Cadastre-se

(Resolvido)Como tiro o skill por rate stage ajuda


Ir para solução Resolvido por olokomeu,

Posts Recomendados

ajuda como desabilito as skills por rate stage ja tirei o  experienceStages mas mesmo assim nao fica com a configuraçao q eu coloquei me ajuden as skills do servidor sobem muito rapido exemplo coloquei magic level  rate 1 e sobe como se tivese 100 ajuda

Link para o post
Compartilhar em outros sites

tive o mesmo problema bom é bem simples.

 

Vai Config.lua

 

depois procure por :

 
experienceStages = true
 
apague o ''true'', e coloque ''false''
 
pronto só editar rateexperience !
Link para o post
Compartilhar em outros sites
Config.Lua:
 

experienceStages = "no"         ----- Se quer por stagio. "Yes" vc quer. "No" você não quer.
rateExperience = 10                      ---- Xp rate sem stagio.
rateExperienceFromPlayers = 0                ---- isso aqui é para War, Exp por players morto.
rateSkill = 25          ----------------- rate Skill ( sword,club....shield...)
rateMagic = 10    ---------------------------  rate magic ( magic level)
rateLoot = 2             ---------------- rate loot dos monstro
rateSpawn = 2     -------------------- Rate spaw dos monstros, quanto maior, mais rápido eles vão nascer

 
 
 
Va em Data>XML e procura por stages.xml  e delete.
 
Obs: Faça um Backup desse arquivo, para caso futuramente queira que a Xp seja Stages, você já tem o arquivo. 
Editado por olokomeu (veja o histórico de edições)

Eu te Ajudei? Então solta aquele REP+ !!

Meus Tutoriais [Tutorial] Bug "Temple position is wrong" (MySql)

Outros:    [Meu Show OFF | Mapa próprio 8.6] 

Link para o post
Compartilhar em outros sites

ajuda como desabilito as skills por rate stage ja tirei o  experienceStages mas mesmo assim nao fica com a configuraçao q eu coloquei me ajuden as skills do servidor sobem muito rapido exemplo coloquei magic level  rate 1 e sobe como se tivese 100 ajuda

Amigo, não existe esse "Skills por rate stage", simplesmente, vá no seu vocations.xml, lá estará a configuração:

 

<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

Seu vocations.xml deve ter isso em cada vocação, se quiser mais rápido up, abaixe o valor, por exemplo:

Antes:

distance="1.8"

Depois:

distance="1.0"

Isso vai deixar o player upar este skill mais rapidamente, porém, quanto menor, menos dano ele dará, mas, quando o skill estiver alto novamente será um hit razoável, já que quer deixar seus skills difíceis, aumente o valor, lembre-se, quanto maior, menos rápido, quanto menor, mais rápido.

 

Obs: Faça em todas as vocações.

Obs²: Respeite as vocações como knight, não aumente muito os skills, aumente consideravelmente, se não, ficará muito difícil upar o skill como sword para o knight, e magic level para druids por exemplo.

Editado por Snowsz (veja o histórico de edições)
                              _
                          .-'` `}
                  _./)   /       }
                .'o   \ |       }
                '.___.'`.\    {`
                /`\_/  , `.    }                                      ME DA UMA NOZ!
                \=' .-'   _`\  {
                 `'`;/      `,  }
                    _\   @   ;  }
                   /__`;-...'--'

Cluck!

Link para o post
Compartilhar em outros sites
  • Solução

Existe sim skill em Stages. Dê uma olhada em  data>creaturescripts>scripts> e veja se existe um arquivo semelhante há esse : Skillstageslogion.

 

Na mesma pasta data>creaturescripts>scripts> procure por esse também: skillstagesadvance

 

Se esses arquivos existirem ok. Vamos em:

 

data>creaturescript>creaturescript.xml

 

e procure essa Tag:

 

<event type="login" name="SkillStagesLogin" event="script" value="skillstageslogin.lua"/> 

    <event type="advance" name="SkillStagesAdvance" event="script" value="skillstagesadvance.lua"/>

 

Ai é só você deletar essas Tag do seu creaturescript.xml, e ver se saiu sua stage de skill.

Eu te Ajudei? Então solta aquele REP+ !!

Meus Tutoriais [Tutorial] Bug "Temple position is wrong" (MySql)

Outros:    [Meu Show OFF | Mapa próprio 8.6] 

Link para o post
Compartilhar em outros sites

tem advancesave vo manda script mas eu ja consegui configurar

 

 

--//Credits: Cyko//--
local config = {
    savePlayer = true, --Save Player When The Gain Level!
    healPlayerOnLevel = true, --Heal Players Hp And Mana On Level!
}
 
function onAdvance(cid, skill, oldLevel, newLevel)
    if(skill == SKILL__EXPERIENCE) then
        return true
    end   
    
    if(config.savePlayer) then
        doPlayerSave(cid, true)
    end
    
    if(newLevel < oldLevel)then return true end
 
    if(skill == SKILL__LEVEL and config.healPlayerOnLevel) then
        doCreatureAddHealth(cid, getCreatureMaxHealth(cid) - getCreatureHealth(cid))
        doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
    end
    
    local VocKnig = {4,8}  
    if (getPlayerStorageValue(cid,100132) == -1) then
        if (getPlayerLevel(cid) >= 30 and isInArray(VocKnig, getPlayerVocation(cid))) then
            setPlayerStorageValue(cid,100132, 1)
            doPlayerAddItem(cid,2516,1)
            doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived a Dragon Shield." )
        if (getPlayerSkill(cid,SKILL_FIST) >= getPlayerSkill(cid,SKILL_AXE) and getPlayerSkill(cid,SKILL_FIST) >= getPlayerSkill(cid,SKILL_CLUB) and getPlayerSkill(cid,SKILL_FIST) >= getPlayerSkill(cid,SKILL_SWORD)) then
            local ITEMS = {7408, 2430, 2434}
            local random = ITEMS[math.random(1, #ITEMS)]
            doPlayerAddItem(cid, random, 1)
            doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived a random weapon, since you are using fist." )
        elseif (getPlayerSkill(cid,SKILL_SWORD) >= getPlayerSkill(cid,SKILL_AXE) and getPlayerSkill(cid,SKILL_SWORD) >= getPlayerSkill(cid,SKILL_CLUB)) then
            doPlayerAddItem(cid,7408,1)               
            doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived a Wyvern Fang." )
        elseif (getPlayerSkill(cid,SKILL_AXE) >= getPlayerSkill(cid,SKILL_SWORD) and getPlayerSkill(cid,SKILL_AXE) >= getPlayerSkill(cid,SKILL_CLUB)) then
            doPlayerAddItem(cid,2430,1)         
            doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived a Knight Axe." )
        elseif (getPlayerSkill(cid,SKILL_CLUB) >= getPlayerSkill(cid,SKILL_SWORD) and getPlayerSkill(cid,SKILL_CLUB) >= getPlayerSkill(cid,SKILL_CLUB)) then
            doPlayerAddItem(cid,2434,1)   
            doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived a Dragon Hammer." )
            end
        end
    end  
    
    local VocSorc = {1,5}  
    if (getPlayerLevel(cid) >= 20 and isInArray(VocSorc, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100120) == -1) then
        doPlayerAddItem(cid,2188,1)
        setPlayerStorageValue(cid,100120, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2188).."." )
    elseif (getPlayerLevel(cid) >= 35 and isInArray(VocSorc, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100121) == -1) then
          doPlayerAddItem(cid,2189,1)
        setPlayerStorageValue(cid,100121, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2189).."." )
    end
    local VocDruid = {2,6}
    if (getPlayerLevel(cid) >= 20 and isInArray(VocDruid, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100122) == -1) then
          doPlayerAddItem(cid,2185,1)
        setPlayerStorageValue(cid,100122, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2185).."." )
    end
    if (getPlayerLevel(cid) >= 35 and isInArray(VocDruid, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100123) == -1) then
          doPlayerAddItem(cid,2181,1)
        setPlayerStorageValue(cid,100123, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2181).."." )
    end
    local VocPally = {3,7}
    if (getPlayerLevel(cid) >= 15 and isInArray(VocPally, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100124) == -1) then
          doPlayerAddItem(cid,2544,200)
        setPlayerStorageValue(cid,100124, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 200x "..getItemNameById(2544).."." )
    if (getPlayerLevel(cid) >= 25 and isInArray(VocPally, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100125) == -1) then
          doPlayerAddItem(cid,2455,1)
        setPlayerStorageValue(cid,100125, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2455).."." )    
    end
    if (getPlayerLevel(cid) >= 30 and isInArray(VocPally, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100126) == -1) then
          doPlayerAddItem(cid,2543,200)
        setPlayerStorageValue(cid,100126, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 200x "..getItemNameById(2543).."." )
    end
    if (getPlayerLevel(cid) >= 35 and isInArray(VocPally, getPlayerVocation(cid)) and getPlayerStorageValue(cid,100127) == -1) then
          doPlayerAddItem(cid,7363,100)
        setPlayerStorageValue(cid,100127, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 100x "..getItemNameById(7363).."." )    
    end
    if (getPlayerLevel(cid) >= 30 and getPlayerStorageValue(cid,100128) == -1) then
          doPlayerAddItem(cid,2160,1)
        setPlayerStorageValue(cid,100128, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 1x "..getItemNameById(2160).."." )
    end
    if (getPlayerLevel(cid) >= 50 and getPlayerStorageValue(cid,100129) == -1) then
          doPlayerAddItem(cid,2160,2)
        setPlayerStorageValue(cid,100129, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 2x "..getItemNameById(2160).."." )
    end
    if (getPlayerLevel(cid) >= 75 and getPlayerStorageValue(cid,100130) == -1) then
          doPlayerAddItem(cid,2160,4)
        setPlayerStorageValue(cid,100130, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 4x "..getItemNameById(2160).."." )
   end
    if (getPlayerLevel(cid) >= 100 and getPlayerStorageValue(cid,100131) == -1) then
          doPlayerAddItem(cid,2160,8)
        setPlayerStorageValue(cid,100131, 1)
        doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have recived 8x "..getItemNameById(2160).."." )
        end
    end
    return true
end 

Link para o post
Compartilhar em outros sites

Já arrumou o Bug? Então firmeza ^^, marca a melhor resposta para o tópico ficar concluído. At+

Eu te Ajudei? Então solta aquele REP+ !!

Meus Tutoriais [Tutorial] Bug "Temple position is wrong" (MySql)

Outros:    [Meu Show OFF | Mapa próprio 8.6] 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo