Commit graph

913 commits

Author SHA1 Message Date
Rémy Raes
3d278b3b25
Hide remote mods in mods display (#799)
As they are supposed to be disabled unless joining a server that requires that mod.
2024-08-29 15:44:12 +02:00
Harmony Weblate
ffc5dfd0b6
Translations update from Weblate (#848)
Translated using Weblate (Polish)

Currently translated at 100.0% (313 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/pl/

Co-authored-by: p0358 <p0358@users.noreply.github.com>
2024-08-28 01:02:57 +02:00
GeckoEidechse
05b6f7ab1f
Bump actions/checkout to v4 (#847)
from v3 which is being deprecated
2024-08-27 15:20:07 +02:00
eve
426777ba50
Remove quotation marks from Polish translations breaking file parsing (#846)
The quotation marks caused file parsing to end early and break
2024-08-27 14:04:49 +02:00
Harmony Weblate
a1e77030f8
Translations update from Weblate (#844)
Translated using Weblate (Polish)

Currently translated at 100.0% (313 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/pl/

Co-authored-by: eve <eve@users.noreply.translate.harmony.tf>
2024-08-26 13:12:57 +02:00
eve
b254bc5f83
Add Polish translations (#843)
Adds file for Polish translations as well as the translations themselves.
2024-08-26 00:20:26 +02:00
Bobbyperson
984a30c998
Fix Attrition SquadHandler crash (#839)
Adds an `IsAlive()` check to temporarily handle a rare crash
2024-08-19 11:33:06 +02:00
Harmony Weblate
d92378f23f
Translations update from Weblate (#840)
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (313 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/zh_Hant/

Co-authored-by: RainTrap341 <RainTrap341@users.noreply.translate.harmony.tf>
2024-08-18 23:29:37 +02:00
Harmony Weblate
0466de8fc5
Translations update from Weblate (#837)
Translated using Weblate (Italian)

Currently translated at 99.6% (312 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/it/

Co-authored-by: Nostromo <Nostromo@users.noreply.translate.harmony.tf>
2024-08-14 22:06:11 +02:00
Dinorush
7aa3958ccd
Support multiple spaces in custom damage source ID display names (#835)
Replace all spaces
2024-08-14 15:19:02 +02:00
Harmony Weblate
75bbc189f9
Translations update from Weblate (#834)
Translated using Weblate (French)

Currently translated at 100.0% (313 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/fr/

Co-authored-by: Rémy Raes <Alystrasz@users.noreply.translate.harmony.tf>
2024-08-08 17:55:56 +02:00
GeckoEidechse
fe8972fe40
Run merge conflict label action periodically (#833) 2024-08-08 17:06:27 +02:00
GeckoEidechse
94fa6608c7
Add option to manually run merge conflict label action (#832)
so that labels can easily be updated if need be
2024-08-08 17:01:02 +02:00
GeckoEidechse
ed76f2bed2
Revert "Add a generic "JoinServer" function" (#828)
Revert "Add a generic "JoinServer" function (#693)" as it causes issues with MAD due to duplicated server join logic as discussed on Discord

This reverts commit e4b3cc7d3e.
2024-07-31 17:49:23 +02:00
wolf109909
ad2e09bd8d
Remove redundant parameter in DownloadMod (#827)
This parameter is a leftover of a previous refactor, and isn't used anywhere in the function.
2024-07-31 14:21:18 +02:00
Harmony Weblate
459e83b35c
Translations update from Weblate (#826)
Translated using Weblate (Portuguese)

Currently translated at 100.0% (313 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/pt/

Co-authored-by: William Miller <Zanieon@users.noreply.translate.harmony.tf>
2024-07-30 17:00:21 +02:00
Harmony Weblate
cff6f92f03
Translations update from Weblate (#825)
Translated using Weblate (Russian)

Currently translated at 94.8% (297 of 313 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/ru/

Co-authored-by: WofWca <wofwca@protonmail.com>
2024-07-30 14:24:17 +02:00
Creamy
d130ab7d95
Update tbshotgun mdls with skinfamillies/lods, add pbr materials (#796)
See pull request description for highly detailed changelog.
2024-07-30 00:46:27 +02:00
Klemmbaustein
e4b3cc7d3e
Add a generic "JoinServer" function (#693)
Adds a function that allows the client to join a server from a `ServerInfo` struct.
This also changes the server browser to use this function.
2024-07-30 00:45:17 +02:00
Rémy Raes
d5b35ee69a
Only fetch MAD manifesto on server join (#821)
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
2024-07-30 00:41:10 +02:00
EladNLG
7abae6cf83
Move fontfiletable.txt to keyvalues (#612)
This is done so mods using keyvalues folders to add custom fonts to the game don't revert the changes done by Northstar
2024-07-28 08:35:46 +02:00
Harmony Weblate
0e8990f1d2
Translations update from Weblate (#823)
* Translated using Weblate (Japanese)

Currently translated at 96.1% (299 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/ja/

---------

Co-authored-by: IROHASTUDIO <irohastudio.create@gmail.com>
2024-07-27 20:58:00 +02:00
Harmony Weblate
278eaf2bf5
Translations update from Weblate (#822)
Translated using Weblate (Portuguese)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/pt/

Co-authored-by: William Miller <Zanieon@users.noreply.translate.harmony.tf>
2024-07-19 19:36:50 +02:00
William Miller
26d649fa7b
Fix "Kills by Auto-Titan" not registering at all (#817)
This is a quick fix that will redirect the attacker entity to a proper NPC owned by the player.

By default behavior of the game, attackers are always the final entity in the owning hiearchy, which is always a player if owned NPCs kills enemies.

This change properly redirects the code to the correct NPC whenever they have an owning player.
2024-07-17 11:10:06 +02:00
William Miller
f586107e62
Change IsValid() check to EndSignal() (#820) 2024-07-12 22:45:49 +02:00
fvnkhead
52e007ac06
Check player validity in SetupChallenges_Threaded (#819) 2024-07-11 19:31:29 +02:00
William Miller
e76789be99
Hotfix for Intro Dropship (#816)
to fix script error
2024-07-08 10:52:50 +02:00
Harmony Weblate
bfadbc4d59
Translations update from Weblate (#815)
* Translated using Weblate (English)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/en/

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/pt/

* Translated using Weblate (Russian)

Currently translated at 95.1% (296 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/ru/

* Translated using Weblate (English)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/en/

---------

Co-authored-by: William Miller <Zanieon@users.noreply.translate.harmony.tf>
Co-authored-by: WofWca <wofwca@protonmail.com>
Co-authored-by: GeckoEidechse <GeckoEidechse@users.noreply.translate.harmony.tf>
2024-07-08 09:20:55 +02:00
William Miller
de01dc34c6
Fix oversight in "Total MVP" not registering in regards to progression (#814)
The game have an extra stat especifically to count the total amount of times a player has been MVP in all matches, while the other mvp stat which i previously thought to be absolutely is only registered per map, not globally.
2024-07-07 00:53:51 +02:00
William Miller
e898b0a17d
Prevent suicides registering progression stats (#813)
Prevent suicides registering stats
2024-07-07 00:49:01 +02:00
GeckoEidechse
1c54129e11
Mitigate muted audio during dropship intro (#812)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07 00:19:21 +02:00
GeckoEidechse
34bd1b1ae6
Mitigate muted audio during dropship intro (#811)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07 00:15:39 +02:00
GeckoEidechse
dc0074d249
Play battle chatter during dropship intro (#810)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07 00:12:30 +02:00
Zanieon
2849218b47 Fix formatting in dropship intro
taken from #809
2024-07-07 00:06:51 +02:00
William Miller
852f3bcb04
Rework Intro Dropship Script to avoid player overlap (#809)
This overhaul makes the Dropships behave consistently now like vanilla and players will only start overlapping each other when both Dropships are full, otherwise code will always attempt to populate them properly instead.
2024-07-07 00:02:53 +02:00
Dinorush
f3fa134ff6
Fix cl_earn_meter crash when Core does not exist during Core Active state (#494)
Fix crash when getting core weapon
2024-07-06 23:30:01 +02:00
William Miller
0198d3f99c
Unfuck the Spawns (#808)
1. Get rid of the odd logic of limiting the algorithm to 3 spawn points
2. Changes the specific CTF algorithm to calculate the spawn points from the flag bases themselves rather than the initial spawn points which was causing severe inconsistencies.
3. Remove some checks in regards to map side swapping when matches reaches half-times due to odd behaviour in native code
4. Mitigate usage of `GetOtherTeam` for certain checks since that function might return Unreachable when it's a gamemode with more than 2 Teams and intentionally script crash the server.
2024-07-06 00:02:11 +02:00
Harmony Weblate
8181dd7e07
Translations update from Weblate (#807)
Translated using Weblate (French)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/fr/

Co-authored-by: Rémy Raes <Alystrasz@users.noreply.translate.harmony.tf>
2024-07-03 17:56:30 +02:00
Harmony Weblate
35318c3b14
Translations update from Weblate (#806)
Translated using Weblate (French)

Currently translated at 94.2% (293 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/fr/

Co-authored-by: Rémy Raes <Alystrasz@users.noreply.translate.harmony.tf>
2024-07-03 16:28:21 +02:00
William Miller
6581c4e800
Implement Match Goals menu and XP tracking (#756)
for vanilla parity when it comes to the progression system.
See PR description for full details
2024-06-28 20:10:45 +02:00
GeckoEidechse
83e97763b3
Bump Actions Ubuntu version to 22.04 (#805)
Bump the Ubuntu version used for encoding and missing translations check from `20.04` to `22.04`.
2024-06-24 14:29:40 +02:00
Harmony Weblate
8037da592f
Translations update from Weblate (#804)
* Translated using Weblate (German)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/de/

* Translated using Weblate (German)

Currently translated at 100.0% (311 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/de/

---------

Co-authored-by: justplus <justplus@users.noreply.translate.harmony.tf>
Co-authored-by: GeckoEidechse <GeckoEidechse@users.noreply.translate.harmony.tf>
2024-05-29 16:22:43 +02:00
Harmony Weblate
76ba7bf0ba
Translations update from Weblate (#801)
Translated using Weblate (Spanish)

Currently translated at 92.6% (288 of 311 strings)

Translation: Northstar/Northstar Client Localisation
Translate-URL: https://translate.harmony.tf/projects/northstar/client/es/

Co-authored-by: NachosChipeados <NachosChipeados@users.noreply.translate.harmony.tf>
2024-04-13 02:06:44 +02:00
William Miller
9661372712
Move all owned NPCs together with player on Team Switching (#789)
Uses a call back that is triggered when the player switches team to update their own entities accordingly.
2024-04-13 01:54:55 +02:00
Jack
f427583ec4
Add initial unit testing logic (#708)
Adds initial logic to allow for some form of basic unit testing.
2024-04-12 01:52:53 +02:00
Jack
11787b3896
Validate selected Titan loadout index better (#762)
Seemingly there are cases where mods can set an invalid Titan loadout index, which then causes the progression checks to attempt to set the player's Titan model to an invalid index.

This commit adds a check to ensure that it is within the bounds of the titan loadout array.
2024-04-12 01:50:38 +02:00
Cyn
a8c0653b25
Fix weapon drop callback breaking SP (#797)
Move weapon drop callback globalization to `#if MP`
2024-03-26 13:52:16 +01:00
NoCatt
51eb5eade9
Add weapon dropped callback
Adds a callback for when a weapon is dropped.
In the progress this also fixes weapons still dropping unintentionally in certain case.
2024-02-29 00:37:57 +01:00
Austin Rollfing
f2041fbb14
Fix map rotation for Hide-and-Seek and remove duplicate entries (#792) 2024-02-23 01:50:48 +01:00
GeckoEidechse
0982cb08e9
Fix map rotation for CTF and remove duplicate entries (#795)
Co-authored-by: Bobbyperson12 <23128094+Bobbyperson12@users.noreply.github.com>
2024-02-23 01:46:34 +01:00