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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...