Jump to content

Export Game Data to External Program


Recommended Posts

Does anyone know how I may be able to read player locations and speed from another program? I thought I could print the locations to the MTA Server console window and use some Windows API functions to read the data into an array but this approach is a lot more difficult than I thought (I'm not a very advanced programmer!).

Can I make the server window a child of my main C++ program and then just call std io functions? If I monitor key presses to the console window will I see the server "typing" to the console?

Thanks,

Whiskey

Link to comment

I realise that. I would like some help in deciding whether I can read the characters from the console window using some Windows API functions or do I need to implement some sort of network sharing. I am trying to read the console directly as this seemed the most straight forward approach. I am currently writing a little test script to discover if I can GetConsoleInput.

If someone can let me know if I'm wasting my time and speed up my progress I would be eternally grateful!

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...