This plugin stopped working correctly for me. Server Build 6027 + AMXX 1.8.3-dev+4968
Issues:
1. Some newly added spawns might not save.
2. Number of spawns might decrease after saving. If you add more spawns, there is a chance that after saving and reloading the map, some default map spawns will go away.
3. It doesn't disable properly. After exiting the menu and using amx_spawn_editor 0 on console, the models that represent the spawns won't go away.
4. After enabling it with amx_spawn_editor 1 for the first time, everytime you use the cvar again (Either 1 or 0), it will say unknown command in console.
5. Clear T/CT Spawns is bugged and won't function at all, spawns won't be removed.
6. Certain options might crash the server (Not sure yet)
7. If you bind amx_editor_menu, using it after the menu was already opened is guaranteed server crash.
Plugin is pretty much broken and won't work at all. I used it for about 4 years along with AMXX 1.8.2 and had no issues whatsoever.
I think this issue is on AMXX 1.8.3 because some other plugins have similar issues with "find_ent_by_class" such as BlockMaker 4 and Just Capture the Flag but these plugins still work whereas Map Spawn Editor is totally unusable.
I also tried fixing the language file and adding a text to MENU_EXIT in the [NL] section of the lang file as Arkshine suggested, but the problem still persists so i assume this a different issue to the one that New.ZM.Life had.
PHP Code:
L 12/23/2015 - 05:24:13: [ENGINE] Invalid entity 98
L 12/23/2015 - 05:24:13: [AMXX] Run time error 10 (plugin "map_spawns_editor.amxx") (native "find_ent_by_class") - debug not enabled!
L 12/23/2015 - 05:24:13: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
PHP Code:
L 12/23/2015 - 05:48:54: [ENGINE] Invalid entity 97
L 12/23/2015 - 05:48:54: [AMXX] Displaying debug trace (plugin "map_spawns_editor.amxx", version "1.0.16")
L 12/23/2015 - 05:48:54: [AMXX] Run time error 10: native error (native "find_ent_by_class")
L 12/23/2015 - 05:48:54: [AMXX] [0] map_spawns_editor.sma::Clear_AllEdit (line 580)
L 12/23/2015 - 05:48:54: [AMXX] [1] map_spawns_editor.sma::event_restartgame (line 507)
Invalid Entities number range from 90s to 120s. The problem persists in other functions and different lines of the code.
PHP Code:
[1] map_spawns_editor.sma::editor_onoff (line 153)
[1] map_spawns_editor.sma::m_MainHandler (line 372)
[1] map_spawns_editor.sma::event_restartgame (line 507)