dfd98e96d2
- add: money is now sent with the character data sent to the client
2025-03-09 13:53:26 -04:00
8ba8fce20b
- update: schema now sets the skills column to prevent a crash
...
- update: frontend to only pass the session id
- update: launcher to pass the session correctly
- update: validate session response now returns the session id and user id to the requester
- update: auth client based on session id instead of a jwt token
2025-03-08 13:47:53 -05:00
b6f2d3f456
- chore: ran cargo fix on the codebase
2025-03-07 21:03:15 -05:00
3b789d0fd4
- fix: Dockerfile build errors for newer rust version
2025-03-07 20:01:17 -05:00
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
c85c769646
- remove: unused dependencies from database service
2025-01-28 17:31:01 -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
8c108ceeeb
- fix: issue where you could login if you had a valid token but an invalid session
2025-01-08 12:37:17 -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
584892ab97
- fix: compile issue on windows due to incorrect signal handling function call
2025-01-07 23:48:23 -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
c6c502fd8a
- remove: duplicated data entries in the character db schema
2025-01-07 13:38:48 -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
2ef85f85db
- update: NullTerminatedString now derives Clone and Default
2025-01-05 20:56:32 -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
b01432501c
- update: character service grpc protocol additions for create, delete and get character with stubs
2025-01-05 17:16:02 -05:00
7417d2d6dd
- update: grpc character db api now includes getting the character list
2025-01-05 17:09:28 -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
f99fda9e1a
- add: character service grpc server impl for getting the character list
2024-12-27 18:58:45 -05:00
bdc2384f12
- update: character.proto to return character list
2024-12-27 18:57:47 -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
7698cb95ff
- update: docker compose will now restart the service on failure
2024-12-21 13:23:44 -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
9d9e2bef05
- add: session_id to the validate token response
...
- add: session_id to the jwt generated token
2024-12-20 17:46:54 -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
07e991fbdc
- add: function to get the service id if already ran, if not we now generate then store the id for future app runs (useful for docker containers)
2024-12-20 14:38:25 -05:00
9e530c2d55
- fix: issue compiling due to sqlx::query! throwing error on windows
2024-12-18 12:44:28 -05:00
a444fa4558
- fix: launcher not passing args properly
2024-12-18 12:15:44 -05:00
9735b59598
- fix: consul.json file encoding
2024-12-18 01:05:03 -05:00
fd358d3c27
- update: docker-compose.yml
...
- update: Register page to have better error feedback
2024-12-17 21:38:33 -05:00