Warning! The method below applies only to the process of upgrading MTA:SA server from version 1.1.1 to 1.2.
It does not apply to the upgrade from 1.0.5 or 1.1 to 1.2. If you own such a server and wish to upgrade to 1.2, please contact us.
In order to upgrade your server from version 1.1.1 to 1.2 correctly, you need to follow the steps below:
1) Log in to the GameCP Control Panel, shutdown your server and go to Manage Add-ons option from the list near your server, then use Update to MTASA 1.2 Addon.
2) Now you need to edit your server configuration file - mtaserver.conf:
a) Find and replace lines:
Kod: <!-- This parameter specifies what types of checks the clients should make to ensure there has
been no tampering with certain settings.
Values: 0 - disabled , -1 - everything. default value: -1. -->
<verifyclientsettings>-1</verifyclientsettings>
to:
Kod: <!-- By default, the server will block the use of customized GTA:SA data files. -->
<!-- To allow specific client files, add one or more of the following: -->
<!-- <client_file name="data/handling.cfg" verify="0"/> -->
b) Find lines:
Kod: <!-- Comma seperated list of disabled anti-cheats.
e.g. To disable anti-cheat #2 and #3, use: 2,3 -->
<disableac></disableac>
and add below following lines:
Kod: <!-- Comma seperated list of enabled special detections.
A special detection is a type of anti-cheat for (usually) harmless game modifications.
Competitive servers may wish to enable special detections, but most servers should leave this setting blank.
e.g. To enable special detection #12 use: 12 -->
<enablesd></enablesd>
<!-- This parameter specifies whether communications between the server and client is encrypted.
Encryption can help prevent network data being viewed and modified.
Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
<networkencryption>1</networkencryption>
c) Find lines:
Kod: <!-- This parameter reduces the server's bandwidth usage by using various optimizations.
Values: none, medium or maximum ; default value: medium -->
<bandwidth_reduction>medium</bandwidth_reduction>
and add below following lines:
Kod: <!-- This parameter specifies whether or not to run the network synchronization on another thread.
Enabling will make the sync smoother, but may increase cpu usage slightly.
Values: 0 - Off, 1 - On. Default - 1 -->
<threadnet>1</threadnet>
d) Find lines:
Kod: <!-- As well as the main log file, login successes and failures are logged here for easy reviewing of security issues.
If left blank, this file is not used -->
<authfile>logs/server_auth.log</authfile>
and add below following lines:
Kod: <!-- Specifies the location and name of the file used to log database queries.
The server command 'debugdb' sets the amount of logging. -->
<dbfile>logs/db.log</dbfile>
e) Find lines:
Kod: <!-- Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings.
If not set, MTA handles this automatically. Use with care. -->
<!-- <voice_bitrate>24600</voice_bitrate> -->
and add below following lines:
Kod: <!-- This parameter specifies the path to use for a basic backup of some server files.
Note that basic backups are only made during server startup. Default value: backups -->
<backup_path>backups</backup_path>
<!-- This parameter specifies the number of days between each basic backup.
Backups are only made during server startup, so the actual interval maybe much longer.
Setting backup_interval to 0 will disable backups
Available range: 0 to 30. Default - 3 -->
<backup_interval>3</backup_interval>
<!-- This parameter specifies the maximum number of backup copies to keep.
Setting backup_copies to 0 will disable backups
Available range: 0 to 100. Default - 5 -->
<backup_copies>5</backup_copies>
Save the file after applying above changes.
3) Now edit the Access Control List configuration file - acl.xml:
a) At the end of Default section ( acl name="Default" , after the line:
4) Update your resources - you can either use the automated Addon for that if you use the standard resources package, or do it manually, by going to code.google.com/p/mtasa-resources/downloads/list , downloading the package for 1.2, and uploading and updating the resources you use.
5) Start the server.
6) If you are using the FastDownload feature, you need to update the resource cache in there as well.
7) Done. The server should be updated correctly.
Published: 22-12-2011 10:40
Last edited: 22-12-2011 11:03
Related articles:
If you found this article useful, you might also want to read these articles: