Jump to content

How I can listen to game data between the game and the AI?


ramtzok1
 Share

Recommended Posts

The game can host a simple http server. You can see how it’s done for the profiler. Which is hosted to provide live feedback.

You might be able to use a similiar concept. In this case, running from AIManager.

Edited by Guest
Link to comment
Share on other sites

On 12/11/2018 at 9:50 PM, (-_-) said:

The game can host a simple http server. You can see how it’s done for the profiler. Which hosts one to provide live feedback.

You might be able to use a similiar concept. In this case, running from AIManager.

Making this will be a problem because then I can't call to functions in my AI to Python or vice versa.

Flask making it easy for me to make a Python server dedicated to that purpose.

Link to comment
Share on other sites

1 minute ago, ramtzok1 said:

Making this will be a problem because then I can't call to functions in my AI to Python or vice versa.

Flask making it easy for me to make a Python server dedicated to that purpose.

Well if both servers make API requests to each other it will work :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...