]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
4 months agoTransifex autosync
Rudolf Polzer [Sun, 18 Aug 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

4 months agoMerge branch 'des/race_honor_tracking' into 'master'
terencehill [Thu, 15 Aug 2024 14:38:37 +0000 (14:38 +0000)]
Merge branch 'des/race_honor_tracking' into 'master'

Don't save race times if player doesn't want tracking, even if we have uid2name stored

Closes #2806

See merge request xonotic/xonotic-data.pk3dir!1336

4 months agoDon't save race times if player doesn't want tracking, even if we have uuid2name...
Des [Wed, 14 Aug 2024 12:58:18 +0000 (09:58 -0300)]
Don't save race times if player doesn't want tracking, even if we have uuid2name stored.

4 months agoTransifex autosync
Rudolf Polzer [Wed, 14 Aug 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync

4 months agoMerge branch 'terencehill/ctf_fixes' into 'master'
terencehill [Tue, 13 Aug 2024 08:51:08 +0000 (08:51 +0000)]
Merge branch 'terencehill/ctf_fixes' into 'master'

Misc CTF fixes

See merge request xonotic/xonotic-data.pk3dir!1331

4 months agoTransifex autosync
Rudolf Polzer [Tue, 13 Aug 2024 05:23:18 +0000 (07:23 +0200)]
Transifex autosync

4 months agoFix electro not leaving decals on all walls
terencehill [Tue, 13 Aug 2024 00:34:23 +0000 (02:34 +0200)]
Fix electro not leaving decals on all walls

4 months agoTransifex autosync
Rudolf Polzer [Mon, 12 Aug 2024 14:10:43 +0000 (16:10 +0200)]
Transifex autosync

4 months agoTransifex autosync
Rudolf Polzer [Mon, 12 Aug 2024 14:07:51 +0000 (16:07 +0200)]
Transifex autosync

4 months agoCTF: fix fire effect not stopped when flag returns to base
terencehill [Wed, 7 Aug 2024 23:07:56 +0000 (01:07 +0200)]
CTF: fix fire effect not stopped when flag returns to base

This bug was due to flags being improperly set as damageable by contents while standing at their own bases

4 months agoCTF: Fix flag returning to base on first hit if g_ctf_flag_return_time is 0 and g_ctf...
terencehill [Wed, 7 Aug 2024 22:29:32 +0000 (00:29 +0200)]
CTF: Fix flag returning to base on first hit if g_ctf_flag_return_time is 0 and g_ctf_flag_return_damage is enabled

Also default g_ctf_flag_return_time to 0 if negative

4 months agoCTF: fix waypoint healthbar not shown if g_ctf_flag_return_damage is enabled and...
terencehill [Wed, 7 Aug 2024 22:18:15 +0000 (00:18 +0200)]
CTF: fix waypoint healthbar not shown if g_ctf_flag_return_damage is enabled and g_ctf_flag_health is 0

4 months agoCTF: g_ctf_flag_health: default to 0 if negative, allow reading it during a match...
terencehill [Wed, 7 Aug 2024 22:03:13 +0000 (00:03 +0200)]
CTF: g_ctf_flag_health: default to 0 if negative, allow reading it during a match and improve cvar description

4 months agoMerge branch 'drjaska/serverlist-modified' into 'master'
Dr. Jaska [Tue, 6 Aug 2024 13:05:58 +0000 (13:05 +0000)]
Merge branch 'drjaska/serverlist-modified' into 'master'

Made servers modified via cvar changes appear in normal servers

See merge request xonotic/xonotic-data.pk3dir!1233

4 months agoMade servers modified via cvar changes appear in normal servers
Dr. Jaska [Tue, 6 Aug 2024 13:05:57 +0000 (13:05 +0000)]
Made servers modified via cvar changes appear in normal servers

4 months agoMerge branch 'terencehill/floodcontrol_refactoring' into 'master'
terencehill [Tue, 6 Aug 2024 09:39:33 +0000 (09:39 +0000)]
Merge branch 'terencehill/floodcontrol_refactoring' into 'master'

Refactor flood control code to work with .cmd_floodtime initialized to 0

See merge request xonotic/xonotic-data.pk3dir!1325

4 months agoHUD: don't draw panels needing player data before it's received
bones_was_here [Tue, 6 Aug 2024 05:14:09 +0000 (15:14 +1000)]
HUD: don't draw panels needing player data before it's received

Fixes
"client VM warning: VM_CL_getstati: index(-1) is >=MAX_CL_STATS(256) or <0"
often appearing when connecting, with my hud_panel_ammo config.

It could also have been fixed by checking for (ammoType == 0) as well as
(ammoType == RES_NONE) but a many-cases fix is better than a
special-case fix.

4 months agoMerge branch 'Mario/show_all_button' into 'master'
terencehill [Mon, 5 Aug 2024 22:27:09 +0000 (22:27 +0000)]
Merge branch 'Mario/show_all_button' into 'master'

Add a menu option to show hidden gametypes

See merge request xonotic/xonotic-data.pk3dir!1322

4 months agoAdd a show all checkbox to the Create menu to list previously hidden gametypes
Mario [Mon, 5 Aug 2024 22:27:09 +0000 (22:27 +0000)]
Add a show all checkbox to the Create menu to list previously hidden gametypes

Also remove now unused mutator and weapon arena list label

4 months agoMake some recently added messages easier to translate
terencehill [Mon, 5 Aug 2024 21:59:17 +0000 (23:59 +0200)]
Make some recently added messages easier to translate

4 months agoMerge branch 'bones_was_here/teamplay5' into 'master'
bones_was_here [Mon, 5 Aug 2024 16:33:11 +0000 (16:33 +0000)]
Merge branch 'bones_was_here/teamplay5' into 'master'

selectteam, join, spec cmds: notifications, server admin features, fixes

Closes #2905 and #2702

See merge request xonotic/xonotic-data.pk3dir!1301

4 months agoImprove sv_spectate 0 notifications and description, refactor nospectators command
bones_was_here [Sat, 13 Jul 2024 15:04:57 +0000 (01:04 +1000)]
Improve sv_spectate 0 notifications and description, refactor nospectators command

The blockSpectators global is redundant.
See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1289

Players are now given the grace period and SPECTATE_WARNING when
sv_spectate is disabled during a game, as well as when `nospectators` is
voted.

Centreprints are added and displayed when they don't conflict with join
restriction centreprints.

4 months agojoin: display translated notifications for relevant failures
bones_was_here [Fri, 28 Jun 2024 10:06:40 +0000 (20:06 +1000)]
join: display translated notifications for relevant failures

4 months agoteamplay: display translated notifications for typical failures or state changes
bones_was_here [Fri, 14 Jun 2024 10:42:55 +0000 (20:42 +1000)]
teamplay: display translated notifications for typical failures or state changes

Fixes some uses of NOTIF_ONE where it should have been NOTIF_ONE_ONLY.

4 months agojoin queue: UI improvements and refactoring
bones_was_here [Fri, 14 Jun 2024 08:36:49 +0000 (18:36 +1000)]
join queue: UI improvements and refactoring

Fixes duplicate and redundant chatcon notifications.

Displays relevant centreprint each time the team selection GUI or +jump
are used to try to join (even if the player is already queued) for
better noob friendliness.

Always notifies the player when their team selection conflicts with that
of a queued player.

Notifies queued players to get their attention when they join as it may
take some time before another player triggers the join.

Includes the team the player actually got assigned to in the relevant
centreprint (for the cases where they had no preference, or someone else
chose their preferred team first).

Prevents SetPlayerTeam() and queuePlayer() when the player definitely
can't play (version mismatch, locked teams), fixing misleading
notifications.
Allows players to join the queue even when g_maxplayers blocks them from
joining the match, so they can tag in if someone leaves.

Fixes bug with > 2 teams where if a player with a lower entity number
queues for any available team, a player with a higher entity number
and a specific team preference could be assigned to the same team (by
adding a second pass in Join() ).

Fixes lack of "now playing" notification when a bot joins a gametype
without teams.

This required some refactoring:

Calls joinAllowed() from ClientCommand_selectteam(), passing the
team_index through to queuePlayer().  This means calling queuePlayer
from SetPlayerTeam() is no longer needed.
Uses a different logic order in joinAllowed() when the queue is enabled.

Moves the ForbidSpawn MUTATOR hook from joinAllowed() to
PutPlayerInServer(). It seemed to be in the wrong place anyway: the
player is only blocked from spawning, not from joining the match.

No longer sets the .team field when adding a player to the queue
(they're not actually on the team yet), instead calls SetPlayerTeam()
from Join() when actually spawning the queued player.

Uses the .team_selected field to pass selection conflicts to Join(), it
can't be done with a parameter because `join` and `selectteam` are
separate commands.

Moves the queue conflict detection from Player_SetTeamIndexChecked() to
queuePlayer().

Reduces TeamBalance_JoinBestTeam() callsites.

Fixes some uses of NOTIF_ONE where it should have been NOTIF_ONE_ONLY.

4 months agojoin queue: fix 2 bugs that could result in too many players on a team
bones_was_here [Sat, 13 Jul 2024 11:18:42 +0000 (21:18 +1000)]
join queue: fix 2 bugs that could result in too many players on a team

Join(): when a client queued for red, then a blue player left the team,
then a client (re)joined blue, the client queued for red was joined too
(stacking red team). Fixed by only joining queued players in Join() when
teams are currently balanced (the unbalanced cases are handled by
TeamBalance_QueuedPlayersTagIn()).

ClientKill_Now_TeamChange(): when all queued client(s) chose specific
team(s) and the last client (which skips the queue and triggers the
joins) chose autoselect from the team selection UI, it was possible they
were assigned the same team as one of the queued clients.  Fixed by
deferring the autoselect to Join() when needed/possible.

4 months agojoin queue: fix HUD infomessage, improve consistency and clarity of notifications
bones_was_here [Fri, 14 Jun 2024 07:54:46 +0000 (17:54 +1000)]
join queue: fix HUD infomessage, improve consistency and clarity of notifications

The state of having no team preference (deferred autoselect) was
implemented in 624a242e556387367d088dc2cde847989c0fd321 but it wasn't
correctly declared and networked and displayed in the HUD info panel (it
said you're queued to join the Neutral team).

4 months agojoin queue: disable in singleplayer, improve description
bones_was_here [Sun, 9 Jun 2024 18:09:31 +0000 (04:09 +1000)]
join queue: disable in singleplayer, improve description

Fixes https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2905

4 months agoEnable sv_teamnagger in CA, remove HideTeamNagger mutator hook
bones_was_here [Sun, 9 Jun 2024 16:07:19 +0000 (02:07 +1000)]
Enable sv_teamnagger in CA, remove HideTeamNagger mutator hook

sv_teamnagger seems to work fine in CA and is already disabled in
gametypes without teams.

4 months agoIncrease size of sv_teamnagger message, also use bold
bones_was_here [Sat, 8 Jun 2024 11:32:54 +0000 (21:32 +1000)]
Increase size of sv_teamnagger message, also use bold

Implements https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2702

4 months agojoin queue: fix removal of AFK players
bones_was_here [Fri, 7 Jun 2024 09:08:38 +0000 (19:08 +1000)]
join queue: fix removal of AFK players

Was broken in 433e811eb85f24adf86b8a81679a5c9a6c273337

Improves documentation.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
4 months agoDon't end warmup when teams are unbalanced (WRT sv_teamnagger)
bones_was_here [Tue, 4 Jun 2024 17:53:18 +0000 (03:53 +1000)]
Don't end warmup when teams are unbalanced (WRT sv_teamnagger)

Allows spectators to see the unbalanced teams warning, because they
could fix it by joining the smaller team.

Aborts countdown if teams become unbalanced, for the case of someone
joining this can be avoided by enabling g_balance_teams_queue.

Updates the chatcon notification for countdown abort when the player
count drops below the minimum.

4 months agoFix and extend networking of sv_teamnagger
bones_was_here [Thu, 6 Jun 2024 10:43:13 +0000 (20:43 +1000)]
Fix and extend networking of sv_teamnagger

It wasn't enabled reliably because the message could be received before
CSQC was ready for it.
Adds support for specifying a team size difference, mainly for use with
g_balance_teams_queue.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
4 months agoAllow g_balance_teams_prevent_imbalance without g_balance_teams
bones_was_here [Tue, 4 Jun 2024 12:15:37 +0000 (22:15 +1000)]
Allow g_balance_teams_prevent_imbalance without g_balance_teams

I disagree with the comment because g_balance_teams is a misnomer: all
it does is change whether the team selection UI appears when pressing
+jump. Selecting a team manually can improve balance when players know
each other's skills, and the fact that's in use doesn't automatically
mean that people should be allowed to stack mid-match.

Added a condition to only enforce during the match or countdown, because
it's easier to reorganise teams during warmup when players can directly
switch to their team, instead of one of them needing to spec before the
other can swap.

4 months agoMerge branch 'bones_was_here/ticrate' into 'master'
bones_was_here [Mon, 5 Aug 2024 16:24:54 +0000 (16:24 +0000)]
Merge branch 'bones_was_here/ticrate' into 'master'

Support only perfect ticrates: 32hz 64hz 128hz, raise default to 64hz

Closes #2860

See merge request xonotic/xonotic-data.pk3dir!1248

4 months agoTurrets: always run at server ticrate
bones_was_here [Fri, 3 Nov 2023 16:44:29 +0000 (02:44 +1000)]
Turrets: always run at server ticrate

4 months agoMonsters: always run at server ticrate
bones_was_here [Fri, 3 Nov 2023 16:43:17 +0000 (02:43 +1000)]
Monsters: always run at server ticrate

4 months agoSupport only perfect ticrates: 32hz 64hz 128hz, raise default to 64hz
bones_was_here [Fri, 3 Nov 2023 16:14:01 +0000 (02:14 +1000)]
Support only perfect ticrates: 32hz 64hz 128hz, raise default to 64hz

At these ticrates there's no floating point error accumulation.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
4 months agoMerge branch 'Mario/client_command_registry' into 'master'
terencehill [Sun, 4 Aug 2024 09:39:00 +0000 (09:39 +0000)]
Merge branch 'Mario/client_command_registry' into 'master'

Migrate client commands to a registry

See merge request xonotic/xonotic-data.pk3dir!1320

4 months agoMigrates client->server commands (such as `say` and `clientversion`) to a registry...
Mario [Sun, 4 Aug 2024 09:39:00 +0000 (09:39 +0000)]
Migrates client->server commands (such as `say` and `clientversion`) to a registry, matching the other command handlers.

Also reword some client commands to be less clunky and more consistent

4 months agoMerge branch 'LegendaryGuard/optimize_ok_player_models' into 'master'
terencehill [Sat, 3 Aug 2024 14:05:00 +0000 (14:05 +0000)]
Merge branch 'LegendaryGuard/optimize_ok_player_models' into 'master'

Optimize Overkill player models

See merge request xonotic/xonotic-data.pk3dir!1110

4 months agoOptimize Overkill player models
LegendaryGuard [Sat, 3 Aug 2024 14:05:00 +0000 (14:05 +0000)]
Optimize Overkill player models

4 months agoTransifex autosync
Rudolf Polzer [Sat, 3 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync

4 months agoRefactor flood control code to work with .cmd_floodtime initialized to 0
terencehill [Fri, 2 Aug 2024 21:05:13 +0000 (23:05 +0200)]
Refactor flood control code to work with .cmd_floodtime initialized to 0

4 months agoMerge branch 'Mario/instagib_explicit_powerups' into 'master'
Dr. Jaska [Thu, 1 Aug 2024 04:32:31 +0000 (04:32 +0000)]
Merge branch 'Mario/instagib_explicit_powerups' into 'master'

Fix Jetpacks and other undefined powerup items spawning in InstaGib

Closes #2916

See merge request xonotic/xonotic-data.pk3dir!1315

4 months agoFix Jetpacks and other undefined powerup items spawning in InstaGib
Mario [Thu, 1 Aug 2024 04:32:30 +0000 (04:32 +0000)]
Fix Jetpacks and other undefined powerup items spawning in InstaGib

4 months agoFix cmd flood control blocking cmds after only a few cmds at startup terencehill/cmd_floodcontrol_fix
terencehill [Wed, 31 Jul 2024 14:57:25 +0000 (16:57 +0200)]
Fix cmd flood control blocking cmds after only a few cmds at startup

4 months agoMerge branch 'Mario/join_floodcontrol_fix' into 'master'
Dr. Jaska [Wed, 31 Jul 2024 12:53:11 +0000 (12:53 +0000)]
Merge branch 'Mario/join_floodcontrol_fix' into 'master'

Add a mutator hook to handle flood control on client commands

See merge request xonotic/xonotic-data.pk3dir!1316

4 months agoAdd a mutator hook to handle flood control on client commands
Mario [Wed, 31 Jul 2024 12:53:10 +0000 (12:53 +0000)]
Add a mutator hook to handle flood control on client commands

4 months agoMerge branch 'Mario/warpzone_div0_fix' into 'master'
Dr. Jaska [Wed, 31 Jul 2024 05:12:15 +0000 (05:12 +0000)]
Merge branch 'Mario/warpzone_div0_fix' into 'master'

Prevent division by zero when warpzones teleport a stationary player

Closes #2924

See merge request xonotic/xonotic-data.pk3dir!1317

4 months agoMerge branch 'Mario/maplist_improvements' into 'master'
Dr. Jaska [Wed, 31 Jul 2024 05:01:59 +0000 (05:01 +0000)]
Merge branch 'Mario/maplist_improvements' into 'master'

Refactor map list code to use buffers

Closes #2648

See merge request xonotic/xonotic-data.pk3dir!1312

4 months agoRefactor map list code to use buffers
Mario [Wed, 31 Jul 2024 05:01:59 +0000 (05:01 +0000)]
Refactor map list code to use buffers

4 months agoMerge branch 'Mario/player_death_size_fix' into 'master'
Dr. Jaska [Wed, 31 Jul 2024 05:01:49 +0000 (05:01 +0000)]
Merge branch 'Mario/player_death_size_fix' into 'master'

Scale player hitbox size on death to fix potential crashes

Closes #2920

See merge request xonotic/xonotic-data.pk3dir!1311

4 months agoScale player hitbox size on death to fix potential crashes
Mario [Wed, 31 Jul 2024 05:01:49 +0000 (05:01 +0000)]
Scale player hitbox size on death to fix potential crashes

4 months agoPrevent division by zero when warpzones teleport a stationary player
Mario [Wed, 31 Jul 2024 01:49:32 +0000 (11:49 +1000)]
Prevent division by zero when warpzones teleport a stationary player

4 months agoMerge branch 'terencehill/cfg_fixes' into 'master'
terencehill [Mon, 29 Jul 2024 15:18:53 +0000 (15:18 +0000)]
Merge branch 'terencehill/cfg_fixes' into 'master'

Cfg fixes

See merge request xonotic/xonotic-data.pk3dir!1306

4 months agoMerge branch 'Mario/illusionary_bgmscript_fix' into 'master'
terencehill [Sun, 28 Jul 2024 10:50:02 +0000 (10:50 +0000)]
Merge branch 'Mario/illusionary_bgmscript_fix' into 'master'

Fix bgmscript not being able to set visibility of client-side walls

Closes #1892

See merge request xonotic/xonotic-data.pk3dir!1313

4 months agoMerge branch 'LegendaryGuard/chat_showplayerid' into 'master'
Dr. Jaska [Sun, 28 Jul 2024 07:52:39 +0000 (07:52 +0000)]
Merge branch 'LegendaryGuard/chat_showplayerid' into 'master'

Add cvar to display player number alongside their name in the chat

See merge request xonotic/xonotic-data.pk3dir!1208

4 months agoDon't override alpha values set by bgmscript when drawing client walls
Mario [Sun, 28 Jul 2024 04:25:17 +0000 (14:25 +1000)]
Don't override alpha values set by bgmscript when drawing client walls

4 months agoMerge branch 'drjaska/spread-pattern' into 'master'
Dr. Jaska [Sun, 28 Jul 2024 03:16:25 +0000 (03:16 +0000)]
Merge branch 'drjaska/spread-pattern' into 'master'

Implement a fixed spread pattern, for (OK) Shotgun (Crylink and Hagar share the function call also)

See merge request xonotic/xonotic-data.pk3dir!1169

4 months agoImplement a fixed spread pattern, for (OK) Shotgun (Crylink and Hagar share the funct...
Dr. Jaska [Sun, 28 Jul 2024 03:16:25 +0000 (03:16 +0000)]
Implement a fixed spread pattern, for (OK) Shotgun (Crylink and Hagar share the function call also)

5 months agoGet rid of 2 warnings, one in the client and the other in the dedicated server, print...
terencehill [Fri, 26 Jul 2024 16:55:45 +0000 (18:55 +0200)]
Get rid of 2 warnings, one in the client and the other in the dedicated server, printed at startup

* _def_detect_dedicated and the usage of ${qport ?} instead of ${qport} are meant to avoid this warning in the dedicated server: Could not expand $qport in alias _if_dedicated
* The new _detect_dedicated_ aliases are meant to avoid this warning in the client: Unknown command "_detect_dedicated_60106"

5 months agoMerge branch 'Mario/gametype_maplist_reset' into 'master'
Dr. Jaska [Fri, 26 Jul 2024 02:59:22 +0000 (02:59 +0000)]
Merge branch 'Mario/gametype_maplist_reset' into 'master'

Add map list curation support to gametype votes

See merge request xonotic/xonotic-data.pk3dir!1308

5 months agoAdd map list curation support to gametype votes
Mario [Fri, 26 Jul 2024 02:59:22 +0000 (02:59 +0000)]
Add map list curation support to gametype votes

5 months agoMerge branch 'Mario/independent_player_objectives' into 'master'
Dr. Jaska [Fri, 26 Jul 2024 02:32:53 +0000 (02:32 +0000)]
Merge branch 'Mario/independent_player_objectives' into 'master'

Prevent independent players from claiming some objectives

See merge request xonotic/xonotic-data.pk3dir!1310

5 months agoPrevent independent players from claiming some objectives
Mario [Fri, 26 Jul 2024 02:07:12 +0000 (12:07 +1000)]
Prevent independent players from claiming some objectives

5 months agoMerge branch 'master' into terencehill/cfg_fixes
terencehill [Thu, 25 Jul 2024 21:41:39 +0000 (23:41 +0200)]
Merge branch 'master' into terencehill/cfg_fixes

5 months agoMerge branch 'terencehill/rpn_fix' into 'master'
terencehill [Thu, 25 Jul 2024 21:32:31 +0000 (21:32 +0000)]
Merge branch 'terencehill/rpn_fix' into 'master'

Rpn command: fix not and bitnot operations, improve help message

See merge request xonotic/xonotic-data.pk3dir!1305

5 months agoMerge branch 'Mario/chat_bubble_hook' into 'master'
terencehill [Thu, 25 Jul 2024 18:27:14 +0000 (18:27 +0000)]
Merge branch 'Mario/chat_bubble_hook' into 'master'

Add a hook to allow mutators to hide or override the chat bubble

See merge request xonotic/xonotic-data.pk3dir!1309

5 months agoSpeed up sv_game-hashtest.sh by executing qc tests and checking notifications at...
terencehill [Thu, 25 Jul 2024 17:39:57 +0000 (19:39 +0200)]
Speed up sv_game-hashtest.sh by executing qc tests and checking notifications at the same time

5 months agoAdd a hook to allow mutators to hide or override the chat bubble
Mario [Thu, 25 Jul 2024 16:23:45 +0000 (02:23 +1000)]
Add a hook to allow mutators to hide or override the chat bubble

5 months agoMerge branch 'Mario/sandbox_tweaks' into 'master'
Dr. Jaska [Thu, 25 Jul 2024 13:18:22 +0000 (13:18 +0000)]
Merge branch 'Mario/sandbox_tweaks' into 'master'

Sandbox: fix some warnings and add useful mutator hooks

Closes #2911

See merge request xonotic/xonotic-data.pk3dir!1307

5 months agoSandbox: fix some warnings and add useful mutator hooks
Mario [Thu, 25 Jul 2024 13:18:22 +0000 (13:18 +0000)]
Sandbox: fix some warnings and add useful mutator hooks

5 months agoMerge branch 'drjaska/race-splits-opt-out' into 'master'
Dr. Jaska [Thu, 25 Jul 2024 13:11:46 +0000 (13:11 +0000)]
Merge branch 'drjaska/race-splits-opt-out' into 'master'

Provide an off-switch for cts checkpoint splits

See merge request xonotic/xonotic-data.pk3dir!1302

5 months agorm sync-extensions.sh
drjaska [Thu, 25 Jul 2024 02:54:06 +0000 (05:54 +0300)]
rm sync-extensions.sh

The file is an unmaintained ancient relic which is no longer usable
in the project. dpdefs require manual syncing at the time of a release
and we do not use the sources mentioned in the file for them but
copy them from the DP engine we ship.

5 months agoMerge branch 'terencehill/vampirehook_fix' into 'master'
terencehill [Wed, 24 Jul 2024 15:58:32 +0000 (15:58 +0000)]
Merge branch 'terencehill/vampirehook_fix' into 'master'

Fix #2917 "Issues with vampirehook and warpzones"

Closes #2917

See merge request xonotic/xonotic-data.pk3dir!1300

5 months agoImprove the rpn help message
terencehill [Wed, 17 Jul 2024 21:25:15 +0000 (23:25 +0200)]
Improve the rpn help message

5 months agoMerge branch 'terencehill/damage_logging_optimization' into 'master'
terencehill [Wed, 24 Jul 2024 09:28:57 +0000 (09:28 +0000)]
Merge branch 'terencehill/damage_logging_optimization' into 'master'

Optimize damage logging when there are multiple hits at the same time

See merge request xonotic/xonotic-data.pk3dir!1298

5 months agoOptimize damage logging when there are multiple hits at the same time by accumulating...
terencehill [Wed, 24 Jul 2024 09:16:13 +0000 (11:16 +0200)]
Optimize damage logging when there are multiple hits at the same time by accumulating damage and logging it only once

The hash change is due to meaningless differences in the logged total damage dealt by bots.

5 months agoA few minor optimizations:
terencehill [Tue, 23 Jul 2024 23:32:57 +0000 (01:32 +0200)]
A few minor optimizations:

* Optimize swapwords and consequently shufflewords (which is called by g_maplist_shuffle) a little bit
* Avoid setting filename when not needed in Map_Check (called many times when the map vote starts)
* Save a few normalize calls in findtrajectorywithleading (called when bots use weapons like mortar and electro that fire projectiles with gravity)

findtrajectorywithleading patch probably causes a hash change due to extremely small aim direction changes (always < 0.0005) that at some point change the course of the bot match

5 months agoMerge branch 'drjaska/hashtest-stormkeep.waypoints.hardwired' into 'master'
Dr. Jaska [Tue, 23 Jul 2024 07:48:53 +0000 (07:48 +0000)]
Merge branch 'drjaska/hashtest-stormkeep.waypoints.hardwired' into 'master'

Include stormkeep.waypoints.hardwired in hashtest

See merge request xonotic/xonotic-data.pk3dir!1303

5 months agoInclude stormkeep.waypoints.hardwired in hashtest
Dr. Jaska [Tue, 23 Jul 2024 07:48:52 +0000 (07:48 +0000)]
Include stormkeep.waypoints.hardwired in hashtest

5 months agoTransifex autosync
Rudolf Polzer [Tue, 23 Jul 2024 05:23:15 +0000 (07:23 +0200)]
Transifex autosync

5 months agoMerge branch 'drjaska/script-cleanup' into 'master'
Dr. Jaska [Mon, 22 Jul 2024 20:44:12 +0000 (20:44 +0000)]
Merge branch 'drjaska/script-cleanup' into 'master'

Script cleanup

See merge request xonotic/xonotic-data.pk3dir!1270

5 months agoScript cleanup
Dr. Jaska [Mon, 22 Jul 2024 20:44:12 +0000 (20:44 +0000)]
Script cleanup

5 months agoProvide an off-switch for cts checkpoint splits
drjaska [Mon, 22 Jul 2024 01:48:59 +0000 (04:48 +0300)]
Provide an off-switch for cts checkpoint splits

Some users described this feature as "flooding the console",
"cl_race_checkpoint_splits_console 0" disables the prints.

Their collection is not disabled so that users can still opt-in
when they get a good run and want to see the splits.

5 months agoFix value types in the rpn help message
terencehill [Wed, 17 Jul 2024 17:21:03 +0000 (19:21 +0200)]
Fix value types in the rpn help message

5 months agoFix rpn not and bitnot operations not working
terencehill [Wed, 17 Jul 2024 16:21:28 +0000 (18:21 +0200)]
Fix rpn not and bitnot operations not working

5 months agoTransifex autosync
Rudolf Polzer [Wed, 17 Jul 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

5 months agoTransifex autosync
Rudolf Polzer [Mon, 15 Jul 2024 05:23:11 +0000 (07:23 +0200)]
Transifex autosync

5 months agoFix #2917 "Issues with vampirehook and warpzones"
terencehill [Sat, 13 Jul 2024 22:09:03 +0000 (00:09 +0200)]
Fix #2917 "Issues with vampirehook and warpzones"

5 months agoUse the proper heal function to heal teammates with the Vampire hook (the global...
terencehill [Sat, 13 Jul 2024 21:32:56 +0000 (23:32 +0200)]
Use the proper heal function to heal teammates with the Vampire hook (the global mutator arguments no longer overlap thanks to 1755790c0)

5 months agoSlightly optimize 3 functions
terencehill [Sat, 13 Jul 2024 21:06:56 +0000 (23:06 +0200)]
Slightly optimize 3 functions

5 months agoMerge branch 'drjaska/ctf-wp-div-by-0' into 'master'
Dr. Jaska [Thu, 11 Jul 2024 16:44:57 +0000 (16:44 +0000)]
Merge branch 'drjaska/ctf-wp-div-by-0' into 'master'

Add a missing if check for flag waypoint health

Closes #2914

See merge request xonotic/xonotic-data.pk3dir!1297

5 months agoMerge branch 'terencehill/dropped_flag_waypoint_fix' into 'master'
terencehill [Thu, 11 Jul 2024 16:04:19 +0000 (16:04 +0000)]
Merge branch 'terencehill/dropped_flag_waypoint_fix' into 'master'

Fix flag waypoint color

Closes #2912

See merge request xonotic/xonotic-data.pk3dir!1294

5 months agoFix flag waypoint color
terencehill [Thu, 11 Jul 2024 16:04:19 +0000 (16:04 +0000)]
Fix flag waypoint color

5 months agoMerge branch 'terencehill/damage_text_without_intrusive_lists' into 'master'
terencehill [Wed, 10 Jul 2024 21:15:19 +0000 (21:15 +0000)]
Merge branch 'terencehill/damage_text_without_intrusive_lists' into 'master'

Refactor damage text code to avoid using intrusive lists

See merge request xonotic/xonotic-data.pk3dir!1296

5 months agoAdd a missing if check for flag waypoint health
drjaska [Wed, 10 Jul 2024 21:09:58 +0000 (00:09 +0300)]
Add a missing if check for flag waypoint health

The waypoint usage here was missing a check that it has been
initialised properly. Without waypoint updating code assumed
that the flag has >0 max_health which caused many div by zero errors.

Added the following if check:
autocvar_g_ctf_flag_return_time ||
(autocvar_g_ctf_flag_return_damage && autocvar_g_ctf_flag_health)

5 months agoMerge branch 'Mario/gametypes_vector' into 'master'
Dr. Jaska [Wed, 10 Jul 2024 18:27:36 +0000 (18:27 +0000)]
Merge branch 'Mario/gametypes_vector' into 'master'

Add support for up to 72 gametypes

Closes #2900

See merge request xonotic/xonotic-data.pk3dir!1278

5 months agoAdd support for up to 72 gametypes
Dr. Jaska [Wed, 10 Jul 2024 18:27:36 +0000 (18:27 +0000)]
Add support for up to 72 gametypes