aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
AgeCommit message (Collapse)Author
2024-08-30Add missing valid check for militia flag spawn (#853)GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-08-19Fix Attrition SquadHandler crash (#839)v1.27.3-rc3v1.27.3-rc2Bobbyperson
Adds an `IsAlive()` check to temporarily handle a rare crash
2024-07-17Fix "Kills by Auto-Titan" not registering at all (#817)William Miller
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-12Change `IsValid()` check to `EndSignal()` (#820)v1.26.3-rc3v1.26.3William Miller
2024-07-11Check player validity in `SetupChallenges_Threaded` (#819)fvnkhead
2024-07-08Hotfix for Intro Dropship (#816)v1.26.3-rc2v1.26.2William Miller
to fix script error
2024-07-07Fix oversight in "Total MVP" not registering in regards to progression (#814)v1.26.1William Miller
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-07Prevent suicides registering progression stats (#813)William Miller
Prevent suicides registering stats
2024-07-07Mitigate muted audio during dropship intro (#812)v1.26.1-rc5GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07Mitigate muted audio during dropship intro (#811)GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07Play battle chatter during dropship intro (#810)GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-07-07Fix formatting in dropship introZanieon
taken from #809
2024-07-07Rework Intro Dropship Script to avoid player overlap (#809)William Miller
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-06Unfuck the Spawns (#808)v1.26.1-rc4v1.26.1-rc3v1.26.1-rc2William Miller
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-06-28Implement Match Goals menu and XP tracking (#756)v1.26.0-rc4v1.26.0William Miller
for vanilla parity when it comes to the progression system. See PR description for full details
2024-04-13Move all owned NPCs together with player on Team Switching (#789)William Miller
Uses a call back that is triggered when the player switches team to update their own entities accordingly.
2024-04-12Validate selected Titan loadout index better (#762)Jack
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-03-26Fix weapon drop callback breaking SP (#797)v1.25.0-rc1Cyn
Move weapon drop callback globalization to `#if MP`
2024-02-29Add weapon dropped callbackv1.24.3-rc2v1.24.3-rc1NoCatt
Adds a callback for when a weapon is dropped. In the progress this also fixes weapons still dropping unintentionally in certain case.
2024-01-29Scale pilot kill core gain properly for mixed modes (#702)Jack
Closes #682
2024-01-26Unlock remaining DLC items while progression is enabled (#786)v1.22.2-rc2v1.22.2William Miller
As they cannot be unlocked by levelling up and some players may still want to use them while having progression enabled, we simply keep them unlocked when progression is enabled.
2024-01-26Change Aegis Reset Functionality to use titan chassis ref instead of raw ↵William Miller
index (#788) The previous index passed to the method did not correspond properly with the persistent data index. Instead pass their class reference and then use that to grab the correct index.
2024-01-21Prevent client side crash in MFD when marked target dies out of bounds. (#705)v1.22.2-rc1v1.22.1-rc4v1.22.1Jack
2024-01-02Fix spectating for LTS (#774)v1.21.3-rc1v1.21.3Aibek
Adds missing spectator initialisation Co-authored-by: Khalmee <87766895+Khalmee@users.noreply.github.com>
2024-01-02Add validity check to `HandleDistanceAndTimeStats_Threaded` to prevent crash ↵Casper Talvio
(#767)
2024-01-02Add validity check to `SaveStatsPeriodically_Threaded` (#769)Casper Talvio
2023-12-18Fix restricting Aegis Rank reset functionality to MP (#771)v1.21.1-rc1v1.21.1William Miller
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
2023-12-17Fix `spec_mode` bind not working (#706)Jack
Fixes `spec_mode` bind not working by adding a small spectator replay delay Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
2023-12-14Add Aegis Rank reset functionality command for Progression (#727)v1.21.0-rc1William Miller
Adds a console command to allow players to reset the Aegis Ranks of their Titans
2023-12-04Add a doc comment to `StringReplace` (#748)GeckoEidechse
This is an initial test to get formatting etc agreed upon to then build on this further
2023-12-01Fix crash when calling for invalid loadout index (#764)v1.20.3v1.20.2-rc1v1.20.2x3Karma
Requesting for invalid loadout index using SwapSecondaryAndWeapon3PersistentLoadoutData will cause a crash. This change just adds a check to reset the loadout index.
2023-11-21Implement missing Score Events (#700)v1.20.1-rc5v1.20.1Jack
* use consts for killingspree and rampage score events * add Revenge and Quick Revenge score events * ensure no revenge/quick revenge against non-players * this is OnPlayerKilled i dont need this check * implement mayhem and onslaught
2023-11-05Re-implement projectile kill replays (#723)v1.20.0-rc2v1.20.0-rc1Jack
Adds a new callback: `SetCallback_TryUseProjectileReplay` so that servers can write logic to enable/disable this behaviour on a case by case basis
2023-11-03Fix wrong attacker receiving progression stat updates (#755)v1.19.11-rc7v1.19.11William Miller
Fixes wrong attacker receiving stat updates
2023-11-03Fix wrong Item Type for Titan Camos (#728)William Miller
Small fix which the wrong item type was being addressed to check for Titan Camos, allowing players to use any camo without fallback to default if they didn't own that item previously when enabling progression.
2023-11-03Don't mark items as new if progression is disabled (#752)Jack
Also doesn't show the challenge completion notifications in game as a nice side effect
2023-10-18Stop logging invalid map/mode exception in progression (#750)v1.19.9-rc3v1.19.9Jack
Some game modes like Gun Game or Infection are not considered valid yet, causing the warning message to be spammed in the logs. Necessary work should be done to add the modes to the list of valid modes. Until we will just comment out the print statement in order to prevent log spam. Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2023-10-18Fix Titan Assist not tracking properly (#744)William Miller
Titan Assist medals aren't given to players who assisted damage when someone kills a titan, that is due the fact that Titans stores damage history in their Soul component, not the NPC itself.
2023-10-17Award titan assist stats based on titan soul damage history (#746)Jack
Titans stores damage history in their Soul component, not the NPC itself, probably due to how game handles pilot/auto-titan interaction with the Titan entities. This means that we weren't awarding assist stats properly for titan assists
2023-10-16Make dropships immune to Titan step damage (#737)v1.19.9-rc1Jack
Currently dropships take damage from titans stepping on them, this prevents that Co-authored-by: William Miller <william-millennium@hotmail.com>
2023-10-12Expose extra optional arg in `UpdatePlayerStat` function (#742)William Miller
Exposes the previously hidden string argument in the `UpdatePlayerStat` function, that is needed to track some things more easily when hooking stats.
2023-10-11Unlock paid items with progression enabled (#726)William Miller
When turning on progression now, items that should be purchased from the store will remain unlocked. These items contain among others the prime versions of the various Titans. Some mods make explicit use of prime Titans to switch to alternate loadouts (Brute, Archon, ...) Some players would like to opt into progression but decide against it due to losing access to prime Titans As such we should keep them unlocked, even when progression is enabled as they cannot be obtained through progression alone anyway.
2023-10-11Fix `StringReplace` looping forever when replacing character when replacing ↵Jack
same character as match (#736) Find the next replacement starting from the end of the last one, instead of from the start of the string
2023-10-10Remove unnecessary convars (#530)v1.19.6-rc2v1.19.6BobTheBob
Removes some convars we don't need at all
2023-10-10Use string convar flags (#740)GeckoEidechse
Uses string names for convars (been supported since refactor but not yet used) rather than magic numbers Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2023-10-10Implement `_grunt_chatter_mp.gnut` (#687)v1.19.6-rc1William Miller
Code is adapted from `_grunt_chatter.gnut` which is used in the campaign. File implementation is a vanilla behavior restoration of Grunts being able to chatter about when other grunts nearby are killed, or when an enemy Titan is killed.
2023-10-04Prevent loadout validation crash due to invalid warpaints (#734)v1.19.4-rc2v1.19.4Jack
2023-10-04Bump mods version to `1.19.0` (#732)GeckoEidechse
2023-10-03Fix players dying when mantling on props or embarking Titans in ↵v1.19.3-rc1v1.19.3v1.19.2-rc1v1.19.2William Miller
`mp_complex3` (#709) There's a whole `trigger_hurt` right below the ground in the inner large hallway which whenever a player tries to mantle on any of the props in there either intentionally or by accident they will instantly die. This also applies to when you embark your titan in there. This does not happen on vanilla servers. This commit removes the trigger that kills the player.
2023-10-03Add mp_complex3_script.ent from client_mp_complex3Respawn