Jump to content
  • 0

how to run 2 MTA SA instances on 1 computer


repenz

Question

Posted

I'm trying to test multiple scripts that require other players. I'm attempting to connect to the same localhost server using two MTA instances, but I cannot do it.

I tried using a sandbox and a virtual machine, but it still didn't work. The VM does launch MTA and shows a different serial than my actual one. However, when I connect to a server using the VM version of MTA and then try to connect again from my main computer, it says the serial is already in use. This means I can't proceed with testing.

Is there anything that actually works, please?
 

1 answer to this question

Recommended Posts

  • 0
Posted

Since you are testing on localhost, the easiest way is to disable the serial verification in your server settings so it allows you to connect twice.

You can do this by opening your mtaserver.conf file, finding the <disableac> tag, and adding the anti-cheat codes there to turn them off for local testing.

If you still want to use the Virtual Machine, the reason you are getting the serial error is likely your network settings. Make sure your VM network adapter is set to "Bridged" instead of "NAT". This will give the VM its own local IP address on your router, separating it from your main PC.

I am not sure if this is allowed in MTA, but I was just testing it on my own server out of curiosity.

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