QW-Group / ktx

KTX: a QuakeWorld server modification
GNU General Public License v2.0
52 stars 48 forks source link

[BUG] Hoonymode rounds should be "best of" #307

Open mushis opened 1 year ago

mushis commented 1 year ago

Describe the bug I don't know exactly what is the current behavior, all I know its not good. The game ends even if the loser wins the round. I think the default is 12 rounds, and it can be changed. All rounds (12) must be played to determine the winner, at least on close games. One solution is to change this logic, and make it best of 12 instead. So the following results would be final: 6-0 6-1 6-2 6-3 6-4 7-4

To Reproduce just vote for hoonymode and play a duel.

Expected behavior -not sure, suggestion above.

nice to have: can we print on the console the winner after each round?

tcsabina commented 1 year ago

Hi @mushis,

I don't know exactly what is the current behavior...

The 'configuration' that is enabled/activated upon typing /hooneymode is the following:

"coop 0\n"                  // no coop
"maxclients 2\n"                // duel = two players
"k_maxclients 2\n"              // duel = two players
"fraglimit 1\n"                 // hoonymode - every 1 frag we toggle spawns
"timelimit 0\n"                 // hoonymode - timelimit 0
"k_hoonymode 1\n"               //
"k_hoonyrounds 12\n"                // first to seven
"teamplay 0\n"                  // hurt yourself, no teammates here
"deathmatch 3\n"                // weapons stay
"k_overtime 1\n"                // overtime type = time based
"k_exttime 3\n"                 // overtime 3mins
"k_pow 0\n"                 // powerups
"k_membercount 0\n"             // no efect in duel
"k_lockmin 0\n"                 // no efect in duel
"k_lockmax 0\n"                 // no efect in duel
"k_mode 1\n"

This can give a basic understanding about what is going to happen.

What would you like to change in this?

Can we print on the console the winner after each round? Probably, but the frag count is visible on the 'scoreboard. Why do you want it printed additionally?