Commit Graph

1116 Commits

Author SHA1 Message Date
fcf5c5ea8a Resolve compiler errors 2023-05-09 00:06:26 -07:00
6c2312fe87 Implement page fetching 2023-05-08 19:59:10 -07:00
d98ad4b94f Implement leaderboard page offsets 2023-05-08 19:35:19 -07:00
5c086909ed Ready for implementation 2023-05-08 18:36:28 -07:00
1c7ac93d4b Fix various bugs and make code cleaner.
Still have work to go.
2023-05-08 03:55:10 -07:00
0f307ac4be Fix bugs
- Reinforce Query formatting
- Guarantee 11 rows are selected at a time by ranking by id, should there be more than an 11 way tie.
2023-05-08 02:46:55 -07:00
bc518be654 Bug fixes and cleanup
Fix co-pilot induced column bugs
Fix insert/update statements
Added saving functionality
Added update clause for column
2023-05-07 04:09:10 -07:00
820b375c50 push 2023-05-07 00:31:38 -07:00
3b8f18d2be Fix new lines 2023-05-05 21:33:30 -07:00
0faef7d791 Finished saving 2023-05-04 16:53:36 -07:00
28a0492201 Fix bugs 2023-05-04 14:48:26 -07:00
2ab995b9c3 Simplify snprintfs
so much better to read
2023-05-04 14:28:53 -07:00
8de528e77c Remove old code 2023-05-04 13:58:48 -07:00
a3626a3b53 The query is supposed to get SMALLER
Still better than 9 different queries all with 1 minor change i guess.
2023-05-03 00:38:38 -07:00
b5e3bd22e3 Merge remote-tracking branch 'upstream/main' into first-draft-leaderboard-re-write 2023-05-02 15:49:23 -07:00
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
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
2f919d101f Fix bad lot comparison in AG Jet Effect Server (#1063) 2023-05-02 03:27:16 -07:00
48264e2cf4 push 2023-04-30 21:30:41 -07:00
10a2c24d5e Add base MyStandings query 2023-04-26 02:10:57 -07:00
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
de1ddd3125 Merge pull request #1019 from EmosewaMC/inventoryTypeCorrections
Correct incorrect inventory types
2023-04-23 12:49:43 +02:00
58951dced0 Remove all need for a local ugc server (#1054) 2023-04-22 12:32:32 -07:00
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
89f427ace0 Further work on leaderboards 2023-04-18 01:26:35 -07:00
da6ca82ae2 add missing overrides (#1060) 2023-04-18 01:40:33 -05:00
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
08220d6852 Remove extra includes 2023-04-17 15:22:44 -07:00
42870028e4 Remove complex migration
Only shooting gallery had a value put in the wrong column.  All others were either already correct or unimplemented.
2023-04-17 15:19:13 -07:00
fbfa778d3d Patch ghosting exclusions (#1059) 2023-04-17 14:19:26 -05:00
fcb088d263 Further work on leaderboards
- Modularize tests
- Add migrations
- Fix switch case so it actually breaks
- Add in missing writes
- Beginning work on custom migration to move the leaderboard to the final state
2023-04-17 01:16:23 -07:00
ed2639ce4e Use inline functions 2023-04-14 01:32:52 -07:00
41355cea58 Add remaining enum types 2023-04-13 21:55:09 -07:00
c91f0d16b3 Get it compiling, add a test and optimize heavily 2023-04-13 00:45:03 -07:00
c02963013b first draft 2023-04-12 21:57:58 -07:00
4734996c7c Resolve most compiler warnings (#1053) 2023-04-12 11:48:20 -05:00
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
9c721abebb Merge pull request #1050 from DarkflameUniverse/pickup-scripts
Implements all the pickup scripts
2023-04-12 16:19:13 +02:00
268155fc98 Fix more invisible enemy issues (#1052) 2023-04-11 00:42:12 -07:00
d2d075ef52 remove debug log 2023-04-09 13:50:26 -05:00
09e9bb2c15 fix scripts
split speed out to use target as caster
fix armor skill
2023-04-09 13:21:57 -05:00
bed269ffbe Merge branch 'main' into pickup-scripts 2023-04-09 12:11:54 -05:00
2cf92a16d2 Add scripts for a few wild creatures (#1051)
ignore frog script
2023-04-09 10:17:05 -05:00
87e36aaf72 remove log 2023-04-09 09:40:57 -05:00
172b398b7b fix consolidation
add speed buff
2023-04-09 09:38:56 -05:00
5cdff8bcaf Simplify
tested that things still work as intended
2023-04-09 08:54:14 -05:00
9e4de544a6 fix 2023-04-09 01:10:23 -05:00
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
33f9e9c8cb Allow case insensitive commands (#1047) 2023-04-08 15:45:45 -05:00
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