Commit Graph

  • d39e3405bb Added packets folder for the packet-service until I automate generation at build time world-manager raven 2025-07-23 13:59:08 -04:00
  • f10cac3794 Did some code clean-up Added TODOs for some changes that need to be made raven 2025-07-23 13:52:50 -04:00
  • 9fcd1741de Updated chat handler to use the MessageType enum values instead of numbers Added local_id tracking for the packet service Added mob spawning packet in response to game logic events (only for a NearbyUpdate event right now) raven 2025-07-22 00:23:56 -04:00
  • da6d7518e5 Updated how we handle client ids in the world service and logic service Implemented the bidirectional comms stream between the world service and game logic service raven 2025-07-22 00:21:28 -04:00
  • a20a44fd29 Added SaveCharacter and UpdateSession function stubs Updated proto message type names to better match usage Fixed compile errors due to type name changes raven 2025-07-22 00:17:32 -04:00
  • 2d423b0ad3 Updated chat service to use session id instead of client id raven 2025-07-22 00:14:02 -04:00
  • 7cac892c2a Fixed typo raven 2025-07-22 00:12:53 -04:00
  • 66b11b92ea Added Cargo.lock raven 2025-07-22 00:10:07 -04:00
  • d906cd8d64 Tons of fixes raven 2025-06-25 12:30:07 -04:00
  • f75782885b Added initial game logic service raven 2025-06-24 14:10:27 -04:00
  • 4c91fe3557 Updated map ids in Kubernetes World service will create logic instance with a log level that can be adjusted at runtime raven 2025-06-24 14:09:26 -04:00
  • 72949da095 Character service now only returns items that are equipped when getting the character list Updated inventory items to match what the client is expecting (Header, Data) raven 2025-06-24 14:07:01 -04:00
  • 69bbafa60a Fixed issue where deleted characters would never go inactive raven 2025-06-24 14:04:20 -04:00
  • 87b233d366 Updated Common Item data proto raven 2025-06-10 14:24:56 -04:00
  • 6f18b53913 Updated world service to become a manager of game logic instances for each map. raven 2025-06-08 16:04:50 -04:00
  • 9088c04bc8 More debug messages Fixed typo main raven 2025-06-07 03:04:37 -04:00
  • ddc84f1027 Fixed issue with deleting characters throwing an error for incorrect typing raven 2025-06-07 00:44:46 -04:00
  • 6107950bd9 Fixed issue with deleting characters throwing an error raven 2025-06-07 00:36:32 -04:00
  • aa2be43f4e Refactor raven 2025-06-07 00:36:02 -04:00
  • d4dadf5170 Merge pull request 'documentation, unit-tests, chat service' (#12) from documentation-and-unit-tests into main raven 2025-06-06 17:54:09 -04:00
  • ad6ba2c8e6 More work. raven 2025-06-06 17:52:29 -04:00
  • 85d41c0239 Fixed Readme Flow Typo raven 2025-04-09 13:39:43 -04:00
  • a8755bd3de Add comprehensive documentation and unit tests raven 2025-04-09 13:29:38 -04:00
  • 50cc39c6a2 - add: version checking starter launcher_version_checking RavenX8 2025-03-25 21:22:52 -04:00
  • d47d5f44b1 - add: Not hardcoded object tag for the user when switching to the in game map raven 2025-03-21 23:24:32 -04:00
  • 9e984d2aa8 - add: Refresh Session call to actually refresh the cache session. raven 2025-03-21 23:23:38 -04:00
  • 4046f56191 - removed: api-service - removed: session-service - updated: moved health check out of consul registration - updated: get service info to pull the service from the default namespace for the service account - updated: the rest of the services to be able to handle the new database tables raven 2025-03-20 22:53:49 -04:00
  • b9ebdd7080 - updated: logging setup to allow extra crates to be passed in for logging raven 2025-03-20 22:50:59 -04:00
  • 6a2711bdc1 - update: charts to be able to set the service account. raven 2025-03-20 22:49:42 -04:00
  • 0cfacd8935 - update: charts to make more sense in what the settings do raven 2025-03-20 17:30:21 -04:00
  • 98b8d412e7 - update: logging system to only show logs from the app and not any 3rd party dependencies raven 2025-03-19 02:13:02 -04:00
  • 03cef8e526 - update: network type for both api and packet service to be LoadBalancer instead of being the defaul ClusterIP raven 2025-03-18 12:46:37 -04:00
  • 3c6d74405f - removed: unused imports - removed: unused volume and mounts raven 2025-03-18 11:58:26 -04:00
  • 89a1e93dc3 - update: service port env variable to just be named service_port raven 2025-03-18 11:57:39 -04:00
  • 8e39c42046 - fix: unable to find a kubernetes service raven 2025-03-18 11:56:56 -04:00
  • f4bc414ebd - update: code update to use kube api instead of consul raven 2025-03-18 02:00:11 -04:00
  • 4734b7560a Merge branch 'consul_services_update' into helm raven 2025-03-18 00:12:25 -04:00
  • e28219c8b7 - update: auto generate the database url using the saved secret raven 2025-03-18 00:11:08 -04:00
  • eebf5c58e0 - add: helm chart - add: python script for building and pushing the containers raven 2025-03-17 23:59:33 -04:00
  • 6a8ea2521a - add: logout route to api service RavenX8 2025-03-12 22:16:57 -04:00
  • f353a73658 - update: characters cache key lifetime raven 2025-03-17 21:51:09 -04:00
  • cf9efc9866 - update: auth system to work with the website auth RavenX8 2025-03-16 01:35:44 -04:00
  • cbd71d1ab1 - add: logout route to api service RavenX8 2025-03-12 22:16:57 -04:00
  • cdf7bb3f15 - update: tell consul to use docker dns to resolve CNAME addresses - add: load balancer for consul services - update: dns lookup to now return the service address - update: docker consul to the latest version raven 2025-03-12 15:39:45 -04:00
  • 81068759e5 - update: docker compose to add custom networks - add: get service endpoints by using consul dns RavenX8 2025-03-10 06:09:26 -04:00
  • ae04d2bf5b - add: gRPC health check for gRPC services RavenX8 2025-03-10 03:56:47 -04:00
  • d583ca1228 - update: default skills are set by the character service, not the database service raven 2025-03-09 18:39:19 -04:00
  • 14c6aa485a - add: redis cache refresh function sets the ttl for a key - update: session service refresh session function now just updates the ttl of the session instead of calling set RavenX8 2025-03-09 17:08:56 -04:00
  • 0dc69bcfcf - add: metrics exporting RavenX8 2025-03-09 17:05:14 -04:00
  • c4d3da1f94 - fix: formatting for packet routing RavenX8 2025-03-09 17:04:13 -04:00
  • 90e4346f6d - add: rustfmt max_width set RavenX8 2025-03-09 17:03:12 -04:00
  • dfd98e96d2 - add: money is now sent with the character data sent to the client RavenX8 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 RavenX8 2025-03-08 13:47:53 -05:00
  • b6f2d3f456 - chore: ran cargo fix on the codebase raven 2025-03-07 21:03:15 -05:00
  • 3b789d0fd4 - fix: Dockerfile build errors for newer rust version RavenX8 2025-03-07 20:01:17 -05:00
  • c0e8dba715 - update: imports - add: cache and cache data for docker-compose.yml raven 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 raven 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 raven 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 raven 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 RavenX8 2025-01-28 22:48:11 -05:00
  • 09c10efb46 - update: equipped item list to use the constant instead of a "magic" number raven 2025-01-28 17:31:44 -05:00
  • c85c769646 - remove: unused dependencies from database service raven 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 raven 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 RavenX8 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 RavenX8 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 raven 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 raven 2025-01-08 02:03:27 -05:00
  • 584892ab97 - fix: compile issue on windows due to incorrect signal handling function call RavenX8 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 raven 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 raven 2025-01-07 13:41:07 -05:00
  • c6c502fd8a - remove: duplicated data entries in the character db schema raven 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 raven 2025-01-05 22:49:55 -05:00
  • f8243fe68c - fix: character service to compile issues with new packet structure raven 2025-01-05 22:17:12 -05:00
  • 2153583813 - update: item_list type changed to a fixed array in character list reply raven 2025-01-05 20:57:13 -05:00
  • 2ef85f85db - update: NullTerminatedString now derives Clone and Default raven 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 raven 2025-01-05 17:18:05 -05:00
  • b01432501c - update: character service grpc protocol additions for create, delete and get character with stubs raven 2025-01-05 17:16:02 -05:00
  • 7417d2d6dd - update: grpc character db api now includes getting the character list raven 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 raven 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 raven 2024-12-27 19:04:54 -05:00
  • 17f653c629 - update: packet server character handler - add: character grpc client interface to packet service raven 2024-12-27 19:00:06 -05:00
  • f99fda9e1a - add: character service grpc server impl for getting the character list raven 2024-12-27 18:58:45 -05:00
  • bdc2384f12 - update: character.proto to return character list raven 2024-12-27 18:57:47 -05:00
  • 0bf8fd9bee - add: handlers for character create/delete/select raven 2024-12-21 18:30:05 -05:00
  • c40293e354 - update: character id type in connection state to match the client raven 2024-12-21 18:28:15 -05:00
  • 7c8e5a52c6 - fix: panic on network client disconnect before actually logging in raven 2024-12-21 18:27:34 -05:00
  • f55ca79410 - add: join server handler - add: validate session function to validate the session status raven 2024-12-21 15:39:51 -05:00
  • 069a471bbb - fix: incorrect packet ids for Join Server Token req and reply raven 2024-12-21 15:37:30 -05:00
  • 7698cb95ff - update: docker compose will now restart the service on failure raven 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 raven 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 raven 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 raven 2024-12-20 17:46:04 -05:00
  • e0114fd832 - add: get_connection_mut function to allow modifying the connection state raven 2024-12-20 17:44:22 -05:00
  • e3fb186a44 - fix: when shutting down a docker container, the services would not deregister from consul correctly raven 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 raven 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 raven 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) raven 2024-12-20 14:38:25 -05:00
  • 9e530c2d55 - fix: issue compiling due to sqlx::query! throwing error on windows RavenX8 2024-12-18 12:44:28 -05:00
  • a444fa4558 - fix: launcher not passing args properly raven 2024-12-18 12:15:44 -05:00
  • 9735b59598 - fix: consul.json file encoding raven 2024-12-18 01:05:03 -05:00