Ir para conteúdo

Featured Replies

Postado
  • Autor
19 minutos atrás, Leu disse:

Galera, há uma GRAVE falha no login.php, além de ser possível fazer sql injection no campo de login, ela não testa o password. Já alertei o OP há mais de 15 dias, mas nenhuma correção foi feita. Sendo assim, torno pública a falha e NÃO RECOMENDO O USO DO LOGIN.PHP PARA O CLIENT 11.

@Leu Obrigado pelo aviso, sabe como solucionar essa falha?

ATT,

Jaurez

  • Respostas 248
  • Visualizações 22.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • @Strix Seran Coloquei as sources para download no tópico, sobre a velocidade dá uma espiada na foto, o char é GOD, não testei com outros normais.  

  • Isso vc tem de alterar nas sources, me fala o tempo e/ou velocidade que quer e eu faço o executável. De nada, obrigado.   Diga quais, quem sabe!   Tem de colocar o mesmo

  • @lucasuchihaa Testa ai amigo. refugia.exe

Posted Images

Postado

o comando /add skill PLAYER, magic

 

não está funcionando.....

 

abaixo meu add_skill.lua

na pasta talkactions

 

o comando adiciona level... sword... club ...fist...    exceto magic level =/

 

Spoiler

local function getSkillId(skillName)
    if skillName == "club" then
        return SKILL_CLUB
    elseif skillName == "sword" then
        return SKILL_SWORD
    elseif skillName == "axe" then
        return SKILL_AXE
    elseif skillName:sub(1, 4) == "dist" then
        return SKILL_DISTANCE
    elseif skillName:sub(1, 6) == "shield" then
        return SKILL_SHIELD
    elseif skillName:sub(1, 4) == "fish" then
        return SKILL_FISHING
    else
        return SKILL_FIST
    end
end
local function getExpForLevel(level)
    level = level - 1
    return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3
end
function onSay(player, words, param)
    if not player:getGroup():getAccess() then
        return true
    end
    if player:getAccountType() < ACCOUNT_TYPE_GOD then
        return false
    end
    local split = param:split(",")
    if split[2] == nil then
        player:sendCancelMessage("Insufficient parameters.")
        return false
    end
    local target = Player(split[1])
    if target == nil then
        player:sendCancelMessage("A player with that name is not online.")
        return false
    end
    -- Trim left
    split[2] = split[2]:gsub("^%s*(.-)$", "%1")
    local count = 1
    if split[3] ~= nil then
        count = tonumber(split[3])
    end
    local ch = split[2]:sub(1, 1)
    for i = 1, count do
        if ch == "l" or ch == "e" then
            target:addExperience(getExpForLevel(target:getLevel() + 1) - target:getExperience(), false)
        elseif ch == "m" then
            target:addManaSpent(target:getVocation():getRequiredManaSpent(target:getBaseMagicLevel() + 1) - target:getManaSpent())
        else
            local skillId = getSkillId(split[2])
            target:addSkillTries(skillId, target:getVocation():getRequiredSkillTries(skillId, target:getSkillLevel(skillId) + 1) - target:getSkillTries(skillId))
        end
    end
    return false
end

 

 

Editado por guessi (veja o histórico de edições)

Postado

Outra coisa tbm.... ta dando Debug ao abrir a janela de outfit

e apertar control R para abrir as "mounts" tbm da debug

Postado

Amigo, você retirou a distro para 32bits?

 

Eu acabei de baixar aqui, mas dentro da pasta só se encontra a de 64 bits

 

Aguardo resposta, obrigado!

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo