Bara / fuckZones

17 stars 9 forks source link

Not saving the config for workshop maps #80

Closed Sarrus1 closed 3 years ago

Sarrus1 commented 3 years ago

Hello,

First of all thanks for this plugin. However, the configs are not generated for workshop maps. When I load a regular map (de_mirage for example), the file de_mirage.zon gets generated and zones are added when I create them. But when I do the same with a workshop map, it doesn't work. I've even tried to create the .zon file myself, but it still won't read from the file. I don't get any error. Here is the output when reloading the plugin on a workshop map:

L 12/04/2020 - 15:25:22: [fuckzones.smx] Creating keyvalues for the new map before pulling new map zones info.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Config doesn't exist, creating new zones config for the map: workshop/863326885/mg_super_tow
L 12/04/2020 - 15:25:22: [fuckzones.smx] New config successfully loaded.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Deleting current zones map configuration from memory.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Creating keyvalues for the new map before pulling new map zones info.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Config doesn't exist, creating new zones config for the map: workshop/863326885/mg_super_tow
L 12/04/2020 - 15:25:22: [fuckzones.smx] New config successfully loaded.
[SM] Plugin fuckZones - Core reloaded successfully.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Successfully parsed 7 colors for zones.
L 12/04/2020 - 15:25:22: [fuckzones.smx] Spawning all zones...
L 12/04/2020 - 15:25:22: [fuckzones.smx] Zones have been spawned.
L 12/04/2020 - 15:25:22: rcon from "82.121.206.71:56583": command "sm plugins reload fuckzones"

It says that the zones are being created but nothing happens

Thanks in advance!

Sarrus1 commented 3 years ago

This is fixed here.