AMPTemplates icon indicating copy to clipboard operation
AMPTemplates copied to clipboard

Multi Theft Auto: San Andreas

Open whomadeit420 opened this issue 1 year ago • 5 comments

Game Title: Multi Theft Auto: San Andreas How to obtain: https://multitheftauto.com/ Suppoted OSs: Windows, Linux Supports RCON/Console input? Yes I confirm:

[x] that I have searched for an existing module request for this application. [x] that the server is an official server distributed by the games publishers/developers. [x] that the server is available to the general public. [x] that the server can be run headless (without a GUI). [] I have already attempted to create a configuration myself using the configuration tool

whomadeit420 avatar Jul 30 '24 21:07 whomadeit420

Working draft in my dev branch for Linux. Console output is being buffered in AMP, needs LinuxBufferedConsole fixed. Not configured for Windows yet as it needs an installer run to install the server, but I can't find any info on running that non-interactive/headless

Greelan avatar Jul 31 '24 21:07 Greelan

Working draft in my dev branch for Linux. Console output is being buffered in AMP, needs LinuxBufferedConsole fixed. Not configured for Windows yet as it needs an installer run to install the server, but I can't find any info on running that non-interactive/headless

I went to test, When starting the original files are not in resources that include webadmin etc which is needed, I get this when running without it: [22:51:32] Starting resources... [22:51:32] ERROR: Couldn't find resource admin. Check it exists. [22:51:32] ERROR: Couldn't find resource defaultstats. Check it exists. [22:51:32] ERROR: Couldn't find resource helpmanager. Check it exists. [22:51:32] ERROR: Couldn't find resource joinquit. Check it exists. [22:51:32] ERROR: Couldn't find resource mapcycler. Check it exists. [22:51:32] ERROR: Couldn't find resource mapmanager. Check it exists. [22:51:32] ERROR: Couldn't find resource parachute. Check it exists. [22:51:32] ERROR: Couldn't find resource performancebrowser. Check it exists. [22:51:32] ERROR: Couldn't find resource ipb. Check it exists. [22:51:32] ERROR: Couldn't find resource reload. Check it exists. [22:51:32] ERROR: Couldn't find resource resourcebrowser. Check it exists. [22:51:32] ERROR: Couldn't find resource resourcemanager. Check it exists. [22:51:32] ERROR: Couldn't find resource scoreboard. Check it exists. [22:51:32] ERROR: Couldn't find resource spawnmanager. Check it exists. [22:51:32] ERROR: Couldn't find resource voice. Check it exists. [22:51:32] ERROR: Couldn't find resource votemanager. Check it exists. [22:51:32] ERROR: Couldn't find resource webadmin. Check it exists. [22:51:32] ERROR: Couldn't find resource play. Check it exists. [22:51:32] Authorized serial account protection is enabled for the ACL group(s): Admin See http://mtasa.com/authserial [22:51:32] Server started and is ready to accept connections! [22:51:32] To stop the server, type 'shutdown' or press Ctrl-C [22:51:32] Type 'help' for a list of commands. [22:51:33] Querying MTA master server... success! (Auto detected IP:xxx.xxx.xxx.xxx.xxx.xxx) [22:55:53] SHUTDOWN: Got shutdown command from Console (No reason specified) [22:55:54] Server stopped! [22:55:54] Stopping resources...

I have went and enabled the: Install Default Resources If enabled, the default MTA:SA resources will be installed when the server is updated

And still recieve the same issue. There should be about 178 Resources and the settings.xml should have information within I believe.

whomadeit420 avatar Jul 31 '24 23:07 whomadeit420

Also windows is no issue, linux is our chosen OS so thanks I will help in any possible way to make this as easy as possible to complete.

whomadeit420 avatar Jul 31 '24 23:07 whomadeit420

Wasn't sure whether the default resources should be installed by default. The wiki suggested they were optional. Happy to hardwire that to always install if appropriate.

Enabling the UI setting and updating worked fine for me.

I will add the rest of the mtaserver.conf settings eventually but I want the console fixed first.

I've asked in the MTA discord about headless windows installs

Greelan avatar Jul 31 '24 23:07 Greelan

[00:01:36] Resource 'runcode' requests some acl rights. Use the command 'aclrequest list runcode'

whomadeit420 avatar Aug 01 '24 00:08 whomadeit420