AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2][WIN] Modelprecache Resize (https://forums.alliedmods.net/showthread.php?t=319048)

BHaType 10-07-2019 23:40

[L4D2][WIN] Modelprecache Resize
 
2 Attachment(s)
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

cravenge 10-08-2019 21:41

Re: [L4D2][WIN] Modelprecache Resize
 
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?

BHaType 10-08-2019 23:44

Re: [L4D2][WIN] Modelprecache Resize
 
Quote:

Originally Posted by cravenge (Post 2669258)
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.

user2000 10-09-2019 11:52

Re: [L4D2][WIN] Modelprecache Resize
 
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 ::twisted:

cravenge 10-09-2019 21:17

Re: [L4D2][WIN] Modelprecache Resize
 
Quote:

Originally Posted by user2000 (Post 2669297)
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 ::twisted:

Did you at least try spawning entities without their models messing up?

Xanaguy 10-09-2019 22:10

Re: [L4D2][WIN] Modelprecache Resize
 
I tried with Silvers' flashlight plugin. It still failed.

cravenge 10-09-2019 22:16

Re: [L4D2][WIN] Modelprecache Resize
 
Quote:

Originally Posted by Xanaguy (Post 2669338)
I tried with Silvers' flashlight plugin. It still failed.

Try changing 30 to 0x30 in the source file.

AK978 10-09-2019 22:17

Re: [L4D2][WIN] Modelprecache Resize
 
my server test it.(30 and 0x30)
c1m3_mall
Tank custom model is invalid.
Parachute custom model is invalid.

BHaType 10-09-2019 22:52

Re: [L4D2][WIN] Modelprecache Resize
 
Quote:

Originally Posted by Xanaguy (Post 2669338)
I tried with Silvers' flashlight plugin. It still failed.

Have you checked if the table has increased?

cravenge 10-09-2019 23:12

Re: [L4D2][WIN] Modelprecache Resize
 
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.


All times are GMT -4. The time now is 21:02.

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