Raised This Month: $ Target: $400
 0% 

[TF2] Wearit (v1.6 dated 16Feb2022)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ThePianoNailer
Junior Member
Join Date: Feb 2021
Old 05-09-2021 , 10:31   Re: [TF2] Wearit (v1.5 dated 08March2021)
Reply With Quote #26

Yep. Cookies always address HDD instead of RAM, and they store up the server disk space. Here's some info:
https://forums.alliedmods.net/showpo...23&postcount=9

The documentation on stringmaps is stored within adt_trie.inc.
Syntax-wise, stringmaps and cookies are pretty much alike, the main difference is that stringmap uses auth-id of a client in the field where a cookie requires an entity name.


In your instance, i think it can be rewritten somehow like this:

Spoiler


and be sure to delete client's data on map end (if you so desire):
PHP Code:
public OnMapEnd()
{
  
g_hClientItems.Clear();


Last edited by ThePianoNailer; 05-09-2021 at 11:10.
ThePianoNailer is offline
 



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 21:04.


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