Thanks to Knoxville101
Knoxville101 for explaining to me when the bug occurred.
Description :
This plugin fixes a bug created by some mappers who copied the mdl from the original flag and simply changed the textures which results in you changing the flags on all the official maps that you play after this map.
When does the bug occur? :
If you are on your server on an official map and you put a buggy map, you will not have the problem. You leave this map running on your server, you quit dod:s, you launch dod:s, you connect to the server and there you see the modified flags, you put an official map and you still have the modified flags.
Is there a list of bugged maps? :
Not really, Knoxville101 has600 maps on its server and it has around sixty bugged maps.
Here is the start of a list he gave me so I could test the plugin:
PHP Code:
dod_len_place_b3
ar_4_towers
ar_agency
ar_byre
ar_dust_strip
ar_lumberyard
ar_badlands
ar_bank_d3
ar_cobblestone_courtyard
ar_office
ar_poolstay
ar_safehouse_lake
ar_safehouse_r2a
ar_shoots
ar_stmarc
ar_stmarc_r3
dod_killingfieldz_snow_rc4
dod_killingfieldz_syp_rc69
etc...
Facilities :
1. Download files.
2. Upload files to server :
[PHP]dod/addons/sourcemod/plugins/dod_fix_keep_flag.smx
dod/addons/sourcemod/scripting/dod_fix_keep_flag.sp
dod/materials/models/mapmodels/flags2/alliedflag.vmt
dod/materials/models/mapmodels/flags2/alliedflag.vtf
dod/materials/models/mapmodels/flags2/axisflag.vmt
dod/materials/models/mapmodels/flags2/axisflag.vtf
dod/materials/models/mapmodels/flags2/britflag.vmt
dod/materials/models/mapmodels/flags2/britflag.vtf
dod/materials/models/mapmodels/flags2/neutralflag.vmt
dod/materials/models/mapmodels/flags2/neutralflag.vtf
dod/models/mapmodels/flags2.dx80.vtx
dod/models/mapmodels/flags2.dx90.vtx
dod/models/mapmodels/flags2.mdl
dod/models/mapmodels/flags2.sw.vtx
dod/models/mapmodels/flags2.vvd
[PHP]
3. Update your FastDownload.
4. Change map, and it's ok.
Important :
Don't forget to update your FastDownload otherwise players will not be able to download the files.
Changelog :
Plugin 1.0
Have fun... ;-)