• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[10.77][TFS 1.2] ORTS, a real map project

i found a step by step but i got this error while setting up the website.

Fatal error: Call to undefined method Website::updatePasswordEncryption() in C:\xampp\htdocs\system\load.database.php on line 48
 
311nc0m.png
[/QU
You cant use Cyko v8 TFS 0.3.6 when its TFS 1.2
 
i got that fixed i just need help with the website now... :(

Fatal error: Call to undefined method Website::updatePasswordEncryption() in C:\xampp\htdocs\system\load.database.php on line 48
 
Website::updatePasswordEncryption()

Do you encrypt the passwords or are you just leaving them as text?
 
I do want it, I just like having a bug-free sever window.. Do you know what that bug may be on there?
The build you are currently using is outdated. You can disable the offline training script (older revisions has it hardcoded in the source code) .
 
Try this :)

Code:
local statues = {
    [18488] = SKILL_SWORD,
    [18489] = SKILL_AXE,
    [18490] = SKILL_CLUB,
    [18491] = SKILL_DISTANCE,
    [18492] = SKILL_MAGLEVEL
}

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local skill = statues[item:getId()]
    if player:getPremiumDays() == 0 then
        player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT))
        return true
    end

    if player:isPzLocked() then
        return false
    end

    doPlayerSetOfflineTrainingSkill(player, skill)
    player:remove()
    return true
end
 
edit line data/lib/compat/compat.lua
Code:
function doPlayerSetOfflineTrainingSkill(cid, skillId) local p = Player(cid) return p ~= nil and p:setOfflineTrainingSkill(skillId) or false end
 
Back
Top