Raised This Month: $51 Target: $400
 12% 

[DoD:S] Fix to keep original flag


Post New Thread Reply   
 
Thread Tools Display Modes
Author
micmacx
Member
Join Date: May 2021
Plugin ID:
8627
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    This plugin fixes a bug for flags.
    Old 01-28-2024 , 23:38   [DoD:S] Fix to keep original flag
    Reply With Quote #1

    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... ;-)
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_fix_keep_flag.sp - 44 views - 2.9 KB)
    File Type: zip fix_keep_flag.zip (290.2 KB, 22 views)
    __________________

    Last edited by micmacx; 01-28-2024 at 23:40.
    micmacx is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 13:09.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode