Raised This Month: $ Target: $400
 0% 

How do you patch your hl1.dll to increase the precache limit?


Post New Thread Reply   
 
Thread Tools Display Modes
Mati_
Member
Join Date: Sep 2010
Old 11-23-2010 , 14:14   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #91

Arkshine, I would be extremely interesting in your "entity precache manager" plugin, which you mentioned one page before:
Quote:
Originally Posted by Arkshine View Post
Control the precache : removing useless stuffs precached by default (all defined by files), ability to remove whatever the weapon/item so blocking properly the precache/buy/give etc, blocking the crash when you go over 512, it informs you what exactly and it will pause/block the plugin which causes the crash, ability to create your own config to block these files, some commands to have a view of precaches files and from what plugins, another to get the current number of files for each array, also another to get the number of totals resources allowed to be sent to the clients (there is a limit of 1280), etc.. And probably another thing I have not thought yet. EDIT: There is probably something to do also for some maps, like detecting ambient sounds.

Now we know it's "impossible" in an easy way, I think such plugin will be useful.
How is the progress on that? It would be extremely usefull.
Mati_ is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 12-19-2010 , 09:58   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #92

First you say:

Quote:
To make sure, tried to set model with an index > 512, and it appears fine in-game.

Big thanks to joropito who made the module to allocate memory.

Now, the plugin is not finished. Only models are supported. I need to add sound and generic, clean up some things, making signatures of bytes, etc. It will be posted another day.
Now you ask us, why we can't use this module? It would already do our specific need, having more than 512 files precached.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-19-2010 , 10:44   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #93

...

Again, read #63
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 12-19-2010 , 10:49   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #94

Quote:
Originally Posted by Arkshine View Post
...

Again, read #63
No problem:

Quote:
So, for these sounds, it won't work. You will get and "Missing RIFF/WAVE chunk" message in the client console because it tries load a model instead of the sound.

It won't work properly.
Some people can live with that.

How is it with that:

Quote:
The last solution, like suggested joropito, would be to create an injecter so to resize to the client too. But, that's something each client would need to install on their computer. Not a nice solution. It could be acceptable for small community, though...
You're right, it isn't a nice solution but it would work.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-19-2010 , 11:07   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #95

You don't understand, just because we can patch server-side means it works. If you read the link, it would need to patch client-side as well, since we can't, what we have done is just pointless.
Some people can live with that. : It seems you don't get, you have that error because it's overwritten on the model array. Of course, that's not good.

So, forget.
__________________

Last edited by Arkshine; 12-19-2010 at 11:12.
Arkshine is offline
Triver
Junior Member
Join Date: Dec 2010
Old 03-14-2011 , 15:55   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #96

Sorry for maybe bumping an old thread but I would like to hear if either anyone is still working on a (possible) solution to get over the 512 limit or if it is even possible (I can live with it if it isnt but I just want it to be officially declared )

@Arkshine: and what about the plugin you mentioned before? (#78) are you still working on it or made any progress?

And maybe this is a stupid idea but what if you take a look in (I believe) already "patched" .dlls? Im talking about Counter Strike Online (by Nexon), there are way more weapons, models and sounds ingame aviable so they must have fixed it somehow.
Maybe you could try modify and adapt them to 1.6?

Last edited by Triver; 03-14-2011 at 15:59.
Triver is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-14-2011 , 16:56   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #97

There is another thread about that in the scripting section and the final answer. Please search. But if you want, that's not possible because it needs to patch the client too, and that's impossible.
__________________
Arkshine is offline
Triver
Junior Member
Join Date: Dec 2010
Old 03-14-2011 , 17:47   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #98

Ok I did some research (before my post I just found 2 threads in this forum about the limit so I didnt know there was more) and found these two threads:
https://forums.alliedmods.net/showth...12#post1083879
https://forums.alliedmods.net/showth...e+limit&page=4 (at the bottom)

is one of them the one you were talking about?

so that means if it is hardcoded we dont have ever any chance do modify it (only valve can)?
and i guess my "idea" wouldnt work because valve modified it for nexon and they made a totally different client so that it wouldnt make any sense trying it, right?

now thats sad i assume there were also many attempts to convince valve to patch it...?

but if you had the source code it wouldnt be that hard to change the limit, or? if yes, i cant understand why valve just fixes it in a short time even if it wouldnt benifit them, they could at least make some users happy ....

Last edited by Triver; 03-14-2011 at 17:55.
Triver is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-14-2011 , 17:52   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #99

Sorry, I did not seen you were already in the right thread. :p

So, read this post : https://forums.alliedmods.net/showpo...5&postcount=63
__________________
Arkshine is offline
Triver
Junior Member
Join Date: Dec 2010
Old 03-14-2011 , 18:00   Re: How do you patch your hl1.dll to increase the precache limit?
Reply With Quote #100

but like you said
Quote:
The last solution, like suggested joropito, would be to create an injecter so to resize to the client too. But, that's something each client would need to install on their computer. Not a nice solution. It could be acceptable for small community, though...
there could be a possible solution. i would at least like to try it and if its not appropriate, we can still annoy valve with mails
Triver 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 08:03.


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