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

[L4D2][WIN] Modelprecache Resize


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
6750
Plugin Version:
0.0.0
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to resize the modelprecache table
    Old 10-07-2019 , 23:40   [L4D2][WIN] Modelprecache Resize
    Reply With Quote #1

    Description
    - Perhaps this plugin will fix the map c1m3_mall
    - It is also perhaps to use a larger number of models on the map

    Note
    - Currently only windows is supported
    - The table changes size only after the second load!!!
    - If the plugin is useless most likely I will have to remove it
    - I can't test this plugin but I hope you will have the opportunity
    Attached Files
    File Type: txt DataTable.txt (336 Bytes, 358 views)
    File Type: sp Get Plugin or Get Source (Modelprecache Resize.sp - 742 views - 529 Bytes)
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 10-08-2019 , 21:41   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #2

    This could also be used to fix some of the custom campaigns like Questionable Ethics and the 3rd and 4th maps of Suicide Blitz 2. Let's test if this works.

    Edit: I just saw the source code and I might be wrong after I say this cuz I'm not that deep into memory patching yet but aren't you supposed to store 0x30 instead of just 30?

    Last edited by cravenge; 10-08-2019 at 22:18.
    cravenge is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 10-08-2019 , 23:44   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #3

    Quote:
    Originally Posted by cravenge View Post
    This could also be used to fix some of the custom campaigns like Questionable Ethics and the 3rd and 4th maps of Suicide Blitz 2. Let's test if this works.

    Edit: I just saw the source code and I might be wrong after I say this cuz I'm not that deep into memory patching yet but aren't you supposed to store 0x30 instead of just 30?
    If you do this, the maximum number of strings in the table will be about ~12000 with this number the player may not be able to join the server but I can't test it so made just 30 instead of 0x30.
    __________________
    cry

    Last edited by BHaType; 10-08-2019 at 23:44.
    BHaType is offline
    Send a message via AIM to BHaType
    user2000
    Member
    Join Date: Nov 2015
    Location: Peru - Lima
    Old 10-09-2019 , 11:52   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #4

    I've tried it several times on the c1m3 mall map and I had no problems ..

    I think I could finally play that map without it closing :
    user2000 is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 10-09-2019 , 21:17   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #5

    Quote:
    Originally Posted by user2000 View Post
    I've tried it several times on the c1m3 mall map and I had no problems ..

    I think I could finally play that map without it closing :
    Did you at least try spawning entities without their models messing up?
    cravenge is offline
    Xanaguy
    Senior Member
    Join Date: Jan 2017
    Old 10-09-2019 , 22:10   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #6

    I tried with Silvers' flashlight plugin. It still failed.
    Xanaguy is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 10-09-2019 , 22:16   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #7

    Quote:
    Originally Posted by Xanaguy View Post
    I tried with Silvers' flashlight plugin. It still failed.
    Try changing 30 to 0x30 in the source file.
    cravenge is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 10-09-2019 , 22:17   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #8

    my server test it.(30 and 0x30)
    c1m3_mall
    Tank custom model is invalid.
    Parachute custom model is invalid.

    Last edited by AK978; 10-09-2019 at 22:37.
    AK978 is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 10-09-2019 , 22:52   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #9

    Quote:
    Originally Posted by Xanaguy View Post
    I tried with Silvers' flashlight plugin. It still failed.
    Have you checked if the table has increased?
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 10-09-2019 , 23:12   Re: [L4D2][WIN] Modelprecache Resize
    Reply With Quote #10

    If the plugin does resize the modelprecache table, then that would only mean the number of models precached into the map is hardcoded and those that aren't will need to be added manually.
    cravenge is offline
    Reply


    Thread Tools
    Display Modes

    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 11:15.


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