Skip to content

Commit 19831ae

Browse files
authored
improve MTASA_VERSION_TYPE documentation #2
This change encourages optimal usage by default
1 parent 3b2b8fa commit 19831ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Shared/sdk/version.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
//
44
#pragma once
55

6-
//
7-
// To compile a client for development and debugging purposes:
8-
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_CUSTOM
9-
// 2. Use netc.dll from https://mirror-cdn.multitheftauto.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
106
//
117
// To compile a client for mass consumption by players (releasing your own "MTA fork"):
128
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_UNSTABLE
139
// 2. Use netc.dll from https://mirror-cdn.multitheftauto.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
10+
// Per the above, take note of AC constraints of building a fork (see https://wiki.multitheftauto.com/wiki/Forks)
1411
//
15-
// Per the above, take note of AC constraints of building a custom client or fork (see https://wiki.multitheftauto.com/wiki/Forks)
12+
// To compile a client for development and debugging purposes (e.g to avoid AC kicks for attaching a debugger like WinDbg):
13+
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_CUSTOM
14+
// 2. Use netc.dll from https://mirror-cdn.multitheftauto.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
15+
// Never use 'custom' build type for building a fork: you would change the final "15% AC protection" described at https://wiki.multitheftauto.com/wiki/Forks to only 1%, as netc switches to disable everything in favour of MTA contributors' ability to do things like attach debuggers
1616
//
1717
// To compile a public server (players that use official MTA client can connect, as long you don't introduce incompatible patches):
1818
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_RELEASE
@@ -26,7 +26,7 @@
2626
#define MTASA_VERSION_MAJOR 1
2727
#define MTASA_VERSION_MINOR 5
2828
#define MTASA_VERSION_MAINTENANCE 9
29-
#define MTASA_VERSION_TYPE VERSION_TYPE_CUSTOM
29+
#define MTASA_VERSION_TYPE VERSION_TYPE_UNSTABLE
3030
#define MTASA_VERSION_BUILD 0
3131

3232
#include "../build_overrides.h"

0 commit comments

Comments
 (0)