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

Bug Serio no TFS Rev.3777 - Disband Guild

psilocibe

Member
Joined
Jul 9, 2007
Messages
479
Reaction score
8
Ae galera, rodo o tfs rev_3777 num linux debian , entao um player veio me reportar o seguinte problema, segue abaixo o chat:

05:07 Rise Against [208]: tipo
05:07 Rise Against [208]: vc cria
05:07 Rise Against [208]: uma guild
05:07 Rise Against [208]: invita o cara
05:07 Rise Against [208]: dai o cara reloga
05:07 Rise Against [208]: tira a bp dele
05:08 Rise Against [208]: e vc da disband
05:08 Rise Against [208]: e ele reloga
05:08 Rise Against [208]: ai clona
05:08 Rise Against [208]: a bp
05:08 Rise Against [208]: que ele tirou

Sakaram ? eh um bug na guild, vc cria a guild invita alguem ae faz alguma coisa com a bp e sai e cona entao ALGUEM SABE COMO ARRUMA ISSO? OU JA VI ISSO?? aguardo ..
 
Entao kiel, eu uso 8.6 e de acordo com o que eu li por ae a 3777 eh a mais estavel para linux voce recomenda alguma outra ?
 
A 3777 é estável sim.. porem o fix pra esse problema da guild.. foi feito em revisões mais recentes, você pode navegar pelas revisões ver o log no private channel do tfs e copiar o fix..
 
Ae galera, rodo o tfs rev_3777 num linux debian , entao um player veio me reportar o seguinte problema, segue abaixo o chat:

05:07 Rise Against [208]: tipo
05:07 Rise Against [208]: vc cria
05:07 Rise Against [208]: uma guild
05:07 Rise Against [208]: invita o cara
05:07 Rise Against [208]: dai o cara reloga
05:07 Rise Against [208]: tira a bp dele
05:08 Rise Against [208]: e vc da disband
05:08 Rise Against [208]: e ele reloga
05:08 Rise Against [208]: ai clona
05:08 Rise Against [208]: a bp
05:08 Rise Against [208]: que ele tirou

Sakaram ? eh um bug na guild, vc cria a guild invita alguem ae faz alguma coisa com a bp e sai e cona entao ALGUEM SABE COMO ARRUMA ISSO? OU JA VI ISSO?? aguardo ..

.... TEST ---
creaturescripts/scripts/guildmotd.lua
Code:
local config = {
    savePlayersOnEnterGuildChannel = true
}

function onJoinChannel(cid, channelId, users)
    if(channelId == CHANNEL_GUILD) then
        local guildId = getPlayerGuildId(cid)
        if(guildId and guildId ~= 0) then
            local guildMotd = getGuildMotd(guildId)
            if(guildMotd and guildMotd ~= "") then
                addEvent(doPlayerSendChannelMessage, 150, cid, "", "Message of the Day: " .. guildMotd, TALKTYPE_CHANNEL_HIGHLIGHT, CHANNEL_GUILD)
            end
        end

        if(config.savePlayersOnEnterGuildChannel) then
            doPlayerSave(cid, true)
        end
    end

    return true
end

creaturescripts/scripts/login.lua
Code:
registerCreatureEvent(cid, "GuildMotd")
 
CARACA mano o erro nao sai.. ate o site eh bugado segue abaixo o player ensinando a clona.

14:20 Windy [161]: se liga
14:20 Windy [161]: eu faço a guild
14:20 Windy [161]: invito
14:20 Windy [161]: <
14:20 Windy [161]: dou o iten a ele
14:20 Windy [161]: ele desloga e volta
14:20 Windy [161]: me da o itens de volta
14:20 Windy [161]: eu do disband
14:20 Windy [161]: ele desloga e volta

Saka se vc criar a guild no site os comandos !invite !disband e !joinguild no jogo fazem o bug rolar axo q so tirando eles das sources, isso que o MartyX posto

Code:
local config = {
    savePlayersOnEnterGuildChannel = true
}

function onJoinChannel(cid, channelId, users)
    if(channelId == CHANNEL_GUILD) then
        local guildId = getPlayerGuildId(cid)
        if(guildId and guildId ~= 0) then
            local guildMotd = getGuildMotd(guildId)
            if(guildMotd and guildMotd ~= "") then
                addEvent(doPlayerSendChannelMessage, 150, cid, "", "Message of the Day: " .. guildMotd, TALKTYPE_CHANNEL_HIGHLIGHT, CHANNEL_GUILD)
            end
        end

        if(config.savePlayersOnEnterGuildChannel) then
            doPlayerSave(cid, true)
        end
    end

    return true

Nao funciona, testem voces mesmo e vejam o problema esse bug deve ta rolando em milhares de OTS por ae.
 
O site não é bugado e já te disse que a solução ta no private svn do tfs.. e esse script era obvio que não ia funcionar.. se você ler ele, ele salva o jogador quando entra no guildChannel mas o jeito de clonar não precisa ter guildChannel aberto nem nada.
 
Back
Top