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

32 Commits

Author SHA1 Message Date
NG (Graham)
7ff04923c4 Add a login message as seen at work 2026-07-11 20:48:30 -04:00
MaxSignal
13f9da827d small fixes related to docker 2026-04-09 11:04:39 +00:00
NG (Graham)
b9a6fae1e0 Fix release run.sh for rc_microtransactions 2026-02-14 12:45:55 -05:00
NG (Graham)
de8d5531b1 Rename factory_web to rc_factory_web, make built-in factory the default 2026-02-14 11:48:38 -05:00
NG (Graham)
ce59840bc6 Add another login message 2026-01-20 20:30:01 -05:00
MaxSignal
a7b10421d8 Filter out broken part IDs 2026-01-18 21:54:24 +00:00
NG (Graham)
f2896509ba Clippy tweaks for latest PR and multiplayer fixes 2026-01-15 18:56:30 -05:00
NG (Graham)
ae091a7666 Refactor rc_microtransactions to use actix-web, remove rocket dependency 2026-01-01 10:39:46 -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)
f36cc5b2b3 Use exec for long-running part of run scripts 2025-12-07 17:26:09 -05:00
NG (Graham)
5fc8b9a571 Update build config, add riscv build script 2025-10-03 18:08:50 -04:00
NG (Graham)
c9f9d146e8 Add version info chat command 2025-09-14 12:23:46 -04:00
NG (Graham)
c85d4bbc38 Add pit spawn points #34 2025-09-13 17:36:35 -04:00
NG (Graham)
e33a499415 Update shield and natural regen defaults 2025-09-09 20:29:10 -04:00
NG (Graham)
a694ee5f5f Fix total users chat command, add help command 2025-09-09 18:15:54 -04:00
NG (Graham)
79f8341adc Refactor multiplayer message handling into smaller functions 2025-09-06 11:03:39 -04:00
NG (Graham)
a721aac418 Fix reading vertical_top_speed for movement data in config, rebalance movement to 2025 stats 2025-08-17 10:50:55 -04:00
NG (Graham)
690815b554 Configure for v0.4.0 cycle 2025-08-11 20:50:44 -04:00
NG (Graham)
6fdb13b446 Fix some packaging issues 2025-08-03 21:47:25 -04:00
NG (Graham)
1a17fa0f3a Add another dev message 2025-07-31 18:29:28 -04:00
NG (Graham)
22dd57bd84 Add x64 linux packaging, improve default run.sh gen for load balancing servers 2025-06-06 17:57:37 -04:00
NG (Graham)
78c1ad2ee5 Add some build tooling 2025-06-05 21:20:53 -04:00
NG (Graham)
34b41eff9c Fix game mode switching countdown (which was the only thing really wrong with #15) 2025-05-27 18:32:02 -04:00
NG (Graham)
4f0bcde7d8 Move chat system into core, merge configs, save to database 2025-05-23 16:47:09 -04:00
NG (Graham)
b83a23c115 Fix variant generation 2025-05-23 16:47:09 -04:00
NG (Graham)
a94d545858 Fix modules crashing simulation when in a weapon slot, fix some movement placements #17 2025-05-19 17:17:09 -04:00
NGnius (Graham)
792a6362e3 Implement basic chat functionality 2025-04-14 21:17:41 -04:00
NGnius (Graham)
a540cf6d8f Load more config data from files (instead of hardcoded) 2025-03-30 17:54:06 -04:00
NGnius (Graham)
610f54e236 Get campaign mode working, fix health/damage config 2025-03-29 22:08:08 -04:00
NGnius (Graham)
ec565e904b Get test mode working, complete #12 2025-03-15 17:21:18 -04:00
NGnius (Graham)
6fd4d673ca Make edit mode usable; complete #11 2025-03-15 11:03:35 -04:00
NGnius (Graham)
9b87b25131 Implement loading of cube data from JSON file 2025-03-09 16:28:03 -04:00