Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Upgrade points to September 8, 2023 AMG release #3548

Open
wants to merge 276 commits into
base: stable-2.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
f0c1707
Updated points for Torpedo upgrades to September 2023 point update doc.
Nov 13, 2023
ada4cbc
Updated version number for release
Nov 13, 2023
0d54a59
Updated repo README to include intent and differences from original r…
Nov 14, 2023
f7fe82d
Updated Mirror networking assets to resolve Android x64 build errors.
Nov 17, 2023
aaa88f0
Empty Asset meta file cleanup
Baledin Dec 10, 2023
c656130
Changing HasAuthority to IsOwned due to obselecense of property
Baledin Dec 10, 2023
57fce32
Updated Linux Toolchain packages
Baledin Dec 10, 2023
62f0a9e
Updated Linux Toolchain packages
Baledin Dec 10, 2023
d44392e
Merge branch 'development' of https://github.com/Baledin/FlyCasual in…
Baledin Dec 10, 2023
975f655
Fix for Flight Leader Ubbel ability misfire.
Jan 17, 2024
07fa8a0
Updated version number, credits, and repo address
Jan 18, 2024
652486f
Update issue templates
Baledin Jan 22, 2024
df76da5
Added validation check for IsSameShip to prevent NullReferenceExcepti…
Jan 22, 2024
4ac4465
Removed Extended/Standard folders from structure, flattening ships/up…
Feb 4, 2024
4368f13
February 2, 2024 Point Updates - Empire pilots
Feb 5, 2024
4445a86
February 2, 2024 Point Updates and cleanup - Rebel pilots
Feb 5, 2024
0166d44
February 2, 2024 Point Updates and cleanup - Resistance pilots
Feb 5, 2024
cd3116a
February 2, 2024 Point Updates and cleanup - Republic pilots
Feb 5, 2024
f40cd72
Update version number
Feb 5, 2024
d7ccca7
Unity general updates (project settings, re-imports, etc)
Feb 5, 2024
bcfeb8b
Updated maneuvers for Rogue-Class Starfighter, replacing the speed-4 …
Feb 16, 2024
6d24af1
Updated Avatar vectors for upgrade avatars that were impacted by new …
Feb 17, 2024
d36cf35
Reworked Integrated, Stabilized, and Servomotor S-Foils for consisten…
Feb 19, 2024
37004ff
Added Darth Vader SSP Standard Loadout
Mar 10, 2024
d842321
Added Maarek Stele SSP Standardized Loadout
Mar 10, 2024
30f3b70
Added Night Beast SSP Standardized Loadout
Mar 10, 2024
7c36eff
Added Iden Versio and Valen Rudor SSP Standardized Loadouts
Mar 10, 2024
3246caa
Added Captain Jonus SSP Standardized Loadout
Mar 10, 2024
0647b80
Corrections to Iden Versio and Captain Jonus SSP pilots.
Mar 10, 2024
aa90008
Added Tomax Bren SSP Standardized Loadout
Mar 10, 2024
846102d
Removed seImageNumber from TomaxBrenSSP
Mar 10, 2024
43f770f
Added Luke Skywalker SSP Standardized Loadout
Mar 10, 2024
3bf5596
Added Jek Porkins SSP Standard Loadout pilot
Mar 10, 2024
202a0d2
Added Rebel SSP Standardized Loadouts for BTL-A4 Y-wing: Dutch Vander…
Mar 10, 2024
d7dd21a
Added Rebel SSP Standardized Loadouts for RZ-1 A-wing: Arvel Cyrnyd, …
Mar 10, 2024
32c9326
Update version number
Mar 10, 2024
2b09569
Remove unneeded Usings
Mar 10, 2024
a77d8d9
Updated Unity Cloud Build settings
Mar 10, 2024
6830130
Removed old temp file
Mar 10, 2024
86f441b
Upgraded Unity version to 2023.2.13f1. Updated Console and MainMenu c…
Mar 18, 2024
8dc7066
Merge branch 'development' of https://github.com/Baledin/FlyCasual in…
Mar 18, 2024
3da89d7
Fixed bug with TacticalRelay Kalani where original ship which moved, …
Baledin Mar 20, 2024
69cb0c7
Fixed duplicate subphase reference when calling Whirlwind ability.
Baledin Apr 17, 2024
21cb233
Updated obselete Resolution options
Baledin Apr 22, 2024
c21f992
Updated Mirror asset and networking code to resolve obselete calls.
Baledin Apr 22, 2024
da4c09d
Updated Concussion Bombs to allow delayed fuses.
Baledin Apr 22, 2024
a96eac5
Fixed Beskar Reinforced Plating ability check to check upgrade for ch…
Baledin Apr 22, 2024
3bf8731
Fixed K2-B4's ability to use Calculate Token of defender instead of c…
Baledin Apr 22, 2024
21cbc55
Updated version information
Baledin Apr 29, 2024
814303a
Untracking old .meta file.
Baledin Apr 29, 2024
ffa5f8f
Updated repo README
Baledin Apr 29, 2024
0db9988
Removed unneeded .meta file
Baledin May 3, 2024
3d90d4e
Exposed PilotCardInfo25 properties for use in future standardized loa…
Baledin May 4, 2024
351621c
Added range check to ability, ensuring defender dice are not modified…
Baledin May 4, 2024
8382de4
Removed Boost from open S-Foils. Changed T-65 X-Wing default model wi…
Baledin May 4, 2024
d29e26f
Added missing standard loadout flag.
Baledin May 4, 2024
9cb548f
Updated ability check to only include primary weapons.
Baledin May 4, 2024
a082d0a
added Ursa Wren Gunner (thanks to FlyCasual Legacy)
Baledin May 10, 2024
9a77adb
Added IsFriendly check and updated methods in preparation for importi…
Baledin May 10, 2024
9f29ed9
Corrected Playmat names in scene and code.
Baledin May 10, 2024
9bf64ce
Updated Upgrade Points for Ursa Wren Gunner
Baledin May 10, 2024
dad7790
Updated GenericShip for new Tools calls in preparation for Legacy inc…
Baledin May 10, 2024
a8ae1dd
Imported Ursa Wren Crew from FC Legacy, updated points
Baledin May 10, 2024
3b9f849
Flattened ship organization for compatibility with Legacy and easier …
Baledin May 11, 2024
a936ae7
Updated SetInitialRotation to use MoveRotation preventing future debu…
Baledin May 11, 2024
1e8315b
Imported additional TTS resources
Baledin May 12, 2024
339e702
Added Pride of Mandalore asteroids and debris prefabs.
Baledin May 12, 2024
6cd145c
AddObstacle is now generic instread of specific to individual obstacl…
Baledin May 12, 2024
ea54d71
Mirror networking upgrade
Baledin Sep 15, 2024
89e9da3
Texture/prefabs/sprite updates
Baledin Sep 15, 2024
c61e172
September 2024 Point Updates (does not include new pilots)
Baledin Sep 16, 2024
22440dc
Point updates September 2024
Baledin Sep 29, 2024
c04a652
Added Gar Saxon - Gunner (thanks Matt_Sampson)
Baledin Sep 29, 2024
05c444b
Pre-release updates (asset updates, version updates)
Baledin Sep 29, 2024
3a64779
Typo fix for Online infoblock panel
Baledin Sep 30, 2024
a3f34b8
Add extra shield to SSP Vader
philpursglove Oct 4, 2024
4b27d76
Merge pull request #36 from philpursglove/make-SSP-Vader-3-Shields
Baledin Oct 5, 2024
794da1d
Added missing shield
Baledin Oct 8, 2024
066dc9b
Merge branch 'development' into stable-2.5
Baledin Oct 8, 2024
5c97a37
Update bug_report.md
Baledin Oct 8, 2024
03e0eee
Update README.md
Baledin Oct 8, 2024
8e3d898
Add shield to Iden
philpursglove Oct 9, 2024
e9cd40a
Add extra Hull to the Sigmas
philpursglove Oct 9, 2024
7f61882
Merge pull request #40 from philpursglove/fix-boy-squint-stats
Baledin Oct 10, 2024
3c68f60
Fixed crash when adding E-Wing pilot, Corran Horn to your squad.
Baledin Oct 10, 2024
5756535
Replaced Advanced Ailerons ability with Controlled Ailerons on TIE Re…
Baledin Oct 11, 2024
66db6b3
Fixed Cad Bane (Scum, Rogue-Class Starfighter) XWS import issues.
Baledin Oct 11, 2024
87a66f6
Limited Emperor Palpatine's modification ability to only appear when …
Baledin Oct 11, 2024
769f011
WIP - Aurra Sing rework ability to handle ships with no tokens
Baledin Oct 11, 2024
cc35f97
Revert "WIP - Aurra Sing rework ability to handle ships with no tokens"
Baledin Oct 13, 2024
1eb6766
Fixed Aurra Sing (Scum Firespray Patrol Craft) ability, now correctly…
Baledin Oct 13, 2024
4e503ce
Copy in homing torpedoes from FC Legacy
philpursglove Oct 13, 2024
bf1a981
Merge pull request #41 from philpursglove/add-homing-torpedoes
Baledin Oct 14, 2024
7229ddd
Set Jake Farrell SSP to use base Jake Farrell ability as they are ide…
Baledin Oct 15, 2024
48e78d3
Merge branch 'SimplifyJakeFarrellSSP' into development
Baledin Oct 15, 2024
e5f6af5
Copy in Clan Training from FC Legacy
philpursglove Oct 16, 2024
52f98c8
Remove redundant ctor
philpursglove Oct 16, 2024
a246f36
Fix typo and wrap line
philpursglove Oct 16, 2024
372fd36
Merge pull request #45 from philpursglove/add-clan-training
Baledin Oct 19, 2024
67abdeb
Added RazorCrest title (from Legacy fork). Updated to initialize data…
Baledin Oct 30, 2024
58ab933
Copy Outrider title from FC Legacy
philpursglove Oct 30, 2024
e6e9929
Tidy up
philpursglove Oct 30, 2024
3a6e086
Added Lin Gaava, tooltip currently WIP
Baledin Nov 2, 2024
faf6fda
Removed unnecessary class members from Primed for Speed condition
Baledin Nov 2, 2024
aeee581
For Primed for Speed, used interpolation for ability name, updated sp…
Baledin Nov 2, 2024
ae32f58
Updated imported token meta
Baledin Nov 2, 2024
770c859
Update base ship for black box release
philpursglove Nov 3, 2024
861f960
Update Outrider title for black box release
philpursglove Nov 3, 2024
994093f
Enable pilots to specify they can attack on obstacles
philpursglove Nov 3, 2024
9957844
Update Rebel Dash who can attack on obstacles
philpursglove Nov 3, 2024
d166618
Update Rebel Leebo
philpursglove Nov 3, 2024
c8e22e4
Some neatening up of GenericShipCombat
philpursglove Nov 3, 2024
c59046e
Added Agent Tierny. Ability works correctly with abilities which spec…
Baledin Nov 3, 2024
1d55836
Updated pilot abilities which used InSameTeam instead of IsFriendly.
Baledin Nov 3, 2024
abfd09e
Updated Upgrades which incorrectly used InSameTeam instead of IsFrien…
Baledin Nov 3, 2024
8b37458
Imported Odd Ball - Siege of Coruscant from Legacy. Minor cleanup.
Baledin Nov 3, 2024
7ed899c
Imported Jag - Siege of Coruscant from Legacy. Minor cleanup.
Baledin Nov 3, 2024
ccae59d
Imported Wolffe - Siege of Coruscant from Legacy. Minor cleanup.
Baledin Nov 3, 2024
1ae18c7
Fixed Deadeye Shot tooltip to show upgrade instead of host pilot.
Baledin Nov 3, 2024
6539bd8
Fixed Charges being applied to HostShip instead of Upgrade.
Baledin Nov 3, 2024
89edab3
Don't need to specify legality
philpursglove Nov 3, 2024
fd01df8
Merge pull request #56 from philpursglove/update-yt2400
Baledin Nov 3, 2024
c523ea2
Removed Scum from UpgradeRestrictions for Outrider.
Baledin Nov 4, 2024
050c6ea
Fix Outrider image.
Baledin Nov 4, 2024
9ad2c00
Updated version and credits, adding Phil Pursglove
Baledin Nov 4, 2024
26eaf92
Merge branch 'development' into stable-2.5
Baledin Nov 4, 2024
5dbfb39
Copy in Mando Optics from FC Legacy
philpursglove Nov 5, 2024
6f9f4ec
Correct cost
philpursglove Nov 5, 2024
ab9a3b9
Tidy up
philpursglove Nov 5, 2024
7f780c0
Fix name
philpursglove Nov 6, 2024
f4ddf0e
Merge pull request #59 from philpursglove/add-mando-optics
Baledin Nov 7, 2024
6f32834
Typo
philpursglove Nov 7, 2024
f9a18f9
Fix upgrade slots
philpursglove Nov 7, 2024
a9503ea
WIP - Rework UpgradeCardInfo and SpecialWeaponInfo to work with weapo…
Baledin Nov 8, 2024
e3499b4
Update bug_report.md
Baledin Nov 8, 2024
f66c350
Added functionality for upgrades and special weapons to use multiple …
Baledin Nov 8, 2024
f1f8db8
WIP, further work on Saturation Rockets
Baledin Nov 8, 2024
1095027
Charges revamp, system now checks if charges cost is more than curren…
Baledin Nov 8, 2024
e6e241e
Initial saturation rocket functionality in place. Missing Saturation …
Baledin Nov 8, 2024
f229b74
Stop the ship that's destroyed from doing an action
philpursglove Nov 8, 2024
e682376
Continued work on Saturation Rockets bonus attack
Baledin Nov 9, 2024
ed51749
Working Saturation Rockets with bonus attack. Clean up attack process…
Baledin Nov 9, 2024
002d6b8
Fixed incorrect Subphase call which resulted in warning messages and …
Baledin Nov 10, 2024
34dc9b0
Finished Saturation Rockets ability
Baledin Nov 10, 2024
bfb3980
Fixed Charges check to use current state instead of WeaponInfo.
Baledin Nov 10, 2024
2dfa7e0
Cleaned up Triggers and allow bonus attack to register regardless of …
Baledin Nov 10, 2024
7eb9abf
Added Alpha-Class StarWing SL ship ability and registered to Lieutena…
Baledin Nov 10, 2024
53276fb
Removed unnecessary Configuration from Lt Karsabi SL
Baledin Nov 10, 2024
58de31a
Initial card setup, added Heavy Plasma Missile functionality
Baledin Nov 10, 2024
5876bae
Added Range 0-1 check on bonus attack.
Baledin Nov 11, 2024
df30c24
Initial card setup, added Heavy Plasma Missile functionality
Baledin Nov 10, 2024
9ab1c66
Merge branch 'AddMajorVynderSL' of https://github.com/Baledin/FlyCasu…
Baledin Nov 11, 2024
42456af
Added Long-Range Scanners ability, fixed charges.
Baledin Nov 11, 2024
a43dd5b
Added ForbiddenWeapon check to upgrades (this was apparently missing …
Baledin Nov 12, 2024
acc87b3
Completed addition of Major Vynder and upgrades, including Long-Range…
Baledin Nov 12, 2024
a88730b
Updated Saturation Rockets to be hidden in Squad Builder and to not u…
Baledin Nov 12, 2024
2173f86
Merge branch 'AddLieutenantKarsabiSL' into development
Baledin Nov 12, 2024
699f6a6
Initial pilot ability rewrite. Updated pilot image and canonical name.
Baledin Nov 13, 2024
c01faa2
Fixes issue #57. Ability tested, adds Evade and removes non-stress re…
Baledin Nov 13, 2024
770b968
Updated ObstacleManager to include Pride of Mandalore asteroids
Baledin Nov 14, 2024
ec0f393
Added new event handlers to manage maneuvers and Usings cleanup.
Baledin Nov 15, 2024
aabe24d
Updated Ionization rules to allow bank options for ion maneuver and t…
Baledin Nov 15, 2024
ce0f6f2
Merge branch 'update-ionization-ruleset' into development
Baledin Nov 15, 2024
ec389ca
Updated imageurl, added appropriate AbilityType to Vagabond, ability …
Baledin Nov 20, 2024
81caa25
Merge branch '43-vagabond-in-tie-striker-ability-not-working' into de…
Baledin Nov 20, 2024
4839044
Updated ability to check and modify attack range instead of weapon's …
Baledin Nov 20, 2024
5f10ca1
Merge branch '46-arvel-rebel-rz1-awing-and-oicann-imperial-decimator-…
Baledin Nov 20, 2024
ec49c5e
Updated ObstacleManager to include Pride of Mandalore asteroids
Baledin Nov 14, 2024
f353c0d
Merge branch 'NewObstacleRules' of https://github.com/Baledin/FlyCasu…
Baledin Nov 21, 2024
f2c4179
Updates to Gas Cloud, breaking target locks still not working correctly.
Baledin Nov 22, 2024
12fa368
Updated GetToken to work with GenericTargetLock tokens. No current us…
Baledin Nov 22, 2024
3abf14c
Added Loose Cargo base
Baledin Nov 22, 2024
09fe800
Updated RiggedCargoChute and SparePartsCanisters to deploy LooseCargo…
Baledin Nov 22, 2024
e144e31
Merge branch 'NewObstacleRules' into development
Baledin Nov 24, 2024
4ec1dbc
Imported Tiber Gaxon, Empire Gunner from Legacy fork, cleanup and tes…
Baledin Nov 25, 2024
7c95c78
Corrected Hol Okand initiative
Baledin Nov 25, 2024
a2d49e2
Merge pull request #67 from philpursglove/fix-soc-trifighter-slots
Baledin Nov 27, 2024
de813dd
New event/trigger for BeforeDeviceWillBeDropped, allowing for ability…
Baledin Nov 27, 2024
5420813
Added Gina Moonsong: Battle over Endor pilot. All abilities working e…
Baledin Nov 27, 2024
5503127
Updates to Contingency Protocol, triggering from active ship instead …
Baledin Nov 27, 2024
da5a614
Corrected ability to use Selection target
Baledin Nov 27, 2024
8dbd256
Cleanup, corrected selection target for free action.
Baledin Nov 27, 2024
79bb4b8
Copy in Bo-Katan files from Legacy
philpursglove Nov 27, 2024
f0fb659
Tidy up blank lines
philpursglove Nov 27, 2024
9e67bfb
Rename class and file
philpursglove Nov 27, 2024
04fd00b
De Morgan's Law on the if
philpursglove Nov 27, 2024
584f7b4
Fix Rebel/Scum cost
philpursglove Nov 27, 2024
36d3f84
Split into separate classes so they can be priced separately
philpursglove Nov 27, 2024
08e4f7a
Removed ionized ship exclusion when checking for all ship dials set
Baledin Nov 28, 2024
736773e
Updated OnGetManeuver calls to occur before setting complexity and up…
Baledin Nov 28, 2024
e73b711
Updated OnGetManeuver calls to occur before setting complexity and up…
Baledin Nov 28, 2024
7111315
New event/trigger for BeforeDeviceWillBeDropped, allowing for ability…
Baledin Nov 27, 2024
cace666
Added Gina Moonsong: Battle over Endor pilot. All abilities working e…
Baledin Nov 27, 2024
f51ad0e
Merge branch '65-gina-moonsong-battle-over-endor' of https://github.c…
Baledin Nov 28, 2024
e20f779
Copy in Ahsoka from FC Legacy
philpursglove Nov 29, 2024
fd946ec
Remove blank lines
philpursglove Nov 29, 2024
4209109
Merge pull request #69 from philpursglove/add-bo-katan-crew
Baledin Nov 30, 2024
155b705
Change the name on the ability message
philpursglove Nov 30, 2024
ba7ba32
Un-hard code the name
philpursglove Dec 1, 2024
676bdb7
Fix the grammar
philpursglove Dec 1, 2024
4580214
Merge pull request #72 from philpursglove/add-ahsoka-crew
Baledin Dec 1, 2024
28d59ff
New event/trigger for BeforeDeviceWillBeDropped, allowing for ability…
Baledin Nov 27, 2024
dd8e7da
Added Gina Moonsong: Battle over Endor pilot. All abilities working e…
Baledin Nov 27, 2024
1005085
Merge branch '65-gina-moonsong-battle-over-endor' of https://github.c…
Baledin Dec 2, 2024
920c618
Merge branch 'development' into stable-2.5
Baledin Dec 2, 2024
06e0af1
Update version
Baledin Dec 2, 2024
8d86026
New event/trigger for BeforeDeviceWillBeDropped, allowing for ability…
Baledin Nov 27, 2024
5764cf1
Added Gina Moonsong: Battle over Endor pilot. All abilities working e…
Baledin Nov 27, 2024
fb29138
Merge branch '65-gina-moonsong-battle-over-endor' of https://github.c…
Baledin Dec 2, 2024
da05ded
Gyro-Cockpit bomb ability now works. Added new Combat event, OnGetBom…
Baledin Dec 3, 2024
426672e
Project setting update - version and player settings
Baledin Dec 3, 2024
125f852
Updated Iden Versio image location
Baledin Dec 3, 2024
6f096af
Merge pull request #78 from Baledin/77-iden-versio-inferno-leader-gra…
Baledin Dec 3, 2024
101082b
Added Braylen Stramm, tested abilities with Gina Moonsong
Baledin Dec 4, 2024
7a53ad7
Added Pilot Info and basic AdonFoxAbility (needs to be tested). Parti…
Baledin Dec 4, 2024
1f77b92
AdonFoxAbility set to only trigger once
Baledin Dec 4, 2024
a11c563
Initial pilot ability trigger work. Still WIP
Baledin Dec 6, 2024
8640799
Warthog now references the Warthog ability, instead of the Hawk ability
Baledin Dec 6, 2024
cf39012
Corrected initiative of 7th Sky Corps Pilot
Baledin Dec 6, 2024
544caf2
Merge pull request #87 from Baledin/84-clone-z-95s-w-incorrect-pilot-…
Baledin Dec 6, 2024
541bafe
Merge pull request #86 from Baledin/85-warthog-z-95-non-functional-ab…
Baledin Dec 6, 2024
5b24fa5
Finalized Parting Gift ability
Baledin Dec 8, 2024
1381376
Updated project build settings
Baledin Dec 8, 2024
2d3e86e
Merge branch 'development' of https://github.com/Baledin/FlyCasual in…
Baledin Dec 8, 2024
9f75c65
Merge pull request #80 from Baledin/79-braylen-stramm-battle-over-endor
Baledin Dec 8, 2024
f92bb10
Initial work for Electro-Chaff missiles, cloud and missiles not worki…
Baledin Dec 11, 2024
6c64425
Reverted GenericShipExtra, these can be worked with current triggers …
Baledin Dec 11, 2024
29835bb
RemoveAllTokens callback missing Letter assignment
Baledin Dec 11, 2024
1eb5206
Cleanup - Inlined variables
Baledin Dec 13, 2024
387f3c4
Removed AI skipping ionized ships when determining dials
Baledin Dec 13, 2024
e2bcf68
Added check for valid turn maneuver before adding to bestTurnManeuvers
Baledin Dec 13, 2024
9e3bcaf
Cleanup and added check for all dice already modified before allowing…
Baledin Dec 13, 2024
d66a4c5
Add ability to modify dice result when shooting through obstacles
Baledin Dec 14, 2024
71cdc98
Electro-Chaff Missiles now correctly generate an Electro-Chaff Cloud.…
Baledin Dec 15, 2024
8a1c0ec
Merge pull request #94 from Baledin/92-lone-wolf-ability-triggering-d…
Baledin Dec 16, 2024
dee15ac
Ability message now shows correct pilot name
Baledin Dec 16, 2024
b8aea6a
Create VersionCheck
Baledin Dec 16, 2024
b30ebcb
Merge pull request #88 from Baledin/81-adon-fox-battle-over-endor
Baledin Dec 16, 2024
df2a290
Removed CheckRemoteSettings method as NewYearTree object does not exi…
Baledin Dec 17, 2024
1525640
Added RemoteConfig class to handle connecting to Unity Remote Config …
Baledin Dec 17, 2024
ff77e17
Merge pull request #96 from Baledin/remote-config-updates
Baledin Dec 21, 2024
2e3fce6
Updated ImageUrl of pilot
Baledin Dec 21, 2024
886c8cd
Added defense die for obstructed attacks
Baledin Dec 21, 2024
7cff71b
Merge pull request #90 from Baledin/Electro-Chaff-Missiles
Baledin Dec 21, 2024
3dc28f1
Merge pull request #98 from Baledin/97-sienar-jaemus-test-pilot-missi…
Baledin Dec 21, 2024
17d4e18
Merge pull request #93 from Baledin/91-ai-cannot-handle-being-ionized
Baledin Dec 21, 2024
c43eecd
Set AI to never use Cad Bane's ability to avoid soft-locking the game.
Baledin Dec 24, 2024
d4231c7
Merge pull request #103 from Baledin/102-ai-cannot-use-cad-bane-scum-…
Baledin Dec 26, 2024
cf6875a
Merge pull request #106 from Baledin/development
Baledin Jan 1, 2025
9d1146c
Reset Project Settings
Baledin Jan 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Fly Casual Release Version**
Which version did the bug occur in?

**Online Game Mode**
Yes/No

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Platform/Device (be as specific as possible):**
- OS: [e.g. Windows, Mac, Android]
- Version [e.g. Windows 10, iOS22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
8 changes: 8 additions & 0 deletions Assets/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Editor/RemoteConfig.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Editor/RemoteConfig/Data.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

146 changes: 107 additions & 39 deletions Assets/ImportedAssets/Mirror/Authenticators/BasicAuthenticator.cs
Original file line number Diff line number Diff line change
@@ -1,67 +1,85 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Mirror.Authenticators
{
[AddComponentMenu("Network/Authenticators/BasicAuthenticator")]
[AddComponentMenu("Network/ Authenticators/Basic Authenticator")]
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-authenticators/basic-authenticator")]
public class BasicAuthenticator : NetworkAuthenticator
{
static readonly ILogger logger = LogFactory.GetLogger(typeof(BasicAuthenticator));
[Header("Server Credentials")]
public string serverUsername;
public string serverPassword;

[Header("Custom Properties")]

// set these in the inspector
[Header("Client Credentials")]
public string username;
public string password;

public class AuthRequestMessage : MessageBase
readonly HashSet<NetworkConnection> connectionsPendingDisconnect = new HashSet<NetworkConnection>();

#region Messages

public struct AuthRequestMessage : NetworkMessage
{
// use whatever credentials make sense for your game
// for example, you might want to pass the accessToken if using oauth
public string authUsername;
public string authPassword;
}

public class AuthResponseMessage : MessageBase
public struct AuthResponseMessage : NetworkMessage
{
public byte code;
public string message;
}

#endregion

#region Server

/// <summary>
/// Called on server from StartServer to initialize the Authenticator
/// <para>Server message handlers should be registered in this method.</para>
/// </summary>
public override void OnStartServer()
{
// register a handler for the authentication request we expect from client
NetworkServer.RegisterHandler<AuthRequestMessage>(OnAuthRequestMessage, false);
}

public override void OnStartClient()
/// <summary>
/// Called on server from StopServer to reset the Authenticator
/// <para>Server message handlers should be unregistered in this method.</para>
/// </summary>
public override void OnStopServer()
{
// register a handler for the authentication response we expect from server
NetworkClient.RegisterHandler<AuthResponseMessage>(OnAuthResponseMessage, false);
// unregister the handler for the authentication request
NetworkServer.UnregisterHandler<AuthRequestMessage>();
}

public override void OnServerAuthenticate(NetworkConnection conn)
/// <summary>
/// Called on server from OnServerConnectInternal when a client needs to authenticate
/// </summary>
/// <param name="conn">Connection to client.</param>
public override void OnServerAuthenticate(NetworkConnectionToClient conn)
{
// do nothing...wait for AuthRequestMessage from client
}

public override void OnClientAuthenticate(NetworkConnection conn)
/// <summary>
/// Called on server when the client's AuthRequestMessage arrives
/// </summary>
/// <param name="conn">Connection to client.</param>
/// <param name="msg">The message payload</param>
public void OnAuthRequestMessage(NetworkConnectionToClient conn, AuthRequestMessage msg)
{
AuthRequestMessage authRequestMessage = new AuthRequestMessage
{
authUsername = username,
authPassword = password
};

conn.Send(authRequestMessage);
}
//Debug.Log($"Authentication Request: {msg.authUsername} {msg.authPassword}");

public void OnAuthRequestMessage(NetworkConnection conn, AuthRequestMessage msg)
{
if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "Authentication Request: {0} {1}", msg.authUsername, msg.authPassword);
if (connectionsPendingDisconnect.Contains(conn)) return;

// check the credentials by calling your web server, database table, playfab api, or any method appropriate.
if (msg.authUsername == username && msg.authPassword == password)
if (msg.authUsername == serverUsername && msg.authPassword == serverPassword)
{
// create and send msg to client so it knows to proceed
AuthResponseMessage authResponseMessage = new AuthResponseMessage
Expand All @@ -72,11 +90,13 @@ public void OnAuthRequestMessage(NetworkConnection conn, AuthRequestMessage msg)

conn.Send(authResponseMessage);

// Invoke the event to complete a successful authentication
OnServerAuthenticated.Invoke(conn);
// Accept the successful authentication
ServerAccept(conn);
}
else
{
connectionsPendingDisconnect.Add(conn);

// create and send msg to client so it knows to disconnect
AuthResponseMessage authResponseMessage = new AuthResponseMessage
{
Expand All @@ -90,35 +110,83 @@ public void OnAuthRequestMessage(NetworkConnection conn, AuthRequestMessage msg)
conn.isAuthenticated = false;

// disconnect the client after 1 second so that response message gets delivered
StartCoroutine(DelayedDisconnect(conn, 1));
StartCoroutine(DelayedDisconnect(conn, 1f));
}
}

public IEnumerator DelayedDisconnect(NetworkConnection conn, float waitTime)
IEnumerator DelayedDisconnect(NetworkConnectionToClient conn, float waitTime)
{
yield return new WaitForSeconds(waitTime);
conn.Disconnect();

// Reject the unsuccessful authentication
ServerReject(conn);

yield return null;

// remove conn from pending connections
connectionsPendingDisconnect.Remove(conn);
}

public void OnAuthResponseMessage(NetworkConnection conn, AuthResponseMessage msg)
#endregion

#region Client

/// <summary>
/// Called on client from StartClient to initialize the Authenticator
/// <para>Client message handlers should be registered in this method.</para>
/// </summary>
public override void OnStartClient()
{
// register a handler for the authentication response we expect from server
NetworkClient.RegisterHandler<AuthResponseMessage>(OnAuthResponseMessage, false);
}

/// <summary>
/// Called on client from StopClient to reset the Authenticator
/// <para>Client message handlers should be unregistered in this method.</para>
/// </summary>
public override void OnStopClient()
{
// unregister the handler for the authentication response
NetworkClient.UnregisterHandler<AuthResponseMessage>();
}

/// <summary>
/// Called on client from OnClientConnectInternal when a client needs to authenticate
/// </summary>
public override void OnClientAuthenticate()
{
AuthRequestMessage authRequestMessage = new AuthRequestMessage
{
authUsername = username,
authPassword = password
};

NetworkClient.Send(authRequestMessage);
}

/// <summary>
/// Called on client when the server's AuthResponseMessage arrives
/// </summary>
/// <param name="msg">The message payload</param>
public void OnAuthResponseMessage(AuthResponseMessage msg)
{
if (msg.code == 100)
{
if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "Authentication Response: {0}", msg.message);
//Debug.Log($"Authentication Response: {msg.message}");

// Invoke the event to complete a successful authentication
OnClientAuthenticated.Invoke(conn);
// Authentication has been accepted
ClientAccept();
}
else
{
logger.LogFormat(LogType.Error, "Authentication Response: {0}", msg.message);
Debug.LogError($"Authentication Response: {msg.message}");

// Set this on the client for local reference
conn.isAuthenticated = false;

// disconnect the client
conn.Disconnect();
// Authentication has been rejected
ClientReject();
}
}

#endregion
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading