Jump to content

Virtual client


Recommended Posts

Hi.
Has anyone tried to create a virtual client? For example: a spectator from a server.
My task is to call the client function from the server when there are no players on it.
I could only think of a bot, but for this you need to be constantly connected to the server.
How can I create such a virtual client with MTA tools?

Link to comment

What kind of client function do you need? Client functions mostly require a client because it doesn't make sense to run them unless there is a game client with rendering. There may exist workarounds on the server side for certain functions (such as isElementOnScreen is possible to calculate on the server given a camera position, rotation, fov, clipping start and clipping end, etc.), while others are impossible without a full client (such as collecting a dxScreenSource screenshot) and nonsensical (e.g. drawing dx, CEGUI etc without a client to look at it).

Link to comment
  • Moderators

Not possible unless you are actually running gta san on your server. Which I am not sure if virtual machines go that far. You are still missing that gpu after all.

An extra home pc maybe? Which you can control with the server.

 

 

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...