Commit Graph

48 Commits

Author SHA256 Message Date
c0e8dba715 - update: imports
- add: cache and cache data for docker-compose.yml
2025-03-04 14:01:22 -05:00
4f28e92685 - update: proto files and code referencing them to make it more clear what service they are 2025-02-27 22:42:54 -05:00
a9a6c52b00 - update: proto files to move common stuff into common proto files
- update: made changes for new proto paths
- add: skills to character table
- add: load and send skills to client from db
- add: chat proto
2025-02-27 22:11:17 -05:00
292a298205 - update: grab version info to register from the cargo package
- update: docker volume to persist the registered service IDs
- update: consul service id function to store the service id in the services folder
2025-01-29 14:25:53 -05:00
b5e16f0bef - add: mouse cmd packet handling
- add: change map handler
- update: logout handler to send the reply packet
- update: character id list change from u8 to u32
2025-01-28 22:48:11 -05:00
09c10efb46 - update: equipped item list to use the constant instead of a "magic" number 2025-01-28 17:31:44 -05:00
743743ceb6 - update: docker base containers to use alpine. This drops the final containers from ~100mb to ~17mb 2025-01-28 17:30:28 -05:00
f4a421b7cb - fix: no longer fail to parse packet if multiple were received in one read call
- update: max packet size to match client
2025-01-08 12:36:27 -05:00
32fe2d65a7 - add: select character now actually sends the character data to the client
- add: character data response when a character is requested from the service
2025-01-08 03:46:08 -05:00
6d35d15ac3 - add: ability to refresh the current session
- add: delete type to delete character request
- add: ability to update key in redis
- add: handle alive packet to refresh the session
- fix: delete now actually returns the time remaining correctly
- fix: character list now has the correct time until character deletion
2025-01-08 02:03:27 -05:00
db868cc1ac - add: Character service now loads the data from the database and sends it in the character list packet
- add: character id list to the connection state for tracking the real character database id's for when the client requests actions on the character
- fix: sql error when trying to create a character
2025-01-07 22:16:47 -05:00
cb6ee657f0 - add: Character service can now actually create a character correctly in the database
- add: character db client to allow the character service to talk to the database service
- update: character.proto to make character data shared
2025-01-07 13:41:07 -05:00
9f63a5fd3a - update: moved signal handler into utils crate to make it easier to update
- fix: windows compile issue due to exposed unix signal
2025-01-05 22:49:55 -05:00
f8243fe68c - fix: character service to compile issues with new packet structure 2025-01-05 22:17:12 -05:00
2153583813 - update: item_list type changed to a fixed array in character list reply 2025-01-05 20:57:13 -05:00
fb8f9cccf4 - update: function calls to character service in the packet service now actually use the call the correct requests
- update: character select list builds the equipped item list dynamically
2025-01-05 17:18:05 -05:00
4a826d2a46 - update: packet router to have the various services needed for the packets to be local to it.
- add: character service grpc client calls
2025-01-04 17:45:54 -05:00
00468e9600 - update: generate_service_id function call now takes in the service name so the id file isn't always called utils_service_id.txt 2024-12-27 19:04:54 -05:00
17f653c629 - update: packet server character handler
- add: character grpc client interface to packet service
2024-12-27 19:00:06 -05:00
0bf8fd9bee - add: handlers for character create/delete/select 2024-12-21 18:30:05 -05:00
c40293e354 - update: character id type in connection state to match the client 2024-12-21 18:28:15 -05:00
7c8e5a52c6 - fix: panic on network client disconnect before actually logging in 2024-12-21 18:27:34 -05:00
f55ca79410 - add: join server handler
- add: validate session function to validate the session status
2024-12-21 15:39:51 -05:00
069a471bbb - fix: incorrect packet ids for Join Server Token req and reply 2024-12-21 15:37:30 -05:00
754522b080 - update: Dockerfile layer reordering to speed up build times and lower image space needed
- add: .dockerignore file to reduce file transfers and remove unneeded files in image
2024-12-21 13:10:37 -05:00
0777bd4605 - fix: user_id and session id were not being saved in the state correctly
- add: server and channel id to connection state
2024-12-20 17:48:02 -05:00
e0114fd832 - add: get_connection_mut function to allow modifying the connection state 2024-12-20 17:44:22 -05:00
e3fb186a44 - fix: when shutting down a docker container, the services would not deregister from consul correctly 2024-12-20 17:42:50 -05:00
18afa71d74 - add: logout grpc function
- add: logout packet handler
- add: connection state and service for storing connection data
- add: session service calls to auth-service
- fix: compile error on database service due to moved redis cache
2024-12-20 14:46:00 -05:00
3c1f8c40d6 - add: session-service
- move: redis_cache from database service to utils so it can be reused
- update: redis_cache set function to allow creating a key without a lifetime
- update: services to use the new get_or_generate_service_id function
2024-12-20 14:43:25 -05:00
aaa7143b11 - update: health check status output to health log 2024-12-17 20:03:12 -05:00
7194eb88fa - fix: docker libssl in slim image
- fix: api service default rest api address and port was incorrect
- update: database service to use dedicated function for running the health check api
2024-12-14 05:54:32 -05:00
c17d498b93 - fix: docker containers would fail to load libssl3
- add: missing character service docker file
2024-12-14 05:31:33 -05:00
e179b3b995 - add: Dockerfile for building docker containers 2024-12-14 04:13:34 -05:00
697231965b - update: default listen address is now set to 0.0.0.0 2024-12-14 04:13:02 -05:00
4c7a363814 - update: services now bind to the LISTEN address env instead of the service address (allows the ability to listen on 0.0.0.0 while the service address could be the external address) 2024-12-14 01:53:47 -05:00
e6f78128a7 - add: new token login and join server packet 2024-12-14 00:20:55 -05:00
444e69294c - move: null string to utils 2024-12-13 14:32:07 -05:00
38ea2ddb71 - add: handle channel list request
- add: handle server select request
- add: handle character list request stub
- add: start health check function for consul
2024-12-13 04:40:07 -05:00
1220d7a031 - update: HotbarItem struct to remove unnecessary internal structures. We will never use the union members
- update: structs in types.rs to be public
2024-12-10 20:58:40 -05:00
9121b7f88b - add: consul tags and metadata
- update: login reply now requests for the character services from consul to build the server list
2024-12-10 15:46:13 -05:00
a7af7f1b9e - update: service discovery now supports retrieving multiple service nodes 2024-12-10 13:51:30 -05:00
13d4b45859 - add: uuid to generate service id for consul
- update: each service now generates a service id for registering with consul
2024-12-10 13:31:35 -05:00
f847ec0896 - add: login via token
- update: login request packet uses token login instead of user & pass
2024-12-10 12:04:04 -05:00
e5c961d1b4 - add: utils library
- add: packet-service to handle game client packets
- fix: health check for database-service
- fix: health check for auth-service
2024-12-09 23:10:26 -05:00
20e86dd117 - remove: unnecessary return in route_packet 2024-11-26 13:18:32 -05:00
889fde4636 - add: missing call to dotenv
- remove: unreachable code in route_packet
2024-11-26 13:17:27 -05:00
47899d47cd - add: virtual workspace
- add: start of packet-service
2024-11-26 13:16:20 -05:00