AMX Map Handler
1 Attachment(s)
Adding and removing maps from your server has never been this easy.
With AMX Map Handler you just put the maps into your server and don't have to worry about editing mapcycle.txt or maps.ini, since this is done automatically. List of features: * Autoupdates maps.ini (remove a map from /maps/ and after next mapchange maps.ini will be updated accordingly. Move it back and any description you gave the map will still be there. * Command to generate mapcycle to any file, like mapcycle.txt :-) * amx_listmaps command to list maps in "amx_help" page printing style (amx_mh_page is a cvar that tells how many maps should be displayed on each page). It completely replaces the client "listmaps" command (which can overflow the client!), and also works on server console. * amx_randommap chooses a random map and changes to it * NEW in 0.5: listmaps command now also takes wildcards, so you can display all maps consisting of the wildcard like this: Quote:
|
Code:
Code:
|
hmm will not compile:
/home/users/amxmodx/tmp/phpDT65To.sma(1) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(2) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(3) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(4) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(5) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(113) : error 008: must be a constant expression; assumed zero /home/users/amxmodx/tmp/phpDT65To.sma(618) : error 035: argument type mismatch (argument 1) /home/users/amxmodx/tmp/phpDT65To.sma(651) : error 035: argument type mismatch (argument 1) /home/users/amxmodx/tmp/phpDT65To.sma(665) : error 035: argument type mismatch (argument 1) /home/users/amxmodx/tmp/phpDT65To.sma(666) : error 035: argument type mismatch (argument 2) 10 Errors. Same errors when I compile with sc on my machine |
Hmm yes it doesn't compile with 2.1 compiler, you have to use the 2.4 one... I should probably change that back.
2.1 doesnt like this: #define SOMEDEFINE "ofastringlikeapath.ini" but works in 2.4... |
but we don't use sc 2.4 anymore
|
shall you use it in next release of AMXX?
|
no
|
Ok that's it Im switching back to old compiler...
Quote:
well that file is an internal data file (not for editing) but Ill move it anyway. I guess the vault.ini file is not for editing either, but still it is in configs... However I guess we cannot tell scripters where they want to keep their data files that aren't part of default AMXX setup. Update: Fixed, new version up. |
Next problem, is it my server?
Pluging loads but getting this in the server console: [AMX Map Handler] DEBUG - Initing [AMX Map Handler] Found 62 valid maps in server. [AMX] Starting dump of maps... [AMX] Successfully wrote 42656 lines to 'addons/amxx/configs/maps.ini'. when you go into the maps.ini all that it has is the map name not the description that AMXX need for the meny system. Plus as you keep on changelevel it just adds to the list. Thi is what my map.ini looks like after 3 maps changes: as_oilrig as_oilrig as_oilrig cs_arabstreets cs_arabstreets cs_arabstreets cs_assault cs_assault cs_assault cs_assault2k cs_assault2k cs_assault2k ... |
That looks really odd, I have no idea why it does that.
What is your OS etc? |
All times are GMT -4. The time now is 07:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.