1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00
Commit Graph

241 Commits

Author SHA1 Message Date
NG (Graham)
50eb3f471e Fix empty factory cube amounts causing incorrect CPU display 2026-01-04 16:05:13 -05:00
NG (Graham)
901bf76e19 Save CRF rating garage state and consider CRF purchase price #70 2026-01-04 16:04:30 -05:00
NG (Graham)
0e68730996 Stop rating request popup after every match 2026-01-03 17:39:10 -05:00
NG (Graham)
30d1ab20e9 Add experimental multiplayer loading timeout 2026-01-03 17:36:55 -05:00
NG (Graham)
cba0feaf03 Fix multiplayer on_new_connection crash from misconfigured clients 2026-01-03 15:59:08 -05:00
NG (Graham)
2f826835dc Refactor item purchase logic into core, implement promo codes #70 2026-01-03 11:19:24 -05:00
NG (Graham)
2c6ef3edbe Grant first sign-up all permissions 2026-01-01 22:06:37 -05:00
NG (Graham)
495701d886 Re-add a good way to disable factory uploading 2026-01-01 21:25:24 -05:00
NG (Graham)
3aadbb91ba Implement item shop #70 2026-01-01 20:34:12 -05:00
NG (Graham)
83843377d7 Fix display of items in garage customization and item shop 2026-01-01 15:45:13 -05:00
NG (Graham)
ae091a7666 Refactor rc_microtransactions to use actix-web, remove rocket dependency 2026-01-01 10:39:46 -05:00
NG (Graham)
2293edec9d Make rank and level use some saner scales 2026-01-01 08:51:33 -05:00
NG (Graham)
782d28efec Add singleplayer and campaign rewards screens #70 2026-01-01 08:07:32 -05:00
NG (Graham)
4ec64a9cd9 Add basic currency support and plumb multiplayer rewards screen #70 2025-12-28 18:13:14 -05:00
NG (Graham)
5e05cbdb59 Add server-side chat command to grant account permissions in-game 2025-12-26 20:49:39 -05:00
NG (Graham)
7f187dcb98 Fix clippy warnings in validation and chat logic 2025-12-26 16:16:23 -05:00
NG (Graham)
36100a34c4 Set version to v1.1.0 and update dependencies 2025-12-22 19:40:34 -05:00
NG (Graham)
d9f24e1859 Make username and email capitalization agnostic 2025-12-21 10:40:08 -05:00
NG (Graham)
5fd1767111 Make room names capitalization agnostic 2025-12-21 10:24:32 -05:00
NG (Graham)
ba21f77743 Remove heal assist log info message, rename 2025-12-20 22:03:53 -05:00
NG (Graham)
f4539c9c32 Don't trigger equalizer when bases are too low 2025-12-20 21:53:47 -05:00
NG (Graham)
4297622aa9 Implement healing events; fix #63 2025-12-20 21:52:38 -05:00
NG (Graham)
838508ca66 Fix tier enumeration in weapon select event 2025-12-20 20:38:33 -05:00
NG (Graham)
e648f7832d Fix capture progress bar not showing up after point is contested; fix #57 2025-12-16 23:04:32 -05:00
NG (Graham)
274f68f223 Mitigate #59 with validation warning and reduce motion packets 2025-12-16 20:22:46 -05:00
NG (Graham)
08bce9155b Fix broadcast chat command; fix #67 2025-12-14 20:36:05 -05:00
MaxSignal
c22a74e9fd Remove filtering by the buyable (#65)
### Description

The buyable flag is never disabled anywhere in the game, and if this flag is set to 0, the robot won’t be shown on the CRF at all—so I think we should remove it.

### Game

_No response_

### Please confirm

- [x] I am the legal owner or represent the owner of all work submitted
- [x] I consent to my submission being added to this FOSS project
- [ ] This PR used LLMs to generate some or all of the code changes

Reviewed-on: https://git.ngram.ca/OpenJam/rc-servers/pulls/65
Co-authored-by: MaxSignal <kastera58@gmail.com>
Co-committed-by: MaxSignal <kastera58@gmail.com>
2025-12-14 16:48:53 +00:00
NG (Graham)
ff796396e3 Fix crash on point capture caused by counting fix, fix #66 2025-12-14 11:38:16 -05:00
NG (Graham)
f6f6e1f127 Add intercom functionality for setting factory thumbnails 2025-12-13 16:23:18 -05:00
MaxSignal
aedec62b8d Implementing upload functionality for ArcAdapter and improving CRF search. (#62)
### Description

This PR implements upload functionality for ArcAdapter and improves CRF search.

adapter.rs

First, regarding the CRF search feature, when there is no search query (i.e., on the default page), there was a bug where sorting by added date and other sort options did not work correctly, so the default query was removed. Also, the added-date sort order was reversed, so that was fixed as well.

Next, about the upload feature.

First, in order to create cube_amounts, which stores in JSON the count of each part of the robot contained at the end of the ROBOT_CUBES table, we count—by type—the number of all byte sequences (part IDs) excluding the first 4 bytes (total part count) and excluding the last 4 bytes (coordinates) out of each following 8 bytes, and then create a JSON string where the keys are the part IDs converted to decimal and the values are the counts.

After that, we insert Base64-encoded data into cube_data and colour_data in ROBOT_CUBES, and insert the above JSON string into cube_amounts.

Next, regarding ROBOT_METADATA, the thumbnail URL is set to the internal CDN, and the actual thumbnail data is saved under data/robocraft/thumbnails.

The added date and expiration date are converted to match the same format as the other data before insertion, and the other data is inserted as-is.

arc.rs

If the requested file is not present in the ZIP file, it was changed to scan the JPG files existing in data/robocraft/thumbnails.

package_release.py

Made it so that data/robocraft/thumbnails is created.

### Game

Robocraft

### Please confirm

- [x] I am the legal owner or represent the owner of all work submitted
- [x] I consent to my submission being added to this FOSS project
- [x] This PR used LLMs to generate some or all of the code changes

Reviewed-on: https://git.ngram.ca/OpenJam/rc-servers/pulls/62
Co-authored-by: MaxSignal <kastera58@gmail.com>
Co-committed-by: MaxSignal <kastera58@gmail.com>
2025-12-13 19:23:07 +00:00
NG (Graham)
0f9f67e5a9 Update owned point count on capture 2025-12-11 21:19:48 -05:00
NG (Graham)
29b5490f86 Count all owned points first so shield isn't dropped half way through the counting/capturing 2025-12-11 20:59:44 -05:00
NG (Graham)
f36cc5b2b3 Use exec for long-running part of run scripts 2025-12-07 17:26:09 -05:00
NG (Graham)
69e6772b84 Update release archive names to reflect repo name v1.0.0 2025-12-06 11:22:23 -05:00
NG (Graham)
44d1203811 Demote user load progress message to debug 2025-12-06 10:50:02 -05:00
NG (Graham)
41cdcb9735 Reset game match rotation for release 2025-12-06 10:49:27 -05:00
NG (Graham)
8a12c59a16 Skip sending win/lose messages to ClientAIs in more cases 2025-12-06 10:47:51 -05:00
NG (Graham)
5137163146 Update multiplayer to literustlib v0.3 2025-12-06 10:38:00 -05:00
NG (Graham)
a5485881e8 Set lifetime premium duration to 365 days [sic]; fix #56 2025-12-03 17:11:21 -05:00
NG (Graham)
687f8dabbe Use resolvable vehicles in campaign mode instead of raw cube data 2025-12-02 17:08:42 -05:00
NG (Graham)
b58af3d893 Set version to 1.0.0 2025-11-30 22:08:40 -05:00
NG (Graham)
c21d727440 Retrieve most recent match that player is in instead of oldest; fix maybe #52 2025-11-30 21:52:29 -05:00
NG (Graham)
b1ecb87c96 Add more logging for #52 2025-11-30 21:49:01 -05:00
NG (Graham)
09563c9239 Fix reactor height in Mars3; fix #51 2025-11-16 15:10:47 -05:00
NG (Graham)
cd82502576 Update dependencies 2025-11-16 15:10:47 -05:00
NG (Graham)
dfc0cc351b Always skip sending to aliased connections (client AIs) #48 2025-11-16 15:10:47 -05:00
NG (Graham)
8d5f835497 Add standard favicon endpoint 2025-11-16 15:10:47 -05:00
MaxSignal
4bdb0ad1d0 Use IndexMap instead of HashMap in CubeConfig 2025-11-13 16:08:58 +00:00
NG (Graham)
2583429af8 Add status reporting to auth server 2025-11-03 19:24:20 -05:00
NG (Graham)
7579963893 Upgrade to libfj v0.9 2025-11-03 19:16:03 -05:00