• 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!

The Forgotten Server v0.3.1[pl2] (Crying Damson)

Status
Not open for further replies.
[11/02/2009 00:07:59] [Notice - Game::reloadInfo] Reload type does not work.
[11/02/2009 00:07:59] Reloaded items.
[11/02/2009 00:08:10] [Notice - Game::reloadInfo] Reload type does not work.
[11/02/2009 00:08:10] Reloaded outfits.
[11/02/2009 00:08:29] [Notice - Game::reloadInfo] Reload type does not work.
[11/02/2009 00:08:29] Reloaded vocations.
[11/02/2009 00:08:31] [Notice - Game::reloadInfo] Reload type does not work.
[11/02/2009 00:08:31] Reloaded weapons.
 
But it is reloading the things that you are trying and send the error? Or it doesnt reload?
 
I know, I changed for !online
But when I type appers this:

20:01 29 player(s) online:
20:01
20:01
20:01
20:01

try this for your online.lua

PHP:
local config = {
    showGamemasters = getConfigInfo('displayGamemastersWithOnlineCommand')
}

function onSay(cid, words, param)
    local players = getPlayersOnline()
    local strings = {}
    local pos = 1
    local count = 0
    local tmp = TRUE
    for i, pid in ipairs(players) do
        if(tmp == TRUE) then
            if(i > pos * 7) then
                pos = pos + 1
            end

            if(strings[pos] == nil) then
                strings[pos] = ""
                line = ""
            end
        end

        tmp = TRUE
        if((getBooleanFromString(config.showGamemasters) == FALSE and getPlayerCustomFlagValue(pid, PlayerCustomFlag_GamemasterPrivileges) == TRUE and getPlayerCustomFlagValue(cid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) or (isPlayerGhost(pid) == TRUE and getPlayerAccess(pid) > getPlayerAccess(cid))) then
            count = count + 1
            tmp = FALSE
        else
            strings[pos] = strings[pos] .. "\n" .. getCreatureName(pid) .. " [" .. getPlayerLevel(pid) .. "]"
        end
    end
    for i, string in ipairs(strings) do
        if(string ~= "") then
                doShowTextDialog(cid, 8918, "Players online: "..(#players- count).."\n"..string)
        end
    end
    return TRUE
end
 
Anyone know what I need to do to make it so players cant log off when they have Battle sign on?
Like someones getting pked they can just log off. There char dont stay.
Thanks for any help
 
@up
you'r right. I tested it and when u got "x" battle sign you can log out!
 
@sorry for double. But U cant log out when u got battle... Only when u got on account God. U got account group 6.
 
I have compiled server with LOGIN_SERVER parameter but on pl1 version. Could it work with two rc2 versions as multiworld?
 
[...]Files changed: forgottenserver.s3db, schema.mysql, schema.sqlite,[...]
So if I just change this files everything will be working just fine?
 
@Arakos
It will work but not as rc2... ;/
You must compile rc2 source. Because .exe have changed
 
I don't really know this, is it just like TFS 0.3 with another name or..?

/Limannen
 
lef, could you post here compiled pl2 version with __LOGIN_SERVER__ ?
When I tried to compile it I had some errors.
 
Mmm ? on CryingDamson patch 0 talkaction /online was good but on patch level 1 and 2 i have this error
11:47 4 player(s) online:
11:47
wtf ;(?
 
Status
Not open for further replies.
Back
Top