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

Detect heapsize?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 08-15-2013 , 04:55   Detect heapsize?
Reply With Quote #1

Is there any way to detect the client's heapsize launch option?

It seems that if you specify a really low value then texture issues start occurring which can lead to innocently cheating...

Last edited by paegus; 08-15-2013 at 04:57.
paegus is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-15-2013 , 07:26   Re: Detect heapsize?
Reply With Quote #2

Maybe you can use the convar module and set your own minimum for clients:
Code:
mem_max_heapsize           : 256 : Maximum amount of memory to dedicate to engine hunk and datacache (in mb)
mem_max_heapsize_dedicated : 64  : Maximum amount of memory to dedicate to engine hunk and datacache, for dedicated server (in mb)
mem_min_heapsize           : 48  : Minimum amount of memory to dedicate to engine hunk and datacache (in mb)
__________________
GoD-Tony is offline
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 08-20-2013 , 06:18   Re: Detect heapsize?
Reply With Quote #3

I'll check the mod for that cvar. Thanks for pointing it out. Google wasn't too helpful.
__________________
Live and learn or die and teach by example.
Plugins Mine | Hidden:SourceMod
paegus is offline
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 08-21-2013 , 16:30   Re: Detect heapsize?
Reply With Quote #4

Unfortunately there is no such convar in the episode1 mod in question.

I can see the approximate heapsize using the memory command in-game but not a convar... I don't suppose the convar module can receive the reply from such commands for parsing?
__________________
Live and learn or die and teach by example.
Plugins Mine | Hidden:SourceMod

Last edited by paegus; 08-21-2013 at 16:30.
paegus 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 18:35.


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