Aaron Kimbrell
739eae5244
feature: Implement FallSpeedBehavior ( #1084 )
...
* Hacky FallSpeedBehavior
* Fixup
* Make it more robust like speedboost
add check for default
Fix error in GetActiveSpeedboosts
* simplify and address feedback
2023-05-13 09:30:59 -05:00
Gie "Max" Vanommeslaeghe
07803a7ca2
Merge pull request #1085 from DarkflameUniverse/issue-436
...
fix: not exiting shooting gallery when clicking activity close button
2023-05-13 14:11:16 +02:00
Gie "Max" Vanommeslaeghe
61ae619886
Merge pull request #1032 from EmosewaMC/FixWingreaper
...
Fix Wingreaper birds not moving
2023-05-13 14:04:37 +02:00
Gie "Max" Vanommeslaeghe
8a8006bee5
Merge pull request #1088 from EmosewaMC/movingPlatformsFix
...
Fix deserialization errors for MovingPlatforms
2023-05-13 14:03:24 +02:00
David Markowitz
c5afd7d4a3
Fix deserialization errors for MovingPlatforms
...
- Fixes deserialization errors for MovingPlatforms that did not have an attached_path, but had a MovingPlatform component >= id 0.
2023-05-13 04:04:15 -07:00
Aaron Kimbre
a809f36548
Address feedback
2023-05-11 09:23:48 -05:00
Aaron Kimbrell
0e01948414
Define comp 103 as Gate Rush Control comp ( #1078 )
...
Fix typo in 115
2023-05-11 06:54:41 -05:00
Aaron Kimbrell
6e6a05fc1d
fix: prevent negative imagination ( #1083 )
...
* fix: prevent negative imagination
And fail switch if we don't have enough imagination
* Make better
2023-05-11 06:37:02 -05:00
Aaron Kimbre
5af5b0f1c1
fix: not exiting shooting gallery when clicking activity close button
...
Fixes #436
Fixes crash when replaying as well
2023-05-10 19:26:04 -05:00
Aaron Kimbrell
bf0ae6f181
fix: add check for arg nums on handlepushobject ( #1081 )
2023-05-10 07:44:21 -05:00
Aaron Kimbrell
b1cd2776fa
fix: make exiting the race work ( #1082 )
2023-05-10 04:05:56 -05:00
Aaron Kimbrell
4ff5afd9f7
Fix race exit dialogue always exiting ( #1077 )
...
Fixes #1048
Tested that closing the dialog via esc, the x in the top right, or the big red x doesn't exit the race
Tested that the green check button does exit the race
2023-05-09 00:40:00 -05:00
David Markowitz
ce931c2cfe
Fix erroneous GM message ID ( #1076 )
2023-05-09 00:39:43 -05:00
David Markowitz
7aad6e4bc2
Make header skips more obvious ( #1074 )
...
* Make header skips more obvious
seeing inStream.Read(LWOOBJID) is much less clear than a macro which very clearly skips the header.
* Formatting pass
2023-05-08 06:31:10 -05:00
Gie "Max" Vanommeslaeghe
64a947e338
Merge pull request #1069 from EmosewaMC/NullChecks
...
Add more null checks and split out code
2023-05-08 12:10:58 +02:00
Aaron Kimbrell
8ceabadcde
Removed some hardcoded logic for racing ( #1075 )
...
Including return world and what activity ID to use for rewards
2023-05-08 04:38:08 -05:00
David Markowitz
7e61638595
Reinforce PacketUtils writing ( #1073 )
...
Ensure the correct size is written to the bitstream. It is always supposed to write 64 bits.
2023-05-06 23:45:07 -07:00
David Markowitz
33c12f3bc5
Fix bounds check ( #1071 )
...
Fix Chat Crash
Update CMakeVariables.txt
Add checks for all servers
2023-05-06 13:32:53 -05:00
David Markowitz
7949907517
Fix bounds check ( #1070 )
2023-05-06 13:32:46 -05:00
David Markowitz
cffb1449d8
Add better logs to saving ( #1068 )
...
* Fix overread in projectile behavior
* Fix stuns
* Correctly read in bitStream
* Fix projectile behavior
* Address movement type issues
* Update shutdown time to be accurate
* Fix small issues
* Fix missing template
* Add note for compile jobs
* Add bounds check for speed division
* Add better logs
2023-05-06 13:32:38 -05:00
Aaron Kimbrell
5479cf4428
Fix typing of some player flag variables ( #1067 )
...
Mainly on properties
Tested that the spider queen mission can now be progressed
2023-05-06 13:32:26 -05:00
David Markowitz
df3265c82e
Add more null checks and split out code
...
Makes crash logs more apparent for what stage they crashed in for the engine updating.
2023-05-05 23:31:30 -07:00
Aaron Kimbrell
e297aacc68
Breakout message identifiers ( #1065 )
...
and make them scope enums
2023-05-03 16:38:32 -05:00
Aaron Kimbrell
c17b5fa586
prevent ressurecting with more than max stats ( #1064 )
...
for health and imagination
2023-05-03 01:31:50 -05:00
Aaron Kimbrell
6aa90ad5b2
Breakout rest of the enums from dCommonVars and clean it up ( #1061 )
...
* Breakout rest of the enums from dcommonvars
so we don't have to deal with merge conflicts
ePlayerFlags is not a scoped enum, yet, due to it's complexity
* address feedback
* make player flag types consistent
* fix typo
2023-05-02 17:39:21 -05:00
David Markowitz
e8590a5853
Add tests for LDF parsing and serialization. Cleanup LDF ( #1062 )
...
* Add tests and cleanup LDF header
Also implements a speedup by using overloaded operators to put numbers directly to a stream as opposed to doing to_string first.
Stage 2 of re-write
Reduce scoping
Add further optimizations
Fix more edge cases
Split out tests to many smaller ones
Use EXPECT_NO_THROW
Add edge cases to test
Added these first with the before to confirm they failed, and now will be adding the remaining fixes needed to make the tests pass.
Add edge case testing for LDF strings
Add further tests
Use characters instead of char*
Update AMFDeserializeTests.cpp
Add null tests
* Add Test Fixture for dCommon
* Add speed test
* Convert to using string_view
* Add explanation on early return
* Remove "testing" code
2023-05-02 17:19:20 -05:00
Aaron Kimbrell
2f919d101f
Fix bad lot comparison in AG Jet Effect Server ( #1063 )
2023-05-02 03:27:16 -07:00
Aaron Kimbrell
4976701f37
breakout object bits into scoped enum ( #997 )
...
* breakout object bits into enum class
tested that things still work as expected
use the inplace set bits where appropiate
* add inline
2023-04-25 13:17:40 -05:00
Gie "Max" Vanommeslaeghe
de1ddd3125
Merge pull request #1019 from EmosewaMC/inventoryTypeCorrections
...
Correct incorrect inventory types
2023-04-23 12:49:43 +02:00
David Markowitz
58951dced0
Remove all need for a local ugc server ( #1054 )
2023-04-22 12:32:32 -07:00
Aaron Kimbrell
2e284eb2ce
Implement Timer handlers in triggers and ontimerdone trigger event ( #1031 )
...
* Works, but AOE is broken
* Address Feedback
* fix typo
2023-04-18 12:48:03 -05:00
David Markowitz
da6ca82ae2
add missing overrides ( #1060 )
2023-04-18 01:40:33 -05:00
Aaron Kimbrell
f60ea40acc
Add random end of race behavior ( #1056 )
...
* randominze between 0 and 7 inclusive
for the different animation types
* Make the end behavior deterministic unpon loading
So that all players see the same animations for each other
2023-04-18 01:40:20 -05:00
David Markowitz
fbfa778d3d
Patch ghosting exclusions ( #1059 )
2023-04-17 14:19:26 -05:00
David Markowitz
4734996c7c
Resolve most compiler warnings ( #1053 )
2023-04-12 11:48:20 -05:00
Aaron Kimbrell
ce51438bc8
Implement some scripts for alpha FV ( #1049 )
...
* Implement maelstrom fog for alpha FV
add OnOffCollisionPhantom call to cppscripts
Add physics shape for gas blocking volume
* Add Ninja Sensie Script for alpha FV
and migration
* Fix private var casing
* And ninja wild scripts
they keep making me add more things
* address feedback
---------
Co-authored-by: Gie "Max" Vanommeslaeghe <gievanom@hotmail.com>
2023-04-12 11:46:31 -05:00
Gie "Max" Vanommeslaeghe
9c721abebb
Merge pull request #1050 from DarkflameUniverse/pickup-scripts
...
Implements all the pickup scripts
2023-04-12 16:19:13 +02:00
David Markowitz
308d56968a
Use epsilon comparison
2023-04-11 22:25:02 -07:00
David Markowitz
268155fc98
Fix more invisible enemy issues ( #1052 )
2023-04-11 00:42:12 -07:00
Aaron Kimbre
d2d075ef52
remove debug log
2023-04-09 13:50:26 -05:00
Aaron Kimbre
09e9bb2c15
fix scripts
...
split speed out to use target as caster
fix armor skill
2023-04-09 13:21:57 -05:00
Aaron Kimbre
bed269ffbe
Merge branch 'main' into pickup-scripts
2023-04-09 12:11:54 -05:00
Aaron Kimbrell
2cf92a16d2
Add scripts for a few wild creatures ( #1051 )
...
ignore frog script
2023-04-09 10:17:05 -05:00
Aaron Kimbre
87e36aaf72
remove log
2023-04-09 09:40:57 -05:00
Aaron Kimbre
172b398b7b
fix consolidation
...
add speed buff
2023-04-09 09:38:56 -05:00
Aaron Kimbre
5cdff8bcaf
Simplify
...
tested that things still work as intended
2023-04-09 08:54:14 -05:00
Aaron Kimbre
9e4de544a6
fix
2023-04-09 01:10:23 -05:00
Aaron Kimbre
37fe935a3a
Implements all the old pickup scripts
...
Testsed to make sure they work
Tested to make sure existing script works still
killing it immedialtely is live accurate, the timer was not accurate
2023-04-08 22:07:25 -05:00
David Markowitz
33f9e9c8cb
Allow case insensitive commands ( #1047 )
2023-04-08 15:45:45 -05:00
David Markowitz
541250176c
Resolve many issues with invisible enemies and End Behavior nodes not firing ( #1044 )
...
* Finall fix invisible enemies
* Add garbage collection
* Add comment
* Add constexpr for lagFrames
2023-04-05 08:57:47 -05:00