AMXMODX Admin Limit: Difference between revisions
From Mike Beane's Blog
(Creation of amxmox admin limit page) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Note''': As of 1.8.0 - [http://wiki.alliedmods.net/AMX_Mod_X_1.8.0_Changes#Dynamic_Global_Arrays Admins are now dynamic and not limited to MAX_ADMINS.] | |||
---- | |||
The admin plugin [http://www.amxmodx.org/ AMXMODX] has an upper limit of admins hard coded in the default compiled install package. In order to overcome this limit, perform the following: | The admin plugin [http://www.amxmodx.org/ AMXMODX] has an upper limit of admins hard coded in the default compiled install package. In order to overcome this limit, perform the following: | ||
Line 14: | Line 18: | ||
Here is an example compiled amxmodx v 1.75a [http://www.rabbibob.com/uploads/admin.amxx admin.amxx] file with 256 admin slots. (Right Click and SAVE-AS). | Here is an example compiled amxmodx v 1.75a [http://www.rabbibob.com/uploads/admin.amxx admin.amxx] file with 256 admin slots. (Right Click and SAVE-AS). | ||
[[Category:CounterStrike]] | |||
[[Category:Steam]] | |||
[[Category:Gaming]] | |||
[[Category:Weblog-2007-05]] |
Latest revision as of 10:23, 13 September 2008
Note: As of 1.8.0 - Admins are now dynamic and not limited to MAX_ADMINS.
The admin plugin AMXMODX has an upper limit of admins hard coded in the default compiled install package. In order to overcome this limit, perform the following:
- Download AMXMODX
- Unpack the files
- Open the plugins directory: amxmodx-1.xx-source\amxmodx\plugins
- Open admin.sma in a text editor
- Find the line #define MAX_ADMINS 64
- Change the 64 to a higher value: #define MAX_ADMINS 256
- Close admin.sma
- execute compile.exe
- Each .sma file will be recompiled and put in the amxmodx-1.xx-source\amxmodx\plugins\compiled\ directory
- Copy compiled\admin.amxx to your server's \amxmodx\plugins directory
- Restart the server
Here is an example compiled amxmodx v 1.75a admin.amxx file with 256 admin slots. (Right Click and SAVE-AS).