Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FiveM -> Ped comms #9

Merged
merged 3 commits into from
May 18, 2024
Merged

Add FiveM -> Ped comms #9

merged 3 commits into from
May 18, 2024

Conversation

MickMelon
Copy link
Owner

Adds an ASP.NET Core server running on the FiveM server. Exposing a REST API to allow the agents to communicate with FiveM via Semantic Kernel.

I did attempt to use a gRPC server but there were numerous issues. First was that cannot use Grpc.AspNetCore due to the FiveM server running on .NET Standard 2.0. Second was difficulties using Grpc.Core which seems to be to do with the library trying to load things from the GAC but the FiveM sandbox environment does not have access to this.

Almost pivoted to use TypeScript/Node for the FiveM server but ultimately decided against it to avoid having to switch between languages. A REST API is simple enough and does the job anyway.

@MickMelon MickMelon merged commit ea5c7ab into main May 18, 2024
1 check passed
@MickMelon MickMelon deleted the grpc branch May 18, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant