v1.0.1 changes #11

Manually merged
Raven merged 54 commits from betterauth into main 2025-03-21 23:36:08 -04:00
Owner

This PR is bigger then I wanted it to be. The reason being is that I had merged 3 different branches down into this one branch.

Anyway, on to the changes.

Character system is now implemented. closes #4, #5 and #6
Moved from consul to Kubernetes #9 #10
Updated the auth system to now use the tables that better-auth creates for the web site frontend. This allows us to implement two-factor auth onto accounts.
Also implemented the initial packets for getting into the map and walking around. Will need to change this later to have the world service handle the responses as right now the packet service just builds and sends data directly to the client.

This PR is bigger then I wanted it to be. The reason being is that I had merged 3 different branches down into this one branch. Anyway, on to the changes. Character system is now implemented. closes #4, #5 and #6 Moved from consul to Kubernetes #9 #10 Updated the auth system to now use the tables that better-auth creates for the web site frontend. This allows us to implement two-factor auth onto accounts. Also implemented the initial packets for getting into the map and walking around. Will need to change this later to have the world service handle the responses as right now the packet service just builds and sends data directly to the client.
Raven added 54 commits 2025-03-21 23:34:04 -04:00
- update: character select list builds the equipped item list dynamically
- fix: windows compile issue due to exposed unix signal
- add: character db client to allow the character service to talk to the database service
- update: character.proto to make character data shared
- 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
- 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
- add: character data response when a character is requested from the service
- update: max packet size to match client
- add: change map handler
- update: logout handler to send the reply packet
- update: character id list change from u8 to u32
- update: docker volume to persist the registered service IDs
- update: consul service id function to store the service id in the services folder
- update: made changes for new proto paths
- add: skills to character table
- add: load and send skills to client from db
- add: chat proto
- add: cache and cache data for docker-compose.yml
- 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
- update: session service refresh session function now just updates the ttl of the session instead of calling set
- add: get service endpoints by using consul dns
- add: load balancer for consul services
- update: dns lookup to now return the service address
- update: docker consul to the latest version
- add: python script for building and pushing the containers
- removed: unused volume and mounts
- 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 manually merged commit d47d5f44b1 into main 2025-03-21 23:36:08 -04:00
Raven deleted branch betterauth 2025-03-22 13:13:06 -04:00
Sign in to join this conversation.