• Changes to Server go to this thread http://overzealousgamers.com/threads/etpub-changelog.6665/
  • server back up

KFC is a big fat loser

Zulu

Well-Known Member
#1
This has been going on for months. Whenever I'm playing by myself against two or three opponents, the nitwit KFC jumps in to stack it even more. Biggest loser i ever saw and a llwlife to boot. It's not enough that he has exploits etc.
He's trying to get to me. But the bafoon is merely making a fool of himself.
Wish there was some admin look into it, as he wrecks an enjoyable game for everyone with his sick puppy syndrome. here boy.
 

cccdfern

Administrator
Staff member
#2
Well, I have half a script which will hopefully be added in the future, (need to find the rest of it)
Code:
-- original script by .harald         http://etpub.org/viewtopic.php?f=10&t=45
-- pheno: fixed the use of removed table.getn to run with Lua 5.2 API (ETpub > 0.9.1)

unevenDiff = 2
max_unevenTime = 20
max_unevenDiff = 4

axisPlayers = {}
alliedPlayers = {}
unevenTime = -1

function et_RunFrame( levelTime )
    local numAlliedPlayers = #alliedPlayers
    local numAxisPlayers = #axisPlayers
    if numAlliedPlayers >= numAxisPlayers + max_unevenDiff then
        local clientNum = alliedPlayers[ numAlliedPlayers ]
        et.trap_SendConsoleCommand( et.EXEC_APPEND, "put " .. clientNum .. " r ; qsay balancing teams... " .. et.gentity_get( clientNum, "pers.netname" ) .. "^7 moved to ^1AXIS" )
    elseif numAxisPlayers >= numAlliedPlayers + max_unevenDiff then
        local clientNum = axisPlayers[ numAxisPlayers ]
        et.trap_SendConsoleCommand( et.EXEC_APPEND, "put " .. clientNum .. " b ; qsay balancing teams... " .. et.gentity_get( clientNum, "pers.netname" ) .. "^7 moved to ^4ALLIES" )
    elseif numAlliedPlayers >= numAxisPlayers + unevenDiff then
        if unevenTime > 0 then
            if tonumber( levelTime ) - unevenTime >= max_unevenTime * 1000 then
                local clientNum = alliedPlayers[ numAlliedPlayers ]
                et.trap_SendConsoleCommand( et.EXEC_APPEND, "put " .. clientNum .. " r ; qsay balancing teams... " .. et.gentity_get( clientNum, "pers.netname" ) .. "^7 moved to ^1AXIS" )
            end
        else
            unevenTime = tonumber( levelTime )
        end
    elseif numAxisPlayers >= numAlliedPlayers + unevenDiff then
        if unevenTime > 0 then
            if tonumber( levelTime ) - unevenTime >= max_unevenTime * 1000 then
                local clientNum = axisPlayers[ numAxisPlayers ]
                et.trap_SendConsoleCommand( et.EXEC_APPEND, "put " .. clientNum .. " b ; qsay balancing teams... " .. et.gentity_get( clientNum, "pers.netname" ) .. "^7 moved to ^4ALLIES" )
            end
        else
            unevenTime = tonumber( levelTime )
        end
    else
        unevenTime = -1
    end
end

function et_ClientSpawn( clientNum, revived, teamChange, restoreHealth )
    if teamChange ~= 0 then
        local team = tonumber( et.gentity_get( clientNum, "sess.sessionTeam" ) )
        -- these were the teamnumbers prior to the move
        local numAlliedPlayers = #alliedPlayers
        local numAxisPlayers = #axisPlayers
        if team == 1 then
            for i, num in ipairs( alliedPlayers ) do
                if num == clientNum then
                    table.remove( alliedPlayers, i )
                    break
                end
            end
            -- this should not happen but still check for it to avoid doubles
            for i, num in ipairs( axisPlayers ) do
                if num == clientNum then
                    return
                end
            end
            -- make sure a player who (got) moved when teams were uneven doesnt get moved right back
            if numAlliedPlayers >= numAxisPlayers + unevenDiff then
                table.insert( axisPlayers, 1, clientNum )
            else
                table.insert( axisPlayers, clientNum )
            end
        elseif team == 2 then
            for i, num in ipairs( axisPlayers ) do
                if num == clientNum then
                    table.remove( axisPlayers, i )
                    break
                end
            end
            for i, num in ipairs( alliedPlayers ) do
                if num == clientNum then
                    return
                end
            end
            if numAxisPlayers >= numAlliedPlayers + unevenDiff then
                table.insert( alliedPlayers, 1, clientNum )
            else
                table.insert( alliedPlayers, clientNum )
            end
        else
            for i, num in ipairs( alliedPlayers ) do
                if num == clientNum then
                    table.remove( alliedPlayers, i )
                    return
                end
            end
            for i, num in ipairs( axisPlayers ) do
                if num == clientNum then
                    table.remove( axisPlayers, i )
                    return
                end
            end
        end
    end
end

function et_ClientDisconnect( clientNum )
    for i, num in ipairs( alliedPlayers ) do
        if num == clientNum then
            table.remove( alliedPlayers, i )
            return
        end
    end
    for i, num in ipairs( axisPlayers ) do
        if num == clientNum then
            table.remove( axisPlayers, i )
            return
        end
    end
end
Or we could enable atb or disable bots or set bots to 4
 

Bandido

ET Moderator
#3
I understand your grief but having you two on opposite teams is the best option. The thing we need is those lesser playes to balance out and even it. Often Swiss and the first few players on go to allies and its pushing shit up hill from there on, especially if there is no admin on.
 
Top